Cloud.java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cloud.proto
package org.apache.doris.cloud.proto;
public final class Cloud {
private Cloud() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code doris.cloud.ClusterStatus}
*/
public enum ClusterStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>NORMAL = 1;</code>
*/
NORMAL(1),
/**
* <code>SUSPENDED = 2;</code>
*/
SUSPENDED(2),
/**
* <code>TO_RESUME = 3;</code>
*/
TO_RESUME(3),
/**
* <code>MANUAL_SHUTDOWN = 4;</code>
*/
MANUAL_SHUTDOWN(4),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>NORMAL = 1;</code>
*/
public static final int NORMAL_VALUE = 1;
/**
* <code>SUSPENDED = 2;</code>
*/
public static final int SUSPENDED_VALUE = 2;
/**
* <code>TO_RESUME = 3;</code>
*/
public static final int TO_RESUME_VALUE = 3;
/**
* <code>MANUAL_SHUTDOWN = 4;</code>
*/
public static final int MANUAL_SHUTDOWN_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ClusterStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ClusterStatus forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return NORMAL;
case 2: return SUSPENDED;
case 3: return TO_RESUME;
case 4: return MANUAL_SHUTDOWN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<ClusterStatus>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ClusterStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<ClusterStatus>() {
public ClusterStatus findValueByNumber(int number) {
return ClusterStatus.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.getDescriptor().getEnumTypes().get(0);
}
private static final ClusterStatus[] VALUES = values();
public static ClusterStatus valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private ClusterStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.ClusterStatus)
}
/**
* Protobuf enum {@code doris.cloud.NodeStatusPB}
*/
public enum NodeStatusPB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NODE_STATUS_UNKNOWN = 0;</code>
*/
NODE_STATUS_UNKNOWN(0),
/**
* <code>NODE_STATUS_RUNNING = 1;</code>
*/
NODE_STATUS_RUNNING(1),
/**
* <code>NODE_STATUS_SHUTDOWN = 2;</code>
*/
NODE_STATUS_SHUTDOWN(2),
/**
* <code>NODE_STATUS_DECOMMISSIONING = 3;</code>
*/
NODE_STATUS_DECOMMISSIONING(3),
/**
* <code>NODE_STATUS_DECOMMISSIONED = 4;</code>
*/
NODE_STATUS_DECOMMISSIONED(4),
;
/**
* <code>NODE_STATUS_UNKNOWN = 0;</code>
*/
public static final int NODE_STATUS_UNKNOWN_VALUE = 0;
/**
* <code>NODE_STATUS_RUNNING = 1;</code>
*/
public static final int NODE_STATUS_RUNNING_VALUE = 1;
/**
* <code>NODE_STATUS_SHUTDOWN = 2;</code>
*/
public static final int NODE_STATUS_SHUTDOWN_VALUE = 2;
/**
* <code>NODE_STATUS_DECOMMISSIONING = 3;</code>
*/
public static final int NODE_STATUS_DECOMMISSIONING_VALUE = 3;
/**
* <code>NODE_STATUS_DECOMMISSIONED = 4;</code>
*/
public static final int NODE_STATUS_DECOMMISSIONED_VALUE = 4;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static NodeStatusPB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static NodeStatusPB forNumber(int value) {
switch (value) {
case 0: return NODE_STATUS_UNKNOWN;
case 1: return NODE_STATUS_RUNNING;
case 2: return NODE_STATUS_SHUTDOWN;
case 3: return NODE_STATUS_DECOMMISSIONING;
case 4: return NODE_STATUS_DECOMMISSIONED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<NodeStatusPB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
NodeStatusPB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<NodeStatusPB>() {
public NodeStatusPB findValueByNumber(int number) {
return NodeStatusPB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.getDescriptor().getEnumTypes().get(1);
}
private static final NodeStatusPB[] VALUES = values();
public static NodeStatusPB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private NodeStatusPB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.NodeStatusPB)
}
/**
* Protobuf enum {@code doris.cloud.CredProviderTypePB}
*/
public enum CredProviderTypePB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <pre>
* used for creating different credentials provider when creating s3client
* </pre>
*
* <code>DEFAULT = 1;</code>
*/
DEFAULT(1),
/**
* <pre>
* SimpleAWSCredentialsProvider, corresponding to (ak, sk)
* </pre>
*
* <code>SIMPLE = 2;</code>
*/
SIMPLE(2),
/**
* <pre>
* InstanceProfileCredentialsProvider
* </pre>
*
* <code>INSTANCE_PROFILE = 3;</code>
*/
INSTANCE_PROFILE(3),
;
/**
* <pre>
* used for creating different credentials provider when creating s3client
* </pre>
*
* <code>DEFAULT = 1;</code>
*/
public static final int DEFAULT_VALUE = 1;
/**
* <pre>
* SimpleAWSCredentialsProvider, corresponding to (ak, sk)
* </pre>
*
* <code>SIMPLE = 2;</code>
*/
public static final int SIMPLE_VALUE = 2;
/**
* <pre>
* InstanceProfileCredentialsProvider
* </pre>
*
* <code>INSTANCE_PROFILE = 3;</code>
*/
public static final int INSTANCE_PROFILE_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CredProviderTypePB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static CredProviderTypePB forNumber(int value) {
switch (value) {
case 1: return DEFAULT;
case 2: return SIMPLE;
case 3: return INSTANCE_PROFILE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CredProviderTypePB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CredProviderTypePB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CredProviderTypePB>() {
public CredProviderTypePB findValueByNumber(int number) {
return CredProviderTypePB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.getDescriptor().getEnumTypes().get(2);
}
private static final CredProviderTypePB[] VALUES = values();
public static CredProviderTypePB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private CredProviderTypePB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.CredProviderTypePB)
}
/**
* <pre>
* ATTN: keep the values the same as
* org.apache.doris.transaction.TransactionState.TxnSourceType
* </pre>
*
* Protobuf enum {@code doris.cloud.TxnSourceTypePB}
*/
public enum TxnSourceTypePB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UKNOWN_TXN_SOURCE_TYPE = 0;</code>
*/
UKNOWN_TXN_SOURCE_TYPE(0),
/**
* <code>TXN_SOURCE_TYPE_FE = 1;</code>
*/
TXN_SOURCE_TYPE_FE(1),
/**
* <code>TXN_SOURCE_TYPE_BE = 2;</code>
*/
TXN_SOURCE_TYPE_BE(2),
;
/**
* <code>UKNOWN_TXN_SOURCE_TYPE = 0;</code>
*/
public static final int UKNOWN_TXN_SOURCE_TYPE_VALUE = 0;
/**
* <code>TXN_SOURCE_TYPE_FE = 1;</code>
*/
public static final int TXN_SOURCE_TYPE_FE_VALUE = 1;
/**
* <code>TXN_SOURCE_TYPE_BE = 2;</code>
*/
public static final int TXN_SOURCE_TYPE_BE_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TxnSourceTypePB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TxnSourceTypePB forNumber(int value) {
switch (value) {
case 0: return UKNOWN_TXN_SOURCE_TYPE;
case 1: return TXN_SOURCE_TYPE_FE;
case 2: return TXN_SOURCE_TYPE_BE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<TxnSourceTypePB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TxnSourceTypePB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<TxnSourceTypePB>() {
public TxnSourceTypePB findValueByNumber(int number) {
return TxnSourceTypePB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.getDescriptor().getEnumTypes().get(3);
}
private static final TxnSourceTypePB[] VALUES = values();
public static TxnSourceTypePB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private TxnSourceTypePB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.TxnSourceTypePB)
}
/**
* <pre>
* ATTN: keep the same values as
* org.apache.doris.transaction.TransactionState.LoadJobSourceType
* </pre>
*
* Protobuf enum {@code doris.cloud.LoadJobSourceTypePB}
*/
public enum LoadJobSourceTypePB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>LOAD_JOB_SRC_TYPE_UNKNOWN = 0;</code>
*/
LOAD_JOB_SRC_TYPE_UNKNOWN(0),
/**
* <code>LOAD_JOB_SRC_TYPE_FRONTEND = 1;</code>
*/
LOAD_JOB_SRC_TYPE_FRONTEND(1),
/**
* <pre>
* streaming load use this type
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_BACKEND_STREAMING = 2;</code>
*/
LOAD_JOB_SRC_TYPE_BACKEND_STREAMING(2),
/**
* <pre>
* insert stmt (streaming type), update stmt use this type
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_INSERT_STREAMING = 3;</code>
*/
LOAD_JOB_SRC_TYPE_INSERT_STREAMING(3),
/**
* <pre>
* routine load task use this type
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_ROUTINE_LOAD_TASK = 4;</code>
*/
LOAD_JOB_SRC_TYPE_ROUTINE_LOAD_TASK(4),
/**
* <pre>
* load job v2 for broker load
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_BATCH_LOAD_JOB = 5;</code>
*/
LOAD_JOB_SRC_TYPE_BATCH_LOAD_JOB(5),
;
/**
* <code>LOAD_JOB_SRC_TYPE_UNKNOWN = 0;</code>
*/
public static final int LOAD_JOB_SRC_TYPE_UNKNOWN_VALUE = 0;
/**
* <code>LOAD_JOB_SRC_TYPE_FRONTEND = 1;</code>
*/
public static final int LOAD_JOB_SRC_TYPE_FRONTEND_VALUE = 1;
/**
* <pre>
* streaming load use this type
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_BACKEND_STREAMING = 2;</code>
*/
public static final int LOAD_JOB_SRC_TYPE_BACKEND_STREAMING_VALUE = 2;
/**
* <pre>
* insert stmt (streaming type), update stmt use this type
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_INSERT_STREAMING = 3;</code>
*/
public static final int LOAD_JOB_SRC_TYPE_INSERT_STREAMING_VALUE = 3;
/**
* <pre>
* routine load task use this type
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_ROUTINE_LOAD_TASK = 4;</code>
*/
public static final int LOAD_JOB_SRC_TYPE_ROUTINE_LOAD_TASK_VALUE = 4;
/**
* <pre>
* load job v2 for broker load
* </pre>
*
* <code>LOAD_JOB_SRC_TYPE_BATCH_LOAD_JOB = 5;</code>
*/
public static final int LOAD_JOB_SRC_TYPE_BATCH_LOAD_JOB_VALUE = 5;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LoadJobSourceTypePB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static LoadJobSourceTypePB forNumber(int value) {
switch (value) {
case 0: return LOAD_JOB_SRC_TYPE_UNKNOWN;
case 1: return LOAD_JOB_SRC_TYPE_FRONTEND;
case 2: return LOAD_JOB_SRC_TYPE_BACKEND_STREAMING;
case 3: return LOAD_JOB_SRC_TYPE_INSERT_STREAMING;
case 4: return LOAD_JOB_SRC_TYPE_ROUTINE_LOAD_TASK;
case 5: return LOAD_JOB_SRC_TYPE_BATCH_LOAD_JOB;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<LoadJobSourceTypePB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LoadJobSourceTypePB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<LoadJobSourceTypePB>() {
public LoadJobSourceTypePB findValueByNumber(int number) {
return LoadJobSourceTypePB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.getDescriptor().getEnumTypes().get(4);
}
private static final LoadJobSourceTypePB[] VALUES = values();
public static LoadJobSourceTypePB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private LoadJobSourceTypePB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.LoadJobSourceTypePB)
}
/**
* Protobuf enum {@code doris.cloud.TxnStatusPB}
*/
public enum TxnStatusPB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>TXN_STATUS_UNKNOWN = 0;</code>
*/
TXN_STATUS_UNKNOWN(0),
/**
* <code>TXN_STATUS_PREPARED = 1;</code>
*/
TXN_STATUS_PREPARED(1),
/**
* <code>TXN_STATUS_COMMITTED = 2;</code>
*/
TXN_STATUS_COMMITTED(2),
/**
* <code>TXN_STATUS_VISIBLE = 3;</code>
*/
TXN_STATUS_VISIBLE(3),
/**
* <code>TXN_STATUS_ABORTED = 4;</code>
*/
TXN_STATUS_ABORTED(4),
/**
* <code>TXN_STATUS_PRECOMMITTED = 5;</code>
*/
TXN_STATUS_PRECOMMITTED(5),
;
/**
* <code>TXN_STATUS_UNKNOWN = 0;</code>
*/
public static final int TXN_STATUS_UNKNOWN_VALUE = 0;
/**
* <code>TXN_STATUS_PREPARED = 1;</code>
*/
public static final int TXN_STATUS_PREPARED_VALUE = 1;
/**
* <code>TXN_STATUS_COMMITTED = 2;</code>
*/
public static final int TXN_STATUS_COMMITTED_VALUE = 2;
/**
* <code>TXN_STATUS_VISIBLE = 3;</code>
*/
public static final int TXN_STATUS_VISIBLE_VALUE = 3;
/**
* <code>TXN_STATUS_ABORTED = 4;</code>
*/
public static final int TXN_STATUS_ABORTED_VALUE = 4;
/**
* <code>TXN_STATUS_PRECOMMITTED = 5;</code>
*/
public static final int TXN_STATUS_PRECOMMITTED_VALUE = 5;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static TxnStatusPB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static TxnStatusPB forNumber(int value) {
switch (value) {
case 0: return TXN_STATUS_UNKNOWN;
case 1: return TXN_STATUS_PREPARED;
case 2: return TXN_STATUS_COMMITTED;
case 3: return TXN_STATUS_VISIBLE;
case 4: return TXN_STATUS_ABORTED;
case 5: return TXN_STATUS_PRECOMMITTED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<TxnStatusPB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
TxnStatusPB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<TxnStatusPB>() {
public TxnStatusPB findValueByNumber(int number) {
return TxnStatusPB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.getDescriptor().getEnumTypes().get(5);
}
private static final TxnStatusPB[] VALUES = values();
public static TxnStatusPB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private TxnStatusPB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.TxnStatusPB)
}
/**
* Protobuf enum {@code doris.cloud.MetaServiceCode}
*/
public enum MetaServiceCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>OK = 0;</code>
*/
OK(0),
/**
* <pre>
*Meta service internal error
* </pre>
*
* <code>INVALID_ARGUMENT = 1001;</code>
*/
INVALID_ARGUMENT(1001),
/**
* <code>KV_TXN_CREATE_ERR = 1002;</code>
*/
KV_TXN_CREATE_ERR(1002),
/**
* <code>KV_TXN_GET_ERR = 1003;</code>
*/
KV_TXN_GET_ERR(1003),
/**
* <code>KV_TXN_COMMIT_ERR = 1004;</code>
*/
KV_TXN_COMMIT_ERR(1004),
/**
* <code>KV_TXN_CONFLICT = 1005;</code>
*/
KV_TXN_CONFLICT(1005),
/**
* <code>PROTOBUF_PARSE_ERR = 1006;</code>
*/
PROTOBUF_PARSE_ERR(1006),
/**
* <code>PROTOBUF_SERIALIZE_ERR = 1007;</code>
*/
PROTOBUF_SERIALIZE_ERR(1007),
/**
* <pre>
* A code indicates that the underlying store returns an error that
* needs to be retried. This code is not sent back to the client.
* See `selectdb::MetaServiceProxy` for details.
* </pre>
*
* <code>KV_TXN_STORE_GET_RETRYABLE = 1008;</code>
*/
KV_TXN_STORE_GET_RETRYABLE(1008),
/**
* <code>KV_TXN_STORE_COMMIT_RETRYABLE = 1009;</code>
*/
KV_TXN_STORE_COMMIT_RETRYABLE(1009),
/**
* <code>KV_TXN_STORE_CREATE_RETRYABLE = 1010;</code>
*/
KV_TXN_STORE_CREATE_RETRYABLE(1010),
/**
* <code>KV_TXN_TOO_OLD = 1011;</code>
*/
KV_TXN_TOO_OLD(1011),
/**
* <pre>
*Doris error
* </pre>
*
* <code>TXN_GEN_ID_ERR = 2001;</code>
*/
TXN_GEN_ID_ERR(2001),
/**
* <code>TXN_DUPLICATED_REQ = 2002;</code>
*/
TXN_DUPLICATED_REQ(2002),
/**
* <code>TXN_LABEL_ALREADY_USED = 2003;</code>
*/
TXN_LABEL_ALREADY_USED(2003),
/**
* <code>TXN_INVALID_STATUS = 2004;</code>
*/
TXN_INVALID_STATUS(2004),
/**
* <code>TXN_LABEL_NOT_FOUND = 2005;</code>
*/
TXN_LABEL_NOT_FOUND(2005),
/**
* <code>TXN_ID_NOT_FOUND = 2006;</code>
*/
TXN_ID_NOT_FOUND(2006),
/**
* <code>TXN_ALREADY_ABORTED = 2007;</code>
*/
TXN_ALREADY_ABORTED(2007),
/**
* <code>TXN_ALREADY_VISIBLE = 2008;</code>
*/
TXN_ALREADY_VISIBLE(2008),
/**
* <code>TXN_ALREADY_PRECOMMITED = 2009;</code>
*/
TXN_ALREADY_PRECOMMITED(2009),
/**
* <code>VERSION_NOT_FOUND = 2010;</code>
*/
VERSION_NOT_FOUND(2010),
/**
* <code>TABLET_NOT_FOUND = 2011;</code>
*/
TABLET_NOT_FOUND(2011),
/**
* <code>STALE_TABLET_CACHE = 2012;</code>
*/
STALE_TABLET_CACHE(2012),
/**
* <code>CLUSTER_NOT_FOUND = 3001;</code>
*/
CLUSTER_NOT_FOUND(3001),
/**
* <code>ALREADY_EXISTED = 3002;</code>
*/
ALREADY_EXISTED(3002),
/**
* <code>CLUSTER_ENDPOINT_MISSING = 3003;</code>
*/
CLUSTER_ENDPOINT_MISSING(3003),
/**
* <code>STORAGE_VAULT_NOT_FOUND = 3004;</code>
*/
STORAGE_VAULT_NOT_FOUND(3004),
/**
* <pre>
* Stage
* </pre>
*
* <code>STAGE_NOT_FOUND = 4001;</code>
*/
STAGE_NOT_FOUND(4001),
/**
* <code>STAGE_GET_ERR = 4002;</code>
*/
STAGE_GET_ERR(4002),
/**
* <code>STATE_ALREADY_EXISTED_FOR_USER = 4003;</code>
*/
STATE_ALREADY_EXISTED_FOR_USER(4003),
/**
* <code>COPY_JOB_NOT_FOUND = 4004;</code>
*/
COPY_JOB_NOT_FOUND(4004),
/**
* <pre>
* Job
* </pre>
*
* <code>JOB_EXPIRED = 5000;</code>
*/
JOB_EXPIRED(5000),
/**
* <code>JOB_TABLET_BUSY = 5001;</code>
*/
JOB_TABLET_BUSY(5001),
/**
* <code>JOB_ALREADY_SUCCESS = 5002;</code>
*/
JOB_ALREADY_SUCCESS(5002),
/**
* <code>ROUTINE_LOAD_DATA_INCONSISTENT = 5003;</code>
*/
ROUTINE_LOAD_DATA_INCONSISTENT(5003),
/**
* <code>ROUTINE_LOAD_PROGRESS_NOT_FOUND = 5004;</code>
*/
ROUTINE_LOAD_PROGRESS_NOT_FOUND(5004),
/**
* <code>JOB_CHECK_ALTER_VERSION = 5005;</code>
*/
JOB_CHECK_ALTER_VERSION(5005),
/**
* <pre>
* Rate limit
* </pre>
*
* <code>MAX_QPS_LIMIT = 6001;</code>
*/
MAX_QPS_LIMIT(6001),
/**
* <code>ERR_ENCRYPT = 7001;</code>
*/
ERR_ENCRYPT(7001),
/**
* <code>ERR_DECPYPT = 7002;</code>
*/
ERR_DECPYPT(7002),
/**
* <pre>
* delete bitmap
* </pre>
*
* <code>LOCK_EXPIRED = 8001;</code>
*/
LOCK_EXPIRED(8001),
/**
* <code>LOCK_CONFLICT = 8002;</code>
*/
LOCK_CONFLICT(8002),
/**
* <code>ROWSETS_EXPIRED = 8003;</code>
*/
ROWSETS_EXPIRED(8003),
/**
* <code>VERSION_NOT_MATCH = 8004;</code>
*/
VERSION_NOT_MATCH(8004),
/**
* <code>UPDATE_OVERRIDE_EXISTING_KV = 8005;</code>
*/
UPDATE_OVERRIDE_EXISTING_KV(8005),
/**
* <pre>
* partial update
* </pre>
*
* <code>ROWSET_META_NOT_FOUND = 9001;</code>
*/
ROWSET_META_NOT_FOUND(9001),
/**
* <pre>
* The meta service retries KV_TXN_CONFLICT error but is exceeded the max times.
* </pre>
*
* <code>KV_TXN_CONFLICT_RETRY_EXCEEDED_MAX_TIMES = 10001;</code>
*/
KV_TXN_CONFLICT_RETRY_EXCEEDED_MAX_TIMES(10001),
/**
* <code>SCHEMA_DICT_NOT_FOUND = 11001;</code>
*/
SCHEMA_DICT_NOT_FOUND(11001),
/**
* <code>UNDEFINED_ERR = 1000000;</code>
*/
UNDEFINED_ERR(1000000),
;
/**
* <code>OK = 0;</code>
*/
public static final int OK_VALUE = 0;
/**
* <pre>
*Meta service internal error
* </pre>
*
* <code>INVALID_ARGUMENT = 1001;</code>
*/
public static final int INVALID_ARGUMENT_VALUE = 1001;
/**
* <code>KV_TXN_CREATE_ERR = 1002;</code>
*/
public static final int KV_TXN_CREATE_ERR_VALUE = 1002;
/**
* <code>KV_TXN_GET_ERR = 1003;</code>
*/
public static final int KV_TXN_GET_ERR_VALUE = 1003;
/**
* <code>KV_TXN_COMMIT_ERR = 1004;</code>
*/
public static final int KV_TXN_COMMIT_ERR_VALUE = 1004;
/**
* <code>KV_TXN_CONFLICT = 1005;</code>
*/
public static final int KV_TXN_CONFLICT_VALUE = 1005;
/**
* <code>PROTOBUF_PARSE_ERR = 1006;</code>
*/
public static final int PROTOBUF_PARSE_ERR_VALUE = 1006;
/**
* <code>PROTOBUF_SERIALIZE_ERR = 1007;</code>
*/
public static final int PROTOBUF_SERIALIZE_ERR_VALUE = 1007;
/**
* <pre>
* A code indicates that the underlying store returns an error that
* needs to be retried. This code is not sent back to the client.
* See `selectdb::MetaServiceProxy` for details.
* </pre>
*
* <code>KV_TXN_STORE_GET_RETRYABLE = 1008;</code>
*/
public static final int KV_TXN_STORE_GET_RETRYABLE_VALUE = 1008;
/**
* <code>KV_TXN_STORE_COMMIT_RETRYABLE = 1009;</code>
*/
public static final int KV_TXN_STORE_COMMIT_RETRYABLE_VALUE = 1009;
/**
* <code>KV_TXN_STORE_CREATE_RETRYABLE = 1010;</code>
*/
public static final int KV_TXN_STORE_CREATE_RETRYABLE_VALUE = 1010;
/**
* <code>KV_TXN_TOO_OLD = 1011;</code>
*/
public static final int KV_TXN_TOO_OLD_VALUE = 1011;
/**
* <pre>
*Doris error
* </pre>
*
* <code>TXN_GEN_ID_ERR = 2001;</code>
*/
public static final int TXN_GEN_ID_ERR_VALUE = 2001;
/**
* <code>TXN_DUPLICATED_REQ = 2002;</code>
*/
public static final int TXN_DUPLICATED_REQ_VALUE = 2002;
/**
* <code>TXN_LABEL_ALREADY_USED = 2003;</code>
*/
public static final int TXN_LABEL_ALREADY_USED_VALUE = 2003;
/**
* <code>TXN_INVALID_STATUS = 2004;</code>
*/
public static final int TXN_INVALID_STATUS_VALUE = 2004;
/**
* <code>TXN_LABEL_NOT_FOUND = 2005;</code>
*/
public static final int TXN_LABEL_NOT_FOUND_VALUE = 2005;
/**
* <code>TXN_ID_NOT_FOUND = 2006;</code>
*/
public static final int TXN_ID_NOT_FOUND_VALUE = 2006;
/**
* <code>TXN_ALREADY_ABORTED = 2007;</code>
*/
public static final int TXN_ALREADY_ABORTED_VALUE = 2007;
/**
* <code>TXN_ALREADY_VISIBLE = 2008;</code>
*/
public static final int TXN_ALREADY_VISIBLE_VALUE = 2008;
/**
* <code>TXN_ALREADY_PRECOMMITED = 2009;</code>
*/
public static final int TXN_ALREADY_PRECOMMITED_VALUE = 2009;
/**
* <code>VERSION_NOT_FOUND = 2010;</code>
*/
public static final int VERSION_NOT_FOUND_VALUE = 2010;
/**
* <code>TABLET_NOT_FOUND = 2011;</code>
*/
public static final int TABLET_NOT_FOUND_VALUE = 2011;
/**
* <code>STALE_TABLET_CACHE = 2012;</code>
*/
public static final int STALE_TABLET_CACHE_VALUE = 2012;
/**
* <code>CLUSTER_NOT_FOUND = 3001;</code>
*/
public static final int CLUSTER_NOT_FOUND_VALUE = 3001;
/**
* <code>ALREADY_EXISTED = 3002;</code>
*/
public static final int ALREADY_EXISTED_VALUE = 3002;
/**
* <code>CLUSTER_ENDPOINT_MISSING = 3003;</code>
*/
public static final int CLUSTER_ENDPOINT_MISSING_VALUE = 3003;
/**
* <code>STORAGE_VAULT_NOT_FOUND = 3004;</code>
*/
public static final int STORAGE_VAULT_NOT_FOUND_VALUE = 3004;
/**
* <pre>
* Stage
* </pre>
*
* <code>STAGE_NOT_FOUND = 4001;</code>
*/
public static final int STAGE_NOT_FOUND_VALUE = 4001;
/**
* <code>STAGE_GET_ERR = 4002;</code>
*/
public static final int STAGE_GET_ERR_VALUE = 4002;
/**
* <code>STATE_ALREADY_EXISTED_FOR_USER = 4003;</code>
*/
public static final int STATE_ALREADY_EXISTED_FOR_USER_VALUE = 4003;
/**
* <code>COPY_JOB_NOT_FOUND = 4004;</code>
*/
public static final int COPY_JOB_NOT_FOUND_VALUE = 4004;
/**
* <pre>
* Job
* </pre>
*
* <code>JOB_EXPIRED = 5000;</code>
*/
public static final int JOB_EXPIRED_VALUE = 5000;
/**
* <code>JOB_TABLET_BUSY = 5001;</code>
*/
public static final int JOB_TABLET_BUSY_VALUE = 5001;
/**
* <code>JOB_ALREADY_SUCCESS = 5002;</code>
*/
public static final int JOB_ALREADY_SUCCESS_VALUE = 5002;
/**
* <code>ROUTINE_LOAD_DATA_INCONSISTENT = 5003;</code>
*/
public static final int ROUTINE_LOAD_DATA_INCONSISTENT_VALUE = 5003;
/**
* <code>ROUTINE_LOAD_PROGRESS_NOT_FOUND = 5004;</code>
*/
public static final int ROUTINE_LOAD_PROGRESS_NOT_FOUND_VALUE = 5004;
/**
* <code>JOB_CHECK_ALTER_VERSION = 5005;</code>
*/
public static final int JOB_CHECK_ALTER_VERSION_VALUE = 5005;
/**
* <pre>
* Rate limit
* </pre>
*
* <code>MAX_QPS_LIMIT = 6001;</code>
*/
public static final int MAX_QPS_LIMIT_VALUE = 6001;
/**
* <code>ERR_ENCRYPT = 7001;</code>
*/
public static final int ERR_ENCRYPT_VALUE = 7001;
/**
* <code>ERR_DECPYPT = 7002;</code>
*/
public static final int ERR_DECPYPT_VALUE = 7002;
/**
* <pre>
* delete bitmap
* </pre>
*
* <code>LOCK_EXPIRED = 8001;</code>
*/
public static final int LOCK_EXPIRED_VALUE = 8001;
/**
* <code>LOCK_CONFLICT = 8002;</code>
*/
public static final int LOCK_CONFLICT_VALUE = 8002;
/**
* <code>ROWSETS_EXPIRED = 8003;</code>
*/
public static final int ROWSETS_EXPIRED_VALUE = 8003;
/**
* <code>VERSION_NOT_MATCH = 8004;</code>
*/
public static final int VERSION_NOT_MATCH_VALUE = 8004;
/**
* <code>UPDATE_OVERRIDE_EXISTING_KV = 8005;</code>
*/
public static final int UPDATE_OVERRIDE_EXISTING_KV_VALUE = 8005;
/**
* <pre>
* partial update
* </pre>
*
* <code>ROWSET_META_NOT_FOUND = 9001;</code>
*/
public static final int ROWSET_META_NOT_FOUND_VALUE = 9001;
/**
* <pre>
* The meta service retries KV_TXN_CONFLICT error but is exceeded the max times.
* </pre>
*
* <code>KV_TXN_CONFLICT_RETRY_EXCEEDED_MAX_TIMES = 10001;</code>
*/
public static final int KV_TXN_CONFLICT_RETRY_EXCEEDED_MAX_TIMES_VALUE = 10001;
/**
* <code>SCHEMA_DICT_NOT_FOUND = 11001;</code>
*/
public static final int SCHEMA_DICT_NOT_FOUND_VALUE = 11001;
/**
* <code>UNDEFINED_ERR = 1000000;</code>
*/
public static final int UNDEFINED_ERR_VALUE = 1000000;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static MetaServiceCode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static MetaServiceCode forNumber(int value) {
switch (value) {
case 0: return OK;
case 1001: return INVALID_ARGUMENT;
case 1002: return KV_TXN_CREATE_ERR;
case 1003: return KV_TXN_GET_ERR;
case 1004: return KV_TXN_COMMIT_ERR;
case 1005: return KV_TXN_CONFLICT;
case 1006: return PROTOBUF_PARSE_ERR;
case 1007: return PROTOBUF_SERIALIZE_ERR;
case 1008: return KV_TXN_STORE_GET_RETRYABLE;
case 1009: return KV_TXN_STORE_COMMIT_RETRYABLE;
case 1010: return KV_TXN_STORE_CREATE_RETRYABLE;
case 1011: return KV_TXN_TOO_OLD;
case 2001: return TXN_GEN_ID_ERR;
case 2002: return TXN_DUPLICATED_REQ;
case 2003: return TXN_LABEL_ALREADY_USED;
case 2004: return TXN_INVALID_STATUS;
case 2005: return TXN_LABEL_NOT_FOUND;
case 2006: return TXN_ID_NOT_FOUND;
case 2007: return TXN_ALREADY_ABORTED;
case 2008: return TXN_ALREADY_VISIBLE;
case 2009: return TXN_ALREADY_PRECOMMITED;
case 2010: return VERSION_NOT_FOUND;
case 2011: return TABLET_NOT_FOUND;
case 2012: return STALE_TABLET_CACHE;
case 3001: return CLUSTER_NOT_FOUND;
case 3002: return ALREADY_EXISTED;
case 3003: return CLUSTER_ENDPOINT_MISSING;
case 3004: return STORAGE_VAULT_NOT_FOUND;
case 4001: return STAGE_NOT_FOUND;
case 4002: return STAGE_GET_ERR;
case 4003: return STATE_ALREADY_EXISTED_FOR_USER;
case 4004: return COPY_JOB_NOT_FOUND;
case 5000: return JOB_EXPIRED;
case 5001: return JOB_TABLET_BUSY;
case 5002: return JOB_ALREADY_SUCCESS;
case 5003: return ROUTINE_LOAD_DATA_INCONSISTENT;
case 5004: return ROUTINE_LOAD_PROGRESS_NOT_FOUND;
case 5005: return JOB_CHECK_ALTER_VERSION;
case 6001: return MAX_QPS_LIMIT;
case 7001: return ERR_ENCRYPT;
case 7002: return ERR_DECPYPT;
case 8001: return LOCK_EXPIRED;
case 8002: return LOCK_CONFLICT;
case 8003: return ROWSETS_EXPIRED;
case 8004: return VERSION_NOT_MATCH;
case 8005: return UPDATE_OVERRIDE_EXISTING_KV;
case 9001: return ROWSET_META_NOT_FOUND;
case 10001: return KV_TXN_CONFLICT_RETRY_EXCEEDED_MAX_TIMES;
case 11001: return SCHEMA_DICT_NOT_FOUND;
case 1000000: return UNDEFINED_ERR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<MetaServiceCode>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
MetaServiceCode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<MetaServiceCode>() {
public MetaServiceCode findValueByNumber(int number) {
return MetaServiceCode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.getDescriptor().getEnumTypes().get(6);
}
private static final MetaServiceCode[] VALUES = values();
public static MetaServiceCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private MetaServiceCode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.MetaServiceCode)
}
public interface EncryptionInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.EncryptionInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string encryption_method = 1;</code>
* @return Whether the encryptionMethod field is set.
*/
boolean hasEncryptionMethod();
/**
* <code>optional string encryption_method = 1;</code>
* @return The encryptionMethod.
*/
java.lang.String getEncryptionMethod();
/**
* <code>optional string encryption_method = 1;</code>
* @return The bytes for encryptionMethod.
*/
com.google.protobuf.ByteString
getEncryptionMethodBytes();
/**
* <code>optional int64 key_id = 2;</code>
* @return Whether the keyId field is set.
*/
boolean hasKeyId();
/**
* <code>optional int64 key_id = 2;</code>
* @return The keyId.
*/
long getKeyId();
}
/**
* Protobuf type {@code doris.cloud.EncryptionInfoPB}
*/
public static final class EncryptionInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.EncryptionInfoPB)
EncryptionInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use EncryptionInfoPB.newBuilder() to construct.
private EncryptionInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EncryptionInfoPB() {
encryptionMethod_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EncryptionInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.class, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder.class);
}
private int bitField0_;
public static final int ENCRYPTION_METHOD_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object encryptionMethod_ = "";
/**
* <code>optional string encryption_method = 1;</code>
* @return Whether the encryptionMethod field is set.
*/
@java.lang.Override
public boolean hasEncryptionMethod() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string encryption_method = 1;</code>
* @return The encryptionMethod.
*/
@java.lang.Override
public java.lang.String getEncryptionMethod() {
java.lang.Object ref = encryptionMethod_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
encryptionMethod_ = s;
}
return s;
}
}
/**
* <code>optional string encryption_method = 1;</code>
* @return The bytes for encryptionMethod.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEncryptionMethodBytes() {
java.lang.Object ref = encryptionMethod_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
encryptionMethod_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_ID_FIELD_NUMBER = 2;
private long keyId_ = 0L;
/**
* <code>optional int64 key_id = 2;</code>
* @return Whether the keyId field is set.
*/
@java.lang.Override
public boolean hasKeyId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 key_id = 2;</code>
* @return The keyId.
*/
@java.lang.Override
public long getKeyId() {
return keyId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, encryptionMethod_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, keyId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, encryptionMethod_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, keyId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB other = (org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB) obj;
if (hasEncryptionMethod() != other.hasEncryptionMethod()) return false;
if (hasEncryptionMethod()) {
if (!getEncryptionMethod()
.equals(other.getEncryptionMethod())) return false;
}
if (hasKeyId() != other.hasKeyId()) return false;
if (hasKeyId()) {
if (getKeyId()
!= other.getKeyId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEncryptionMethod()) {
hash = (37 * hash) + ENCRYPTION_METHOD_FIELD_NUMBER;
hash = (53 * hash) + getEncryptionMethod().hashCode();
}
if (hasKeyId()) {
hash = (37 * hash) + KEY_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getKeyId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.EncryptionInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.EncryptionInfoPB)
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.class, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
encryptionMethod_ = "";
keyId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB build() {
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB result = new org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.encryptionMethod_ = encryptionMethod_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.keyId_ = keyId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance()) return this;
if (other.hasEncryptionMethod()) {
encryptionMethod_ = other.encryptionMethod_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasKeyId()) {
setKeyId(other.getKeyId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
encryptionMethod_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
keyId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object encryptionMethod_ = "";
/**
* <code>optional string encryption_method = 1;</code>
* @return Whether the encryptionMethod field is set.
*/
public boolean hasEncryptionMethod() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string encryption_method = 1;</code>
* @return The encryptionMethod.
*/
public java.lang.String getEncryptionMethod() {
java.lang.Object ref = encryptionMethod_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
encryptionMethod_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string encryption_method = 1;</code>
* @return The bytes for encryptionMethod.
*/
public com.google.protobuf.ByteString
getEncryptionMethodBytes() {
java.lang.Object ref = encryptionMethod_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
encryptionMethod_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string encryption_method = 1;</code>
* @param value The encryptionMethod to set.
* @return This builder for chaining.
*/
public Builder setEncryptionMethod(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
encryptionMethod_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string encryption_method = 1;</code>
* @return This builder for chaining.
*/
public Builder clearEncryptionMethod() {
encryptionMethod_ = getDefaultInstance().getEncryptionMethod();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string encryption_method = 1;</code>
* @param value The bytes for encryptionMethod to set.
* @return This builder for chaining.
*/
public Builder setEncryptionMethodBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
encryptionMethod_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long keyId_ ;
/**
* <code>optional int64 key_id = 2;</code>
* @return Whether the keyId field is set.
*/
@java.lang.Override
public boolean hasKeyId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 key_id = 2;</code>
* @return The keyId.
*/
@java.lang.Override
public long getKeyId() {
return keyId_;
}
/**
* <code>optional int64 key_id = 2;</code>
* @param value The keyId to set.
* @return This builder for chaining.
*/
public Builder setKeyId(long value) {
keyId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 key_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearKeyId() {
bitField0_ = (bitField0_ & ~0x00000002);
keyId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.EncryptionInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.EncryptionInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<EncryptionInfoPB>
PARSER = new com.google.protobuf.AbstractParser<EncryptionInfoPB>() {
@java.lang.Override
public EncryptionInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<EncryptionInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EncryptionInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EncryptionKeyInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.EncryptionKeyInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item>
getItemsList();
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item getItems(int index);
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
int getItemsCount();
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder>
getItemsOrBuilderList();
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder getItemsOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.EncryptionKeyInfoPB}
*/
public static final class EncryptionKeyInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.EncryptionKeyInfoPB)
EncryptionKeyInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use EncryptionKeyInfoPB.newBuilder() to construct.
private EncryptionKeyInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EncryptionKeyInfoPB() {
items_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EncryptionKeyInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.class, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Builder.class);
}
public interface KMSInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.EncryptionKeyInfoPB.KMSInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string endpoint = 1;</code>
* @return Whether the endpoint field is set.
*/
boolean hasEndpoint();
/**
* <code>optional string endpoint = 1;</code>
* @return The endpoint.
*/
java.lang.String getEndpoint();
/**
* <code>optional string endpoint = 1;</code>
* @return The bytes for endpoint.
*/
com.google.protobuf.ByteString
getEndpointBytes();
/**
* <code>optional string region = 2;</code>
* @return Whether the region field is set.
*/
boolean hasRegion();
/**
* <code>optional string region = 2;</code>
* @return The region.
*/
java.lang.String getRegion();
/**
* <code>optional string region = 2;</code>
* @return The bytes for region.
*/
com.google.protobuf.ByteString
getRegionBytes();
/**
* <code>optional string cmk = 3;</code>
* @return Whether the cmk field is set.
*/
boolean hasCmk();
/**
* <code>optional string cmk = 3;</code>
* @return The cmk.
*/
java.lang.String getCmk();
/**
* <code>optional string cmk = 3;</code>
* @return The bytes for cmk.
*/
com.google.protobuf.ByteString
getCmkBytes();
}
/**
* Protobuf type {@code doris.cloud.EncryptionKeyInfoPB.KMSInfo}
*/
public static final class KMSInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.EncryptionKeyInfoPB.KMSInfo)
KMSInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use KMSInfo.newBuilder() to construct.
private KMSInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private KMSInfo() {
endpoint_ = "";
region_ = "";
cmk_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new KMSInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.class, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.Builder.class);
}
private int bitField0_;
public static final int ENDPOINT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object endpoint_ = "";
/**
* <code>optional string endpoint = 1;</code>
* @return Whether the endpoint field is set.
*/
@java.lang.Override
public boolean hasEndpoint() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string endpoint = 1;</code>
* @return The endpoint.
*/
@java.lang.Override
public java.lang.String getEndpoint() {
java.lang.Object ref = endpoint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
endpoint_ = s;
}
return s;
}
}
/**
* <code>optional string endpoint = 1;</code>
* @return The bytes for endpoint.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndpointBytes() {
java.lang.Object ref = endpoint_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REGION_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object region_ = "";
/**
* <code>optional string region = 2;</code>
* @return Whether the region field is set.
*/
@java.lang.Override
public boolean hasRegion() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string region = 2;</code>
* @return The region.
*/
@java.lang.Override
public java.lang.String getRegion() {
java.lang.Object ref = region_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
region_ = s;
}
return s;
}
}
/**
* <code>optional string region = 2;</code>
* @return The bytes for region.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CMK_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object cmk_ = "";
/**
* <code>optional string cmk = 3;</code>
* @return Whether the cmk field is set.
*/
@java.lang.Override
public boolean hasCmk() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string cmk = 3;</code>
* @return The cmk.
*/
@java.lang.Override
public java.lang.String getCmk() {
java.lang.Object ref = cmk_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cmk_ = s;
}
return s;
}
}
/**
* <code>optional string cmk = 3;</code>
* @return The bytes for cmk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCmkBytes() {
java.lang.Object ref = cmk_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cmk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, region_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, cmk_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, endpoint_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, region_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, cmk_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo other = (org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo) obj;
if (hasEndpoint() != other.hasEndpoint()) return false;
if (hasEndpoint()) {
if (!getEndpoint()
.equals(other.getEndpoint())) return false;
}
if (hasRegion() != other.hasRegion()) return false;
if (hasRegion()) {
if (!getRegion()
.equals(other.getRegion())) return false;
}
if (hasCmk() != other.hasCmk()) return false;
if (hasCmk()) {
if (!getCmk()
.equals(other.getCmk())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEndpoint()) {
hash = (37 * hash) + ENDPOINT_FIELD_NUMBER;
hash = (53 * hash) + getEndpoint().hashCode();
}
if (hasRegion()) {
hash = (37 * hash) + REGION_FIELD_NUMBER;
hash = (53 * hash) + getRegion().hashCode();
}
if (hasCmk()) {
hash = (37 * hash) + CMK_FIELD_NUMBER;
hash = (53 * hash) + getCmk().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.EncryptionKeyInfoPB.KMSInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.EncryptionKeyInfoPB.KMSInfo)
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.class, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
endpoint_ = "";
region_ = "";
cmk_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo build() {
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo buildPartial() {
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo result = new org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.endpoint_ = endpoint_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.region_ = region_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.cmk_ = cmk_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo other) {
if (other == org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.getDefaultInstance()) return this;
if (other.hasEndpoint()) {
endpoint_ = other.endpoint_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasRegion()) {
region_ = other.region_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasCmk()) {
cmk_ = other.cmk_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
endpoint_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
region_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
cmk_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object endpoint_ = "";
/**
* <code>optional string endpoint = 1;</code>
* @return Whether the endpoint field is set.
*/
public boolean hasEndpoint() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string endpoint = 1;</code>
* @return The endpoint.
*/
public java.lang.String getEndpoint() {
java.lang.Object ref = endpoint_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
endpoint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string endpoint = 1;</code>
* @return The bytes for endpoint.
*/
public com.google.protobuf.ByteString
getEndpointBytes() {
java.lang.Object ref = endpoint_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string endpoint = 1;</code>
* @param value The endpoint to set.
* @return This builder for chaining.
*/
public Builder setEndpoint(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
endpoint_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string endpoint = 1;</code>
* @return This builder for chaining.
*/
public Builder clearEndpoint() {
endpoint_ = getDefaultInstance().getEndpoint();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string endpoint = 1;</code>
* @param value The bytes for endpoint to set.
* @return This builder for chaining.
*/
public Builder setEndpointBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
endpoint_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object region_ = "";
/**
* <code>optional string region = 2;</code>
* @return Whether the region field is set.
*/
public boolean hasRegion() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string region = 2;</code>
* @return The region.
*/
public java.lang.String getRegion() {
java.lang.Object ref = region_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
region_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string region = 2;</code>
* @return The bytes for region.
*/
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string region = 2;</code>
* @param value The region to set.
* @return This builder for chaining.
*/
public Builder setRegion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
region_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string region = 2;</code>
* @return This builder for chaining.
*/
public Builder clearRegion() {
region_ = getDefaultInstance().getRegion();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string region = 2;</code>
* @param value The bytes for region to set.
* @return This builder for chaining.
*/
public Builder setRegionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
region_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object cmk_ = "";
/**
* <code>optional string cmk = 3;</code>
* @return Whether the cmk field is set.
*/
public boolean hasCmk() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string cmk = 3;</code>
* @return The cmk.
*/
public java.lang.String getCmk() {
java.lang.Object ref = cmk_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cmk_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cmk = 3;</code>
* @return The bytes for cmk.
*/
public com.google.protobuf.ByteString
getCmkBytes() {
java.lang.Object ref = cmk_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cmk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cmk = 3;</code>
* @param value The cmk to set.
* @return This builder for chaining.
*/
public Builder setCmk(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cmk_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string cmk = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCmk() {
cmk_ = getDefaultInstance().getCmk();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string cmk = 3;</code>
* @param value The bytes for cmk to set.
* @return This builder for chaining.
*/
public Builder setCmkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cmk_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.EncryptionKeyInfoPB.KMSInfo)
}
// @@protoc_insertion_point(class_scope:doris.cloud.EncryptionKeyInfoPB.KMSInfo)
private static final org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo();
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<KMSInfo>
PARSER = new com.google.protobuf.AbstractParser<KMSInfo>() {
@java.lang.Override
public KMSInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<KMSInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<KMSInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.EncryptionKeyInfoPB.Item)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 key_id = 1;</code>
* @return Whether the keyId field is set.
*/
boolean hasKeyId();
/**
* <code>optional int64 key_id = 1;</code>
* @return The keyId.
*/
long getKeyId();
/**
* <code>optional string key = 2;</code>
* @return Whether the key field is set.
*/
boolean hasKey();
/**
* <code>optional string key = 2;</code>
* @return The key.
*/
java.lang.String getKey();
/**
* <code>optional string key = 2;</code>
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
* @return Whether the kmsInfo field is set.
*/
boolean hasKmsInfo();
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
* @return The kmsInfo.
*/
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo getKmsInfo();
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfoOrBuilder getKmsInfoOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.EncryptionKeyInfoPB.Item}
*/
public static final class Item extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.EncryptionKeyInfoPB.Item)
ItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use Item.newBuilder() to construct.
private Item(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Item() {
key_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Item();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_Item_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_Item_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.class, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder.class);
}
private int bitField0_;
public static final int KEY_ID_FIELD_NUMBER = 1;
private long keyId_ = 0L;
/**
* <code>optional int64 key_id = 1;</code>
* @return Whether the keyId field is set.
*/
@java.lang.Override
public boolean hasKeyId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 key_id = 1;</code>
* @return The keyId.
*/
@java.lang.Override
public long getKeyId() {
return keyId_;
}
public static final int KEY_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object key_ = "";
/**
* <code>optional string key = 2;</code>
* @return Whether the key field is set.
*/
@java.lang.Override
public boolean hasKey() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string key = 2;</code>
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* <code>optional string key = 2;</code>
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KMS_INFO_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo kmsInfo_;
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
* @return Whether the kmsInfo field is set.
*/
@java.lang.Override
public boolean hasKmsInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
* @return The kmsInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo getKmsInfo() {
return kmsInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.getDefaultInstance() : kmsInfo_;
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfoOrBuilder getKmsInfoOrBuilder() {
return kmsInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.getDefaultInstance() : kmsInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, keyId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, key_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getKmsInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, keyId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, key_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getKmsInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item other = (org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item) obj;
if (hasKeyId() != other.hasKeyId()) return false;
if (hasKeyId()) {
if (getKeyId()
!= other.getKeyId()) return false;
}
if (hasKey() != other.hasKey()) return false;
if (hasKey()) {
if (!getKey()
.equals(other.getKey())) return false;
}
if (hasKmsInfo() != other.hasKmsInfo()) return false;
if (hasKmsInfo()) {
if (!getKmsInfo()
.equals(other.getKmsInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKeyId()) {
hash = (37 * hash) + KEY_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getKeyId());
}
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasKmsInfo()) {
hash = (37 * hash) + KMS_INFO_FIELD_NUMBER;
hash = (53 * hash) + getKmsInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.EncryptionKeyInfoPB.Item}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.EncryptionKeyInfoPB.Item)
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_Item_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_Item_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.class, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getKmsInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
keyId_ = 0L;
key_ = "";
kmsInfo_ = null;
if (kmsInfoBuilder_ != null) {
kmsInfoBuilder_.dispose();
kmsInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_Item_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item build() {
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item buildPartial() {
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item result = new org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.keyId_ = keyId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.key_ = key_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.kmsInfo_ = kmsInfoBuilder_ == null
? kmsInfo_
: kmsInfoBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item other) {
if (other == org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.getDefaultInstance()) return this;
if (other.hasKeyId()) {
setKeyId(other.getKeyId());
}
if (other.hasKey()) {
key_ = other.key_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasKmsInfo()) {
mergeKmsInfo(other.getKmsInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
keyId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
key_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getKmsInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long keyId_ ;
/**
* <code>optional int64 key_id = 1;</code>
* @return Whether the keyId field is set.
*/
@java.lang.Override
public boolean hasKeyId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 key_id = 1;</code>
* @return The keyId.
*/
@java.lang.Override
public long getKeyId() {
return keyId_;
}
/**
* <code>optional int64 key_id = 1;</code>
* @param value The keyId to set.
* @return This builder for chaining.
*/
public Builder setKeyId(long value) {
keyId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 key_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearKeyId() {
bitField0_ = (bitField0_ & ~0x00000001);
keyId_ = 0L;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
* <code>optional string key = 2;</code>
* @return Whether the key field is set.
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string key = 2;</code>
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string key = 2;</code>
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string key = 2;</code>
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
key_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string key = 2;</code>
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string key = 2;</code>
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
key_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo kmsInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfoOrBuilder> kmsInfoBuilder_;
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
* @return Whether the kmsInfo field is set.
*/
public boolean hasKmsInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
* @return The kmsInfo.
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo getKmsInfo() {
if (kmsInfoBuilder_ == null) {
return kmsInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.getDefaultInstance() : kmsInfo_;
} else {
return kmsInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
public Builder setKmsInfo(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo value) {
if (kmsInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kmsInfo_ = value;
} else {
kmsInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
public Builder setKmsInfo(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.Builder builderForValue) {
if (kmsInfoBuilder_ == null) {
kmsInfo_ = builderForValue.build();
} else {
kmsInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
public Builder mergeKmsInfo(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo value) {
if (kmsInfoBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
kmsInfo_ != null &&
kmsInfo_ != org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.getDefaultInstance()) {
getKmsInfoBuilder().mergeFrom(value);
} else {
kmsInfo_ = value;
}
} else {
kmsInfoBuilder_.mergeFrom(value);
}
if (kmsInfo_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
public Builder clearKmsInfo() {
bitField0_ = (bitField0_ & ~0x00000004);
kmsInfo_ = null;
if (kmsInfoBuilder_ != null) {
kmsInfoBuilder_.dispose();
kmsInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.Builder getKmsInfoBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getKmsInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfoOrBuilder getKmsInfoOrBuilder() {
if (kmsInfoBuilder_ != null) {
return kmsInfoBuilder_.getMessageOrBuilder();
} else {
return kmsInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.getDefaultInstance() : kmsInfo_;
}
}
/**
* <code>optional .doris.cloud.EncryptionKeyInfoPB.KMSInfo kms_info = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfoOrBuilder>
getKmsInfoFieldBuilder() {
if (kmsInfoBuilder_ == null) {
kmsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfo.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.KMSInfoOrBuilder>(
getKmsInfo(),
getParentForChildren(),
isClean());
kmsInfo_ = null;
}
return kmsInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.EncryptionKeyInfoPB.Item)
}
// @@protoc_insertion_point(class_scope:doris.cloud.EncryptionKeyInfoPB.Item)
private static final org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item();
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<Item>
PARSER = new com.google.protobuf.AbstractParser<Item>() {
@java.lang.Override
public Item parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<Item> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Item> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int ITEMS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item> items_;
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item> getItemsList() {
return items_;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder>
getItemsOrBuilderList() {
return items_;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
@java.lang.Override
public int getItemsCount() {
return items_.size();
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item getItems(int index) {
return items_.get(index);
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < items_.size(); i++) {
output.writeMessage(1, items_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < items_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, items_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB other = (org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB) obj;
if (!getItemsList()
.equals(other.getItemsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getItemsCount() > 0) {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.EncryptionKeyInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.EncryptionKeyInfoPB)
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.class, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
} else {
items_ = null;
itemsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB build() {
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB result = new org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB result) {
if (itemsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.items_ = items_;
} else {
result.items_ = itemsBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.getDefaultInstance()) return this;
if (itemsBuilder_ == null) {
if (!other.items_.isEmpty()) {
if (items_.isEmpty()) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemsIsMutable();
items_.addAll(other.items_);
}
onChanged();
}
} else {
if (!other.items_.isEmpty()) {
if (itemsBuilder_.isEmpty()) {
itemsBuilder_.dispose();
itemsBuilder_ = null;
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
itemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.PARSER,
extensionRegistry);
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(m);
} else {
itemsBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List<org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item> items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
items_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item>(items_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder> itemsBuilder_;
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item> getItemsList() {
if (itemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(items_);
} else {
return itemsBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public int getItemsCount() {
if (itemsBuilder_ == null) {
return items_.size();
} else {
return itemsBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item getItems(int index) {
if (itemsBuilder_ == null) {
return items_.get(index);
} else {
return itemsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder setItems(
int index, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.set(index, value);
onChanged();
} else {
itemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder setItems(
int index, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.set(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder addItems(org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(value);
onChanged();
} else {
itemsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder addItems(
int index, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(index, value);
onChanged();
} else {
itemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder addItems(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder addItems(
int index, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder addAllItems(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item> values) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, items_);
onChanged();
} else {
itemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder clearItems() {
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
itemsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public Builder removeItems(int index) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.remove(index);
onChanged();
} else {
itemsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder getItemsBuilder(
int index) {
return getItemsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder getItemsOrBuilder(
int index) {
if (itemsBuilder_ == null) {
return items_.get(index); } else {
return itemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder>
getItemsOrBuilderList() {
if (itemsBuilder_ != null) {
return itemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(items_);
}
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder addItemsBuilder() {
return getItemsFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder addItemsBuilder(
int index) {
return getItemsFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.EncryptionKeyInfoPB.Item items = 1;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder>
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder>
getItemsFieldBuilder() {
if (itemsBuilder_ == null) {
itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.Item.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB.ItemOrBuilder>(
items_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
items_ = null;
}
return itemsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.EncryptionKeyInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.EncryptionKeyInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<EncryptionKeyInfoPB>
PARSER = new com.google.protobuf.AbstractParser<EncryptionKeyInfoPB>() {
@java.lang.Override
public EncryptionKeyInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<EncryptionKeyInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EncryptionKeyInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionKeyInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RamUserPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RamUserPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string user_id = 1;</code>
* @return Whether the userId field is set.
*/
boolean hasUserId();
/**
* <code>optional string user_id = 1;</code>
* @return The userId.
*/
java.lang.String getUserId();
/**
* <code>optional string user_id = 1;</code>
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
* <code>optional string ak = 2;</code>
* @return Whether the ak field is set.
*/
boolean hasAk();
/**
* <code>optional string ak = 2;</code>
* @return The ak.
*/
java.lang.String getAk();
/**
* <code>optional string ak = 2;</code>
* @return The bytes for ak.
*/
com.google.protobuf.ByteString
getAkBytes();
/**
* <code>optional string sk = 3;</code>
* @return Whether the sk field is set.
*/
boolean hasSk();
/**
* <code>optional string sk = 3;</code>
* @return The sk.
*/
java.lang.String getSk();
/**
* <code>optional string sk = 3;</code>
* @return The bytes for sk.
*/
com.google.protobuf.ByteString
getSkBytes();
/**
* <code>optional string external_id = 4;</code>
* @return Whether the externalId field is set.
*/
boolean hasExternalId();
/**
* <code>optional string external_id = 4;</code>
* @return The externalId.
*/
java.lang.String getExternalId();
/**
* <code>optional string external_id = 4;</code>
* @return The bytes for externalId.
*/
com.google.protobuf.ByteString
getExternalIdBytes();
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
* @return Whether the encryptionInfo field is set.
*/
boolean hasEncryptionInfo();
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
* @return The encryptionInfo.
*/
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getEncryptionInfo();
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder getEncryptionInfoOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.RamUserPB}
*/
public static final class RamUserPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RamUserPB)
RamUserPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RamUserPB.newBuilder() to construct.
private RamUserPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RamUserPB() {
userId_ = "";
ak_ = "";
sk_ = "";
externalId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RamUserPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RamUserPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RamUserPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RamUserPB.class, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder.class);
}
private int bitField0_;
public static final int USER_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 1;</code>
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string user_id = 1;</code>
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
}
}
/**
* <code>optional string user_id = 1;</code>
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AK_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object ak_ = "";
/**
* <code>optional string ak = 2;</code>
* @return Whether the ak field is set.
*/
@java.lang.Override
public boolean hasAk() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ak = 2;</code>
* @return The ak.
*/
@java.lang.Override
public java.lang.String getAk() {
java.lang.Object ref = ak_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ak_ = s;
}
return s;
}
}
/**
* <code>optional string ak = 2;</code>
* @return The bytes for ak.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAkBytes() {
java.lang.Object ref = ak_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ak_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SK_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object sk_ = "";
/**
* <code>optional string sk = 3;</code>
* @return Whether the sk field is set.
*/
@java.lang.Override
public boolean hasSk() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string sk = 3;</code>
* @return The sk.
*/
@java.lang.Override
public java.lang.String getSk() {
java.lang.Object ref = sk_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sk_ = s;
}
return s;
}
}
/**
* <code>optional string sk = 3;</code>
* @return The bytes for sk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSkBytes() {
java.lang.Object ref = sk_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXTERNAL_ID_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object externalId_ = "";
/**
* <code>optional string external_id = 4;</code>
* @return Whether the externalId field is set.
*/
@java.lang.Override
public boolean hasExternalId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string external_id = 4;</code>
* @return The externalId.
*/
@java.lang.Override
public java.lang.String getExternalId() {
java.lang.Object ref = externalId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalId_ = s;
}
return s;
}
}
/**
* <code>optional string external_id = 4;</code>
* @return The bytes for externalId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExternalIdBytes() {
java.lang.Object ref = externalId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENCRYPTION_INFO_FIELD_NUMBER = 6;
private org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB encryptionInfo_;
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
* @return Whether the encryptionInfo field is set.
*/
@java.lang.Override
public boolean hasEncryptionInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
* @return The encryptionInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getEncryptionInfo() {
return encryptionInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder getEncryptionInfoOrBuilder() {
return encryptionInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ak_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sk_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, externalId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(6, getEncryptionInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ak_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sk_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, externalId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getEncryptionInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RamUserPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RamUserPB other = (org.apache.doris.cloud.proto.Cloud.RamUserPB) obj;
if (hasUserId() != other.hasUserId()) return false;
if (hasUserId()) {
if (!getUserId()
.equals(other.getUserId())) return false;
}
if (hasAk() != other.hasAk()) return false;
if (hasAk()) {
if (!getAk()
.equals(other.getAk())) return false;
}
if (hasSk() != other.hasSk()) return false;
if (hasSk()) {
if (!getSk()
.equals(other.getSk())) return false;
}
if (hasExternalId() != other.hasExternalId()) return false;
if (hasExternalId()) {
if (!getExternalId()
.equals(other.getExternalId())) return false;
}
if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false;
if (hasEncryptionInfo()) {
if (!getEncryptionInfo()
.equals(other.getEncryptionInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasUserId()) {
hash = (37 * hash) + USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getUserId().hashCode();
}
if (hasAk()) {
hash = (37 * hash) + AK_FIELD_NUMBER;
hash = (53 * hash) + getAk().hashCode();
}
if (hasSk()) {
hash = (37 * hash) + SK_FIELD_NUMBER;
hash = (53 * hash) + getSk().hashCode();
}
if (hasExternalId()) {
hash = (37 * hash) + EXTERNAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getExternalId().hashCode();
}
if (hasEncryptionInfo()) {
hash = (37 * hash) + ENCRYPTION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getEncryptionInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RamUserPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RamUserPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RamUserPB)
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RamUserPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RamUserPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RamUserPB.class, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RamUserPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEncryptionInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
userId_ = "";
ak_ = "";
sk_ = "";
externalId_ = "";
encryptionInfo_ = null;
if (encryptionInfoBuilder_ != null) {
encryptionInfoBuilder_.dispose();
encryptionInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RamUserPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB build() {
org.apache.doris.cloud.proto.Cloud.RamUserPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RamUserPB result = new org.apache.doris.cloud.proto.Cloud.RamUserPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RamUserPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.userId_ = userId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ak_ = ak_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.sk_ = sk_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.externalId_ = externalId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.encryptionInfo_ = encryptionInfoBuilder_ == null
? encryptionInfo_
: encryptionInfoBuilder_.build();
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RamUserPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RamUserPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RamUserPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) return this;
if (other.hasUserId()) {
userId_ = other.userId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasAk()) {
ak_ = other.ak_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasSk()) {
sk_ = other.sk_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasExternalId()) {
externalId_ = other.externalId_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasEncryptionInfo()) {
mergeEncryptionInfo(other.getEncryptionInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
userId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ak_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
sk_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
externalId_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 50: {
input.readMessage(
getEncryptionInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 1;</code>
* @return Whether the userId field is set.
*/
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string user_id = 1;</code>
* @return The userId.
*/
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string user_id = 1;</code>
* @return The bytes for userId.
*/
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string user_id = 1;</code>
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string user_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearUserId() {
userId_ = getDefaultInstance().getUserId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string user_id = 1;</code>
* @param value The bytes for userId to set.
* @return This builder for chaining.
*/
public Builder setUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object ak_ = "";
/**
* <code>optional string ak = 2;</code>
* @return Whether the ak field is set.
*/
public boolean hasAk() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ak = 2;</code>
* @return The ak.
*/
public java.lang.String getAk() {
java.lang.Object ref = ak_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ak_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ak = 2;</code>
* @return The bytes for ak.
*/
public com.google.protobuf.ByteString
getAkBytes() {
java.lang.Object ref = ak_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ak_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ak = 2;</code>
* @param value The ak to set.
* @return This builder for chaining.
*/
public Builder setAk(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ak_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string ak = 2;</code>
* @return This builder for chaining.
*/
public Builder clearAk() {
ak_ = getDefaultInstance().getAk();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string ak = 2;</code>
* @param value The bytes for ak to set.
* @return This builder for chaining.
*/
public Builder setAkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ak_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object sk_ = "";
/**
* <code>optional string sk = 3;</code>
* @return Whether the sk field is set.
*/
public boolean hasSk() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string sk = 3;</code>
* @return The sk.
*/
public java.lang.String getSk() {
java.lang.Object ref = sk_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sk_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string sk = 3;</code>
* @return The bytes for sk.
*/
public com.google.protobuf.ByteString
getSkBytes() {
java.lang.Object ref = sk_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string sk = 3;</code>
* @param value The sk to set.
* @return This builder for chaining.
*/
public Builder setSk(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
sk_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string sk = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSk() {
sk_ = getDefaultInstance().getSk();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string sk = 3;</code>
* @param value The bytes for sk to set.
* @return This builder for chaining.
*/
public Builder setSkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
sk_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object externalId_ = "";
/**
* <code>optional string external_id = 4;</code>
* @return Whether the externalId field is set.
*/
public boolean hasExternalId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string external_id = 4;</code>
* @return The externalId.
*/
public java.lang.String getExternalId() {
java.lang.Object ref = externalId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string external_id = 4;</code>
* @return The bytes for externalId.
*/
public com.google.protobuf.ByteString
getExternalIdBytes() {
java.lang.Object ref = externalId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string external_id = 4;</code>
* @param value The externalId to set.
* @return This builder for chaining.
*/
public Builder setExternalId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
externalId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string external_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearExternalId() {
externalId_ = getDefaultInstance().getExternalId();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string external_id = 4;</code>
* @param value The bytes for externalId to set.
* @return This builder for chaining.
*/
public Builder setExternalIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
externalId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB encryptionInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder> encryptionInfoBuilder_;
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
* @return Whether the encryptionInfo field is set.
*/
public boolean hasEncryptionInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
* @return The encryptionInfo.
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getEncryptionInfo() {
if (encryptionInfoBuilder_ == null) {
return encryptionInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
} else {
return encryptionInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
public Builder setEncryptionInfo(org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB value) {
if (encryptionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encryptionInfo_ = value;
} else {
encryptionInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
public Builder setEncryptionInfo(
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder builderForValue) {
if (encryptionInfoBuilder_ == null) {
encryptionInfo_ = builderForValue.build();
} else {
encryptionInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
public Builder mergeEncryptionInfo(org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB value) {
if (encryptionInfoBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
encryptionInfo_ != null &&
encryptionInfo_ != org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance()) {
getEncryptionInfoBuilder().mergeFrom(value);
} else {
encryptionInfo_ = value;
}
} else {
encryptionInfoBuilder_.mergeFrom(value);
}
if (encryptionInfo_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
public Builder clearEncryptionInfo() {
bitField0_ = (bitField0_ & ~0x00000010);
encryptionInfo_ = null;
if (encryptionInfoBuilder_ != null) {
encryptionInfoBuilder_.dispose();
encryptionInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder getEncryptionInfoBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getEncryptionInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder getEncryptionInfoOrBuilder() {
if (encryptionInfoBuilder_ != null) {
return encryptionInfoBuilder_.getMessageOrBuilder();
} else {
return encryptionInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
}
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 6;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder>
getEncryptionInfoFieldBuilder() {
if (encryptionInfoBuilder_ == null) {
encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder>(
getEncryptionInfo(),
getParentForChildren(),
isClean());
encryptionInfo_ = null;
}
return encryptionInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RamUserPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RamUserPB)
private static final org.apache.doris.cloud.proto.Cloud.RamUserPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RamUserPB();
}
public static org.apache.doris.cloud.proto.Cloud.RamUserPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RamUserPB>
PARSER = new com.google.protobuf.AbstractParser<RamUserPB>() {
@java.lang.Override
public RamUserPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RamUserPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RamUserPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InstanceInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.InstanceInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string user_id = 1;</code>
* @return Whether the userId field is set.
*/
boolean hasUserId();
/**
* <code>optional string user_id = 1;</code>
* @return The userId.
*/
java.lang.String getUserId();
/**
* <code>optional string user_id = 1;</code>
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
* <code>optional string instance_id = 2;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 2;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 2;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <code>optional string name = 3;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>repeated string lb_ip = 4;</code>
* @return A list containing the lbIp.
*/
java.util.List<java.lang.String>
getLbIpList();
/**
* <code>repeated string lb_ip = 4;</code>
* @return The count of lbIp.
*/
int getLbIpCount();
/**
* <code>repeated string lb_ip = 4;</code>
* @param index The index of the element to return.
* @return The lbIp at the given index.
*/
java.lang.String getLbIp(int index);
/**
* <code>repeated string lb_ip = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the lbIp at the given index.
*/
com.google.protobuf.ByteString
getLbIpBytes(int index);
/**
* <code>optional int64 ctime = 5;</code>
* @return Whether the ctime field is set.
*/
boolean hasCtime();
/**
* <code>optional int64 ctime = 5;</code>
* @return The ctime.
*/
long getCtime();
/**
* <code>optional int64 mtime = 6;</code>
* @return Whether the mtime field is set.
*/
boolean hasMtime();
/**
* <code>optional int64 mtime = 6;</code>
* @return The mtime.
*/
long getMtime();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB>
getClustersList();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
org.apache.doris.cloud.proto.Cloud.ClusterPB getClusters(int index);
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
int getClustersCount();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersOrBuilderList();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClustersOrBuilder(
int index);
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB>
getObjInfoList();
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo(int index);
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
int getObjInfoCount();
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoOrBuilderList();
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder(
int index);
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB>
getStagesList();
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
org.apache.doris.cloud.proto.Cloud.StagePB getStages(int index);
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
int getStagesCount();
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStagesOrBuilderList();
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStagesOrBuilder(
int index);
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status getStatus();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
* @return Whether the ramUser field is set.
*/
boolean hasRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
* @return The ramUser.
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder();
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
* @return Whether the iamUser field is set.
*/
boolean hasIamUser();
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
* @return The iamUser.
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getIamUser();
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getIamUserOrBuilder();
/**
* <code>optional bool sse_enabled = 13;</code>
* @return Whether the sseEnabled field is set.
*/
boolean hasSseEnabled();
/**
* <code>optional bool sse_enabled = 13;</code>
* @return The sseEnabled.
*/
boolean getSseEnabled();
/**
* <code>repeated string resource_ids = 100;</code>
* @return A list containing the resourceIds.
*/
java.util.List<java.lang.String>
getResourceIdsList();
/**
* <code>repeated string resource_ids = 100;</code>
* @return The count of resourceIds.
*/
int getResourceIdsCount();
/**
* <code>repeated string resource_ids = 100;</code>
* @param index The index of the element to return.
* @return The resourceIds at the given index.
*/
java.lang.String getResourceIds(int index);
/**
* <code>repeated string resource_ids = 100;</code>
* @param index The index of the value to return.
* @return The bytes of the resourceIds at the given index.
*/
com.google.protobuf.ByteString
getResourceIdsBytes(int index);
/**
* <code>repeated string storage_vault_names = 101;</code>
* @return A list containing the storageVaultNames.
*/
java.util.List<java.lang.String>
getStorageVaultNamesList();
/**
* <code>repeated string storage_vault_names = 101;</code>
* @return The count of storageVaultNames.
*/
int getStorageVaultNamesCount();
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param index The index of the element to return.
* @return The storageVaultNames at the given index.
*/
java.lang.String getStorageVaultNames(int index);
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param index The index of the value to return.
* @return The bytes of the storageVaultNames at the given index.
*/
com.google.protobuf.ByteString
getStorageVaultNamesBytes(int index);
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return Whether the defaultStorageVaultId field is set.
*/
boolean hasDefaultStorageVaultId();
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return The defaultStorageVaultId.
*/
java.lang.String getDefaultStorageVaultId();
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return The bytes for defaultStorageVaultId.
*/
com.google.protobuf.ByteString
getDefaultStorageVaultIdBytes();
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return Whether the defaultStorageVaultName field is set.
*/
boolean hasDefaultStorageVaultName();
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return The defaultStorageVaultName.
*/
java.lang.String getDefaultStorageVaultName();
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return The bytes for defaultStorageVaultName.
*/
com.google.protobuf.ByteString
getDefaultStorageVaultNameBytes();
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @return Whether the enableStorageVault field is set.
*/
boolean hasEnableStorageVault();
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @return The enableStorageVault.
*/
boolean getEnableStorageVault();
}
/**
* Protobuf type {@code doris.cloud.InstanceInfoPB}
*/
public static final class InstanceInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.InstanceInfoPB)
InstanceInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use InstanceInfoPB.newBuilder() to construct.
private InstanceInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private InstanceInfoPB() {
userId_ = "";
instanceId_ = "";
name_ = "";
lbIp_ =
com.google.protobuf.LazyStringArrayList.emptyList();
clusters_ = java.util.Collections.emptyList();
objInfo_ = java.util.Collections.emptyList();
stages_ = java.util.Collections.emptyList();
status_ = 0;
resourceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
storageVaultNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
defaultStorageVaultId_ = "";
defaultStorageVaultName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new InstanceInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_InstanceInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_InstanceInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.class, org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.InstanceInfoPB.Status}
*/
public enum Status
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>NORMAL = 0;</code>
*/
NORMAL(0),
/**
* <code>DELETED = 1;</code>
*/
DELETED(1),
/**
* <code>OVERDUE = 2;</code>
*/
OVERDUE(2),
;
/**
* <code>NORMAL = 0;</code>
*/
public static final int NORMAL_VALUE = 0;
/**
* <code>DELETED = 1;</code>
*/
public static final int DELETED_VALUE = 1;
/**
* <code>OVERDUE = 2;</code>
*/
public static final int OVERDUE_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Status forNumber(int value) {
switch (value) {
case 0: return NORMAL;
case 1: return DELETED;
case 2: return OVERDUE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Status>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Status> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Status>() {
public Status findValueByNumber(int number) {
return Status.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDescriptor().getEnumTypes().get(0);
}
private static final Status[] VALUES = values();
public static Status valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Status(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.InstanceInfoPB.Status)
}
private int bitField0_;
public static final int USER_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 1;</code>
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string user_id = 1;</code>
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
}
}
/**
* <code>optional string user_id = 1;</code>
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INSTANCE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 2;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string instance_id = 2;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 2;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string name = 3;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LB_IP_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList lbIp_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string lb_ip = 4;</code>
* @return A list containing the lbIp.
*/
public com.google.protobuf.ProtocolStringList
getLbIpList() {
return lbIp_;
}
/**
* <code>repeated string lb_ip = 4;</code>
* @return The count of lbIp.
*/
public int getLbIpCount() {
return lbIp_.size();
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param index The index of the element to return.
* @return The lbIp at the given index.
*/
public java.lang.String getLbIp(int index) {
return lbIp_.get(index);
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the lbIp at the given index.
*/
public com.google.protobuf.ByteString
getLbIpBytes(int index) {
return lbIp_.getByteString(index);
}
public static final int CTIME_FIELD_NUMBER = 5;
private long ctime_ = 0L;
/**
* <code>optional int64 ctime = 5;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 ctime = 5;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
public static final int MTIME_FIELD_NUMBER = 6;
private long mtime_ = 0L;
/**
* <code>optional int64 mtime = 6;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 mtime = 6;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
public static final int CLUSTERS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> clusters_;
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> getClustersList() {
return clusters_;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersOrBuilderList() {
return clusters_;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
@java.lang.Override
public int getClustersCount() {
return clusters_.size();
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB getClusters(int index) {
return clusters_.get(index);
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClustersOrBuilder(
int index) {
return clusters_.get(index);
}
public static final int OBJ_INFO_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> objInfo_;
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> getObjInfoList() {
return objInfo_;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoOrBuilderList() {
return objInfo_;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
@java.lang.Override
public int getObjInfoCount() {
return objInfo_.size();
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo(int index) {
return objInfo_.get(index);
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder(
int index) {
return objInfo_.get(index);
}
public static final int STAGES_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> stages_;
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> getStagesList() {
return stages_;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStagesOrBuilderList() {
return stages_;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
@java.lang.Override
public int getStagesCount() {
return stages_.size();
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB getStages(int index) {
return stages_.get(index);
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStagesOrBuilder(
int index) {
return stages_.get(index);
}
public static final int STATUS_FIELD_NUMBER = 10;
private int status_ = 0;
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @return The status.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status getStatus() {
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status result = org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status.NORMAL : result;
}
public static final int RAM_USER_FIELD_NUMBER = 11;
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
* @return Whether the ramUser field is set.
*/
@java.lang.Override
public boolean hasRamUser() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
* @return The ramUser.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
public static final int IAM_USER_FIELD_NUMBER = 12;
private org.apache.doris.cloud.proto.Cloud.RamUserPB iamUser_;
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
* @return Whether the iamUser field is set.
*/
@java.lang.Override
public boolean hasIamUser() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
* @return The iamUser.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getIamUser() {
return iamUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getIamUserOrBuilder() {
return iamUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
}
public static final int SSE_ENABLED_FIELD_NUMBER = 13;
private boolean sseEnabled_ = false;
/**
* <code>optional bool sse_enabled = 13;</code>
* @return Whether the sseEnabled field is set.
*/
@java.lang.Override
public boolean hasSseEnabled() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional bool sse_enabled = 13;</code>
* @return The sseEnabled.
*/
@java.lang.Override
public boolean getSseEnabled() {
return sseEnabled_;
}
public static final int RESOURCE_IDS_FIELD_NUMBER = 100;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList resourceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string resource_ids = 100;</code>
* @return A list containing the resourceIds.
*/
public com.google.protobuf.ProtocolStringList
getResourceIdsList() {
return resourceIds_;
}
/**
* <code>repeated string resource_ids = 100;</code>
* @return The count of resourceIds.
*/
public int getResourceIdsCount() {
return resourceIds_.size();
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param index The index of the element to return.
* @return The resourceIds at the given index.
*/
public java.lang.String getResourceIds(int index) {
return resourceIds_.get(index);
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param index The index of the value to return.
* @return The bytes of the resourceIds at the given index.
*/
public com.google.protobuf.ByteString
getResourceIdsBytes(int index) {
return resourceIds_.getByteString(index);
}
public static final int STORAGE_VAULT_NAMES_FIELD_NUMBER = 101;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList storageVaultNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string storage_vault_names = 101;</code>
* @return A list containing the storageVaultNames.
*/
public com.google.protobuf.ProtocolStringList
getStorageVaultNamesList() {
return storageVaultNames_;
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @return The count of storageVaultNames.
*/
public int getStorageVaultNamesCount() {
return storageVaultNames_.size();
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param index The index of the element to return.
* @return The storageVaultNames at the given index.
*/
public java.lang.String getStorageVaultNames(int index) {
return storageVaultNames_.get(index);
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param index The index of the value to return.
* @return The bytes of the storageVaultNames at the given index.
*/
public com.google.protobuf.ByteString
getStorageVaultNamesBytes(int index) {
return storageVaultNames_.getByteString(index);
}
public static final int DEFAULT_STORAGE_VAULT_ID_FIELD_NUMBER = 102;
@SuppressWarnings("serial")
private volatile java.lang.Object defaultStorageVaultId_ = "";
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return Whether the defaultStorageVaultId field is set.
*/
@java.lang.Override
public boolean hasDefaultStorageVaultId() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return The defaultStorageVaultId.
*/
@java.lang.Override
public java.lang.String getDefaultStorageVaultId() {
java.lang.Object ref = defaultStorageVaultId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultId_ = s;
}
return s;
}
}
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return The bytes for defaultStorageVaultId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultStorageVaultIdBytes() {
java.lang.Object ref = defaultStorageVaultId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_STORAGE_VAULT_NAME_FIELD_NUMBER = 103;
@SuppressWarnings("serial")
private volatile java.lang.Object defaultStorageVaultName_ = "";
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return Whether the defaultStorageVaultName field is set.
*/
@java.lang.Override
public boolean hasDefaultStorageVaultName() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return The defaultStorageVaultName.
*/
@java.lang.Override
public java.lang.String getDefaultStorageVaultName() {
java.lang.Object ref = defaultStorageVaultName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultName_ = s;
}
return s;
}
}
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return The bytes for defaultStorageVaultName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultStorageVaultNameBytes() {
java.lang.Object ref = defaultStorageVaultName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENABLE_STORAGE_VAULT_FIELD_NUMBER = 104;
private boolean enableStorageVault_ = false;
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @return Whether the enableStorageVault field is set.
*/
@java.lang.Override
public boolean hasEnableStorageVault() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @return The enableStorageVault.
*/
@java.lang.Override
public boolean getEnableStorageVault() {
return enableStorageVault_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, userId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, instanceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
for (int i = 0; i < lbIp_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, lbIp_.getRaw(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(5, ctime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(6, mtime_);
}
for (int i = 0; i < clusters_.size(); i++) {
output.writeMessage(7, clusters_.get(i));
}
for (int i = 0; i < objInfo_.size(); i++) {
output.writeMessage(8, objInfo_.get(i));
}
for (int i = 0; i < stages_.size(); i++) {
output.writeMessage(9, stages_.get(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeEnum(10, status_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(11, getRamUser());
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeMessage(12, getIamUser());
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeBool(13, sseEnabled_);
}
for (int i = 0; i < resourceIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 100, resourceIds_.getRaw(i));
}
for (int i = 0; i < storageVaultNames_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 101, storageVaultNames_.getRaw(i));
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 102, defaultStorageVaultId_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 103, defaultStorageVaultName_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeBool(104, enableStorageVault_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, userId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
{
int dataSize = 0;
for (int i = 0; i < lbIp_.size(); i++) {
dataSize += computeStringSizeNoTag(lbIp_.getRaw(i));
}
size += dataSize;
size += 1 * getLbIpList().size();
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, ctime_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, mtime_);
}
for (int i = 0; i < clusters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, clusters_.get(i));
}
for (int i = 0; i < objInfo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, objInfo_.get(i));
}
for (int i = 0; i < stages_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, stages_.get(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(10, status_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getRamUser());
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getIamUser());
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, sseEnabled_);
}
{
int dataSize = 0;
for (int i = 0; i < resourceIds_.size(); i++) {
dataSize += computeStringSizeNoTag(resourceIds_.getRaw(i));
}
size += dataSize;
size += 2 * getResourceIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < storageVaultNames_.size(); i++) {
dataSize += computeStringSizeNoTag(storageVaultNames_.getRaw(i));
}
size += dataSize;
size += 2 * getStorageVaultNamesList().size();
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(102, defaultStorageVaultId_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(103, defaultStorageVaultName_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(104, enableStorageVault_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.InstanceInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB other = (org.apache.doris.cloud.proto.Cloud.InstanceInfoPB) obj;
if (hasUserId() != other.hasUserId()) return false;
if (hasUserId()) {
if (!getUserId()
.equals(other.getUserId())) return false;
}
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (!getLbIpList()
.equals(other.getLbIpList())) return false;
if (hasCtime() != other.hasCtime()) return false;
if (hasCtime()) {
if (getCtime()
!= other.getCtime()) return false;
}
if (hasMtime() != other.hasMtime()) return false;
if (hasMtime()) {
if (getMtime()
!= other.getMtime()) return false;
}
if (!getClustersList()
.equals(other.getClustersList())) return false;
if (!getObjInfoList()
.equals(other.getObjInfoList())) return false;
if (!getStagesList()
.equals(other.getStagesList())) return false;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (status_ != other.status_) return false;
}
if (hasRamUser() != other.hasRamUser()) return false;
if (hasRamUser()) {
if (!getRamUser()
.equals(other.getRamUser())) return false;
}
if (hasIamUser() != other.hasIamUser()) return false;
if (hasIamUser()) {
if (!getIamUser()
.equals(other.getIamUser())) return false;
}
if (hasSseEnabled() != other.hasSseEnabled()) return false;
if (hasSseEnabled()) {
if (getSseEnabled()
!= other.getSseEnabled()) return false;
}
if (!getResourceIdsList()
.equals(other.getResourceIdsList())) return false;
if (!getStorageVaultNamesList()
.equals(other.getStorageVaultNamesList())) return false;
if (hasDefaultStorageVaultId() != other.hasDefaultStorageVaultId()) return false;
if (hasDefaultStorageVaultId()) {
if (!getDefaultStorageVaultId()
.equals(other.getDefaultStorageVaultId())) return false;
}
if (hasDefaultStorageVaultName() != other.hasDefaultStorageVaultName()) return false;
if (hasDefaultStorageVaultName()) {
if (!getDefaultStorageVaultName()
.equals(other.getDefaultStorageVaultName())) return false;
}
if (hasEnableStorageVault() != other.hasEnableStorageVault()) return false;
if (hasEnableStorageVault()) {
if (getEnableStorageVault()
!= other.getEnableStorageVault()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasUserId()) {
hash = (37 * hash) + USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getUserId().hashCode();
}
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (getLbIpCount() > 0) {
hash = (37 * hash) + LB_IP_FIELD_NUMBER;
hash = (53 * hash) + getLbIpList().hashCode();
}
if (hasCtime()) {
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCtime());
}
if (hasMtime()) {
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMtime());
}
if (getClustersCount() > 0) {
hash = (37 * hash) + CLUSTERS_FIELD_NUMBER;
hash = (53 * hash) + getClustersList().hashCode();
}
if (getObjInfoCount() > 0) {
hash = (37 * hash) + OBJ_INFO_FIELD_NUMBER;
hash = (53 * hash) + getObjInfoList().hashCode();
}
if (getStagesCount() > 0) {
hash = (37 * hash) + STAGES_FIELD_NUMBER;
hash = (53 * hash) + getStagesList().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
}
if (hasRamUser()) {
hash = (37 * hash) + RAM_USER_FIELD_NUMBER;
hash = (53 * hash) + getRamUser().hashCode();
}
if (hasIamUser()) {
hash = (37 * hash) + IAM_USER_FIELD_NUMBER;
hash = (53 * hash) + getIamUser().hashCode();
}
if (hasSseEnabled()) {
hash = (37 * hash) + SSE_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSseEnabled());
}
if (getResourceIdsCount() > 0) {
hash = (37 * hash) + RESOURCE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getResourceIdsList().hashCode();
}
if (getStorageVaultNamesCount() > 0) {
hash = (37 * hash) + STORAGE_VAULT_NAMES_FIELD_NUMBER;
hash = (53 * hash) + getStorageVaultNamesList().hashCode();
}
if (hasDefaultStorageVaultId()) {
hash = (37 * hash) + DEFAULT_STORAGE_VAULT_ID_FIELD_NUMBER;
hash = (53 * hash) + getDefaultStorageVaultId().hashCode();
}
if (hasDefaultStorageVaultName()) {
hash = (37 * hash) + DEFAULT_STORAGE_VAULT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDefaultStorageVaultName().hashCode();
}
if (hasEnableStorageVault()) {
hash = (37 * hash) + ENABLE_STORAGE_VAULT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableStorageVault());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.InstanceInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.InstanceInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.InstanceInfoPB)
org.apache.doris.cloud.proto.Cloud.InstanceInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_InstanceInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_InstanceInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.class, org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getClustersFieldBuilder();
getObjInfoFieldBuilder();
getStagesFieldBuilder();
getRamUserFieldBuilder();
getIamUserFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
userId_ = "";
instanceId_ = "";
name_ = "";
lbIp_ =
com.google.protobuf.LazyStringArrayList.emptyList();
ctime_ = 0L;
mtime_ = 0L;
if (clustersBuilder_ == null) {
clusters_ = java.util.Collections.emptyList();
} else {
clusters_ = null;
clustersBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (objInfoBuilder_ == null) {
objInfo_ = java.util.Collections.emptyList();
} else {
objInfo_ = null;
objInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
if (stagesBuilder_ == null) {
stages_ = java.util.Collections.emptyList();
} else {
stages_ = null;
stagesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
status_ = 0;
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
iamUser_ = null;
if (iamUserBuilder_ != null) {
iamUserBuilder_.dispose();
iamUserBuilder_ = null;
}
sseEnabled_ = false;
resourceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
storageVaultNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
defaultStorageVaultId_ = "";
defaultStorageVaultName_ = "";
enableStorageVault_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_InstanceInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB build() {
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB result = new org.apache.doris.cloud.proto.Cloud.InstanceInfoPB(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.InstanceInfoPB result) {
if (clustersBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0)) {
clusters_ = java.util.Collections.unmodifiableList(clusters_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.clusters_ = clusters_;
} else {
result.clusters_ = clustersBuilder_.build();
}
if (objInfoBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0)) {
objInfo_ = java.util.Collections.unmodifiableList(objInfo_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.objInfo_ = objInfo_;
} else {
result.objInfo_ = objInfoBuilder_.build();
}
if (stagesBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
stages_ = java.util.Collections.unmodifiableList(stages_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.stages_ = stages_;
} else {
result.stages_ = stagesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.InstanceInfoPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.userId_ = userId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
lbIp_.makeImmutable();
result.lbIp_ = lbIp_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.ctime_ = ctime_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.mtime_ = mtime_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.ramUser_ = ramUserBuilder_ == null
? ramUser_
: ramUserBuilder_.build();
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.iamUser_ = iamUserBuilder_ == null
? iamUser_
: iamUserBuilder_.build();
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.sseEnabled_ = sseEnabled_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
resourceIds_.makeImmutable();
result.resourceIds_ = resourceIds_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
storageVaultNames_.makeImmutable();
result.storageVaultNames_ = storageVaultNames_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.defaultStorageVaultId_ = defaultStorageVaultId_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.defaultStorageVaultName_ = defaultStorageVaultName_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.enableStorageVault_ = enableStorageVault_;
to_bitField0_ |= 0x00000800;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.InstanceInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.InstanceInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.InstanceInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDefaultInstance()) return this;
if (other.hasUserId()) {
userId_ = other.userId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.lbIp_.isEmpty()) {
if (lbIp_.isEmpty()) {
lbIp_ = other.lbIp_;
bitField0_ |= 0x00000008;
} else {
ensureLbIpIsMutable();
lbIp_.addAll(other.lbIp_);
}
onChanged();
}
if (other.hasCtime()) {
setCtime(other.getCtime());
}
if (other.hasMtime()) {
setMtime(other.getMtime());
}
if (clustersBuilder_ == null) {
if (!other.clusters_.isEmpty()) {
if (clusters_.isEmpty()) {
clusters_ = other.clusters_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureClustersIsMutable();
clusters_.addAll(other.clusters_);
}
onChanged();
}
} else {
if (!other.clusters_.isEmpty()) {
if (clustersBuilder_.isEmpty()) {
clustersBuilder_.dispose();
clustersBuilder_ = null;
clusters_ = other.clusters_;
bitField0_ = (bitField0_ & ~0x00000040);
clustersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getClustersFieldBuilder() : null;
} else {
clustersBuilder_.addAllMessages(other.clusters_);
}
}
}
if (objInfoBuilder_ == null) {
if (!other.objInfo_.isEmpty()) {
if (objInfo_.isEmpty()) {
objInfo_ = other.objInfo_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureObjInfoIsMutable();
objInfo_.addAll(other.objInfo_);
}
onChanged();
}
} else {
if (!other.objInfo_.isEmpty()) {
if (objInfoBuilder_.isEmpty()) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
objInfo_ = other.objInfo_;
bitField0_ = (bitField0_ & ~0x00000080);
objInfoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjInfoFieldBuilder() : null;
} else {
objInfoBuilder_.addAllMessages(other.objInfo_);
}
}
}
if (stagesBuilder_ == null) {
if (!other.stages_.isEmpty()) {
if (stages_.isEmpty()) {
stages_ = other.stages_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureStagesIsMutable();
stages_.addAll(other.stages_);
}
onChanged();
}
} else {
if (!other.stages_.isEmpty()) {
if (stagesBuilder_.isEmpty()) {
stagesBuilder_.dispose();
stagesBuilder_ = null;
stages_ = other.stages_;
bitField0_ = (bitField0_ & ~0x00000100);
stagesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStagesFieldBuilder() : null;
} else {
stagesBuilder_.addAllMessages(other.stages_);
}
}
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasRamUser()) {
mergeRamUser(other.getRamUser());
}
if (other.hasIamUser()) {
mergeIamUser(other.getIamUser());
}
if (other.hasSseEnabled()) {
setSseEnabled(other.getSseEnabled());
}
if (!other.resourceIds_.isEmpty()) {
if (resourceIds_.isEmpty()) {
resourceIds_ = other.resourceIds_;
bitField0_ |= 0x00002000;
} else {
ensureResourceIdsIsMutable();
resourceIds_.addAll(other.resourceIds_);
}
onChanged();
}
if (!other.storageVaultNames_.isEmpty()) {
if (storageVaultNames_.isEmpty()) {
storageVaultNames_ = other.storageVaultNames_;
bitField0_ |= 0x00004000;
} else {
ensureStorageVaultNamesIsMutable();
storageVaultNames_.addAll(other.storageVaultNames_);
}
onChanged();
}
if (other.hasDefaultStorageVaultId()) {
defaultStorageVaultId_ = other.defaultStorageVaultId_;
bitField0_ |= 0x00008000;
onChanged();
}
if (other.hasDefaultStorageVaultName()) {
defaultStorageVaultName_ = other.defaultStorageVaultName_;
bitField0_ |= 0x00010000;
onChanged();
}
if (other.hasEnableStorageVault()) {
setEnableStorageVault(other.getEnableStorageVault());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
userId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
name_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureLbIpIsMutable();
lbIp_.add(bs);
break;
} // case 34
case 40: {
ctime_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
mtime_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
org.apache.doris.cloud.proto.Cloud.ClusterPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ClusterPB.PARSER,
extensionRegistry);
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.add(m);
} else {
clustersBuilder_.addMessage(m);
}
break;
} // case 58
case 66: {
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.PARSER,
extensionRegistry);
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.add(m);
} else {
objInfoBuilder_.addMessage(m);
}
break;
} // case 66
case 74: {
org.apache.doris.cloud.proto.Cloud.StagePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.StagePB.PARSER,
extensionRegistry);
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.add(m);
} else {
stagesBuilder_.addMessage(m);
}
break;
} // case 74
case 80: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status tmpValue =
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(10, tmpRaw);
} else {
status_ = tmpRaw;
bitField0_ |= 0x00000200;
}
break;
} // case 80
case 90: {
input.readMessage(
getRamUserFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000400;
break;
} // case 90
case 98: {
input.readMessage(
getIamUserFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000800;
break;
} // case 98
case 104: {
sseEnabled_ = input.readBool();
bitField0_ |= 0x00001000;
break;
} // case 104
case 802: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureResourceIdsIsMutable();
resourceIds_.add(bs);
break;
} // case 802
case 810: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureStorageVaultNamesIsMutable();
storageVaultNames_.add(bs);
break;
} // case 810
case 818: {
defaultStorageVaultId_ = input.readBytes();
bitField0_ |= 0x00008000;
break;
} // case 818
case 826: {
defaultStorageVaultName_ = input.readBytes();
bitField0_ |= 0x00010000;
break;
} // case 826
case 832: {
enableStorageVault_ = input.readBool();
bitField0_ |= 0x00020000;
break;
} // case 832
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 1;</code>
* @return Whether the userId field is set.
*/
public boolean hasUserId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string user_id = 1;</code>
* @return The userId.
*/
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string user_id = 1;</code>
* @return The bytes for userId.
*/
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string user_id = 1;</code>
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string user_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearUserId() {
userId_ = getDefaultInstance().getUserId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string user_id = 1;</code>
* @param value The bytes for userId to set.
* @return This builder for chaining.
*/
public Builder setUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 2;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string instance_id = 2;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 2;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 2;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 2;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string name = 3;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string name = 3;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string name = 3;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList lbIp_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureLbIpIsMutable() {
if (!lbIp_.isModifiable()) {
lbIp_ = new com.google.protobuf.LazyStringArrayList(lbIp_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated string lb_ip = 4;</code>
* @return A list containing the lbIp.
*/
public com.google.protobuf.ProtocolStringList
getLbIpList() {
lbIp_.makeImmutable();
return lbIp_;
}
/**
* <code>repeated string lb_ip = 4;</code>
* @return The count of lbIp.
*/
public int getLbIpCount() {
return lbIp_.size();
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param index The index of the element to return.
* @return The lbIp at the given index.
*/
public java.lang.String getLbIp(int index) {
return lbIp_.get(index);
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param index The index of the value to return.
* @return The bytes of the lbIp at the given index.
*/
public com.google.protobuf.ByteString
getLbIpBytes(int index) {
return lbIp_.getByteString(index);
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param index The index to set the value at.
* @param value The lbIp to set.
* @return This builder for chaining.
*/
public Builder setLbIp(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureLbIpIsMutable();
lbIp_.set(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param value The lbIp to add.
* @return This builder for chaining.
*/
public Builder addLbIp(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureLbIpIsMutable();
lbIp_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param values The lbIp to add.
* @return This builder for chaining.
*/
public Builder addAllLbIp(
java.lang.Iterable<java.lang.String> values) {
ensureLbIpIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lbIp_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated string lb_ip = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLbIp() {
lbIp_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);;
onChanged();
return this;
}
/**
* <code>repeated string lb_ip = 4;</code>
* @param value The bytes of the lbIp to add.
* @return This builder for chaining.
*/
public Builder addLbIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureLbIpIsMutable();
lbIp_.add(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private long ctime_ ;
/**
* <code>optional int64 ctime = 5;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 ctime = 5;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
/**
* <code>optional int64 ctime = 5;</code>
* @param value The ctime to set.
* @return This builder for chaining.
*/
public Builder setCtime(long value) {
ctime_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 ctime = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCtime() {
bitField0_ = (bitField0_ & ~0x00000010);
ctime_ = 0L;
onChanged();
return this;
}
private long mtime_ ;
/**
* <code>optional int64 mtime = 6;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 mtime = 6;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
/**
* <code>optional int64 mtime = 6;</code>
* @param value The mtime to set.
* @return This builder for chaining.
*/
public Builder setMtime(long value) {
mtime_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 mtime = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMtime() {
bitField0_ = (bitField0_ & ~0x00000020);
mtime_ = 0L;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> clusters_ =
java.util.Collections.emptyList();
private void ensureClustersIsMutable() {
if (!((bitField0_ & 0x00000040) != 0)) {
clusters_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ClusterPB>(clusters_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder> clustersBuilder_;
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> getClustersList() {
if (clustersBuilder_ == null) {
return java.util.Collections.unmodifiableList(clusters_);
} else {
return clustersBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public int getClustersCount() {
if (clustersBuilder_ == null) {
return clusters_.size();
} else {
return clustersBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB getClusters(int index) {
if (clustersBuilder_ == null) {
return clusters_.get(index);
} else {
return clustersBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder setClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClustersIsMutable();
clusters_.set(index, value);
onChanged();
} else {
clustersBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder setClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.set(index, builderForValue.build());
onChanged();
} else {
clustersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder addClusters(org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClustersIsMutable();
clusters_.add(value);
onChanged();
} else {
clustersBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder addClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClustersIsMutable();
clusters_.add(index, value);
onChanged();
} else {
clustersBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder addClusters(
org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.add(builderForValue.build());
onChanged();
} else {
clustersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder addClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.add(index, builderForValue.build());
onChanged();
} else {
clustersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder addAllClusters(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ClusterPB> values) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, clusters_);
onChanged();
} else {
clustersBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder clearClusters() {
if (clustersBuilder_ == null) {
clusters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
clustersBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public Builder removeClusters(int index) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.remove(index);
onChanged();
} else {
clustersBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder getClustersBuilder(
int index) {
return getClustersFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClustersOrBuilder(
int index) {
if (clustersBuilder_ == null) {
return clusters_.get(index); } else {
return clustersBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersOrBuilderList() {
if (clustersBuilder_ != null) {
return clustersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(clusters_);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder addClustersBuilder() {
return getClustersFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder addClustersBuilder(
int index) {
return getClustersFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 7;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder>
getClustersBuilderList() {
return getClustersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersFieldBuilder() {
if (clustersBuilder_ == null) {
clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>(
clusters_,
((bitField0_ & 0x00000040) != 0),
getParentForChildren(),
isClean());
clusters_ = null;
}
return clustersBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> objInfo_ =
java.util.Collections.emptyList();
private void ensureObjInfoIsMutable() {
if (!((bitField0_ & 0x00000080) != 0)) {
objInfo_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB>(objInfo_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder> objInfoBuilder_;
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> getObjInfoList() {
if (objInfoBuilder_ == null) {
return java.util.Collections.unmodifiableList(objInfo_);
} else {
return objInfoBuilder_.getMessageList();
}
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public int getObjInfoCount() {
if (objInfoBuilder_ == null) {
return objInfo_.size();
} else {
return objInfoBuilder_.getCount();
}
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo(int index) {
if (objInfoBuilder_ == null) {
return objInfo_.get(index);
} else {
return objInfoBuilder_.getMessage(index);
}
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder setObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjInfoIsMutable();
objInfo_.set(index, value);
onChanged();
} else {
objInfoBuilder_.setMessage(index, value);
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder setObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.set(index, builderForValue.build());
onChanged();
} else {
objInfoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder addObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjInfoIsMutable();
objInfo_.add(value);
onChanged();
} else {
objInfoBuilder_.addMessage(value);
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder addObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjInfoIsMutable();
objInfo_.add(index, value);
onChanged();
} else {
objInfoBuilder_.addMessage(index, value);
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder addObjInfo(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.add(builderForValue.build());
onChanged();
} else {
objInfoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder addObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.add(index, builderForValue.build());
onChanged();
} else {
objInfoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder addAllObjInfo(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> values) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objInfo_);
onChanged();
} else {
objInfoBuilder_.addAllMessages(values);
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder clearObjInfo() {
if (objInfoBuilder_ == null) {
objInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
objInfoBuilder_.clear();
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public Builder removeObjInfo(int index) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.remove(index);
onChanged();
} else {
objInfoBuilder_.remove(index);
}
return this;
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder getObjInfoBuilder(
int index) {
return getObjInfoFieldBuilder().getBuilder(index);
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder(
int index) {
if (objInfoBuilder_ == null) {
return objInfo_.get(index); } else {
return objInfoBuilder_.getMessageOrBuilder(index);
}
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoOrBuilderList() {
if (objInfoBuilder_ != null) {
return objInfoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objInfo_);
}
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder addObjInfoBuilder() {
return getObjInfoFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance());
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder addObjInfoBuilder(
int index) {
return getObjInfoFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance());
}
/**
* <pre>
* Only legacy obj info would be store in this fields, other objs would be lied in vaults.
* </pre>
*
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 8;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder>
getObjInfoBuilderList() {
return getObjInfoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoFieldBuilder() {
if (objInfoBuilder_ == null) {
objInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>(
objInfo_,
((bitField0_ & 0x00000080) != 0),
getParentForChildren(),
isClean());
objInfo_ = null;
}
return objInfoBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> stages_ =
java.util.Collections.emptyList();
private void ensureStagesIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
stages_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.StagePB>(stages_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder> stagesBuilder_;
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> getStagesList() {
if (stagesBuilder_ == null) {
return java.util.Collections.unmodifiableList(stages_);
} else {
return stagesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public int getStagesCount() {
if (stagesBuilder_ == null) {
return stages_.size();
} else {
return stagesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB getStages(int index) {
if (stagesBuilder_ == null) {
return stages_.get(index);
} else {
return stagesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder setStages(
int index, org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStagesIsMutable();
stages_.set(index, value);
onChanged();
} else {
stagesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder setStages(
int index, org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.set(index, builderForValue.build());
onChanged();
} else {
stagesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder addStages(org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStagesIsMutable();
stages_.add(value);
onChanged();
} else {
stagesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder addStages(
int index, org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stagesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStagesIsMutable();
stages_.add(index, value);
onChanged();
} else {
stagesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder addStages(
org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.add(builderForValue.build());
onChanged();
} else {
stagesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder addStages(
int index, org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.add(index, builderForValue.build());
onChanged();
} else {
stagesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder addAllStages(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.StagePB> values) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stages_);
onChanged();
} else {
stagesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder clearStages() {
if (stagesBuilder_ == null) {
stages_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
stagesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public Builder removeStages(int index) {
if (stagesBuilder_ == null) {
ensureStagesIsMutable();
stages_.remove(index);
onChanged();
} else {
stagesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder getStagesBuilder(
int index) {
return getStagesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStagesOrBuilder(
int index) {
if (stagesBuilder_ == null) {
return stages_.get(index); } else {
return stagesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStagesOrBuilderList() {
if (stagesBuilder_ != null) {
return stagesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stages_);
}
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder addStagesBuilder() {
return getStagesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder addStagesBuilder(
int index) {
return getStagesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.StagePB stages = 9;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB.Builder>
getStagesBuilderList() {
return getStagesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStagesFieldBuilder() {
if (stagesBuilder_ == null) {
stagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>(
stages_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
stages_ = null;
}
return stagesBuilder_;
}
private int status_ = 0;
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status getStatus() {
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status result = org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status.NORMAL : result;
}
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Status value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.InstanceInfoPB.Status status = 10;</code>
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000200);
status_ = 0;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> ramUserBuilder_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
* @return Whether the ramUser field is set.
*/
public boolean hasRamUser() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
* @return The ramUser.
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
if (ramUserBuilder_ == null) {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
} else {
return ramUserBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
public Builder setRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ramUser_ = value;
} else {
ramUserBuilder_.setMessage(value);
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
public Builder setRamUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (ramUserBuilder_ == null) {
ramUser_ = builderForValue.build();
} else {
ramUserBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
public Builder mergeRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (((bitField0_ & 0x00000400) != 0) &&
ramUser_ != null &&
ramUser_ != org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) {
getRamUserBuilder().mergeFrom(value);
} else {
ramUser_ = value;
}
} else {
ramUserBuilder_.mergeFrom(value);
}
if (ramUser_ != null) {
bitField0_ |= 0x00000400;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
public Builder clearRamUser() {
bitField0_ = (bitField0_ & ~0x00000400);
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getRamUserBuilder() {
bitField0_ |= 0x00000400;
onChanged();
return getRamUserFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
if (ramUserBuilder_ != null) {
return ramUserBuilder_.getMessageOrBuilder();
} else {
return ramUser_ == null ?
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 11;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getRamUserFieldBuilder() {
if (ramUserBuilder_ == null) {
ramUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
getRamUser(),
getParentForChildren(),
isClean());
ramUser_ = null;
}
return ramUserBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.RamUserPB iamUser_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> iamUserBuilder_;
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
* @return Whether the iamUser field is set.
*/
public boolean hasIamUser() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
* @return The iamUser.
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getIamUser() {
if (iamUserBuilder_ == null) {
return iamUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
} else {
return iamUserBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
public Builder setIamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (iamUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
iamUser_ = value;
} else {
iamUserBuilder_.setMessage(value);
}
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
public Builder setIamUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (iamUserBuilder_ == null) {
iamUser_ = builderForValue.build();
} else {
iamUserBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
public Builder mergeIamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (iamUserBuilder_ == null) {
if (((bitField0_ & 0x00000800) != 0) &&
iamUser_ != null &&
iamUser_ != org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) {
getIamUserBuilder().mergeFrom(value);
} else {
iamUser_ = value;
}
} else {
iamUserBuilder_.mergeFrom(value);
}
if (iamUser_ != null) {
bitField0_ |= 0x00000800;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
public Builder clearIamUser() {
bitField0_ = (bitField0_ & ~0x00000800);
iamUser_ = null;
if (iamUserBuilder_ != null) {
iamUserBuilder_.dispose();
iamUserBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getIamUserBuilder() {
bitField0_ |= 0x00000800;
onChanged();
return getIamUserFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getIamUserOrBuilder() {
if (iamUserBuilder_ != null) {
return iamUserBuilder_.getMessageOrBuilder();
} else {
return iamUser_ == null ?
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
}
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 12;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getIamUserFieldBuilder() {
if (iamUserBuilder_ == null) {
iamUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
getIamUser(),
getParentForChildren(),
isClean());
iamUser_ = null;
}
return iamUserBuilder_;
}
private boolean sseEnabled_ ;
/**
* <code>optional bool sse_enabled = 13;</code>
* @return Whether the sseEnabled field is set.
*/
@java.lang.Override
public boolean hasSseEnabled() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional bool sse_enabled = 13;</code>
* @return The sseEnabled.
*/
@java.lang.Override
public boolean getSseEnabled() {
return sseEnabled_;
}
/**
* <code>optional bool sse_enabled = 13;</code>
* @param value The sseEnabled to set.
* @return This builder for chaining.
*/
public Builder setSseEnabled(boolean value) {
sseEnabled_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional bool sse_enabled = 13;</code>
* @return This builder for chaining.
*/
public Builder clearSseEnabled() {
bitField0_ = (bitField0_ & ~0x00001000);
sseEnabled_ = false;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList resourceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureResourceIdsIsMutable() {
if (!resourceIds_.isModifiable()) {
resourceIds_ = new com.google.protobuf.LazyStringArrayList(resourceIds_);
}
bitField0_ |= 0x00002000;
}
/**
* <code>repeated string resource_ids = 100;</code>
* @return A list containing the resourceIds.
*/
public com.google.protobuf.ProtocolStringList
getResourceIdsList() {
resourceIds_.makeImmutable();
return resourceIds_;
}
/**
* <code>repeated string resource_ids = 100;</code>
* @return The count of resourceIds.
*/
public int getResourceIdsCount() {
return resourceIds_.size();
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param index The index of the element to return.
* @return The resourceIds at the given index.
*/
public java.lang.String getResourceIds(int index) {
return resourceIds_.get(index);
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param index The index of the value to return.
* @return The bytes of the resourceIds at the given index.
*/
public com.google.protobuf.ByteString
getResourceIdsBytes(int index) {
return resourceIds_.getByteString(index);
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param index The index to set the value at.
* @param value The resourceIds to set.
* @return This builder for chaining.
*/
public Builder setResourceIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureResourceIdsIsMutable();
resourceIds_.set(index, value);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param value The resourceIds to add.
* @return This builder for chaining.
*/
public Builder addResourceIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureResourceIdsIsMutable();
resourceIds_.add(value);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param values The resourceIds to add.
* @return This builder for chaining.
*/
public Builder addAllResourceIds(
java.lang.Iterable<java.lang.String> values) {
ensureResourceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, resourceIds_);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>repeated string resource_ids = 100;</code>
* @return This builder for chaining.
*/
public Builder clearResourceIds() {
resourceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00002000);;
onChanged();
return this;
}
/**
* <code>repeated string resource_ids = 100;</code>
* @param value The bytes of the resourceIds to add.
* @return This builder for chaining.
*/
public Builder addResourceIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureResourceIdsIsMutable();
resourceIds_.add(value);
bitField0_ |= 0x00002000;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList storageVaultNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureStorageVaultNamesIsMutable() {
if (!storageVaultNames_.isModifiable()) {
storageVaultNames_ = new com.google.protobuf.LazyStringArrayList(storageVaultNames_);
}
bitField0_ |= 0x00004000;
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @return A list containing the storageVaultNames.
*/
public com.google.protobuf.ProtocolStringList
getStorageVaultNamesList() {
storageVaultNames_.makeImmutable();
return storageVaultNames_;
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @return The count of storageVaultNames.
*/
public int getStorageVaultNamesCount() {
return storageVaultNames_.size();
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param index The index of the element to return.
* @return The storageVaultNames at the given index.
*/
public java.lang.String getStorageVaultNames(int index) {
return storageVaultNames_.get(index);
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param index The index of the value to return.
* @return The bytes of the storageVaultNames at the given index.
*/
public com.google.protobuf.ByteString
getStorageVaultNamesBytes(int index) {
return storageVaultNames_.getByteString(index);
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param index The index to set the value at.
* @param value The storageVaultNames to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultNames(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureStorageVaultNamesIsMutable();
storageVaultNames_.set(index, value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param value The storageVaultNames to add.
* @return This builder for chaining.
*/
public Builder addStorageVaultNames(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureStorageVaultNamesIsMutable();
storageVaultNames_.add(value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param values The storageVaultNames to add.
* @return This builder for chaining.
*/
public Builder addAllStorageVaultNames(
java.lang.Iterable<java.lang.String> values) {
ensureStorageVaultNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, storageVaultNames_);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @return This builder for chaining.
*/
public Builder clearStorageVaultNames() {
storageVaultNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00004000);;
onChanged();
return this;
}
/**
* <code>repeated string storage_vault_names = 101;</code>
* @param value The bytes of the storageVaultNames to add.
* @return This builder for chaining.
*/
public Builder addStorageVaultNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureStorageVaultNamesIsMutable();
storageVaultNames_.add(value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
private java.lang.Object defaultStorageVaultId_ = "";
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return Whether the defaultStorageVaultId field is set.
*/
public boolean hasDefaultStorageVaultId() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return The defaultStorageVaultId.
*/
public java.lang.String getDefaultStorageVaultId() {
java.lang.Object ref = defaultStorageVaultId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return The bytes for defaultStorageVaultId.
*/
public com.google.protobuf.ByteString
getDefaultStorageVaultIdBytes() {
java.lang.Object ref = defaultStorageVaultId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @param value The defaultStorageVaultId to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultId_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @return This builder for chaining.
*/
public Builder clearDefaultStorageVaultId() {
defaultStorageVaultId_ = getDefaultInstance().getDefaultStorageVaultId();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_id = 102;</code>
* @param value The bytes for defaultStorageVaultId to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultId_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
private java.lang.Object defaultStorageVaultName_ = "";
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return Whether the defaultStorageVaultName field is set.
*/
public boolean hasDefaultStorageVaultName() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return The defaultStorageVaultName.
*/
public java.lang.String getDefaultStorageVaultName() {
java.lang.Object ref = defaultStorageVaultName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return The bytes for defaultStorageVaultName.
*/
public com.google.protobuf.ByteString
getDefaultStorageVaultNameBytes() {
java.lang.Object ref = defaultStorageVaultName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @param value The defaultStorageVaultName to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultName_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @return This builder for chaining.
*/
public Builder clearDefaultStorageVaultName() {
defaultStorageVaultName_ = getDefaultInstance().getDefaultStorageVaultName();
bitField0_ = (bitField0_ & ~0x00010000);
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_name = 103;</code>
* @param value The bytes for defaultStorageVaultName to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultName_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
private boolean enableStorageVault_ ;
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @return Whether the enableStorageVault field is set.
*/
@java.lang.Override
public boolean hasEnableStorageVault() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @return The enableStorageVault.
*/
@java.lang.Override
public boolean getEnableStorageVault() {
return enableStorageVault_;
}
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @param value The enableStorageVault to set.
* @return This builder for chaining.
*/
public Builder setEnableStorageVault(boolean value) {
enableStorageVault_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <code>optional bool enable_storage_vault = 104;</code>
* @return This builder for chaining.
*/
public Builder clearEnableStorageVault() {
bitField0_ = (bitField0_ & ~0x00020000);
enableStorageVault_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.InstanceInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.InstanceInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.InstanceInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.InstanceInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.InstanceInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<InstanceInfoPB>
PARSER = new com.google.protobuf.AbstractParser<InstanceInfoPB>() {
@java.lang.Override
public InstanceInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<InstanceInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<InstanceInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StagePBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.StagePB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @return The type.
*/
org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType();
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @return A list containing the mysqlUserName.
*/
java.util.List<java.lang.String>
getMysqlUserNameList();
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @return The count of mysqlUserName.
*/
int getMysqlUserNameCount();
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param index The index of the element to return.
* @return The mysqlUserName at the given index.
*/
java.lang.String getMysqlUserName(int index);
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserName at the given index.
*/
com.google.protobuf.ByteString
getMysqlUserNameBytes(int index);
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
* @return Whether the objInfo field is set.
*/
boolean hasObjInfo();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
* @return The objInfo.
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder();
/**
* <code>optional string stage_id = 7;</code>
* @return Whether the stageId field is set.
*/
boolean hasStageId();
/**
* <code>optional string stage_id = 7;</code>
* @return The stageId.
*/
java.lang.String getStageId();
/**
* <code>optional string stage_id = 7;</code>
* @return The bytes for stageId.
*/
com.google.protobuf.ByteString
getStageIdBytes();
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
int getPropertiesCount();
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
boolean containsProperties(
java.lang.String key);
/**
* Use {@link #getPropertiesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.String>
getProperties();
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
java.util.Map<java.lang.String, java.lang.String>
getPropertiesMap();
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
/* nullable */
java.lang.String getPropertiesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
java.lang.String getPropertiesOrThrow(
java.lang.String key);
/**
* <code>repeated string mysql_user_id = 9;</code>
* @return A list containing the mysqlUserId.
*/
java.util.List<java.lang.String>
getMysqlUserIdList();
/**
* <code>repeated string mysql_user_id = 9;</code>
* @return The count of mysqlUserId.
*/
int getMysqlUserIdCount();
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param index The index of the element to return.
* @return The mysqlUserId at the given index.
*/
java.lang.String getMysqlUserId(int index);
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserId at the given index.
*/
com.google.protobuf.ByteString
getMysqlUserIdBytes(int index);
/**
* <code>optional string comment = 10;</code>
* @return Whether the comment field is set.
*/
boolean hasComment();
/**
* <code>optional string comment = 10;</code>
* @return The comment.
*/
java.lang.String getComment();
/**
* <code>optional string comment = 10;</code>
* @return The bytes for comment.
*/
com.google.protobuf.ByteString
getCommentBytes();
/**
* <code>optional int64 create_time = 11;</code>
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
* <code>optional int64 create_time = 11;</code>
* @return The createTime.
*/
long getCreateTime();
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @return Whether the accessType field is set.
*/
boolean hasAccessType();
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @return The accessType.
*/
org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType getAccessType();
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return Whether the roleName field is set.
*/
boolean hasRoleName();
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return The roleName.
*/
java.lang.String getRoleName();
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return The bytes for roleName.
*/
com.google.protobuf.ByteString
getRoleNameBytes();
/**
* <code>optional string arn = 14;</code>
* @return Whether the arn field is set.
*/
boolean hasArn();
/**
* <code>optional string arn = 14;</code>
* @return The arn.
*/
java.lang.String getArn();
/**
* <code>optional string arn = 14;</code>
* @return The bytes for arn.
*/
com.google.protobuf.ByteString
getArnBytes();
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return Whether the externalId field is set.
*/
boolean hasExternalId();
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return The externalId.
*/
java.lang.String getExternalId();
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return The bytes for externalId.
*/
com.google.protobuf.ByteString
getExternalIdBytes();
}
/**
* Protobuf type {@code doris.cloud.StagePB}
*/
public static final class StagePB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.StagePB)
StagePBOrBuilder {
private static final long serialVersionUID = 0L;
// Use StagePB.newBuilder() to construct.
private StagePB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private StagePB() {
type_ = 0;
mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
name_ = "";
stageId_ = "";
mysqlUserId_ =
com.google.protobuf.LazyStringArrayList.emptyList();
comment_ = "";
accessType_ = 1;
roleName_ = "";
arn_ = "";
externalId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StagePB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StagePB_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 8:
return internalGetProperties();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StagePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StagePB.class, org.apache.doris.cloud.proto.Cloud.StagePB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.StagePB.StageType}
*/
public enum StageType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>INTERNAL = 0;</code>
*/
INTERNAL(0),
/**
* <code>EXTERNAL = 1;</code>
*/
EXTERNAL(1),
;
/**
* <code>INTERNAL = 0;</code>
*/
public static final int INTERNAL_VALUE = 0;
/**
* <code>EXTERNAL = 1;</code>
*/
public static final int EXTERNAL_VALUE = 1;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static StageType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static StageType forNumber(int value) {
switch (value) {
case 0: return INTERNAL;
case 1: return EXTERNAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<StageType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
StageType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<StageType>() {
public StageType findValueByNumber(int number) {
return StageType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.StagePB.getDescriptor().getEnumTypes().get(0);
}
private static final StageType[] VALUES = values();
public static StageType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private StageType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.StagePB.StageType)
}
/**
* Protobuf enum {@code doris.cloud.StagePB.StageAccessType}
*/
public enum StageAccessType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>AKSK = 1;</code>
*/
AKSK(1),
/**
* <code>IAM = 2;</code>
*/
IAM(2),
/**
* <code>BUCKET_ACL = 3;</code>
*/
BUCKET_ACL(3),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>AKSK = 1;</code>
*/
public static final int AKSK_VALUE = 1;
/**
* <code>IAM = 2;</code>
*/
public static final int IAM_VALUE = 2;
/**
* <code>BUCKET_ACL = 3;</code>
*/
public static final int BUCKET_ACL_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static StageAccessType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static StageAccessType forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return AKSK;
case 2: return IAM;
case 3: return BUCKET_ACL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<StageAccessType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
StageAccessType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<StageAccessType>() {
public StageAccessType findValueByNumber(int number) {
return StageAccessType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.StagePB.getDescriptor().getEnumTypes().get(1);
}
private static final StageAccessType[] VALUES = values();
public static StageAccessType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private StageAccessType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.StagePB.StageAccessType)
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @return The type.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
public static final int MYSQL_USER_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @return A list containing the mysqlUserName.
*/
public com.google.protobuf.ProtocolStringList
getMysqlUserNameList() {
return mysqlUserName_;
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @return The count of mysqlUserName.
*/
public int getMysqlUserNameCount() {
return mysqlUserName_.size();
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param index The index of the element to return.
* @return The mysqlUserName at the given index.
*/
public java.lang.String getMysqlUserName(int index) {
return mysqlUserName_.get(index);
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserName at the given index.
*/
public com.google.protobuf.ByteString
getMysqlUserNameBytes(int index) {
return mysqlUserName_.getByteString(index);
}
public static final int NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OBJ_INFO_FIELD_NUMBER = 6;
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB objInfo_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
* @return Whether the objInfo field is set.
*/
@java.lang.Override
public boolean hasObjInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
* @return The objInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo() {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder() {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
public static final int STAGE_ID_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 7;</code>
* @return Whether the stageId field is set.
*/
@java.lang.Override
public boolean hasStageId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string stage_id = 7;</code>
* @return The stageId.
*/
@java.lang.Override
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
}
}
/**
* <code>optional string stage_id = 7;</code>
* @return The bytes for stageId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROPERTIES_FIELD_NUMBER = 8;
private static final class PropertiesDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, java.lang.String>newDefaultInstance(
org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StagePB_PropertiesEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> properties_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetProperties() {
if (properties_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PropertiesDefaultEntryHolder.defaultEntry);
}
return properties_;
}
public int getPropertiesCount() {
return internalGetProperties().getMap().size();
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public boolean containsProperties(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetProperties().getMap().containsKey(key);
}
/**
* Use {@link #getPropertiesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getProperties() {
return getPropertiesMap();
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getPropertiesMap() {
return internalGetProperties().getMap();
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getPropertiesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetProperties().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public java.lang.String getPropertiesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetProperties().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int MYSQL_USER_ID_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList mysqlUserId_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string mysql_user_id = 9;</code>
* @return A list containing the mysqlUserId.
*/
public com.google.protobuf.ProtocolStringList
getMysqlUserIdList() {
return mysqlUserId_;
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @return The count of mysqlUserId.
*/
public int getMysqlUserIdCount() {
return mysqlUserId_.size();
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param index The index of the element to return.
* @return The mysqlUserId at the given index.
*/
public java.lang.String getMysqlUserId(int index) {
return mysqlUserId_.get(index);
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserId at the given index.
*/
public com.google.protobuf.ByteString
getMysqlUserIdBytes(int index) {
return mysqlUserId_.getByteString(index);
}
public static final int COMMENT_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object comment_ = "";
/**
* <code>optional string comment = 10;</code>
* @return Whether the comment field is set.
*/
@java.lang.Override
public boolean hasComment() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string comment = 10;</code>
* @return The comment.
*/
@java.lang.Override
public java.lang.String getComment() {
java.lang.Object ref = comment_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
comment_ = s;
}
return s;
}
}
/**
* <code>optional string comment = 10;</code>
* @return The bytes for comment.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATE_TIME_FIELD_NUMBER = 11;
private long createTime_ = 0L;
/**
* <code>optional int64 create_time = 11;</code>
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 create_time = 11;</code>
* @return The createTime.
*/
@java.lang.Override
public long getCreateTime() {
return createTime_;
}
public static final int ACCESS_TYPE_FIELD_NUMBER = 12;
private int accessType_ = 1;
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @return Whether the accessType field is set.
*/
@java.lang.Override public boolean hasAccessType() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @return The accessType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType getAccessType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType.forNumber(accessType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType.AKSK : result;
}
public static final int ROLE_NAME_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object roleName_ = "";
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return Whether the roleName field is set.
*/
@java.lang.Override
public boolean hasRoleName() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return The roleName.
*/
@java.lang.Override
public java.lang.String getRoleName() {
java.lang.Object ref = roleName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
roleName_ = s;
}
return s;
}
}
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return The bytes for roleName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRoleNameBytes() {
java.lang.Object ref = roleName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
roleName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ARN_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private volatile java.lang.Object arn_ = "";
/**
* <code>optional string arn = 14;</code>
* @return Whether the arn field is set.
*/
@java.lang.Override
public boolean hasArn() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string arn = 14;</code>
* @return The arn.
*/
@java.lang.Override
public java.lang.String getArn() {
java.lang.Object ref = arn_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
arn_ = s;
}
return s;
}
}
/**
* <code>optional string arn = 14;</code>
* @return The bytes for arn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getArnBytes() {
java.lang.Object ref = arn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
arn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXTERNAL_ID_FIELD_NUMBER = 15;
@SuppressWarnings("serial")
private volatile java.lang.Object externalId_ = "";
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return Whether the externalId field is set.
*/
@java.lang.Override
public boolean hasExternalId() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return The externalId.
*/
@java.lang.Override
public java.lang.String getExternalId() {
java.lang.Object ref = externalId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalId_ = s;
}
return s;
}
}
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return The bytes for externalId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExternalIdBytes() {
java.lang.Object ref = externalId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, type_);
}
for (int i = 0; i < mysqlUserName_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, mysqlUserName_.getRaw(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(6, getObjInfo());
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, stageId_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetProperties(),
PropertiesDefaultEntryHolder.defaultEntry,
8);
for (int i = 0; i < mysqlUserId_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, mysqlUserId_.getRaw(i));
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, comment_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(11, createTime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeEnum(12, accessType_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, roleName_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, arn_);
}
if (((bitField0_ & 0x00000200) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, externalId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
{
int dataSize = 0;
for (int i = 0; i < mysqlUserName_.size(); i++) {
dataSize += computeStringSizeNoTag(mysqlUserName_.getRaw(i));
}
size += dataSize;
size += 1 * getMysqlUserNameList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getObjInfo());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, stageId_);
}
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
: internalGetProperties().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, properties__);
}
{
int dataSize = 0;
for (int i = 0; i < mysqlUserId_.size(); i++) {
dataSize += computeStringSizeNoTag(mysqlUserId_.getRaw(i));
}
size += dataSize;
size += 1 * getMysqlUserIdList().size();
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, comment_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, createTime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(12, accessType_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, roleName_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, arn_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, externalId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.StagePB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.StagePB other = (org.apache.doris.cloud.proto.Cloud.StagePB) obj;
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (!getMysqlUserNameList()
.equals(other.getMysqlUserNameList())) return false;
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasObjInfo() != other.hasObjInfo()) return false;
if (hasObjInfo()) {
if (!getObjInfo()
.equals(other.getObjInfo())) return false;
}
if (hasStageId() != other.hasStageId()) return false;
if (hasStageId()) {
if (!getStageId()
.equals(other.getStageId())) return false;
}
if (!internalGetProperties().equals(
other.internalGetProperties())) return false;
if (!getMysqlUserIdList()
.equals(other.getMysqlUserIdList())) return false;
if (hasComment() != other.hasComment()) return false;
if (hasComment()) {
if (!getComment()
.equals(other.getComment())) return false;
}
if (hasCreateTime() != other.hasCreateTime()) return false;
if (hasCreateTime()) {
if (getCreateTime()
!= other.getCreateTime()) return false;
}
if (hasAccessType() != other.hasAccessType()) return false;
if (hasAccessType()) {
if (accessType_ != other.accessType_) return false;
}
if (hasRoleName() != other.hasRoleName()) return false;
if (hasRoleName()) {
if (!getRoleName()
.equals(other.getRoleName())) return false;
}
if (hasArn() != other.hasArn()) return false;
if (hasArn()) {
if (!getArn()
.equals(other.getArn())) return false;
}
if (hasExternalId() != other.hasExternalId()) return false;
if (hasExternalId()) {
if (!getExternalId()
.equals(other.getExternalId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (getMysqlUserNameCount() > 0) {
hash = (37 * hash) + MYSQL_USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserNameList().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasObjInfo()) {
hash = (37 * hash) + OBJ_INFO_FIELD_NUMBER;
hash = (53 * hash) + getObjInfo().hashCode();
}
if (hasStageId()) {
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId().hashCode();
}
if (!internalGetProperties().getMap().isEmpty()) {
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
hash = (53 * hash) + internalGetProperties().hashCode();
}
if (getMysqlUserIdCount() > 0) {
hash = (37 * hash) + MYSQL_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserIdList().hashCode();
}
if (hasComment()) {
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode();
}
if (hasCreateTime()) {
hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreateTime());
}
if (hasAccessType()) {
hash = (37 * hash) + ACCESS_TYPE_FIELD_NUMBER;
hash = (53 * hash) + accessType_;
}
if (hasRoleName()) {
hash = (37 * hash) + ROLE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getRoleName().hashCode();
}
if (hasArn()) {
hash = (37 * hash) + ARN_FIELD_NUMBER;
hash = (53 * hash) + getArn().hashCode();
}
if (hasExternalId()) {
hash = (37 * hash) + EXTERNAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getExternalId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StagePB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.StagePB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.StagePB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.StagePB)
org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StagePB_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 8:
return internalGetProperties();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 8:
return internalGetMutableProperties();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StagePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StagePB.class, org.apache.doris.cloud.proto.Cloud.StagePB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.StagePB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getObjInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
type_ = 0;
mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
name_ = "";
objInfo_ = null;
if (objInfoBuilder_ != null) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
}
stageId_ = "";
internalGetMutableProperties().clear();
mysqlUserId_ =
com.google.protobuf.LazyStringArrayList.emptyList();
comment_ = "";
createTime_ = 0L;
accessType_ = 1;
roleName_ = "";
arn_ = "";
externalId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StagePB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB build() {
org.apache.doris.cloud.proto.Cloud.StagePB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB buildPartial() {
org.apache.doris.cloud.proto.Cloud.StagePB result = new org.apache.doris.cloud.proto.Cloud.StagePB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.StagePB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
mysqlUserName_.makeImmutable();
result.mysqlUserName_ = mysqlUserName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.objInfo_ = objInfoBuilder_ == null
? objInfo_
: objInfoBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.stageId_ = stageId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.properties_ = internalGetProperties();
result.properties_.makeImmutable();
}
if (((from_bitField0_ & 0x00000040) != 0)) {
mysqlUserId_.makeImmutable();
result.mysqlUserId_ = mysqlUserId_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.comment_ = comment_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.createTime_ = createTime_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.accessType_ = accessType_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.roleName_ = roleName_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.arn_ = arn_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.externalId_ = externalId_;
to_bitField0_ |= 0x00000200;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.StagePB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.StagePB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.StagePB other) {
if (other == org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (!other.mysqlUserName_.isEmpty()) {
if (mysqlUserName_.isEmpty()) {
mysqlUserName_ = other.mysqlUserName_;
bitField0_ |= 0x00000002;
} else {
ensureMysqlUserNameIsMutable();
mysqlUserName_.addAll(other.mysqlUserName_);
}
onChanged();
}
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasObjInfo()) {
mergeObjInfo(other.getObjInfo());
}
if (other.hasStageId()) {
stageId_ = other.stageId_;
bitField0_ |= 0x00000010;
onChanged();
}
internalGetMutableProperties().mergeFrom(
other.internalGetProperties());
bitField0_ |= 0x00000020;
if (!other.mysqlUserId_.isEmpty()) {
if (mysqlUserId_.isEmpty()) {
mysqlUserId_ = other.mysqlUserId_;
bitField0_ |= 0x00000040;
} else {
ensureMysqlUserIdIsMutable();
mysqlUserId_.addAll(other.mysqlUserId_);
}
onChanged();
}
if (other.hasComment()) {
comment_ = other.comment_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasCreateTime()) {
setCreateTime(other.getCreateTime());
}
if (other.hasAccessType()) {
setAccessType(other.getAccessType());
}
if (other.hasRoleName()) {
roleName_ = other.roleName_;
bitField0_ |= 0x00000400;
onChanged();
}
if (other.hasArn()) {
arn_ = other.arn_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.hasExternalId()) {
externalId_ = other.externalId_;
bitField0_ |= 0x00001000;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.StagePB.StageType tmpValue =
org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
type_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureMysqlUserNameIsMutable();
mysqlUserName_.add(bs);
break;
} // case 18
case 26: {
name_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 50: {
input.readMessage(
getObjInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 50
case 58: {
stageId_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 58
case 66: {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
properties__ = input.readMessage(
PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableProperties().getMutableMap().put(
properties__.getKey(), properties__.getValue());
bitField0_ |= 0x00000020;
break;
} // case 66
case 74: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureMysqlUserIdIsMutable();
mysqlUserId_.add(bs);
break;
} // case 74
case 82: {
comment_ = input.readBytes();
bitField0_ |= 0x00000080;
break;
} // case 82
case 88: {
createTime_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 88
case 96: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType tmpValue =
org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(12, tmpRaw);
} else {
accessType_ = tmpRaw;
bitField0_ |= 0x00000200;
}
break;
} // case 96
case 106: {
roleName_ = input.readBytes();
bitField0_ |= 0x00000400;
break;
} // case 106
case 114: {
arn_ = input.readBytes();
bitField0_ |= 0x00000800;
break;
} // case 114
case 122: {
externalId_ = input.readBytes();
bitField0_ |= 0x00001000;
break;
} // case 122
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int type_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @return The type.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.doris.cloud.proto.Cloud.StagePB.StageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureMysqlUserNameIsMutable() {
if (!mysqlUserName_.isModifiable()) {
mysqlUserName_ = new com.google.protobuf.LazyStringArrayList(mysqlUserName_);
}
bitField0_ |= 0x00000002;
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @return A list containing the mysqlUserName.
*/
public com.google.protobuf.ProtocolStringList
getMysqlUserNameList() {
mysqlUserName_.makeImmutable();
return mysqlUserName_;
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @return The count of mysqlUserName.
*/
public int getMysqlUserNameCount() {
return mysqlUserName_.size();
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param index The index of the element to return.
* @return The mysqlUserName at the given index.
*/
public java.lang.String getMysqlUserName(int index) {
return mysqlUserName_.get(index);
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserName at the given index.
*/
public com.google.protobuf.ByteString
getMysqlUserNameBytes(int index) {
return mysqlUserName_.getByteString(index);
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param index The index to set the value at.
* @param value The mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserName(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserNameIsMutable();
mysqlUserName_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param value The mysqlUserName to add.
* @return This builder for chaining.
*/
public Builder addMysqlUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserNameIsMutable();
mysqlUserName_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param values The mysqlUserName to add.
* @return This builder for chaining.
*/
public Builder addAllMysqlUserName(
java.lang.Iterable<java.lang.String> values) {
ensureMysqlUserNameIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mysqlUserName_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserName() {
mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
onChanged();
return this;
}
/**
* <pre>
* mysql user name and id only used for internal stage
* </pre>
*
* <code>repeated string mysql_user_name = 2;</code>
* @param value The bytes of the mysqlUserName to add.
* @return This builder for chaining.
*/
public Builder addMysqlUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserNameIsMutable();
mysqlUserName_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <pre>
* external stage name
* </pre>
*
* <code>optional string name = 3;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB objInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder> objInfoBuilder_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
* @return Whether the objInfo field is set.
*/
public boolean hasObjInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
* @return The objInfo.
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo() {
if (objInfoBuilder_ == null) {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
} else {
return objInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
public Builder setObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
objInfo_ = value;
} else {
objInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
public Builder setObjInfo(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
objInfo_ = builderForValue.build();
} else {
objInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
public Builder mergeObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
objInfo_ != null &&
objInfo_ != org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance()) {
getObjInfoBuilder().mergeFrom(value);
} else {
objInfo_ = value;
}
} else {
objInfoBuilder_.mergeFrom(value);
}
if (objInfo_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
public Builder clearObjInfo() {
bitField0_ = (bitField0_ & ~0x00000008);
objInfo_ = null;
if (objInfoBuilder_ != null) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder getObjInfoBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getObjInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder() {
if (objInfoBuilder_ != null) {
return objInfoBuilder_.getMessageOrBuilder();
} else {
return objInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 6;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoFieldBuilder() {
if (objInfoBuilder_ == null) {
objInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>(
getObjInfo(),
getParentForChildren(),
isClean());
objInfo_ = null;
}
return objInfoBuilder_;
}
private java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 7;</code>
* @return Whether the stageId field is set.
*/
public boolean hasStageId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string stage_id = 7;</code>
* @return The stageId.
*/
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_id = 7;</code>
* @return The bytes for stageId.
*/
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_id = 7;</code>
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string stage_id = 7;</code>
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = getDefaultInstance().getStageId();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string stage_id = 7;</code>
* @param value The bytes for stageId to set.
* @return This builder for chaining.
*/
public Builder setStageIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> properties_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetProperties() {
if (properties_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PropertiesDefaultEntryHolder.defaultEntry);
}
return properties_;
}
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableProperties() {
if (properties_ == null) {
properties_ = com.google.protobuf.MapField.newMapField(
PropertiesDefaultEntryHolder.defaultEntry);
}
if (!properties_.isMutable()) {
properties_ = properties_.copy();
}
bitField0_ |= 0x00000020;
onChanged();
return properties_;
}
public int getPropertiesCount() {
return internalGetProperties().getMap().size();
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public boolean containsProperties(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetProperties().getMap().containsKey(key);
}
/**
* Use {@link #getPropertiesMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getProperties() {
return getPropertiesMap();
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getPropertiesMap() {
return internalGetProperties().getMap();
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getPropertiesOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetProperties().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
@java.lang.Override
public java.lang.String getPropertiesOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetProperties().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearProperties() {
bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableProperties().getMutableMap()
.clear();
return this;
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
public Builder removeProperties(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableProperties().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String>
getMutableProperties() {
bitField0_ |= 0x00000020;
return internalGetMutableProperties().getMutableMap();
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
public Builder putProperties(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableProperties().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000020;
return this;
}
/**
* <pre>
* file and copy properties
* </pre>
*
* <code>map<string, string> properties = 8;</code>
*/
public Builder putAllProperties(
java.util.Map<java.lang.String, java.lang.String> values) {
internalGetMutableProperties().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000020;
return this;
}
private com.google.protobuf.LazyStringArrayList mysqlUserId_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureMysqlUserIdIsMutable() {
if (!mysqlUserId_.isModifiable()) {
mysqlUserId_ = new com.google.protobuf.LazyStringArrayList(mysqlUserId_);
}
bitField0_ |= 0x00000040;
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @return A list containing the mysqlUserId.
*/
public com.google.protobuf.ProtocolStringList
getMysqlUserIdList() {
mysqlUserId_.makeImmutable();
return mysqlUserId_;
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @return The count of mysqlUserId.
*/
public int getMysqlUserIdCount() {
return mysqlUserId_.size();
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param index The index of the element to return.
* @return The mysqlUserId at the given index.
*/
public java.lang.String getMysqlUserId(int index) {
return mysqlUserId_.get(index);
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserId at the given index.
*/
public com.google.protobuf.ByteString
getMysqlUserIdBytes(int index) {
return mysqlUserId_.getByteString(index);
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param index The index to set the value at.
* @param value The mysqlUserId to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserId(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserIdIsMutable();
mysqlUserId_.set(index, value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param value The mysqlUserId to add.
* @return This builder for chaining.
*/
public Builder addMysqlUserId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserIdIsMutable();
mysqlUserId_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param values The mysqlUserId to add.
* @return This builder for chaining.
*/
public Builder addAllMysqlUserId(
java.lang.Iterable<java.lang.String> values) {
ensureMysqlUserIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mysqlUserId_);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserId() {
mysqlUserId_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_id = 9;</code>
* @param value The bytes of the mysqlUserId to add.
* @return This builder for chaining.
*/
public Builder addMysqlUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserIdIsMutable();
mysqlUserId_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object comment_ = "";
/**
* <code>optional string comment = 10;</code>
* @return Whether the comment field is set.
*/
public boolean hasComment() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string comment = 10;</code>
* @return The comment.
*/
public java.lang.String getComment() {
java.lang.Object ref = comment_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
comment_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string comment = 10;</code>
* @return The bytes for comment.
*/
public com.google.protobuf.ByteString
getCommentBytes() {
java.lang.Object ref = comment_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
comment_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string comment = 10;</code>
* @param value The comment to set.
* @return This builder for chaining.
*/
public Builder setComment(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
comment_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional string comment = 10;</code>
* @return This builder for chaining.
*/
public Builder clearComment() {
comment_ = getDefaultInstance().getComment();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>optional string comment = 10;</code>
* @param value The bytes for comment to set.
* @return This builder for chaining.
*/
public Builder setCommentBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
comment_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private long createTime_ ;
/**
* <code>optional int64 create_time = 11;</code>
* @return Whether the createTime field is set.
*/
@java.lang.Override
public boolean hasCreateTime() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 create_time = 11;</code>
* @return The createTime.
*/
@java.lang.Override
public long getCreateTime() {
return createTime_;
}
/**
* <code>optional int64 create_time = 11;</code>
* @param value The createTime to set.
* @return This builder for chaining.
*/
public Builder setCreateTime(long value) {
createTime_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional int64 create_time = 11;</code>
* @return This builder for chaining.
*/
public Builder clearCreateTime() {
bitField0_ = (bitField0_ & ~0x00000100);
createTime_ = 0L;
onChanged();
return this;
}
private int accessType_ = 1;
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @return Whether the accessType field is set.
*/
@java.lang.Override public boolean hasAccessType() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @return The accessType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType getAccessType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType.forNumber(accessType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType.AKSK : result;
}
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @param value The accessType to set.
* @return This builder for chaining.
*/
public Builder setAccessType(org.apache.doris.cloud.proto.Cloud.StagePB.StageAccessType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
accessType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB.StageAccessType access_type = 12 [default = AKSK];</code>
* @return This builder for chaining.
*/
public Builder clearAccessType() {
bitField0_ = (bitField0_ & ~0x00000200);
accessType_ = 1;
onChanged();
return this;
}
private java.lang.Object roleName_ = "";
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return Whether the roleName field is set.
*/
public boolean hasRoleName() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return The roleName.
*/
public java.lang.String getRoleName() {
java.lang.Object ref = roleName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
roleName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return The bytes for roleName.
*/
public com.google.protobuf.ByteString
getRoleNameBytes() {
java.lang.Object ref = roleName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
roleName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @param value The roleName to set.
* @return This builder for chaining.
*/
public Builder setRoleName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
roleName_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @return This builder for chaining.
*/
public Builder clearRoleName() {
roleName_ = getDefaultInstance().getRoleName();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* <pre>
* used when access_type is IAM
* In OBS, role name is agency name, arn is domain name.
* </pre>
*
* <code>optional string role_name = 13;</code>
* @param value The bytes for roleName to set.
* @return This builder for chaining.
*/
public Builder setRoleNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
roleName_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object arn_ = "";
/**
* <code>optional string arn = 14;</code>
* @return Whether the arn field is set.
*/
public boolean hasArn() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional string arn = 14;</code>
* @return The arn.
*/
public java.lang.String getArn() {
java.lang.Object ref = arn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
arn_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string arn = 14;</code>
* @return The bytes for arn.
*/
public com.google.protobuf.ByteString
getArnBytes() {
java.lang.Object ref = arn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
arn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string arn = 14;</code>
* @param value The arn to set.
* @return This builder for chaining.
*/
public Builder setArn(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
arn_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional string arn = 14;</code>
* @return This builder for chaining.
*/
public Builder clearArn() {
arn_ = getDefaultInstance().getArn();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* <code>optional string arn = 14;</code>
* @param value The bytes for arn to set.
* @return This builder for chaining.
*/
public Builder setArnBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
arn_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object externalId_ = "";
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return Whether the externalId field is set.
*/
public boolean hasExternalId() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return The externalId.
*/
public java.lang.String getExternalId() {
java.lang.Object ref = externalId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return The bytes for externalId.
*/
public com.google.protobuf.ByteString
getExternalIdBytes() {
java.lang.Object ref = externalId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @param value The externalId to set.
* @return This builder for chaining.
*/
public Builder setExternalId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
externalId_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @return This builder for chaining.
*/
public Builder clearExternalId() {
externalId_ = getDefaultInstance().getExternalId();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* <pre>
* only used for aws
* </pre>
*
* <code>optional string external_id = 15;</code>
* @param value The bytes for externalId to set.
* @return This builder for chaining.
*/
public Builder setExternalIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
externalId_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.StagePB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.StagePB)
private static final org.apache.doris.cloud.proto.Cloud.StagePB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.StagePB();
}
public static org.apache.doris.cloud.proto.Cloud.StagePB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<StagePB>
PARSER = new com.google.protobuf.AbstractParser<StagePB>() {
@java.lang.Override
public StagePB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<StagePB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<StagePB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ClusterPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.ClusterPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cluster_id = 1;</code>
* @return Whether the clusterId field is set.
*/
boolean hasClusterId();
/**
* <code>optional string cluster_id = 1;</code>
* @return The clusterId.
*/
java.lang.String getClusterId();
/**
* <code>optional string cluster_id = 1;</code>
* @return The bytes for clusterId.
*/
com.google.protobuf.ByteString
getClusterIdBytes();
/**
* <code>optional string cluster_name = 2;</code>
* @return Whether the clusterName field is set.
*/
boolean hasClusterName();
/**
* <code>optional string cluster_name = 2;</code>
* @return The clusterName.
*/
java.lang.String getClusterName();
/**
* <code>optional string cluster_name = 2;</code>
* @return The bytes for clusterName.
*/
com.google.protobuf.ByteString
getClusterNameBytes();
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @return The type.
*/
org.apache.doris.cloud.proto.Cloud.ClusterPB.Type getType();
/**
* <code>optional string desc = 4;</code>
* @return Whether the desc field is set.
*/
boolean hasDesc();
/**
* <code>optional string desc = 4;</code>
* @return The desc.
*/
java.lang.String getDesc();
/**
* <code>optional string desc = 4;</code>
* @return The bytes for desc.
*/
com.google.protobuf.ByteString
getDescBytes();
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.NodeInfoPB>
getNodesList();
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.NodeInfoPB getNodes(int index);
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
int getNodesCount();
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder>
getNodesOrBuilderList();
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder getNodesOrBuilder(
int index);
/**
* <code>repeated string mysql_user_name = 6;</code>
* @return A list containing the mysqlUserName.
*/
java.util.List<java.lang.String>
getMysqlUserNameList();
/**
* <code>repeated string mysql_user_name = 6;</code>
* @return The count of mysqlUserName.
*/
int getMysqlUserNameCount();
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param index The index of the element to return.
* @return The mysqlUserName at the given index.
*/
java.lang.String getMysqlUserName(int index);
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserName at the given index.
*/
com.google.protobuf.ByteString
getMysqlUserNameBytes(int index);
/**
* <code>optional string public_endpoint = 7;</code>
* @return Whether the publicEndpoint field is set.
*/
boolean hasPublicEndpoint();
/**
* <code>optional string public_endpoint = 7;</code>
* @return The publicEndpoint.
*/
java.lang.String getPublicEndpoint();
/**
* <code>optional string public_endpoint = 7;</code>
* @return The bytes for publicEndpoint.
*/
com.google.protobuf.ByteString
getPublicEndpointBytes();
/**
* <code>optional string private_endpoint = 8;</code>
* @return Whether the privateEndpoint field is set.
*/
boolean hasPrivateEndpoint();
/**
* <code>optional string private_endpoint = 8;</code>
* @return The privateEndpoint.
*/
java.lang.String getPrivateEndpoint();
/**
* <code>optional string private_endpoint = 8;</code>
* @return The bytes for privateEndpoint.
*/
com.google.protobuf.ByteString
getPrivateEndpointBytes();
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @return Whether the clusterStatus field is set.
*/
boolean hasClusterStatus();
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @return The clusterStatus.
*/
org.apache.doris.cloud.proto.Cloud.ClusterStatus getClusterStatus();
}
/**
* Protobuf type {@code doris.cloud.ClusterPB}
*/
public static final class ClusterPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.ClusterPB)
ClusterPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use ClusterPB.newBuilder() to construct.
private ClusterPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ClusterPB() {
clusterId_ = "";
clusterName_ = "";
type_ = 0;
desc_ = "";
nodes_ = java.util.Collections.emptyList();
mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
publicEndpoint_ = "";
privateEndpoint_ = "";
clusterStatus_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ClusterPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ClusterPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ClusterPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ClusterPB.class, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.ClusterPB.Type}
*/
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>SQL = 0;</code>
*/
SQL(0),
/**
* <code>COMPUTE = 1;</code>
*/
COMPUTE(1),
;
/**
* <code>SQL = 0;</code>
*/
public static final int SQL_VALUE = 0;
/**
* <code>COMPUTE = 1;</code>
*/
public static final int COMPUTE_VALUE = 1;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Type forNumber(int value) {
switch (value) {
case 0: return SQL;
case 1: return COMPUTE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Type>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Type>() {
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.ClusterPB.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.ClusterPB.Type)
}
private int bitField0_;
public static final int CLUSTER_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object clusterId_ = "";
/**
* <code>optional string cluster_id = 1;</code>
* @return Whether the clusterId field is set.
*/
@java.lang.Override
public boolean hasClusterId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cluster_id = 1;</code>
* @return The clusterId.
*/
@java.lang.Override
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterId_ = s;
}
return s;
}
}
/**
* <code>optional string cluster_id = 1;</code>
* @return The bytes for clusterId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object clusterName_ = "";
/**
* <code>optional string cluster_name = 2;</code>
* @return Whether the clusterName field is set.
*/
@java.lang.Override
public boolean hasClusterName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string cluster_name = 2;</code>
* @return The clusterName.
*/
@java.lang.Override
public java.lang.String getClusterName() {
java.lang.Object ref = clusterName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterName_ = s;
}
return s;
}
}
/**
* <code>optional string cluster_name = 2;</code>
* @return The bytes for clusterName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClusterNameBytes() {
java.lang.Object ref = clusterName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 3;
private int type_ = 0;
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @return The type.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.ClusterPB.Type getType() {
org.apache.doris.cloud.proto.Cloud.ClusterPB.Type result = org.apache.doris.cloud.proto.Cloud.ClusterPB.Type.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ClusterPB.Type.SQL : result;
}
public static final int DESC_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object desc_ = "";
/**
* <code>optional string desc = 4;</code>
* @return Whether the desc field is set.
*/
@java.lang.Override
public boolean hasDesc() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string desc = 4;</code>
* @return The desc.
*/
@java.lang.Override
public java.lang.String getDesc() {
java.lang.Object ref = desc_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
desc_ = s;
}
return s;
}
}
/**
* <code>optional string desc = 4;</code>
* @return The bytes for desc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescBytes() {
java.lang.Object ref = desc_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
desc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NODES_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.NodeInfoPB> nodes_;
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.NodeInfoPB> getNodesList() {
return nodes_;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder>
getNodesOrBuilderList() {
return nodes_;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
@java.lang.Override
public int getNodesCount() {
return nodes_.size();
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB getNodes(int index) {
return nodes_.get(index);
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder getNodesOrBuilder(
int index) {
return nodes_.get(index);
}
public static final int MYSQL_USER_NAME_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string mysql_user_name = 6;</code>
* @return A list containing the mysqlUserName.
*/
public com.google.protobuf.ProtocolStringList
getMysqlUserNameList() {
return mysqlUserName_;
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @return The count of mysqlUserName.
*/
public int getMysqlUserNameCount() {
return mysqlUserName_.size();
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param index The index of the element to return.
* @return The mysqlUserName at the given index.
*/
public java.lang.String getMysqlUserName(int index) {
return mysqlUserName_.get(index);
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserName at the given index.
*/
public com.google.protobuf.ByteString
getMysqlUserNameBytes(int index) {
return mysqlUserName_.getByteString(index);
}
public static final int PUBLIC_ENDPOINT_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object publicEndpoint_ = "";
/**
* <code>optional string public_endpoint = 7;</code>
* @return Whether the publicEndpoint field is set.
*/
@java.lang.Override
public boolean hasPublicEndpoint() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string public_endpoint = 7;</code>
* @return The publicEndpoint.
*/
@java.lang.Override
public java.lang.String getPublicEndpoint() {
java.lang.Object ref = publicEndpoint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
publicEndpoint_ = s;
}
return s;
}
}
/**
* <code>optional string public_endpoint = 7;</code>
* @return The bytes for publicEndpoint.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPublicEndpointBytes() {
java.lang.Object ref = publicEndpoint_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publicEndpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PRIVATE_ENDPOINT_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object privateEndpoint_ = "";
/**
* <code>optional string private_endpoint = 8;</code>
* @return Whether the privateEndpoint field is set.
*/
@java.lang.Override
public boolean hasPrivateEndpoint() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string private_endpoint = 8;</code>
* @return The privateEndpoint.
*/
@java.lang.Override
public java.lang.String getPrivateEndpoint() {
java.lang.Object ref = privateEndpoint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
privateEndpoint_ = s;
}
return s;
}
}
/**
* <code>optional string private_endpoint = 8;</code>
* @return The bytes for privateEndpoint.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrivateEndpointBytes() {
java.lang.Object ref = privateEndpoint_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privateEndpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_STATUS_FIELD_NUMBER = 9;
private int clusterStatus_ = 0;
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @return Whether the clusterStatus field is set.
*/
@java.lang.Override public boolean hasClusterStatus() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @return The clusterStatus.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.ClusterStatus getClusterStatus() {
org.apache.doris.cloud.proto.Cloud.ClusterStatus result = org.apache.doris.cloud.proto.Cloud.ClusterStatus.forNumber(clusterStatus_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ClusterStatus.UNKNOWN : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, desc_);
}
for (int i = 0; i < nodes_.size(); i++) {
output.writeMessage(5, nodes_.get(i));
}
for (int i = 0; i < mysqlUserName_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, mysqlUserName_.getRaw(i));
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, publicEndpoint_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, privateEndpoint_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeEnum(9, clusterStatus_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, type_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, desc_);
}
for (int i = 0; i < nodes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, nodes_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < mysqlUserName_.size(); i++) {
dataSize += computeStringSizeNoTag(mysqlUserName_.getRaw(i));
}
size += dataSize;
size += 1 * getMysqlUserNameList().size();
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, publicEndpoint_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, privateEndpoint_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(9, clusterStatus_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.ClusterPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.ClusterPB other = (org.apache.doris.cloud.proto.Cloud.ClusterPB) obj;
if (hasClusterId() != other.hasClusterId()) return false;
if (hasClusterId()) {
if (!getClusterId()
.equals(other.getClusterId())) return false;
}
if (hasClusterName() != other.hasClusterName()) return false;
if (hasClusterName()) {
if (!getClusterName()
.equals(other.getClusterName())) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasDesc() != other.hasDesc()) return false;
if (hasDesc()) {
if (!getDesc()
.equals(other.getDesc())) return false;
}
if (!getNodesList()
.equals(other.getNodesList())) return false;
if (!getMysqlUserNameList()
.equals(other.getMysqlUserNameList())) return false;
if (hasPublicEndpoint() != other.hasPublicEndpoint()) return false;
if (hasPublicEndpoint()) {
if (!getPublicEndpoint()
.equals(other.getPublicEndpoint())) return false;
}
if (hasPrivateEndpoint() != other.hasPrivateEndpoint()) return false;
if (hasPrivateEndpoint()) {
if (!getPrivateEndpoint()
.equals(other.getPrivateEndpoint())) return false;
}
if (hasClusterStatus() != other.hasClusterStatus()) return false;
if (hasClusterStatus()) {
if (clusterStatus_ != other.clusterStatus_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasClusterId()) {
hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getClusterId().hashCode();
}
if (hasClusterName()) {
hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClusterName().hashCode();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasDesc()) {
hash = (37 * hash) + DESC_FIELD_NUMBER;
hash = (53 * hash) + getDesc().hashCode();
}
if (getNodesCount() > 0) {
hash = (37 * hash) + NODES_FIELD_NUMBER;
hash = (53 * hash) + getNodesList().hashCode();
}
if (getMysqlUserNameCount() > 0) {
hash = (37 * hash) + MYSQL_USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserNameList().hashCode();
}
if (hasPublicEndpoint()) {
hash = (37 * hash) + PUBLIC_ENDPOINT_FIELD_NUMBER;
hash = (53 * hash) + getPublicEndpoint().hashCode();
}
if (hasPrivateEndpoint()) {
hash = (37 * hash) + PRIVATE_ENDPOINT_FIELD_NUMBER;
hash = (53 * hash) + getPrivateEndpoint().hashCode();
}
if (hasClusterStatus()) {
hash = (37 * hash) + CLUSTER_STATUS_FIELD_NUMBER;
hash = (53 * hash) + clusterStatus_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.ClusterPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.ClusterPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.ClusterPB)
org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ClusterPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ClusterPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ClusterPB.class, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.ClusterPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
clusterId_ = "";
clusterName_ = "";
type_ = 0;
desc_ = "";
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
} else {
nodes_ = null;
nodesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
publicEndpoint_ = "";
privateEndpoint_ = "";
clusterStatus_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ClusterPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB build() {
org.apache.doris.cloud.proto.Cloud.ClusterPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.ClusterPB result = new org.apache.doris.cloud.proto.Cloud.ClusterPB(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.ClusterPB result) {
if (nodesBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
nodes_ = java.util.Collections.unmodifiableList(nodes_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.nodes_ = nodes_;
} else {
result.nodes_ = nodesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.ClusterPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.clusterId_ = clusterId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.clusterName_ = clusterName_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.desc_ = desc_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
mysqlUserName_.makeImmutable();
result.mysqlUserName_ = mysqlUserName_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.publicEndpoint_ = publicEndpoint_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.privateEndpoint_ = privateEndpoint_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.clusterStatus_ = clusterStatus_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.ClusterPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.ClusterPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.ClusterPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance()) return this;
if (other.hasClusterId()) {
clusterId_ = other.clusterId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasClusterName()) {
clusterName_ = other.clusterName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasDesc()) {
desc_ = other.desc_;
bitField0_ |= 0x00000008;
onChanged();
}
if (nodesBuilder_ == null) {
if (!other.nodes_.isEmpty()) {
if (nodes_.isEmpty()) {
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureNodesIsMutable();
nodes_.addAll(other.nodes_);
}
onChanged();
}
} else {
if (!other.nodes_.isEmpty()) {
if (nodesBuilder_.isEmpty()) {
nodesBuilder_.dispose();
nodesBuilder_ = null;
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000010);
nodesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNodesFieldBuilder() : null;
} else {
nodesBuilder_.addAllMessages(other.nodes_);
}
}
}
if (!other.mysqlUserName_.isEmpty()) {
if (mysqlUserName_.isEmpty()) {
mysqlUserName_ = other.mysqlUserName_;
bitField0_ |= 0x00000020;
} else {
ensureMysqlUserNameIsMutable();
mysqlUserName_.addAll(other.mysqlUserName_);
}
onChanged();
}
if (other.hasPublicEndpoint()) {
publicEndpoint_ = other.publicEndpoint_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasPrivateEndpoint()) {
privateEndpoint_ = other.privateEndpoint_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasClusterStatus()) {
setClusterStatus(other.getClusterStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
clusterId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
clusterName_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.ClusterPB.Type tmpValue =
org.apache.doris.cloud.proto.Cloud.ClusterPB.Type.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
type_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
case 34: {
desc_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
org.apache.doris.cloud.proto.Cloud.NodeInfoPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.PARSER,
extensionRegistry);
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(m);
} else {
nodesBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureMysqlUserNameIsMutable();
mysqlUserName_.add(bs);
break;
} // case 50
case 58: {
publicEndpoint_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
privateEndpoint_ = input.readBytes();
bitField0_ |= 0x00000080;
break;
} // case 66
case 72: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.ClusterStatus tmpValue =
org.apache.doris.cloud.proto.Cloud.ClusterStatus.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(9, tmpRaw);
} else {
clusterStatus_ = tmpRaw;
bitField0_ |= 0x00000100;
}
break;
} // case 72
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object clusterId_ = "";
/**
* <code>optional string cluster_id = 1;</code>
* @return Whether the clusterId field is set.
*/
public boolean hasClusterId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cluster_id = 1;</code>
* @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cluster_id = 1;</code>
* @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cluster_id = 1;</code>
* @param value The clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
clusterId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cluster_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearClusterId() {
clusterId_ = getDefaultInstance().getClusterId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cluster_id = 1;</code>
* @param value The bytes for clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
clusterId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object clusterName_ = "";
/**
* <code>optional string cluster_name = 2;</code>
* @return Whether the clusterName field is set.
*/
public boolean hasClusterName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string cluster_name = 2;</code>
* @return The clusterName.
*/
public java.lang.String getClusterName() {
java.lang.Object ref = clusterName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cluster_name = 2;</code>
* @return The bytes for clusterName.
*/
public com.google.protobuf.ByteString
getClusterNameBytes() {
java.lang.Object ref = clusterName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cluster_name = 2;</code>
* @param value The clusterName to set.
* @return This builder for chaining.
*/
public Builder setClusterName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
clusterName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string cluster_name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearClusterName() {
clusterName_ = getDefaultInstance().getClusterName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string cluster_name = 2;</code>
* @param value The bytes for clusterName to set.
* @return This builder for chaining.
*/
public Builder setClusterNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
clusterName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int type_ = 0;
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @return The type.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Type getType() {
org.apache.doris.cloud.proto.Cloud.ClusterPB.Type result = org.apache.doris.cloud.proto.Cloud.ClusterPB.Type.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ClusterPB.Type.SQL : result;
}
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.doris.cloud.proto.Cloud.ClusterPB.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ClusterPB.Type type = 3;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000004);
type_ = 0;
onChanged();
return this;
}
private java.lang.Object desc_ = "";
/**
* <code>optional string desc = 4;</code>
* @return Whether the desc field is set.
*/
public boolean hasDesc() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string desc = 4;</code>
* @return The desc.
*/
public java.lang.String getDesc() {
java.lang.Object ref = desc_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
desc_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string desc = 4;</code>
* @return The bytes for desc.
*/
public com.google.protobuf.ByteString
getDescBytes() {
java.lang.Object ref = desc_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
desc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string desc = 4;</code>
* @param value The desc to set.
* @return This builder for chaining.
*/
public Builder setDesc(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
desc_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string desc = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDesc() {
desc_ = getDefaultInstance().getDesc();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string desc = 4;</code>
* @param value The bytes for desc to set.
* @return This builder for chaining.
*/
public Builder setDescBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
desc_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.NodeInfoPB> nodes_ =
java.util.Collections.emptyList();
private void ensureNodesIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
nodes_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.NodeInfoPB>(nodes_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.NodeInfoPB, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder> nodesBuilder_;
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.NodeInfoPB> getNodesList() {
if (nodesBuilder_ == null) {
return java.util.Collections.unmodifiableList(nodes_);
} else {
return nodesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public int getNodesCount() {
if (nodesBuilder_ == null) {
return nodes_.size();
} else {
return nodesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB getNodes(int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index);
} else {
return nodesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder setNodes(
int index, org.apache.doris.cloud.proto.Cloud.NodeInfoPB value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.set(index, value);
onChanged();
} else {
nodesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder setNodes(
int index, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.set(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder addNodes(org.apache.doris.cloud.proto.Cloud.NodeInfoPB value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(value);
onChanged();
} else {
nodesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder addNodes(
int index, org.apache.doris.cloud.proto.Cloud.NodeInfoPB value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(index, value);
onChanged();
} else {
nodesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder addNodes(
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder addNodes(
int index, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder addAllNodes(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.NodeInfoPB> values) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, nodes_);
onChanged();
} else {
nodesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder clearNodes() {
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
nodesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public Builder removeNodes(int index) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.remove(index);
onChanged();
} else {
nodesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder getNodesBuilder(
int index) {
return getNodesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder getNodesOrBuilder(
int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index); } else {
return nodesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder>
getNodesOrBuilderList() {
if (nodesBuilder_ != null) {
return nodesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(nodes_);
}
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder addNodesBuilder() {
return getNodesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder addNodesBuilder(
int index) {
return getNodesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.NodeInfoPB nodes = 5;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder>
getNodesBuilderList() {
return getNodesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.NodeInfoPB, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder>
getNodesFieldBuilder() {
if (nodesBuilder_ == null) {
nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.NodeInfoPB, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder>(
nodes_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
nodes_ = null;
}
return nodesBuilder_;
}
private com.google.protobuf.LazyStringArrayList mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureMysqlUserNameIsMutable() {
if (!mysqlUserName_.isModifiable()) {
mysqlUserName_ = new com.google.protobuf.LazyStringArrayList(mysqlUserName_);
}
bitField0_ |= 0x00000020;
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @return A list containing the mysqlUserName.
*/
public com.google.protobuf.ProtocolStringList
getMysqlUserNameList() {
mysqlUserName_.makeImmutable();
return mysqlUserName_;
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @return The count of mysqlUserName.
*/
public int getMysqlUserNameCount() {
return mysqlUserName_.size();
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param index The index of the element to return.
* @return The mysqlUserName at the given index.
*/
public java.lang.String getMysqlUserName(int index) {
return mysqlUserName_.get(index);
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param index The index of the value to return.
* @return The bytes of the mysqlUserName at the given index.
*/
public com.google.protobuf.ByteString
getMysqlUserNameBytes(int index) {
return mysqlUserName_.getByteString(index);
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param index The index to set the value at.
* @param value The mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserName(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserNameIsMutable();
mysqlUserName_.set(index, value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param value The mysqlUserName to add.
* @return This builder for chaining.
*/
public Builder addMysqlUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserNameIsMutable();
mysqlUserName_.add(value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param values The mysqlUserName to add.
* @return This builder for chaining.
*/
public Builder addAllMysqlUserName(
java.lang.Iterable<java.lang.String> values) {
ensureMysqlUserNameIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mysqlUserName_);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserName() {
mysqlUserName_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);;
onChanged();
return this;
}
/**
* <code>repeated string mysql_user_name = 6;</code>
* @param value The bytes of the mysqlUserName to add.
* @return This builder for chaining.
*/
public Builder addMysqlUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureMysqlUserNameIsMutable();
mysqlUserName_.add(value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object publicEndpoint_ = "";
/**
* <code>optional string public_endpoint = 7;</code>
* @return Whether the publicEndpoint field is set.
*/
public boolean hasPublicEndpoint() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string public_endpoint = 7;</code>
* @return The publicEndpoint.
*/
public java.lang.String getPublicEndpoint() {
java.lang.Object ref = publicEndpoint_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
publicEndpoint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string public_endpoint = 7;</code>
* @return The bytes for publicEndpoint.
*/
public com.google.protobuf.ByteString
getPublicEndpointBytes() {
java.lang.Object ref = publicEndpoint_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publicEndpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string public_endpoint = 7;</code>
* @param value The publicEndpoint to set.
* @return This builder for chaining.
*/
public Builder setPublicEndpoint(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
publicEndpoint_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional string public_endpoint = 7;</code>
* @return This builder for chaining.
*/
public Builder clearPublicEndpoint() {
publicEndpoint_ = getDefaultInstance().getPublicEndpoint();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>optional string public_endpoint = 7;</code>
* @param value The bytes for publicEndpoint to set.
* @return This builder for chaining.
*/
public Builder setPublicEndpointBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
publicEndpoint_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object privateEndpoint_ = "";
/**
* <code>optional string private_endpoint = 8;</code>
* @return Whether the privateEndpoint field is set.
*/
public boolean hasPrivateEndpoint() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string private_endpoint = 8;</code>
* @return The privateEndpoint.
*/
public java.lang.String getPrivateEndpoint() {
java.lang.Object ref = privateEndpoint_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
privateEndpoint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string private_endpoint = 8;</code>
* @return The bytes for privateEndpoint.
*/
public com.google.protobuf.ByteString
getPrivateEndpointBytes() {
java.lang.Object ref = privateEndpoint_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
privateEndpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string private_endpoint = 8;</code>
* @param value The privateEndpoint to set.
* @return This builder for chaining.
*/
public Builder setPrivateEndpoint(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
privateEndpoint_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional string private_endpoint = 8;</code>
* @return This builder for chaining.
*/
public Builder clearPrivateEndpoint() {
privateEndpoint_ = getDefaultInstance().getPrivateEndpoint();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>optional string private_endpoint = 8;</code>
* @param value The bytes for privateEndpoint to set.
* @return This builder for chaining.
*/
public Builder setPrivateEndpointBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
privateEndpoint_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private int clusterStatus_ = 0;
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @return Whether the clusterStatus field is set.
*/
@java.lang.Override public boolean hasClusterStatus() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @return The clusterStatus.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterStatus getClusterStatus() {
org.apache.doris.cloud.proto.Cloud.ClusterStatus result = org.apache.doris.cloud.proto.Cloud.ClusterStatus.forNumber(clusterStatus_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ClusterStatus.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @param value The clusterStatus to set.
* @return This builder for chaining.
*/
public Builder setClusterStatus(org.apache.doris.cloud.proto.Cloud.ClusterStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
clusterStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ClusterStatus cluster_status = 9;</code>
* @return This builder for chaining.
*/
public Builder clearClusterStatus() {
bitField0_ = (bitField0_ & ~0x00000100);
clusterStatus_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.ClusterPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.ClusterPB)
private static final org.apache.doris.cloud.proto.Cloud.ClusterPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.ClusterPB();
}
public static org.apache.doris.cloud.proto.Cloud.ClusterPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<ClusterPB>
PARSER = new com.google.protobuf.AbstractParser<ClusterPB>() {
@java.lang.Override
public ClusterPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ClusterPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ClusterPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.NodeInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional string ip = 3;</code>
* @return Whether the ip field is set.
*/
boolean hasIp();
/**
* <code>optional string ip = 3;</code>
* @return The ip.
*/
java.lang.String getIp();
/**
* <code>optional string ip = 3;</code>
* @return The bytes for ip.
*/
com.google.protobuf.ByteString
getIpBytes();
/**
* <code>optional string vpc_name = 4;</code>
* @return Whether the vpcName field is set.
*/
boolean hasVpcName();
/**
* <code>optional string vpc_name = 4;</code>
* @return The vpcName.
*/
java.lang.String getVpcName();
/**
* <code>optional string vpc_name = 4;</code>
* @return The bytes for vpcName.
*/
com.google.protobuf.ByteString
getVpcNameBytes();
/**
* <code>optional int64 ctime = 5;</code>
* @return Whether the ctime field is set.
*/
boolean hasCtime();
/**
* <code>optional int64 ctime = 5;</code>
* @return The ctime.
*/
long getCtime();
/**
* <code>optional int64 mtime = 6;</code>
* @return Whether the mtime field is set.
*/
boolean hasMtime();
/**
* <code>optional int64 mtime = 6;</code>
* @return The mtime.
*/
long getMtime();
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.NodeStatusPB getStatus();
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @return Whether the heartbeatPort field is set.
*/
boolean hasHeartbeatPort();
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @return The heartbeatPort.
*/
int getHeartbeatPort();
/**
* <code>optional string desc = 9;</code>
* @return Whether the desc field is set.
*/
boolean hasDesc();
/**
* <code>optional string desc = 9;</code>
* @return The desc.
*/
java.lang.String getDesc();
/**
* <code>optional string desc = 9;</code>
* @return The bytes for desc.
*/
com.google.protobuf.ByteString
getDescBytes();
/**
* <code>optional int32 edit_log_port = 10;</code>
* @return Whether the editLogPort field is set.
*/
boolean hasEditLogPort();
/**
* <code>optional int32 edit_log_port = 10;</code>
* @return The editLogPort.
*/
int getEditLogPort();
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @return Whether the nodeType field is set.
*/
boolean hasNodeType();
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @return The nodeType.
*/
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType getNodeType();
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @return Whether the isSmoothUpgrade field is set.
*/
boolean hasIsSmoothUpgrade();
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @return The isSmoothUpgrade.
*/
boolean getIsSmoothUpgrade();
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return Whether the host field is set.
*/
boolean hasHost();
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return The host.
*/
java.lang.String getHost();
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return The bytes for host.
*/
com.google.protobuf.ByteString
getHostBytes();
}
/**
* Protobuf type {@code doris.cloud.NodeInfoPB}
*/
public static final class NodeInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.NodeInfoPB)
NodeInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeInfoPB.newBuilder() to construct.
private NodeInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private NodeInfoPB() {
cloudUniqueId_ = "";
name_ = "";
ip_ = "";
vpcName_ = "";
status_ = 0;
desc_ = "";
nodeType_ = 0;
host_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_NodeInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_NodeInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.class, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.NodeInfoPB.NodeType}
*/
public enum NodeType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <pre>
* lagacy logic for one-master-multi-observer mode
* </pre>
*
* <code>FE_MASTER = 1;</code>
*/
FE_MASTER(1),
/**
* <code>FE_OBSERVER = 2;</code>
*/
FE_OBSERVER(2),
/**
* <code>FE_FOLLOWER = 3;</code>
*/
FE_FOLLOWER(3),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <pre>
* lagacy logic for one-master-multi-observer mode
* </pre>
*
* <code>FE_MASTER = 1;</code>
*/
public static final int FE_MASTER_VALUE = 1;
/**
* <code>FE_OBSERVER = 2;</code>
*/
public static final int FE_OBSERVER_VALUE = 2;
/**
* <code>FE_FOLLOWER = 3;</code>
*/
public static final int FE_FOLLOWER_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static NodeType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static NodeType forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return FE_MASTER;
case 2: return FE_OBSERVER;
case 3: return FE_FOLLOWER;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<NodeType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
NodeType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<NodeType>() {
public NodeType findValueByNumber(int number) {
return NodeType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.NodeInfoPB.getDescriptor().getEnumTypes().get(0);
}
private static final NodeType[] VALUES = values();
public static NodeType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private NodeType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.NodeInfoPB.NodeType)
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IP_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object ip_ = "";
/**
* <code>optional string ip = 3;</code>
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string ip = 3;</code>
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
}
}
/**
* <code>optional string ip = 3;</code>
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VPC_NAME_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object vpcName_ = "";
/**
* <code>optional string vpc_name = 4;</code>
* @return Whether the vpcName field is set.
*/
@java.lang.Override
public boolean hasVpcName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string vpc_name = 4;</code>
* @return The vpcName.
*/
@java.lang.Override
public java.lang.String getVpcName() {
java.lang.Object ref = vpcName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
vpcName_ = s;
}
return s;
}
}
/**
* <code>optional string vpc_name = 4;</code>
* @return The bytes for vpcName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVpcNameBytes() {
java.lang.Object ref = vpcName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vpcName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CTIME_FIELD_NUMBER = 5;
private long ctime_ = 0L;
/**
* <code>optional int64 ctime = 5;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 ctime = 5;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
public static final int MTIME_FIELD_NUMBER = 6;
private long mtime_ = 0L;
/**
* <code>optional int64 mtime = 6;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 mtime = 6;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
public static final int STATUS_FIELD_NUMBER = 7;
private int status_ = 0;
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @return The status.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.NodeStatusPB getStatus() {
org.apache.doris.cloud.proto.Cloud.NodeStatusPB result = org.apache.doris.cloud.proto.Cloud.NodeStatusPB.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.NodeStatusPB.NODE_STATUS_UNKNOWN : result;
}
public static final int HEARTBEAT_PORT_FIELD_NUMBER = 8;
private int heartbeatPort_ = 0;
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @return Whether the heartbeatPort field is set.
*/
@java.lang.Override
public boolean hasHeartbeatPort() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @return The heartbeatPort.
*/
@java.lang.Override
public int getHeartbeatPort() {
return heartbeatPort_;
}
public static final int DESC_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object desc_ = "";
/**
* <code>optional string desc = 9;</code>
* @return Whether the desc field is set.
*/
@java.lang.Override
public boolean hasDesc() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string desc = 9;</code>
* @return The desc.
*/
@java.lang.Override
public java.lang.String getDesc() {
java.lang.Object ref = desc_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
desc_ = s;
}
return s;
}
}
/**
* <code>optional string desc = 9;</code>
* @return The bytes for desc.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescBytes() {
java.lang.Object ref = desc_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
desc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EDIT_LOG_PORT_FIELD_NUMBER = 10;
private int editLogPort_ = 0;
/**
* <code>optional int32 edit_log_port = 10;</code>
* @return Whether the editLogPort field is set.
*/
@java.lang.Override
public boolean hasEditLogPort() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int32 edit_log_port = 10;</code>
* @return The editLogPort.
*/
@java.lang.Override
public int getEditLogPort() {
return editLogPort_;
}
public static final int NODE_TYPE_FIELD_NUMBER = 11;
private int nodeType_ = 0;
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @return Whether the nodeType field is set.
*/
@java.lang.Override public boolean hasNodeType() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @return The nodeType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType getNodeType() {
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType result = org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType.forNumber(nodeType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType.UNKNOWN : result;
}
public static final int IS_SMOOTH_UPGRADE_FIELD_NUMBER = 12;
private boolean isSmoothUpgrade_ = false;
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @return Whether the isSmoothUpgrade field is set.
*/
@java.lang.Override
public boolean hasIsSmoothUpgrade() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @return The isSmoothUpgrade.
*/
@java.lang.Override
public boolean getIsSmoothUpgrade() {
return isSmoothUpgrade_;
}
public static final int HOST_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object host_ = "";
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return Whether the host field is set.
*/
@java.lang.Override
public boolean hasHost() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return The host.
*/
@java.lang.Override
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
host_ = s;
}
return s;
}
}
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return The bytes for host.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, ip_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, vpcName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, ctime_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, mtime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeEnum(7, status_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt32(8, heartbeatPort_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, desc_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt32(10, editLogPort_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeEnum(11, nodeType_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeBool(12, isSmoothUpgrade_);
}
if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, host_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ip_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, vpcName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, ctime_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, mtime_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, status_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(8, heartbeatPort_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, desc_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(10, editLogPort_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(11, nodeType_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, isSmoothUpgrade_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, host_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.NodeInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.NodeInfoPB other = (org.apache.doris.cloud.proto.Cloud.NodeInfoPB) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasIp() != other.hasIp()) return false;
if (hasIp()) {
if (!getIp()
.equals(other.getIp())) return false;
}
if (hasVpcName() != other.hasVpcName()) return false;
if (hasVpcName()) {
if (!getVpcName()
.equals(other.getVpcName())) return false;
}
if (hasCtime() != other.hasCtime()) return false;
if (hasCtime()) {
if (getCtime()
!= other.getCtime()) return false;
}
if (hasMtime() != other.hasMtime()) return false;
if (hasMtime()) {
if (getMtime()
!= other.getMtime()) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (status_ != other.status_) return false;
}
if (hasHeartbeatPort() != other.hasHeartbeatPort()) return false;
if (hasHeartbeatPort()) {
if (getHeartbeatPort()
!= other.getHeartbeatPort()) return false;
}
if (hasDesc() != other.hasDesc()) return false;
if (hasDesc()) {
if (!getDesc()
.equals(other.getDesc())) return false;
}
if (hasEditLogPort() != other.hasEditLogPort()) return false;
if (hasEditLogPort()) {
if (getEditLogPort()
!= other.getEditLogPort()) return false;
}
if (hasNodeType() != other.hasNodeType()) return false;
if (hasNodeType()) {
if (nodeType_ != other.nodeType_) return false;
}
if (hasIsSmoothUpgrade() != other.hasIsSmoothUpgrade()) return false;
if (hasIsSmoothUpgrade()) {
if (getIsSmoothUpgrade()
!= other.getIsSmoothUpgrade()) return false;
}
if (hasHost() != other.hasHost()) return false;
if (hasHost()) {
if (!getHost()
.equals(other.getHost())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasIp()) {
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp().hashCode();
}
if (hasVpcName()) {
hash = (37 * hash) + VPC_NAME_FIELD_NUMBER;
hash = (53 * hash) + getVpcName().hashCode();
}
if (hasCtime()) {
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCtime());
}
if (hasMtime()) {
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMtime());
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
}
if (hasHeartbeatPort()) {
hash = (37 * hash) + HEARTBEAT_PORT_FIELD_NUMBER;
hash = (53 * hash) + getHeartbeatPort();
}
if (hasDesc()) {
hash = (37 * hash) + DESC_FIELD_NUMBER;
hash = (53 * hash) + getDesc().hashCode();
}
if (hasEditLogPort()) {
hash = (37 * hash) + EDIT_LOG_PORT_FIELD_NUMBER;
hash = (53 * hash) + getEditLogPort();
}
if (hasNodeType()) {
hash = (37 * hash) + NODE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + nodeType_;
}
if (hasIsSmoothUpgrade()) {
hash = (37 * hash) + IS_SMOOTH_UPGRADE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsSmoothUpgrade());
}
if (hasHost()) {
hash = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.NodeInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.NodeInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.NodeInfoPB)
org.apache.doris.cloud.proto.Cloud.NodeInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_NodeInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_NodeInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.class, org.apache.doris.cloud.proto.Cloud.NodeInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.NodeInfoPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
name_ = "";
ip_ = "";
vpcName_ = "";
ctime_ = 0L;
mtime_ = 0L;
status_ = 0;
heartbeatPort_ = 0;
desc_ = "";
editLogPort_ = 0;
nodeType_ = 0;
isSmoothUpgrade_ = false;
host_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_NodeInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.NodeInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB build() {
org.apache.doris.cloud.proto.Cloud.NodeInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.NodeInfoPB result = new org.apache.doris.cloud.proto.Cloud.NodeInfoPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.NodeInfoPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.ip_ = ip_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.vpcName_ = vpcName_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.ctime_ = ctime_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.mtime_ = mtime_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.heartbeatPort_ = heartbeatPort_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.desc_ = desc_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.editLogPort_ = editLogPort_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.nodeType_ = nodeType_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.isSmoothUpgrade_ = isSmoothUpgrade_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.host_ = host_;
to_bitField0_ |= 0x00001000;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.NodeInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.NodeInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.NodeInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.NodeInfoPB.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasIp()) {
ip_ = other.ip_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasVpcName()) {
vpcName_ = other.vpcName_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasCtime()) {
setCtime(other.getCtime());
}
if (other.hasMtime()) {
setMtime(other.getMtime());
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasHeartbeatPort()) {
setHeartbeatPort(other.getHeartbeatPort());
}
if (other.hasDesc()) {
desc_ = other.desc_;
bitField0_ |= 0x00000100;
onChanged();
}
if (other.hasEditLogPort()) {
setEditLogPort(other.getEditLogPort());
}
if (other.hasNodeType()) {
setNodeType(other.getNodeType());
}
if (other.hasIsSmoothUpgrade()) {
setIsSmoothUpgrade(other.getIsSmoothUpgrade());
}
if (other.hasHost()) {
host_ = other.host_;
bitField0_ |= 0x00001000;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
name_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
ip_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
vpcName_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
ctime_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
mtime_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.NodeStatusPB tmpValue =
org.apache.doris.cloud.proto.Cloud.NodeStatusPB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(7, tmpRaw);
} else {
status_ = tmpRaw;
bitField0_ |= 0x00000040;
}
break;
} // case 56
case 64: {
heartbeatPort_ = input.readInt32();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
desc_ = input.readBytes();
bitField0_ |= 0x00000100;
break;
} // case 74
case 80: {
editLogPort_ = input.readInt32();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType tmpValue =
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(11, tmpRaw);
} else {
nodeType_ = tmpRaw;
bitField0_ |= 0x00000400;
}
break;
} // case 88
case 96: {
isSmoothUpgrade_ = input.readBool();
bitField0_ |= 0x00000800;
break;
} // case 96
case 106: {
host_ = input.readBytes();
bitField0_ |= 0x00001000;
break;
} // case 106
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string name = 2;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object ip_ = "";
/**
* <code>optional string ip = 3;</code>
* @return Whether the ip field is set.
*/
public boolean hasIp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string ip = 3;</code>
* @return The ip.
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ip = 3;</code>
* @return The bytes for ip.
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ip = 3;</code>
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string ip = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIp() {
ip_ = getDefaultInstance().getIp();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string ip = 3;</code>
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object vpcName_ = "";
/**
* <code>optional string vpc_name = 4;</code>
* @return Whether the vpcName field is set.
*/
public boolean hasVpcName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string vpc_name = 4;</code>
* @return The vpcName.
*/
public java.lang.String getVpcName() {
java.lang.Object ref = vpcName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
vpcName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string vpc_name = 4;</code>
* @return The bytes for vpcName.
*/
public com.google.protobuf.ByteString
getVpcNameBytes() {
java.lang.Object ref = vpcName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vpcName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string vpc_name = 4;</code>
* @param value The vpcName to set.
* @return This builder for chaining.
*/
public Builder setVpcName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
vpcName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string vpc_name = 4;</code>
* @return This builder for chaining.
*/
public Builder clearVpcName() {
vpcName_ = getDefaultInstance().getVpcName();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string vpc_name = 4;</code>
* @param value The bytes for vpcName to set.
* @return This builder for chaining.
*/
public Builder setVpcNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
vpcName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private long ctime_ ;
/**
* <code>optional int64 ctime = 5;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 ctime = 5;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
/**
* <code>optional int64 ctime = 5;</code>
* @param value The ctime to set.
* @return This builder for chaining.
*/
public Builder setCtime(long value) {
ctime_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 ctime = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCtime() {
bitField0_ = (bitField0_ & ~0x00000010);
ctime_ = 0L;
onChanged();
return this;
}
private long mtime_ ;
/**
* <code>optional int64 mtime = 6;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 mtime = 6;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
/**
* <code>optional int64 mtime = 6;</code>
* @param value The mtime to set.
* @return This builder for chaining.
*/
public Builder setMtime(long value) {
mtime_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 mtime = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMtime() {
bitField0_ = (bitField0_ & ~0x00000020);
mtime_ = 0L;
onChanged();
return this;
}
private int status_ = 0;
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeStatusPB getStatus() {
org.apache.doris.cloud.proto.Cloud.NodeStatusPB result = org.apache.doris.cloud.proto.Cloud.NodeStatusPB.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.NodeStatusPB.NODE_STATUS_UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.NodeStatusPB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.NodeStatusPB status = 7;</code>
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000040);
status_ = 0;
onChanged();
return this;
}
private int heartbeatPort_ ;
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @return Whether the heartbeatPort field is set.
*/
@java.lang.Override
public boolean hasHeartbeatPort() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @return The heartbeatPort.
*/
@java.lang.Override
public int getHeartbeatPort() {
return heartbeatPort_;
}
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @param value The heartbeatPort to set.
* @return This builder for chaining.
*/
public Builder setHeartbeatPort(int value) {
heartbeatPort_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <pre>
* There may be other ports, just add new fields in need
* </pre>
*
* <code>optional int32 heartbeat_port = 8;</code>
* @return This builder for chaining.
*/
public Builder clearHeartbeatPort() {
bitField0_ = (bitField0_ & ~0x00000080);
heartbeatPort_ = 0;
onChanged();
return this;
}
private java.lang.Object desc_ = "";
/**
* <code>optional string desc = 9;</code>
* @return Whether the desc field is set.
*/
public boolean hasDesc() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string desc = 9;</code>
* @return The desc.
*/
public java.lang.String getDesc() {
java.lang.Object ref = desc_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
desc_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string desc = 9;</code>
* @return The bytes for desc.
*/
public com.google.protobuf.ByteString
getDescBytes() {
java.lang.Object ref = desc_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
desc_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string desc = 9;</code>
* @param value The desc to set.
* @return This builder for chaining.
*/
public Builder setDesc(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
desc_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string desc = 9;</code>
* @return This builder for chaining.
*/
public Builder clearDesc() {
desc_ = getDefaultInstance().getDesc();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string desc = 9;</code>
* @param value The bytes for desc to set.
* @return This builder for chaining.
*/
public Builder setDescBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
desc_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private int editLogPort_ ;
/**
* <code>optional int32 edit_log_port = 10;</code>
* @return Whether the editLogPort field is set.
*/
@java.lang.Override
public boolean hasEditLogPort() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int32 edit_log_port = 10;</code>
* @return The editLogPort.
*/
@java.lang.Override
public int getEditLogPort() {
return editLogPort_;
}
/**
* <code>optional int32 edit_log_port = 10;</code>
* @param value The editLogPort to set.
* @return This builder for chaining.
*/
public Builder setEditLogPort(int value) {
editLogPort_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional int32 edit_log_port = 10;</code>
* @return This builder for chaining.
*/
public Builder clearEditLogPort() {
bitField0_ = (bitField0_ & ~0x00000200);
editLogPort_ = 0;
onChanged();
return this;
}
private int nodeType_ = 0;
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @return Whether the nodeType field is set.
*/
@java.lang.Override public boolean hasNodeType() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @return The nodeType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType getNodeType() {
org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType result = org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType.forNumber(nodeType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @param value The nodeType to set.
* @return This builder for chaining.
*/
public Builder setNodeType(org.apache.doris.cloud.proto.Cloud.NodeInfoPB.NodeType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000400;
nodeType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.NodeInfoPB.NodeType node_type = 11;</code>
* @return This builder for chaining.
*/
public Builder clearNodeType() {
bitField0_ = (bitField0_ & ~0x00000400);
nodeType_ = 0;
onChanged();
return this;
}
private boolean isSmoothUpgrade_ ;
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @return Whether the isSmoothUpgrade field is set.
*/
@java.lang.Override
public boolean hasIsSmoothUpgrade() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @return The isSmoothUpgrade.
*/
@java.lang.Override
public boolean getIsSmoothUpgrade() {
return isSmoothUpgrade_;
}
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @param value The isSmoothUpgrade to set.
* @return This builder for chaining.
*/
public Builder setIsSmoothUpgrade(boolean value) {
isSmoothUpgrade_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional bool is_smooth_upgrade = 12;</code>
* @return This builder for chaining.
*/
public Builder clearIsSmoothUpgrade() {
bitField0_ = (bitField0_ & ~0x00000800);
isSmoothUpgrade_ = false;
onChanged();
return this;
}
private java.lang.Object host_ = "";
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return Whether the host field is set.
*/
public boolean hasHost() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return The host.
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
host_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return The bytes for host.
*/
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @param value The host to set.
* @return This builder for chaining.
*/
public Builder setHost(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @return This builder for chaining.
*/
public Builder clearHost() {
host_ = getDefaultInstance().getHost();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* <pre>
* fqdn
* </pre>
*
* <code>optional string host = 13;</code>
* @param value The bytes for host to set.
* @return This builder for chaining.
*/
public Builder setHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.NodeInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.NodeInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.NodeInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.NodeInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.NodeInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<NodeInfoPB>
PARSER = new com.google.protobuf.AbstractParser<NodeInfoPB>() {
@java.lang.Override
public NodeInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<NodeInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<NodeInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.NodeInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ObjectStoreInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.ObjectStoreInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 ctime = 1;</code>
* @return Whether the ctime field is set.
*/
boolean hasCtime();
/**
* <code>optional int64 ctime = 1;</code>
* @return The ctime.
*/
long getCtime();
/**
* <code>optional int64 mtime = 2;</code>
* @return Whether the mtime field is set.
*/
boolean hasMtime();
/**
* <code>optional int64 mtime = 2;</code>
* @return The mtime.
*/
long getMtime();
/**
* <code>optional string id = 3;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <code>optional string id = 3;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <code>optional string id = 3;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <code>optional string ak = 4;</code>
* @return Whether the ak field is set.
*/
boolean hasAk();
/**
* <code>optional string ak = 4;</code>
* @return The ak.
*/
java.lang.String getAk();
/**
* <code>optional string ak = 4;</code>
* @return The bytes for ak.
*/
com.google.protobuf.ByteString
getAkBytes();
/**
* <code>optional string sk = 5;</code>
* @return Whether the sk field is set.
*/
boolean hasSk();
/**
* <code>optional string sk = 5;</code>
* @return The sk.
*/
java.lang.String getSk();
/**
* <code>optional string sk = 5;</code>
* @return The bytes for sk.
*/
com.google.protobuf.ByteString
getSkBytes();
/**
* <code>optional string bucket = 6;</code>
* @return Whether the bucket field is set.
*/
boolean hasBucket();
/**
* <code>optional string bucket = 6;</code>
* @return The bucket.
*/
java.lang.String getBucket();
/**
* <code>optional string bucket = 6;</code>
* @return The bytes for bucket.
*/
com.google.protobuf.ByteString
getBucketBytes();
/**
* <code>optional string prefix = 7;</code>
* @return Whether the prefix field is set.
*/
boolean hasPrefix();
/**
* <code>optional string prefix = 7;</code>
* @return The prefix.
*/
java.lang.String getPrefix();
/**
* <code>optional string prefix = 7;</code>
* @return The bytes for prefix.
*/
com.google.protobuf.ByteString
getPrefixBytes();
/**
* <code>optional string endpoint = 8;</code>
* @return Whether the endpoint field is set.
*/
boolean hasEndpoint();
/**
* <code>optional string endpoint = 8;</code>
* @return The endpoint.
*/
java.lang.String getEndpoint();
/**
* <code>optional string endpoint = 8;</code>
* @return The bytes for endpoint.
*/
com.google.protobuf.ByteString
getEndpointBytes();
/**
* <code>optional string region = 9;</code>
* @return Whether the region field is set.
*/
boolean hasRegion();
/**
* <code>optional string region = 9;</code>
* @return The region.
*/
java.lang.String getRegion();
/**
* <code>optional string region = 9;</code>
* @return The bytes for region.
*/
com.google.protobuf.ByteString
getRegionBytes();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @return Whether the provider field is set.
*/
boolean hasProvider();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @return The provider.
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider getProvider();
/**
* <code>optional string external_endpoint = 11;</code>
* @return Whether the externalEndpoint field is set.
*/
boolean hasExternalEndpoint();
/**
* <code>optional string external_endpoint = 11;</code>
* @return The externalEndpoint.
*/
java.lang.String getExternalEndpoint();
/**
* <code>optional string external_endpoint = 11;</code>
* @return The bytes for externalEndpoint.
*/
com.google.protobuf.ByteString
getExternalEndpointBytes();
/**
* <code>optional string user_id = 13;</code>
* @return Whether the userId field is set.
*/
boolean hasUserId();
/**
* <code>optional string user_id = 13;</code>
* @return The userId.
*/
java.lang.String getUserId();
/**
* <code>optional string user_id = 13;</code>
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
* @return Whether the encryptionInfo field is set.
*/
boolean hasEncryptionInfo();
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
* @return The encryptionInfo.
*/
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getEncryptionInfo();
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder getEncryptionInfoOrBuilder();
/**
* <code>optional bool sse_enabled = 15;</code>
* @return Whether the sseEnabled field is set.
*/
boolean hasSseEnabled();
/**
* <code>optional bool sse_enabled = 15;</code>
* @return The sseEnabled.
*/
boolean getSseEnabled();
/**
* <code>optional bool use_path_style = 16;</code>
* @return Whether the usePathStyle field is set.
*/
boolean hasUsePathStyle();
/**
* <code>optional bool use_path_style = 16;</code>
* @return The usePathStyle.
*/
boolean getUsePathStyle();
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @return Whether the credProviderType field is set.
*/
boolean hasCredProviderType();
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @return The credProviderType.
*/
org.apache.doris.cloud.proto.Cloud.CredProviderTypePB getCredProviderType();
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return Whether the roleArn field is set.
*/
boolean hasRoleArn();
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return The roleArn.
*/
java.lang.String getRoleArn();
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return The bytes for roleArn.
*/
com.google.protobuf.ByteString
getRoleArnBytes();
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return Whether the externalId field is set.
*/
boolean hasExternalId();
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return The externalId.
*/
java.lang.String getExternalId();
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return The bytes for externalId.
*/
com.google.protobuf.ByteString
getExternalIdBytes();
}
/**
* Protobuf type {@code doris.cloud.ObjectStoreInfoPB}
*/
public static final class ObjectStoreInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.ObjectStoreInfoPB)
ObjectStoreInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use ObjectStoreInfoPB.newBuilder() to construct.
private ObjectStoreInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ObjectStoreInfoPB() {
id_ = "";
ak_ = "";
sk_ = "";
bucket_ = "";
prefix_ = "";
endpoint_ = "";
region_ = "";
provider_ = -1;
externalEndpoint_ = "";
userId_ = "";
credProviderType_ = 1;
roleArn_ = "";
externalId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ObjectStoreInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectStoreInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectStoreInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.class, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder.class);
}
/**
* <pre>
* presigned url use
* oss,aws,cos,obs,bos
* </pre>
*
* Protobuf enum {@code doris.cloud.ObjectStoreInfoPB.Provider}
*/
public enum Provider
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKONWN = -1;</code>
*/
UNKONWN(-1),
/**
* <code>OSS = 0;</code>
*/
OSS(0),
/**
* <code>S3 = 1;</code>
*/
S3(1),
/**
* <code>COS = 2;</code>
*/
COS(2),
/**
* <code>OBS = 3;</code>
*/
OBS(3),
/**
* <code>BOS = 4;</code>
*/
BOS(4),
/**
* <code>GCP = 5;</code>
*/
GCP(5),
/**
* <code>AZURE = 6;</code>
*/
AZURE(6),
;
/**
* <code>UNKONWN = -1;</code>
*/
public static final int UNKONWN_VALUE = -1;
/**
* <code>OSS = 0;</code>
*/
public static final int OSS_VALUE = 0;
/**
* <code>S3 = 1;</code>
*/
public static final int S3_VALUE = 1;
/**
* <code>COS = 2;</code>
*/
public static final int COS_VALUE = 2;
/**
* <code>OBS = 3;</code>
*/
public static final int OBS_VALUE = 3;
/**
* <code>BOS = 4;</code>
*/
public static final int BOS_VALUE = 4;
/**
* <code>GCP = 5;</code>
*/
public static final int GCP_VALUE = 5;
/**
* <code>AZURE = 6;</code>
*/
public static final int AZURE_VALUE = 6;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Provider valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Provider forNumber(int value) {
switch (value) {
case -1: return UNKONWN;
case 0: return OSS;
case 1: return S3;
case 2: return COS;
case 3: return OBS;
case 4: return BOS;
case 5: return GCP;
case 6: return AZURE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Provider>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Provider> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Provider>() {
public Provider findValueByNumber(int number) {
return Provider.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDescriptor().getEnumTypes().get(0);
}
private static final Provider[] VALUES = values();
public static Provider valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Provider(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.ObjectStoreInfoPB.Provider)
}
private int bitField0_;
public static final int CTIME_FIELD_NUMBER = 1;
private long ctime_ = 0L;
/**
* <code>optional int64 ctime = 1;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 ctime = 1;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
public static final int MTIME_FIELD_NUMBER = 2;
private long mtime_ = 0L;
/**
* <code>optional int64 mtime = 2;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 mtime = 2;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
public static final int ID_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* <code>optional string id = 3;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string id = 3;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
}
}
/**
* <code>optional string id = 3;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AK_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object ak_ = "";
/**
* <code>optional string ak = 4;</code>
* @return Whether the ak field is set.
*/
@java.lang.Override
public boolean hasAk() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string ak = 4;</code>
* @return The ak.
*/
@java.lang.Override
public java.lang.String getAk() {
java.lang.Object ref = ak_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ak_ = s;
}
return s;
}
}
/**
* <code>optional string ak = 4;</code>
* @return The bytes for ak.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAkBytes() {
java.lang.Object ref = ak_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ak_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SK_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object sk_ = "";
/**
* <code>optional string sk = 5;</code>
* @return Whether the sk field is set.
*/
@java.lang.Override
public boolean hasSk() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string sk = 5;</code>
* @return The sk.
*/
@java.lang.Override
public java.lang.String getSk() {
java.lang.Object ref = sk_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sk_ = s;
}
return s;
}
}
/**
* <code>optional string sk = 5;</code>
* @return The bytes for sk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSkBytes() {
java.lang.Object ref = sk_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BUCKET_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object bucket_ = "";
/**
* <code>optional string bucket = 6;</code>
* @return Whether the bucket field is set.
*/
@java.lang.Override
public boolean hasBucket() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string bucket = 6;</code>
* @return The bucket.
*/
@java.lang.Override
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
bucket_ = s;
}
return s;
}
}
/**
* <code>optional string bucket = 6;</code>
* @return The bytes for bucket.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBucketBytes() {
java.lang.Object ref = bucket_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PREFIX_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object prefix_ = "";
/**
* <code>optional string prefix = 7;</code>
* @return Whether the prefix field is set.
*/
@java.lang.Override
public boolean hasPrefix() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string prefix = 7;</code>
* @return The prefix.
*/
@java.lang.Override
public java.lang.String getPrefix() {
java.lang.Object ref = prefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
prefix_ = s;
}
return s;
}
}
/**
* <code>optional string prefix = 7;</code>
* @return The bytes for prefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrefixBytes() {
java.lang.Object ref = prefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
prefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDPOINT_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object endpoint_ = "";
/**
* <code>optional string endpoint = 8;</code>
* @return Whether the endpoint field is set.
*/
@java.lang.Override
public boolean hasEndpoint() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string endpoint = 8;</code>
* @return The endpoint.
*/
@java.lang.Override
public java.lang.String getEndpoint() {
java.lang.Object ref = endpoint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
endpoint_ = s;
}
return s;
}
}
/**
* <code>optional string endpoint = 8;</code>
* @return The bytes for endpoint.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndpointBytes() {
java.lang.Object ref = endpoint_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REGION_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object region_ = "";
/**
* <code>optional string region = 9;</code>
* @return Whether the region field is set.
*/
@java.lang.Override
public boolean hasRegion() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string region = 9;</code>
* @return The region.
*/
@java.lang.Override
public java.lang.String getRegion() {
java.lang.Object ref = region_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
region_ = s;
}
return s;
}
}
/**
* <code>optional string region = 9;</code>
* @return The bytes for region.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROVIDER_FIELD_NUMBER = 10;
private int provider_ = -1;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @return Whether the provider field is set.
*/
@java.lang.Override public boolean hasProvider() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @return The provider.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider getProvider() {
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider result = org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider.forNumber(provider_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider.UNKONWN : result;
}
public static final int EXTERNAL_ENDPOINT_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object externalEndpoint_ = "";
/**
* <code>optional string external_endpoint = 11;</code>
* @return Whether the externalEndpoint field is set.
*/
@java.lang.Override
public boolean hasExternalEndpoint() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional string external_endpoint = 11;</code>
* @return The externalEndpoint.
*/
@java.lang.Override
public java.lang.String getExternalEndpoint() {
java.lang.Object ref = externalEndpoint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalEndpoint_ = s;
}
return s;
}
}
/**
* <code>optional string external_endpoint = 11;</code>
* @return The bytes for externalEndpoint.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExternalEndpointBytes() {
java.lang.Object ref = externalEndpoint_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalEndpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_ID_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 13;</code>
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional string user_id = 13;</code>
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
}
}
/**
* <code>optional string user_id = 13;</code>
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENCRYPTION_INFO_FIELD_NUMBER = 14;
private org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB encryptionInfo_;
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
* @return Whether the encryptionInfo field is set.
*/
@java.lang.Override
public boolean hasEncryptionInfo() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
* @return The encryptionInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getEncryptionInfo() {
return encryptionInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder getEncryptionInfoOrBuilder() {
return encryptionInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
}
public static final int SSE_ENABLED_FIELD_NUMBER = 15;
private boolean sseEnabled_ = false;
/**
* <code>optional bool sse_enabled = 15;</code>
* @return Whether the sseEnabled field is set.
*/
@java.lang.Override
public boolean hasSseEnabled() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional bool sse_enabled = 15;</code>
* @return The sseEnabled.
*/
@java.lang.Override
public boolean getSseEnabled() {
return sseEnabled_;
}
public static final int USE_PATH_STYLE_FIELD_NUMBER = 16;
private boolean usePathStyle_ = false;
/**
* <code>optional bool use_path_style = 16;</code>
* @return Whether the usePathStyle field is set.
*/
@java.lang.Override
public boolean hasUsePathStyle() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <code>optional bool use_path_style = 16;</code>
* @return The usePathStyle.
*/
@java.lang.Override
public boolean getUsePathStyle() {
return usePathStyle_;
}
public static final int CRED_PROVIDER_TYPE_FIELD_NUMBER = 17;
private int credProviderType_ = 1;
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @return Whether the credProviderType field is set.
*/
@java.lang.Override public boolean hasCredProviderType() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @return The credProviderType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.CredProviderTypePB getCredProviderType() {
org.apache.doris.cloud.proto.Cloud.CredProviderTypePB result = org.apache.doris.cloud.proto.Cloud.CredProviderTypePB.forNumber(credProviderType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.CredProviderTypePB.DEFAULT : result;
}
public static final int ROLE_ARN_FIELD_NUMBER = 18;
@SuppressWarnings("serial")
private volatile java.lang.Object roleArn_ = "";
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return Whether the roleArn field is set.
*/
@java.lang.Override
public boolean hasRoleArn() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return The roleArn.
*/
@java.lang.Override
public java.lang.String getRoleArn() {
java.lang.Object ref = roleArn_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
roleArn_ = s;
}
return s;
}
}
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return The bytes for roleArn.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRoleArnBytes() {
java.lang.Object ref = roleArn_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
roleArn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXTERNAL_ID_FIELD_NUMBER = 19;
@SuppressWarnings("serial")
private volatile java.lang.Object externalId_ = "";
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return Whether the externalId field is set.
*/
@java.lang.Override
public boolean hasExternalId() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return The externalId.
*/
@java.lang.Override
public java.lang.String getExternalId() {
java.lang.Object ref = externalId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalId_ = s;
}
return s;
}
}
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return The bytes for externalId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getExternalIdBytes() {
java.lang.Object ref = externalId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, ctime_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, mtime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, id_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ak_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sk_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, bucket_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, prefix_);
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, endpoint_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, region_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeEnum(10, provider_);
}
if (((bitField0_ & 0x00000400) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, externalEndpoint_);
}
if (((bitField0_ & 0x00000800) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, userId_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeMessage(14, getEncryptionInfo());
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeBool(15, sseEnabled_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeBool(16, usePathStyle_);
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeEnum(17, credProviderType_);
}
if (((bitField0_ & 0x00010000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, roleArn_);
}
if (((bitField0_ & 0x00020000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 19, externalId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, ctime_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, mtime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, id_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ak_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sk_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, bucket_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, prefix_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endpoint_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, region_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(10, provider_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, externalEndpoint_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, userId_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getEncryptionInfo());
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(15, sseEnabled_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(16, usePathStyle_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(17, credProviderType_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, roleArn_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, externalId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB other = (org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB) obj;
if (hasCtime() != other.hasCtime()) return false;
if (hasCtime()) {
if (getCtime()
!= other.getCtime()) return false;
}
if (hasMtime() != other.hasMtime()) return false;
if (hasMtime()) {
if (getMtime()
!= other.getMtime()) return false;
}
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasAk() != other.hasAk()) return false;
if (hasAk()) {
if (!getAk()
.equals(other.getAk())) return false;
}
if (hasSk() != other.hasSk()) return false;
if (hasSk()) {
if (!getSk()
.equals(other.getSk())) return false;
}
if (hasBucket() != other.hasBucket()) return false;
if (hasBucket()) {
if (!getBucket()
.equals(other.getBucket())) return false;
}
if (hasPrefix() != other.hasPrefix()) return false;
if (hasPrefix()) {
if (!getPrefix()
.equals(other.getPrefix())) return false;
}
if (hasEndpoint() != other.hasEndpoint()) return false;
if (hasEndpoint()) {
if (!getEndpoint()
.equals(other.getEndpoint())) return false;
}
if (hasRegion() != other.hasRegion()) return false;
if (hasRegion()) {
if (!getRegion()
.equals(other.getRegion())) return false;
}
if (hasProvider() != other.hasProvider()) return false;
if (hasProvider()) {
if (provider_ != other.provider_) return false;
}
if (hasExternalEndpoint() != other.hasExternalEndpoint()) return false;
if (hasExternalEndpoint()) {
if (!getExternalEndpoint()
.equals(other.getExternalEndpoint())) return false;
}
if (hasUserId() != other.hasUserId()) return false;
if (hasUserId()) {
if (!getUserId()
.equals(other.getUserId())) return false;
}
if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false;
if (hasEncryptionInfo()) {
if (!getEncryptionInfo()
.equals(other.getEncryptionInfo())) return false;
}
if (hasSseEnabled() != other.hasSseEnabled()) return false;
if (hasSseEnabled()) {
if (getSseEnabled()
!= other.getSseEnabled()) return false;
}
if (hasUsePathStyle() != other.hasUsePathStyle()) return false;
if (hasUsePathStyle()) {
if (getUsePathStyle()
!= other.getUsePathStyle()) return false;
}
if (hasCredProviderType() != other.hasCredProviderType()) return false;
if (hasCredProviderType()) {
if (credProviderType_ != other.credProviderType_) return false;
}
if (hasRoleArn() != other.hasRoleArn()) return false;
if (hasRoleArn()) {
if (!getRoleArn()
.equals(other.getRoleArn())) return false;
}
if (hasExternalId() != other.hasExternalId()) return false;
if (hasExternalId()) {
if (!getExternalId()
.equals(other.getExternalId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCtime()) {
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCtime());
}
if (hasMtime()) {
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMtime());
}
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasAk()) {
hash = (37 * hash) + AK_FIELD_NUMBER;
hash = (53 * hash) + getAk().hashCode();
}
if (hasSk()) {
hash = (37 * hash) + SK_FIELD_NUMBER;
hash = (53 * hash) + getSk().hashCode();
}
if (hasBucket()) {
hash = (37 * hash) + BUCKET_FIELD_NUMBER;
hash = (53 * hash) + getBucket().hashCode();
}
if (hasPrefix()) {
hash = (37 * hash) + PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getPrefix().hashCode();
}
if (hasEndpoint()) {
hash = (37 * hash) + ENDPOINT_FIELD_NUMBER;
hash = (53 * hash) + getEndpoint().hashCode();
}
if (hasRegion()) {
hash = (37 * hash) + REGION_FIELD_NUMBER;
hash = (53 * hash) + getRegion().hashCode();
}
if (hasProvider()) {
hash = (37 * hash) + PROVIDER_FIELD_NUMBER;
hash = (53 * hash) + provider_;
}
if (hasExternalEndpoint()) {
hash = (37 * hash) + EXTERNAL_ENDPOINT_FIELD_NUMBER;
hash = (53 * hash) + getExternalEndpoint().hashCode();
}
if (hasUserId()) {
hash = (37 * hash) + USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getUserId().hashCode();
}
if (hasEncryptionInfo()) {
hash = (37 * hash) + ENCRYPTION_INFO_FIELD_NUMBER;
hash = (53 * hash) + getEncryptionInfo().hashCode();
}
if (hasSseEnabled()) {
hash = (37 * hash) + SSE_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSseEnabled());
}
if (hasUsePathStyle()) {
hash = (37 * hash) + USE_PATH_STYLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUsePathStyle());
}
if (hasCredProviderType()) {
hash = (37 * hash) + CRED_PROVIDER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + credProviderType_;
}
if (hasRoleArn()) {
hash = (37 * hash) + ROLE_ARN_FIELD_NUMBER;
hash = (53 * hash) + getRoleArn().hashCode();
}
if (hasExternalId()) {
hash = (37 * hash) + EXTERNAL_ID_FIELD_NUMBER;
hash = (53 * hash) + getExternalId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.ObjectStoreInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.ObjectStoreInfoPB)
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectStoreInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectStoreInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.class, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getEncryptionInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
ctime_ = 0L;
mtime_ = 0L;
id_ = "";
ak_ = "";
sk_ = "";
bucket_ = "";
prefix_ = "";
endpoint_ = "";
region_ = "";
provider_ = -1;
externalEndpoint_ = "";
userId_ = "";
encryptionInfo_ = null;
if (encryptionInfoBuilder_ != null) {
encryptionInfoBuilder_.dispose();
encryptionInfoBuilder_ = null;
}
sseEnabled_ = false;
usePathStyle_ = false;
credProviderType_ = 1;
roleArn_ = "";
externalId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectStoreInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB build() {
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB result = new org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.ctime_ = ctime_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.mtime_ = mtime_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.ak_ = ak_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.sk_ = sk_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.bucket_ = bucket_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.prefix_ = prefix_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.endpoint_ = endpoint_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.region_ = region_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.provider_ = provider_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.externalEndpoint_ = externalEndpoint_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.userId_ = userId_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.encryptionInfo_ = encryptionInfoBuilder_ == null
? encryptionInfo_
: encryptionInfoBuilder_.build();
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.sseEnabled_ = sseEnabled_;
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.usePathStyle_ = usePathStyle_;
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.credProviderType_ = credProviderType_;
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.roleArn_ = roleArn_;
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
result.externalId_ = externalId_;
to_bitField0_ |= 0x00020000;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance()) return this;
if (other.hasCtime()) {
setCtime(other.getCtime());
}
if (other.hasMtime()) {
setMtime(other.getMtime());
}
if (other.hasId()) {
id_ = other.id_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasAk()) {
ak_ = other.ak_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasSk()) {
sk_ = other.sk_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasBucket()) {
bucket_ = other.bucket_;
bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasPrefix()) {
prefix_ = other.prefix_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasEndpoint()) {
endpoint_ = other.endpoint_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasRegion()) {
region_ = other.region_;
bitField0_ |= 0x00000100;
onChanged();
}
if (other.hasProvider()) {
setProvider(other.getProvider());
}
if (other.hasExternalEndpoint()) {
externalEndpoint_ = other.externalEndpoint_;
bitField0_ |= 0x00000400;
onChanged();
}
if (other.hasUserId()) {
userId_ = other.userId_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.hasEncryptionInfo()) {
mergeEncryptionInfo(other.getEncryptionInfo());
}
if (other.hasSseEnabled()) {
setSseEnabled(other.getSseEnabled());
}
if (other.hasUsePathStyle()) {
setUsePathStyle(other.getUsePathStyle());
}
if (other.hasCredProviderType()) {
setCredProviderType(other.getCredProviderType());
}
if (other.hasRoleArn()) {
roleArn_ = other.roleArn_;
bitField0_ |= 0x00010000;
onChanged();
}
if (other.hasExternalId()) {
externalId_ = other.externalId_;
bitField0_ |= 0x00020000;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
ctime_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
mtime_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
id_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
ak_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
sk_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
bucket_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
prefix_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
endpoint_ = input.readBytes();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
region_ = input.readBytes();
bitField0_ |= 0x00000100;
break;
} // case 74
case 80: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider tmpValue =
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(10, tmpRaw);
} else {
provider_ = tmpRaw;
bitField0_ |= 0x00000200;
}
break;
} // case 80
case 90: {
externalEndpoint_ = input.readBytes();
bitField0_ |= 0x00000400;
break;
} // case 90
case 106: {
userId_ = input.readBytes();
bitField0_ |= 0x00000800;
break;
} // case 106
case 114: {
input.readMessage(
getEncryptionInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00001000;
break;
} // case 114
case 120: {
sseEnabled_ = input.readBool();
bitField0_ |= 0x00002000;
break;
} // case 120
case 128: {
usePathStyle_ = input.readBool();
bitField0_ |= 0x00004000;
break;
} // case 128
case 136: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.CredProviderTypePB tmpValue =
org.apache.doris.cloud.proto.Cloud.CredProviderTypePB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(17, tmpRaw);
} else {
credProviderType_ = tmpRaw;
bitField0_ |= 0x00008000;
}
break;
} // case 136
case 146: {
roleArn_ = input.readBytes();
bitField0_ |= 0x00010000;
break;
} // case 146
case 154: {
externalId_ = input.readBytes();
bitField0_ |= 0x00020000;
break;
} // case 154
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long ctime_ ;
/**
* <code>optional int64 ctime = 1;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 ctime = 1;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
/**
* <code>optional int64 ctime = 1;</code>
* @param value The ctime to set.
* @return This builder for chaining.
*/
public Builder setCtime(long value) {
ctime_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 ctime = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCtime() {
bitField0_ = (bitField0_ & ~0x00000001);
ctime_ = 0L;
onChanged();
return this;
}
private long mtime_ ;
/**
* <code>optional int64 mtime = 2;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 mtime = 2;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
/**
* <code>optional int64 mtime = 2;</code>
* @param value The mtime to set.
* @return This builder for chaining.
*/
public Builder setMtime(long value) {
mtime_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 mtime = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMtime() {
bitField0_ = (bitField0_ & ~0x00000002);
mtime_ = 0L;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* <code>optional string id = 3;</code>
* @return Whether the id field is set.
*/
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string id = 3;</code>
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string id = 3;</code>
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string id = 3;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string id = 3;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object ak_ = "";
/**
* <code>optional string ak = 4;</code>
* @return Whether the ak field is set.
*/
public boolean hasAk() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string ak = 4;</code>
* @return The ak.
*/
public java.lang.String getAk() {
java.lang.Object ref = ak_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ak_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ak = 4;</code>
* @return The bytes for ak.
*/
public com.google.protobuf.ByteString
getAkBytes() {
java.lang.Object ref = ak_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ak_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ak = 4;</code>
* @param value The ak to set.
* @return This builder for chaining.
*/
public Builder setAk(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ak_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string ak = 4;</code>
* @return This builder for chaining.
*/
public Builder clearAk() {
ak_ = getDefaultInstance().getAk();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string ak = 4;</code>
* @param value The bytes for ak to set.
* @return This builder for chaining.
*/
public Builder setAkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ak_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object sk_ = "";
/**
* <code>optional string sk = 5;</code>
* @return Whether the sk field is set.
*/
public boolean hasSk() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string sk = 5;</code>
* @return The sk.
*/
public java.lang.String getSk() {
java.lang.Object ref = sk_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sk_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string sk = 5;</code>
* @return The bytes for sk.
*/
public com.google.protobuf.ByteString
getSkBytes() {
java.lang.Object ref = sk_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string sk = 5;</code>
* @param value The sk to set.
* @return This builder for chaining.
*/
public Builder setSk(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
sk_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string sk = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSk() {
sk_ = getDefaultInstance().getSk();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string sk = 5;</code>
* @param value The bytes for sk to set.
* @return This builder for chaining.
*/
public Builder setSkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
sk_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object bucket_ = "";
/**
* <code>optional string bucket = 6;</code>
* @return Whether the bucket field is set.
*/
public boolean hasBucket() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string bucket = 6;</code>
* @return The bucket.
*/
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
bucket_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string bucket = 6;</code>
* @return The bytes for bucket.
*/
public com.google.protobuf.ByteString
getBucketBytes() {
java.lang.Object ref = bucket_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string bucket = 6;</code>
* @param value The bucket to set.
* @return This builder for chaining.
*/
public Builder setBucket(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
bucket_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional string bucket = 6;</code>
* @return This builder for chaining.
*/
public Builder clearBucket() {
bucket_ = getDefaultInstance().getBucket();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>optional string bucket = 6;</code>
* @param value The bytes for bucket to set.
* @return This builder for chaining.
*/
public Builder setBucketBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
bucket_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
private java.lang.Object prefix_ = "";
/**
* <code>optional string prefix = 7;</code>
* @return Whether the prefix field is set.
*/
public boolean hasPrefix() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string prefix = 7;</code>
* @return The prefix.
*/
public java.lang.String getPrefix() {
java.lang.Object ref = prefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
prefix_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string prefix = 7;</code>
* @return The bytes for prefix.
*/
public com.google.protobuf.ByteString
getPrefixBytes() {
java.lang.Object ref = prefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
prefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string prefix = 7;</code>
* @param value The prefix to set.
* @return This builder for chaining.
*/
public Builder setPrefix(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
prefix_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional string prefix = 7;</code>
* @return This builder for chaining.
*/
public Builder clearPrefix() {
prefix_ = getDefaultInstance().getPrefix();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>optional string prefix = 7;</code>
* @param value The bytes for prefix to set.
* @return This builder for chaining.
*/
public Builder setPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
prefix_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object endpoint_ = "";
/**
* <code>optional string endpoint = 8;</code>
* @return Whether the endpoint field is set.
*/
public boolean hasEndpoint() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string endpoint = 8;</code>
* @return The endpoint.
*/
public java.lang.String getEndpoint() {
java.lang.Object ref = endpoint_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
endpoint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string endpoint = 8;</code>
* @return The bytes for endpoint.
*/
public com.google.protobuf.ByteString
getEndpointBytes() {
java.lang.Object ref = endpoint_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string endpoint = 8;</code>
* @param value The endpoint to set.
* @return This builder for chaining.
*/
public Builder setEndpoint(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
endpoint_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional string endpoint = 8;</code>
* @return This builder for chaining.
*/
public Builder clearEndpoint() {
endpoint_ = getDefaultInstance().getEndpoint();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>optional string endpoint = 8;</code>
* @param value The bytes for endpoint to set.
* @return This builder for chaining.
*/
public Builder setEndpointBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
endpoint_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object region_ = "";
/**
* <code>optional string region = 9;</code>
* @return Whether the region field is set.
*/
public boolean hasRegion() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string region = 9;</code>
* @return The region.
*/
public java.lang.String getRegion() {
java.lang.Object ref = region_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
region_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string region = 9;</code>
* @return The bytes for region.
*/
public com.google.protobuf.ByteString
getRegionBytes() {
java.lang.Object ref = region_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
region_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string region = 9;</code>
* @param value The region to set.
* @return This builder for chaining.
*/
public Builder setRegion(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
region_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string region = 9;</code>
* @return This builder for chaining.
*/
public Builder clearRegion() {
region_ = getDefaultInstance().getRegion();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string region = 9;</code>
* @param value The bytes for region to set.
* @return This builder for chaining.
*/
public Builder setRegionBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
region_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private int provider_ = -1;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @return Whether the provider field is set.
*/
@java.lang.Override public boolean hasProvider() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @return The provider.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider getProvider() {
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider result = org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider.forNumber(provider_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider.UNKONWN : result;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @param value The provider to set.
* @return This builder for chaining.
*/
public Builder setProvider(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Provider value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000200;
provider_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB.Provider provider = 10;</code>
* @return This builder for chaining.
*/
public Builder clearProvider() {
bitField0_ = (bitField0_ & ~0x00000200);
provider_ = -1;
onChanged();
return this;
}
private java.lang.Object externalEndpoint_ = "";
/**
* <code>optional string external_endpoint = 11;</code>
* @return Whether the externalEndpoint field is set.
*/
public boolean hasExternalEndpoint() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional string external_endpoint = 11;</code>
* @return The externalEndpoint.
*/
public java.lang.String getExternalEndpoint() {
java.lang.Object ref = externalEndpoint_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalEndpoint_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string external_endpoint = 11;</code>
* @return The bytes for externalEndpoint.
*/
public com.google.protobuf.ByteString
getExternalEndpointBytes() {
java.lang.Object ref = externalEndpoint_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalEndpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string external_endpoint = 11;</code>
* @param value The externalEndpoint to set.
* @return This builder for chaining.
*/
public Builder setExternalEndpoint(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
externalEndpoint_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional string external_endpoint = 11;</code>
* @return This builder for chaining.
*/
public Builder clearExternalEndpoint() {
externalEndpoint_ = getDefaultInstance().getExternalEndpoint();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* <code>optional string external_endpoint = 11;</code>
* @param value The bytes for externalEndpoint to set.
* @return This builder for chaining.
*/
public Builder setExternalEndpointBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
externalEndpoint_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 13;</code>
* @return Whether the userId field is set.
*/
public boolean hasUserId() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional string user_id = 13;</code>
* @return The userId.
*/
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string user_id = 13;</code>
* @return The bytes for userId.
*/
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string user_id = 13;</code>
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional string user_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearUserId() {
userId_ = getDefaultInstance().getUserId();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* <code>optional string user_id = 13;</code>
* @param value The bytes for userId to set.
* @return This builder for chaining.
*/
public Builder setUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB encryptionInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder> encryptionInfoBuilder_;
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
* @return Whether the encryptionInfo field is set.
*/
public boolean hasEncryptionInfo() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
* @return The encryptionInfo.
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB getEncryptionInfo() {
if (encryptionInfoBuilder_ == null) {
return encryptionInfo_ == null ? org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
} else {
return encryptionInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
public Builder setEncryptionInfo(org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB value) {
if (encryptionInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
encryptionInfo_ = value;
} else {
encryptionInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
public Builder setEncryptionInfo(
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder builderForValue) {
if (encryptionInfoBuilder_ == null) {
encryptionInfo_ = builderForValue.build();
} else {
encryptionInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
public Builder mergeEncryptionInfo(org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB value) {
if (encryptionInfoBuilder_ == null) {
if (((bitField0_ & 0x00001000) != 0) &&
encryptionInfo_ != null &&
encryptionInfo_ != org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance()) {
getEncryptionInfoBuilder().mergeFrom(value);
} else {
encryptionInfo_ = value;
}
} else {
encryptionInfoBuilder_.mergeFrom(value);
}
if (encryptionInfo_ != null) {
bitField0_ |= 0x00001000;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
public Builder clearEncryptionInfo() {
bitField0_ = (bitField0_ & ~0x00001000);
encryptionInfo_ = null;
if (encryptionInfoBuilder_ != null) {
encryptionInfoBuilder_.dispose();
encryptionInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder getEncryptionInfoBuilder() {
bitField0_ |= 0x00001000;
onChanged();
return getEncryptionInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
public org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder getEncryptionInfoOrBuilder() {
if (encryptionInfoBuilder_ != null) {
return encryptionInfoBuilder_.getMessageOrBuilder();
} else {
return encryptionInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.getDefaultInstance() : encryptionInfo_;
}
}
/**
* <code>optional .doris.cloud.EncryptionInfoPB encryption_info = 14;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder>
getEncryptionInfoFieldBuilder() {
if (encryptionInfoBuilder_ == null) {
encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.EncryptionInfoPBOrBuilder>(
getEncryptionInfo(),
getParentForChildren(),
isClean());
encryptionInfo_ = null;
}
return encryptionInfoBuilder_;
}
private boolean sseEnabled_ ;
/**
* <code>optional bool sse_enabled = 15;</code>
* @return Whether the sseEnabled field is set.
*/
@java.lang.Override
public boolean hasSseEnabled() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional bool sse_enabled = 15;</code>
* @return The sseEnabled.
*/
@java.lang.Override
public boolean getSseEnabled() {
return sseEnabled_;
}
/**
* <code>optional bool sse_enabled = 15;</code>
* @param value The sseEnabled to set.
* @return This builder for chaining.
*/
public Builder setSseEnabled(boolean value) {
sseEnabled_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>optional bool sse_enabled = 15;</code>
* @return This builder for chaining.
*/
public Builder clearSseEnabled() {
bitField0_ = (bitField0_ & ~0x00002000);
sseEnabled_ = false;
onChanged();
return this;
}
private boolean usePathStyle_ ;
/**
* <code>optional bool use_path_style = 16;</code>
* @return Whether the usePathStyle field is set.
*/
@java.lang.Override
public boolean hasUsePathStyle() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <code>optional bool use_path_style = 16;</code>
* @return The usePathStyle.
*/
@java.lang.Override
public boolean getUsePathStyle() {
return usePathStyle_;
}
/**
* <code>optional bool use_path_style = 16;</code>
* @param value The usePathStyle to set.
* @return This builder for chaining.
*/
public Builder setUsePathStyle(boolean value) {
usePathStyle_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>optional bool use_path_style = 16;</code>
* @return This builder for chaining.
*/
public Builder clearUsePathStyle() {
bitField0_ = (bitField0_ & ~0x00004000);
usePathStyle_ = false;
onChanged();
return this;
}
private int credProviderType_ = 1;
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @return Whether the credProviderType field is set.
*/
@java.lang.Override public boolean hasCredProviderType() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @return The credProviderType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CredProviderTypePB getCredProviderType() {
org.apache.doris.cloud.proto.Cloud.CredProviderTypePB result = org.apache.doris.cloud.proto.Cloud.CredProviderTypePB.forNumber(credProviderType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.CredProviderTypePB.DEFAULT : result;
}
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @param value The credProviderType to set.
* @return This builder for chaining.
*/
public Builder setCredProviderType(org.apache.doris.cloud.proto.Cloud.CredProviderTypePB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00008000;
credProviderType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CredProviderTypePB cred_provider_type = 17;</code>
* @return This builder for chaining.
*/
public Builder clearCredProviderType() {
bitField0_ = (bitField0_ & ~0x00008000);
credProviderType_ = 1;
onChanged();
return this;
}
private java.lang.Object roleArn_ = "";
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return Whether the roleArn field is set.
*/
public boolean hasRoleArn() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return The roleArn.
*/
public java.lang.String getRoleArn() {
java.lang.Object ref = roleArn_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
roleArn_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return The bytes for roleArn.
*/
public com.google.protobuf.ByteString
getRoleArnBytes() {
java.lang.Object ref = roleArn_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
roleArn_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @param value The roleArn to set.
* @return This builder for chaining.
*/
public Builder setRoleArn(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
roleArn_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @return This builder for chaining.
*/
public Builder clearRoleArn() {
roleArn_ = getDefaultInstance().getRoleArn();
bitField0_ = (bitField0_ & ~0x00010000);
onChanged();
return this;
}
/**
* <pre>
* aws assumed role's arn
* </pre>
*
* <code>optional string role_arn = 18;</code>
* @param value The bytes for roleArn to set.
* @return This builder for chaining.
*/
public Builder setRoleArnBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
roleArn_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
private java.lang.Object externalId_ = "";
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return Whether the externalId field is set.
*/
public boolean hasExternalId() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return The externalId.
*/
public java.lang.String getExternalId() {
java.lang.Object ref = externalId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
externalId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return The bytes for externalId.
*/
public com.google.protobuf.ByteString
getExternalIdBytes() {
java.lang.Object ref = externalId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
externalId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @param value The externalId to set.
* @return This builder for chaining.
*/
public Builder setExternalId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
externalId_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @return This builder for chaining.
*/
public Builder clearExternalId() {
externalId_ = getDefaultInstance().getExternalId();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
/**
* <pre>
* aws assumed role's external_id if configure
* </pre>
*
* <code>optional string external_id = 19;</code>
* @param value The bytes for externalId to set.
* @return This builder for chaining.
*/
public Builder setExternalIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
externalId_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.ObjectStoreInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.ObjectStoreInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<ObjectStoreInfoPB>
PARSER = new com.google.protobuf.AbstractParser<ObjectStoreInfoPB>() {
@java.lang.Override
public ObjectStoreInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ObjectStoreInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ObjectStoreInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StorageVaultPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.StorageVaultPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <code>optional string name = 2;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
* @return Whether the hdfsInfo field is set.
*/
boolean hasHdfsInfo();
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
* @return The hdfsInfo.
*/
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo getHdfsInfo();
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfoOrBuilder getHdfsInfoOrBuilder();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return Whether the objInfo field is set.
*/
boolean hasObjInfo();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return The objInfo.
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder();
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
* @return Whether the pathFormat field is set.
*/
boolean hasPathFormat();
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
* @return The pathFormat.
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat getPathFormat();
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormatOrBuilder getPathFormatOrBuilder();
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return Whether the alterName field is set.
*/
boolean hasAlterName();
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return The alterName.
*/
java.lang.String getAlterName();
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return The bytes for alterName.
*/
com.google.protobuf.ByteString
getAlterNameBytes();
}
/**
* <pre>
* The legacy ObjectStoreInfoPB is stored in InstanceInfoPB
* </pre>
*
* Protobuf type {@code doris.cloud.StorageVaultPB}
*/
public static final class StorageVaultPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.StorageVaultPB)
StorageVaultPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use StorageVaultPB.newBuilder() to construct.
private StorageVaultPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private StorageVaultPB() {
id_ = "";
name_ = "";
alterName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StorageVaultPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.class, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder.class);
}
public interface PathFormatOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.StorageVaultPB.PathFormat)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 path_version = 1;</code>
* @return Whether the pathVersion field is set.
*/
boolean hasPathVersion();
/**
* <code>optional int64 path_version = 1;</code>
* @return The pathVersion.
*/
long getPathVersion();
/**
* <code>optional int64 shard_num = 2;</code>
* @return Whether the shardNum field is set.
*/
boolean hasShardNum();
/**
* <code>optional int64 shard_num = 2;</code>
* @return The shardNum.
*/
long getShardNum();
}
/**
* Protobuf type {@code doris.cloud.StorageVaultPB.PathFormat}
*/
public static final class PathFormat extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.StorageVaultPB.PathFormat)
PathFormatOrBuilder {
private static final long serialVersionUID = 0L;
// Use PathFormat.newBuilder() to construct.
private PathFormat(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PathFormat() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PathFormat();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_PathFormat_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_PathFormat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.class, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.Builder.class);
}
private int bitField0_;
public static final int PATH_VERSION_FIELD_NUMBER = 1;
private long pathVersion_ = 0L;
/**
* <code>optional int64 path_version = 1;</code>
* @return Whether the pathVersion field is set.
*/
@java.lang.Override
public boolean hasPathVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 path_version = 1;</code>
* @return The pathVersion.
*/
@java.lang.Override
public long getPathVersion() {
return pathVersion_;
}
public static final int SHARD_NUM_FIELD_NUMBER = 2;
private long shardNum_ = 0L;
/**
* <code>optional int64 shard_num = 2;</code>
* @return Whether the shardNum field is set.
*/
@java.lang.Override
public boolean hasShardNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 shard_num = 2;</code>
* @return The shardNum.
*/
@java.lang.Override
public long getShardNum() {
return shardNum_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, pathVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, shardNum_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, pathVersion_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, shardNum_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat other = (org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat) obj;
if (hasPathVersion() != other.hasPathVersion()) return false;
if (hasPathVersion()) {
if (getPathVersion()
!= other.getPathVersion()) return false;
}
if (hasShardNum() != other.hasShardNum()) return false;
if (hasShardNum()) {
if (getShardNum()
!= other.getShardNum()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPathVersion()) {
hash = (37 * hash) + PATH_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPathVersion());
}
if (hasShardNum()) {
hash = (37 * hash) + SHARD_NUM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getShardNum());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.StorageVaultPB.PathFormat}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.StorageVaultPB.PathFormat)
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormatOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_PathFormat_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_PathFormat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.class, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
pathVersion_ = 0L;
shardNum_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_PathFormat_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat build() {
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat buildPartial() {
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat result = new org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.pathVersion_ = pathVersion_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.shardNum_ = shardNum_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat other) {
if (other == org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.getDefaultInstance()) return this;
if (other.hasPathVersion()) {
setPathVersion(other.getPathVersion());
}
if (other.hasShardNum()) {
setShardNum(other.getShardNum());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
pathVersion_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
shardNum_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long pathVersion_ ;
/**
* <code>optional int64 path_version = 1;</code>
* @return Whether the pathVersion field is set.
*/
@java.lang.Override
public boolean hasPathVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 path_version = 1;</code>
* @return The pathVersion.
*/
@java.lang.Override
public long getPathVersion() {
return pathVersion_;
}
/**
* <code>optional int64 path_version = 1;</code>
* @param value The pathVersion to set.
* @return This builder for chaining.
*/
public Builder setPathVersion(long value) {
pathVersion_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 path_version = 1;</code>
* @return This builder for chaining.
*/
public Builder clearPathVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
pathVersion_ = 0L;
onChanged();
return this;
}
private long shardNum_ ;
/**
* <code>optional int64 shard_num = 2;</code>
* @return Whether the shardNum field is set.
*/
@java.lang.Override
public boolean hasShardNum() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 shard_num = 2;</code>
* @return The shardNum.
*/
@java.lang.Override
public long getShardNum() {
return shardNum_;
}
/**
* <code>optional int64 shard_num = 2;</code>
* @param value The shardNum to set.
* @return This builder for chaining.
*/
public Builder setShardNum(long value) {
shardNum_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 shard_num = 2;</code>
* @return This builder for chaining.
*/
public Builder clearShardNum() {
bitField0_ = (bitField0_ & ~0x00000002);
shardNum_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.StorageVaultPB.PathFormat)
}
// @@protoc_insertion_point(class_scope:doris.cloud.StorageVaultPB.PathFormat)
private static final org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat();
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<PathFormat>
PARSER = new com.google.protobuf.AbstractParser<PathFormat>() {
@java.lang.Override
public PathFormat parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<PathFormat> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PathFormat> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
}
}
/**
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string name = 2;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HDFS_INFO_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo hdfsInfo_;
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
* @return Whether the hdfsInfo field is set.
*/
@java.lang.Override
public boolean hasHdfsInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
* @return The hdfsInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo getHdfsInfo() {
return hdfsInfo_ == null ? org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.getDefaultInstance() : hdfsInfo_;
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfoOrBuilder getHdfsInfoOrBuilder() {
return hdfsInfo_ == null ? org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.getDefaultInstance() : hdfsInfo_;
}
public static final int OBJ_INFO_FIELD_NUMBER = 4;
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB objInfo_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return Whether the objInfo field is set.
*/
@java.lang.Override
public boolean hasObjInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return The objInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo() {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder() {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
public static final int PATH_FORMAT_FIELD_NUMBER = 5;
private org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat pathFormat_;
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
* @return Whether the pathFormat field is set.
*/
@java.lang.Override
public boolean hasPathFormat() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
* @return The pathFormat.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat getPathFormat() {
return pathFormat_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.getDefaultInstance() : pathFormat_;
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormatOrBuilder getPathFormatOrBuilder() {
return pathFormat_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.getDefaultInstance() : pathFormat_;
}
public static final int ALTER_NAME_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object alterName_ = "";
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return Whether the alterName field is set.
*/
@java.lang.Override
public boolean hasAlterName() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return The alterName.
*/
@java.lang.Override
public java.lang.String getAlterName() {
java.lang.Object ref = alterName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alterName_ = s;
}
return s;
}
}
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return The bytes for alterName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAlterNameBytes() {
java.lang.Object ref = alterName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasHdfsInfo()) {
if (!getHdfsInfo().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getHdfsInfo());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getObjInfo());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getPathFormat());
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, alterName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getHdfsInfo());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getObjInfo());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getPathFormat());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, alterName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.StorageVaultPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.StorageVaultPB other = (org.apache.doris.cloud.proto.Cloud.StorageVaultPB) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasHdfsInfo() != other.hasHdfsInfo()) return false;
if (hasHdfsInfo()) {
if (!getHdfsInfo()
.equals(other.getHdfsInfo())) return false;
}
if (hasObjInfo() != other.hasObjInfo()) return false;
if (hasObjInfo()) {
if (!getObjInfo()
.equals(other.getObjInfo())) return false;
}
if (hasPathFormat() != other.hasPathFormat()) return false;
if (hasPathFormat()) {
if (!getPathFormat()
.equals(other.getPathFormat())) return false;
}
if (hasAlterName() != other.hasAlterName()) return false;
if (hasAlterName()) {
if (!getAlterName()
.equals(other.getAlterName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasHdfsInfo()) {
hash = (37 * hash) + HDFS_INFO_FIELD_NUMBER;
hash = (53 * hash) + getHdfsInfo().hashCode();
}
if (hasObjInfo()) {
hash = (37 * hash) + OBJ_INFO_FIELD_NUMBER;
hash = (53 * hash) + getObjInfo().hashCode();
}
if (hasPathFormat()) {
hash = (37 * hash) + PATH_FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getPathFormat().hashCode();
}
if (hasAlterName()) {
hash = (37 * hash) + ALTER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getAlterName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.StorageVaultPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* The legacy ObjectStoreInfoPB is stored in InstanceInfoPB
* </pre>
*
* Protobuf type {@code doris.cloud.StorageVaultPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.StorageVaultPB)
org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.class, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.StorageVaultPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getHdfsInfoFieldBuilder();
getObjInfoFieldBuilder();
getPathFormatFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = "";
name_ = "";
hdfsInfo_ = null;
if (hdfsInfoBuilder_ != null) {
hdfsInfoBuilder_.dispose();
hdfsInfoBuilder_ = null;
}
objInfo_ = null;
if (objInfoBuilder_ != null) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
}
pathFormat_ = null;
if (pathFormatBuilder_ != null) {
pathFormatBuilder_.dispose();
pathFormatBuilder_ = null;
}
alterName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StorageVaultPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB build() {
org.apache.doris.cloud.proto.Cloud.StorageVaultPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.StorageVaultPB result = new org.apache.doris.cloud.proto.Cloud.StorageVaultPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.StorageVaultPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.hdfsInfo_ = hdfsInfoBuilder_ == null
? hdfsInfo_
: hdfsInfoBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.objInfo_ = objInfoBuilder_ == null
? objInfo_
: objInfoBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.pathFormat_ = pathFormatBuilder_ == null
? pathFormat_
: pathFormatBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.alterName_ = alterName_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.StorageVaultPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.StorageVaultPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.StorageVaultPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance()) return this;
if (other.hasId()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasHdfsInfo()) {
mergeHdfsInfo(other.getHdfsInfo());
}
if (other.hasObjInfo()) {
mergeObjInfo(other.getObjInfo());
}
if (other.hasPathFormat()) {
mergePathFormat(other.getPathFormat());
}
if (other.hasAlterName()) {
alterName_ = other.alterName_;
bitField0_ |= 0x00000020;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasHdfsInfo()) {
if (!getHdfsInfo().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
id_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
name_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getHdfsInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getObjInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
input.readMessage(
getPathFormatFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
alterName_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string id = 1;</code>
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <code>optional string name = 2;</code>
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string name = 2;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string name = 2;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string name = 2;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string name = 2;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo hdfsInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.Builder, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfoOrBuilder> hdfsInfoBuilder_;
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
* @return Whether the hdfsInfo field is set.
*/
public boolean hasHdfsInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
* @return The hdfsInfo.
*/
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo getHdfsInfo() {
if (hdfsInfoBuilder_ == null) {
return hdfsInfo_ == null ? org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.getDefaultInstance() : hdfsInfo_;
} else {
return hdfsInfoBuilder_.getMessage();
}
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
public Builder setHdfsInfo(org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo value) {
if (hdfsInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hdfsInfo_ = value;
} else {
hdfsInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
public Builder setHdfsInfo(
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.Builder builderForValue) {
if (hdfsInfoBuilder_ == null) {
hdfsInfo_ = builderForValue.build();
} else {
hdfsInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
public Builder mergeHdfsInfo(org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo value) {
if (hdfsInfoBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
hdfsInfo_ != null &&
hdfsInfo_ != org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.getDefaultInstance()) {
getHdfsInfoBuilder().mergeFrom(value);
} else {
hdfsInfo_ = value;
}
} else {
hdfsInfoBuilder_.mergeFrom(value);
}
if (hdfsInfo_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
public Builder clearHdfsInfo() {
bitField0_ = (bitField0_ & ~0x00000004);
hdfsInfo_ = null;
if (hdfsInfoBuilder_ != null) {
hdfsInfoBuilder_.dispose();
hdfsInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.Builder getHdfsInfoBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getHdfsInfoFieldBuilder().getBuilder();
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfoOrBuilder getHdfsInfoOrBuilder() {
if (hdfsInfoBuilder_ != null) {
return hdfsInfoBuilder_.getMessageOrBuilder();
} else {
return hdfsInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.getDefaultInstance() : hdfsInfo_;
}
}
/**
* <pre>
* HdfsResource
* </pre>
*
* <code>optional .doris.cloud.HdfsVaultInfo hdfs_info = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.Builder, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfoOrBuilder>
getHdfsInfoFieldBuilder() {
if (hdfsInfoBuilder_ == null) {
hdfsInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.Builder, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfoOrBuilder>(
getHdfsInfo(),
getParentForChildren(),
isClean());
hdfsInfo_ = null;
}
return hdfsInfoBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB objInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder> objInfoBuilder_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return Whether the objInfo field is set.
*/
public boolean hasObjInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return The objInfo.
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo() {
if (objInfoBuilder_ == null) {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
} else {
return objInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder setObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
objInfo_ = value;
} else {
objInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder setObjInfo(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
objInfo_ = builderForValue.build();
} else {
objInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder mergeObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
objInfo_ != null &&
objInfo_ != org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance()) {
getObjInfoBuilder().mergeFrom(value);
} else {
objInfo_ = value;
}
} else {
objInfoBuilder_.mergeFrom(value);
}
if (objInfo_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder clearObjInfo() {
bitField0_ = (bitField0_ & ~0x00000008);
objInfo_ = null;
if (objInfoBuilder_ != null) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder getObjInfoBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getObjInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder() {
if (objInfoBuilder_ != null) {
return objInfoBuilder_.getMessageOrBuilder();
} else {
return objInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoFieldBuilder() {
if (objInfoBuilder_ == null) {
objInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>(
getObjInfo(),
getParentForChildren(),
isClean());
objInfo_ = null;
}
return objInfoBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat pathFormat_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormatOrBuilder> pathFormatBuilder_;
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
* @return Whether the pathFormat field is set.
*/
public boolean hasPathFormat() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
* @return The pathFormat.
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat getPathFormat() {
if (pathFormatBuilder_ == null) {
return pathFormat_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.getDefaultInstance() : pathFormat_;
} else {
return pathFormatBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
public Builder setPathFormat(org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat value) {
if (pathFormatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pathFormat_ = value;
} else {
pathFormatBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
public Builder setPathFormat(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.Builder builderForValue) {
if (pathFormatBuilder_ == null) {
pathFormat_ = builderForValue.build();
} else {
pathFormatBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
public Builder mergePathFormat(org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat value) {
if (pathFormatBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
pathFormat_ != null &&
pathFormat_ != org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.getDefaultInstance()) {
getPathFormatBuilder().mergeFrom(value);
} else {
pathFormat_ = value;
}
} else {
pathFormatBuilder_.mergeFrom(value);
}
if (pathFormat_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
public Builder clearPathFormat() {
bitField0_ = (bitField0_ & ~0x00000010);
pathFormat_ = null;
if (pathFormatBuilder_ != null) {
pathFormatBuilder_.dispose();
pathFormatBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.Builder getPathFormatBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getPathFormatFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormatOrBuilder getPathFormatOrBuilder() {
if (pathFormatBuilder_ != null) {
return pathFormatBuilder_.getMessageOrBuilder();
} else {
return pathFormat_ == null ?
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.getDefaultInstance() : pathFormat_;
}
}
/**
* <code>optional .doris.cloud.StorageVaultPB.PathFormat path_format = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormatOrBuilder>
getPathFormatFieldBuilder() {
if (pathFormatBuilder_ == null) {
pathFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormat.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PathFormatOrBuilder>(
getPathFormat(),
getParentForChildren(),
isClean());
pathFormat_ = null;
}
return pathFormatBuilder_;
}
private java.lang.Object alterName_ = "";
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return Whether the alterName field is set.
*/
public boolean hasAlterName() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return The alterName.
*/
public java.lang.String getAlterName() {
java.lang.Object ref = alterName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
alterName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return The bytes for alterName.
*/
public com.google.protobuf.ByteString
getAlterNameBytes() {
java.lang.Object ref = alterName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
alterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @param value The alterName to set.
* @return This builder for chaining.
*/
public Builder setAlterName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
alterName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAlterName() {
alterName_ = getDefaultInstance().getAlterName();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <pre>
* Set this filed when the user tries to alter name to alter_name
* </pre>
*
* <code>optional string alter_name = 6;</code>
* @param value The bytes for alterName to set.
* @return This builder for chaining.
*/
public Builder setAlterNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
alterName_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.StorageVaultPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.StorageVaultPB)
private static final org.apache.doris.cloud.proto.Cloud.StorageVaultPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.StorageVaultPB();
}
public static org.apache.doris.cloud.proto.Cloud.StorageVaultPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<StorageVaultPB>
PARSER = new com.google.protobuf.AbstractParser<StorageVaultPB>() {
@java.lang.Override
public StorageVaultPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<StorageVaultPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<StorageVaultPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HdfsBuildConfOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.HdfsBuildConf)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return Whether the fsName field is set.
*/
boolean hasFsName();
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return The fsName.
*/
java.lang.String getFsName();
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return The bytes for fsName.
*/
com.google.protobuf.ByteString
getFsNameBytes();
/**
* <code>optional string user = 2;</code>
* @return Whether the user field is set.
*/
boolean hasUser();
/**
* <code>optional string user = 2;</code>
* @return The user.
*/
java.lang.String getUser();
/**
* <code>optional string user = 2;</code>
* @return The bytes for user.
*/
com.google.protobuf.ByteString
getUserBytes();
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return Whether the hdfsKerberosPrincipal field is set.
*/
boolean hasHdfsKerberosPrincipal();
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return The hdfsKerberosPrincipal.
*/
java.lang.String getHdfsKerberosPrincipal();
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return The bytes for hdfsKerberosPrincipal.
*/
com.google.protobuf.ByteString
getHdfsKerberosPrincipalBytes();
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return Whether the hdfsKerberosKeytab field is set.
*/
boolean hasHdfsKerberosKeytab();
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return The hdfsKerberosKeytab.
*/
java.lang.String getHdfsKerberosKeytab();
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return The bytes for hdfsKerberosKeytab.
*/
com.google.protobuf.ByteString
getHdfsKerberosKeytabBytes();
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair>
getHdfsConfsList();
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair getHdfsConfs(int index);
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
int getHdfsConfsCount();
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder>
getHdfsConfsOrBuilderList();
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder getHdfsConfsOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.HdfsBuildConf}
*/
public static final class HdfsBuildConf extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.HdfsBuildConf)
HdfsBuildConfOrBuilder {
private static final long serialVersionUID = 0L;
// Use HdfsBuildConf.newBuilder() to construct.
private HdfsBuildConf(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HdfsBuildConf() {
fsName_ = "";
user_ = "";
hdfsKerberosPrincipal_ = "";
hdfsKerberosKeytab_ = "";
hdfsConfs_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HdfsBuildConf();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.class, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.Builder.class);
}
public interface HdfsConfKVPairOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.HdfsBuildConf.HdfsConfKVPair)
com.google.protobuf.MessageOrBuilder {
/**
* <code>required string key = 1;</code>
* @return Whether the key field is set.
*/
boolean hasKey();
/**
* <code>required string key = 1;</code>
* @return The key.
*/
java.lang.String getKey();
/**
* <code>required string key = 1;</code>
* @return The bytes for key.
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* <code>required string value = 2;</code>
* @return Whether the value field is set.
*/
boolean hasValue();
/**
* <code>required string value = 2;</code>
* @return The value.
*/
java.lang.String getValue();
/**
* <code>required string value = 2;</code>
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code doris.cloud.HdfsBuildConf.HdfsConfKVPair}
*/
public static final class HdfsConfKVPair extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.HdfsBuildConf.HdfsConfKVPair)
HdfsConfKVPairOrBuilder {
private static final long serialVersionUID = 0L;
// Use HdfsConfKVPair.newBuilder() to construct.
private HdfsConfKVPair(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HdfsConfKVPair() {
key_ = "";
value_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HdfsConfKVPair();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.class, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder.class);
}
private int bitField0_;
public static final int KEY_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object key_ = "";
/**
* <code>required string key = 1;</code>
* @return Whether the key field is set.
*/
@java.lang.Override
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>required string key = 1;</code>
* @return The key.
*/
@java.lang.Override
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* <code>required string key = 1;</code>
* @return The bytes for key.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object value_ = "";
/**
* <code>required string value = 2;</code>
* @return Whether the value field is set.
*/
@java.lang.Override
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>required string value = 2;</code>
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* <code>required string value = 2;</code>
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (!hasKey()) {
memoizedIsInitialized = 0;
return false;
}
if (!hasValue()) {
memoizedIsInitialized = 0;
return false;
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, key_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, key_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair other = (org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair) obj;
if (hasKey() != other.hasKey()) return false;
if (hasKey()) {
if (!getKey()
.equals(other.getKey())) return false;
}
if (hasValue() != other.hasValue()) return false;
if (hasValue()) {
if (!getValue()
.equals(other.getValue())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasKey()) {
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.HdfsBuildConf.HdfsConfKVPair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.HdfsBuildConf.HdfsConfKVPair)
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.class, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
key_ = "";
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair build() {
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair buildPartial() {
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair result = new org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.key_ = key_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair other) {
if (other == org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.getDefaultInstance()) return this;
if (other.hasKey()) {
key_ = other.key_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasValue()) {
value_ = other.value_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (!hasKey()) {
return false;
}
if (!hasValue()) {
return false;
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
key_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object key_ = "";
/**
* <code>required string key = 1;</code>
* @return Whether the key field is set.
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>required string key = 1;</code>
* @return The key.
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>required string key = 1;</code>
* @return The bytes for key.
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>required string key = 1;</code>
* @param value The key to set.
* @return This builder for chaining.
*/
public Builder setKey(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>required string key = 1;</code>
* @return This builder for chaining.
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>required string key = 1;</code>
* @param value The bytes for key to set.
* @return This builder for chaining.
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
key_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object value_ = "";
/**
* <code>required string value = 2;</code>
* @return Whether the value field is set.
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>required string value = 2;</code>
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>required string value = 2;</code>
* @return The bytes for value.
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>required string value = 2;</code>
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>required string value = 2;</code>
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>required string value = 2;</code>
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.HdfsBuildConf.HdfsConfKVPair)
}
// @@protoc_insertion_point(class_scope:doris.cloud.HdfsBuildConf.HdfsConfKVPair)
private static final org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair();
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<HdfsConfKVPair>
PARSER = new com.google.protobuf.AbstractParser<HdfsConfKVPair>() {
@java.lang.Override
public HdfsConfKVPair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<HdfsConfKVPair> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HdfsConfKVPair> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int FS_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object fsName_ = "";
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return Whether the fsName field is set.
*/
@java.lang.Override
public boolean hasFsName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return The fsName.
*/
@java.lang.Override
public java.lang.String getFsName() {
java.lang.Object ref = fsName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
fsName_ = s;
}
return s;
}
}
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return The bytes for fsName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFsNameBytes() {
java.lang.Object ref = fsName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fsName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object user_ = "";
/**
* <code>optional string user = 2;</code>
* @return Whether the user field is set.
*/
@java.lang.Override
public boolean hasUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string user = 2;</code>
* @return The user.
*/
@java.lang.Override
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
user_ = s;
}
return s;
}
}
/**
* <code>optional string user = 2;</code>
* @return The bytes for user.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HDFS_KERBEROS_PRINCIPAL_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object hdfsKerberosPrincipal_ = "";
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return Whether the hdfsKerberosPrincipal field is set.
*/
@java.lang.Override
public boolean hasHdfsKerberosPrincipal() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return The hdfsKerberosPrincipal.
*/
@java.lang.Override
public java.lang.String getHdfsKerberosPrincipal() {
java.lang.Object ref = hdfsKerberosPrincipal_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hdfsKerberosPrincipal_ = s;
}
return s;
}
}
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return The bytes for hdfsKerberosPrincipal.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHdfsKerberosPrincipalBytes() {
java.lang.Object ref = hdfsKerberosPrincipal_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hdfsKerberosPrincipal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HDFS_KERBEROS_KEYTAB_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object hdfsKerberosKeytab_ = "";
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return Whether the hdfsKerberosKeytab field is set.
*/
@java.lang.Override
public boolean hasHdfsKerberosKeytab() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return The hdfsKerberosKeytab.
*/
@java.lang.Override
public java.lang.String getHdfsKerberosKeytab() {
java.lang.Object ref = hdfsKerberosKeytab_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hdfsKerberosKeytab_ = s;
}
return s;
}
}
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return The bytes for hdfsKerberosKeytab.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHdfsKerberosKeytabBytes() {
java.lang.Object ref = hdfsKerberosKeytab_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hdfsKerberosKeytab_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HDFS_CONFS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair> hdfsConfs_;
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair> getHdfsConfsList() {
return hdfsConfs_;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder>
getHdfsConfsOrBuilderList() {
return hdfsConfs_;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
@java.lang.Override
public int getHdfsConfsCount() {
return hdfsConfs_.size();
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair getHdfsConfs(int index) {
return hdfsConfs_.get(index);
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder getHdfsConfsOrBuilder(
int index) {
return hdfsConfs_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getHdfsConfsCount(); i++) {
if (!getHdfsConfs(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fsName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, user_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, hdfsKerberosPrincipal_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hdfsKerberosKeytab_);
}
for (int i = 0; i < hdfsConfs_.size(); i++) {
output.writeMessage(5, hdfsConfs_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fsName_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, user_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hdfsKerberosPrincipal_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hdfsKerberosKeytab_);
}
for (int i = 0; i < hdfsConfs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, hdfsConfs_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.HdfsBuildConf)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf other = (org.apache.doris.cloud.proto.Cloud.HdfsBuildConf) obj;
if (hasFsName() != other.hasFsName()) return false;
if (hasFsName()) {
if (!getFsName()
.equals(other.getFsName())) return false;
}
if (hasUser() != other.hasUser()) return false;
if (hasUser()) {
if (!getUser()
.equals(other.getUser())) return false;
}
if (hasHdfsKerberosPrincipal() != other.hasHdfsKerberosPrincipal()) return false;
if (hasHdfsKerberosPrincipal()) {
if (!getHdfsKerberosPrincipal()
.equals(other.getHdfsKerberosPrincipal())) return false;
}
if (hasHdfsKerberosKeytab() != other.hasHdfsKerberosKeytab()) return false;
if (hasHdfsKerberosKeytab()) {
if (!getHdfsKerberosKeytab()
.equals(other.getHdfsKerberosKeytab())) return false;
}
if (!getHdfsConfsList()
.equals(other.getHdfsConfsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFsName()) {
hash = (37 * hash) + FS_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFsName().hashCode();
}
if (hasUser()) {
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
}
if (hasHdfsKerberosPrincipal()) {
hash = (37 * hash) + HDFS_KERBEROS_PRINCIPAL_FIELD_NUMBER;
hash = (53 * hash) + getHdfsKerberosPrincipal().hashCode();
}
if (hasHdfsKerberosKeytab()) {
hash = (37 * hash) + HDFS_KERBEROS_KEYTAB_FIELD_NUMBER;
hash = (53 * hash) + getHdfsKerberosKeytab().hashCode();
}
if (getHdfsConfsCount() > 0) {
hash = (37 * hash) + HDFS_CONFS_FIELD_NUMBER;
hash = (53 * hash) + getHdfsConfsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.HdfsBuildConf}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.HdfsBuildConf)
org.apache.doris.cloud.proto.Cloud.HdfsBuildConfOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.class, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
fsName_ = "";
user_ = "";
hdfsKerberosPrincipal_ = "";
hdfsKerberosKeytab_ = "";
if (hdfsConfsBuilder_ == null) {
hdfsConfs_ = java.util.Collections.emptyList();
} else {
hdfsConfs_ = null;
hdfsConfsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsBuildConf_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf build() {
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf buildPartial() {
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf result = new org.apache.doris.cloud.proto.Cloud.HdfsBuildConf(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf result) {
if (hdfsConfsBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
hdfsConfs_ = java.util.Collections.unmodifiableList(hdfsConfs_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.hdfsConfs_ = hdfsConfs_;
} else {
result.hdfsConfs_ = hdfsConfsBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.fsName_ = fsName_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.user_ = user_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.hdfsKerberosPrincipal_ = hdfsKerberosPrincipal_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.hdfsKerberosKeytab_ = hdfsKerberosKeytab_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.HdfsBuildConf) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.HdfsBuildConf)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf other) {
if (other == org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.getDefaultInstance()) return this;
if (other.hasFsName()) {
fsName_ = other.fsName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasUser()) {
user_ = other.user_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasHdfsKerberosPrincipal()) {
hdfsKerberosPrincipal_ = other.hdfsKerberosPrincipal_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasHdfsKerberosKeytab()) {
hdfsKerberosKeytab_ = other.hdfsKerberosKeytab_;
bitField0_ |= 0x00000008;
onChanged();
}
if (hdfsConfsBuilder_ == null) {
if (!other.hdfsConfs_.isEmpty()) {
if (hdfsConfs_.isEmpty()) {
hdfsConfs_ = other.hdfsConfs_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureHdfsConfsIsMutable();
hdfsConfs_.addAll(other.hdfsConfs_);
}
onChanged();
}
} else {
if (!other.hdfsConfs_.isEmpty()) {
if (hdfsConfsBuilder_.isEmpty()) {
hdfsConfsBuilder_.dispose();
hdfsConfsBuilder_ = null;
hdfsConfs_ = other.hdfsConfs_;
bitField0_ = (bitField0_ & ~0x00000010);
hdfsConfsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getHdfsConfsFieldBuilder() : null;
} else {
hdfsConfsBuilder_.addAllMessages(other.hdfsConfs_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
for (int i = 0; i < getHdfsConfsCount(); i++) {
if (!getHdfsConfs(i).isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
fsName_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
user_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
hdfsKerberosPrincipal_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
hdfsKerberosKeytab_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.PARSER,
extensionRegistry);
if (hdfsConfsBuilder_ == null) {
ensureHdfsConfsIsMutable();
hdfsConfs_.add(m);
} else {
hdfsConfsBuilder_.addMessage(m);
}
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object fsName_ = "";
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return Whether the fsName field is set.
*/
public boolean hasFsName() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return The fsName.
*/
public java.lang.String getFsName() {
java.lang.Object ref = fsName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
fsName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return The bytes for fsName.
*/
public com.google.protobuf.ByteString
getFsNameBytes() {
java.lang.Object ref = fsName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fsName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @param value The fsName to set.
* @return This builder for chaining.
*/
public Builder setFsName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
fsName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @return This builder for chaining.
*/
public Builder clearFsName() {
fsName_ = getDefaultInstance().getFsName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* name_node
* </pre>
*
* <code>optional string fs_name = 1;</code>
* @param value The bytes for fsName to set.
* @return This builder for chaining.
*/
public Builder setFsNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
fsName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object user_ = "";
/**
* <code>optional string user = 2;</code>
* @return Whether the user field is set.
*/
public boolean hasUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string user = 2;</code>
* @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
user_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string user = 2;</code>
* @return The bytes for user.
*/
public com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string user = 2;</code>
* @param value The user to set.
* @return This builder for chaining.
*/
public Builder setUser(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
user_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string user = 2;</code>
* @return This builder for chaining.
*/
public Builder clearUser() {
user_ = getDefaultInstance().getUser();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string user = 2;</code>
* @param value The bytes for user to set.
* @return This builder for chaining.
*/
public Builder setUserBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
user_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object hdfsKerberosPrincipal_ = "";
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return Whether the hdfsKerberosPrincipal field is set.
*/
public boolean hasHdfsKerberosPrincipal() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return The hdfsKerberosPrincipal.
*/
public java.lang.String getHdfsKerberosPrincipal() {
java.lang.Object ref = hdfsKerberosPrincipal_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hdfsKerberosPrincipal_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return The bytes for hdfsKerberosPrincipal.
*/
public com.google.protobuf.ByteString
getHdfsKerberosPrincipalBytes() {
java.lang.Object ref = hdfsKerberosPrincipal_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hdfsKerberosPrincipal_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @param value The hdfsKerberosPrincipal to set.
* @return This builder for chaining.
*/
public Builder setHdfsKerberosPrincipal(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hdfsKerberosPrincipal_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @return This builder for chaining.
*/
public Builder clearHdfsKerberosPrincipal() {
hdfsKerberosPrincipal_ = getDefaultInstance().getHdfsKerberosPrincipal();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string hdfs_kerberos_principal = 3;</code>
* @param value The bytes for hdfsKerberosPrincipal to set.
* @return This builder for chaining.
*/
public Builder setHdfsKerberosPrincipalBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
hdfsKerberosPrincipal_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object hdfsKerberosKeytab_ = "";
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return Whether the hdfsKerberosKeytab field is set.
*/
public boolean hasHdfsKerberosKeytab() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return The hdfsKerberosKeytab.
*/
public java.lang.String getHdfsKerberosKeytab() {
java.lang.Object ref = hdfsKerberosKeytab_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hdfsKerberosKeytab_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return The bytes for hdfsKerberosKeytab.
*/
public com.google.protobuf.ByteString
getHdfsKerberosKeytabBytes() {
java.lang.Object ref = hdfsKerberosKeytab_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hdfsKerberosKeytab_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @param value The hdfsKerberosKeytab to set.
* @return This builder for chaining.
*/
public Builder setHdfsKerberosKeytab(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
hdfsKerberosKeytab_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @return This builder for chaining.
*/
public Builder clearHdfsKerberosKeytab() {
hdfsKerberosKeytab_ = getDefaultInstance().getHdfsKerberosKeytab();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string hdfs_kerberos_keytab = 4;</code>
* @param value The bytes for hdfsKerberosKeytab to set.
* @return This builder for chaining.
*/
public Builder setHdfsKerberosKeytabBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
hdfsKerberosKeytab_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair> hdfsConfs_ =
java.util.Collections.emptyList();
private void ensureHdfsConfsIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
hdfsConfs_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair>(hdfsConfs_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder> hdfsConfsBuilder_;
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair> getHdfsConfsList() {
if (hdfsConfsBuilder_ == null) {
return java.util.Collections.unmodifiableList(hdfsConfs_);
} else {
return hdfsConfsBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public int getHdfsConfsCount() {
if (hdfsConfsBuilder_ == null) {
return hdfsConfs_.size();
} else {
return hdfsConfsBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair getHdfsConfs(int index) {
if (hdfsConfsBuilder_ == null) {
return hdfsConfs_.get(index);
} else {
return hdfsConfsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder setHdfsConfs(
int index, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair value) {
if (hdfsConfsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHdfsConfsIsMutable();
hdfsConfs_.set(index, value);
onChanged();
} else {
hdfsConfsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder setHdfsConfs(
int index, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder builderForValue) {
if (hdfsConfsBuilder_ == null) {
ensureHdfsConfsIsMutable();
hdfsConfs_.set(index, builderForValue.build());
onChanged();
} else {
hdfsConfsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder addHdfsConfs(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair value) {
if (hdfsConfsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHdfsConfsIsMutable();
hdfsConfs_.add(value);
onChanged();
} else {
hdfsConfsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder addHdfsConfs(
int index, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair value) {
if (hdfsConfsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureHdfsConfsIsMutable();
hdfsConfs_.add(index, value);
onChanged();
} else {
hdfsConfsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder addHdfsConfs(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder builderForValue) {
if (hdfsConfsBuilder_ == null) {
ensureHdfsConfsIsMutable();
hdfsConfs_.add(builderForValue.build());
onChanged();
} else {
hdfsConfsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder addHdfsConfs(
int index, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder builderForValue) {
if (hdfsConfsBuilder_ == null) {
ensureHdfsConfsIsMutable();
hdfsConfs_.add(index, builderForValue.build());
onChanged();
} else {
hdfsConfsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder addAllHdfsConfs(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair> values) {
if (hdfsConfsBuilder_ == null) {
ensureHdfsConfsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, hdfsConfs_);
onChanged();
} else {
hdfsConfsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder clearHdfsConfs() {
if (hdfsConfsBuilder_ == null) {
hdfsConfs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
hdfsConfsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public Builder removeHdfsConfs(int index) {
if (hdfsConfsBuilder_ == null) {
ensureHdfsConfsIsMutable();
hdfsConfs_.remove(index);
onChanged();
} else {
hdfsConfsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder getHdfsConfsBuilder(
int index) {
return getHdfsConfsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder getHdfsConfsOrBuilder(
int index) {
if (hdfsConfsBuilder_ == null) {
return hdfsConfs_.get(index); } else {
return hdfsConfsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder>
getHdfsConfsOrBuilderList() {
if (hdfsConfsBuilder_ != null) {
return hdfsConfsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(hdfsConfs_);
}
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder addHdfsConfsBuilder() {
return getHdfsConfsFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder addHdfsConfsBuilder(
int index) {
return getHdfsConfsFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.HdfsBuildConf.HdfsConfKVPair hdfs_confs = 5;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder>
getHdfsConfsBuilderList() {
return getHdfsConfsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder>
getHdfsConfsFieldBuilder() {
if (hdfsConfsBuilder_ == null) {
hdfsConfsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPair.Builder, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.HdfsConfKVPairOrBuilder>(
hdfsConfs_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
hdfsConfs_ = null;
}
return hdfsConfsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.HdfsBuildConf)
}
// @@protoc_insertion_point(class_scope:doris.cloud.HdfsBuildConf)
private static final org.apache.doris.cloud.proto.Cloud.HdfsBuildConf DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.HdfsBuildConf();
}
public static org.apache.doris.cloud.proto.Cloud.HdfsBuildConf getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<HdfsBuildConf>
PARSER = new com.google.protobuf.AbstractParser<HdfsBuildConf>() {
@java.lang.Override
public HdfsBuildConf parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<HdfsBuildConf> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HdfsBuildConf> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HdfsVaultInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.HdfsVaultInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
* @return Whether the buildConf field is set.
*/
boolean hasBuildConf();
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
* @return The buildConf.
*/
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf getBuildConf();
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.HdfsBuildConfOrBuilder getBuildConfOrBuilder();
/**
* <code>optional string prefix = 2;</code>
* @return Whether the prefix field is set.
*/
boolean hasPrefix();
/**
* <code>optional string prefix = 2;</code>
* @return The prefix.
*/
java.lang.String getPrefix();
/**
* <code>optional string prefix = 2;</code>
* @return The bytes for prefix.
*/
com.google.protobuf.ByteString
getPrefixBytes();
}
/**
* Protobuf type {@code doris.cloud.HdfsVaultInfo}
*/
public static final class HdfsVaultInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.HdfsVaultInfo)
HdfsVaultInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use HdfsVaultInfo.newBuilder() to construct.
private HdfsVaultInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private HdfsVaultInfo() {
prefix_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HdfsVaultInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsVaultInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsVaultInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.class, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.Builder.class);
}
private int bitField0_;
public static final int BUILD_CONF_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.HdfsBuildConf buildConf_;
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
* @return Whether the buildConf field is set.
*/
@java.lang.Override
public boolean hasBuildConf() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
* @return The buildConf.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf getBuildConf() {
return buildConf_ == null ? org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.getDefaultInstance() : buildConf_;
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConfOrBuilder getBuildConfOrBuilder() {
return buildConf_ == null ? org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.getDefaultInstance() : buildConf_;
}
public static final int PREFIX_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object prefix_ = "";
/**
* <code>optional string prefix = 2;</code>
* @return Whether the prefix field is set.
*/
@java.lang.Override
public boolean hasPrefix() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string prefix = 2;</code>
* @return The prefix.
*/
@java.lang.Override
public java.lang.String getPrefix() {
java.lang.Object ref = prefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
prefix_ = s;
}
return s;
}
}
/**
* <code>optional string prefix = 2;</code>
* @return The bytes for prefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPrefixBytes() {
java.lang.Object ref = prefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
prefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasBuildConf()) {
if (!getBuildConf().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getBuildConf());
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, prefix_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getBuildConf());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, prefix_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo other = (org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo) obj;
if (hasBuildConf() != other.hasBuildConf()) return false;
if (hasBuildConf()) {
if (!getBuildConf()
.equals(other.getBuildConf())) return false;
}
if (hasPrefix() != other.hasPrefix()) return false;
if (hasPrefix()) {
if (!getPrefix()
.equals(other.getPrefix())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBuildConf()) {
hash = (37 * hash) + BUILD_CONF_FIELD_NUMBER;
hash = (53 * hash) + getBuildConf().hashCode();
}
if (hasPrefix()) {
hash = (37 * hash) + PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getPrefix().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.HdfsVaultInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.HdfsVaultInfo)
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsVaultInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsVaultInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.class, org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBuildConfFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
buildConf_ = null;
if (buildConfBuilder_ != null) {
buildConfBuilder_.dispose();
buildConfBuilder_ = null;
}
prefix_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_HdfsVaultInfo_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo build() {
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo buildPartial() {
org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo result = new org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.buildConf_ = buildConfBuilder_ == null
? buildConf_
: buildConfBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.prefix_ = prefix_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo other) {
if (other == org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo.getDefaultInstance()) return this;
if (other.hasBuildConf()) {
mergeBuildConf(other.getBuildConf());
}
if (other.hasPrefix()) {
prefix_ = other.prefix_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasBuildConf()) {
if (!getBuildConf().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getBuildConfFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
prefix_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.HdfsBuildConf buildConf_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.Builder, org.apache.doris.cloud.proto.Cloud.HdfsBuildConfOrBuilder> buildConfBuilder_;
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
* @return Whether the buildConf field is set.
*/
public boolean hasBuildConf() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
* @return The buildConf.
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf getBuildConf() {
if (buildConfBuilder_ == null) {
return buildConf_ == null ? org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.getDefaultInstance() : buildConf_;
} else {
return buildConfBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
public Builder setBuildConf(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf value) {
if (buildConfBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
buildConf_ = value;
} else {
buildConfBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
public Builder setBuildConf(
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.Builder builderForValue) {
if (buildConfBuilder_ == null) {
buildConf_ = builderForValue.build();
} else {
buildConfBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
public Builder mergeBuildConf(org.apache.doris.cloud.proto.Cloud.HdfsBuildConf value) {
if (buildConfBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
buildConf_ != null &&
buildConf_ != org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.getDefaultInstance()) {
getBuildConfBuilder().mergeFrom(value);
} else {
buildConf_ = value;
}
} else {
buildConfBuilder_.mergeFrom(value);
}
if (buildConf_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
public Builder clearBuildConf() {
bitField0_ = (bitField0_ & ~0x00000001);
buildConf_ = null;
if (buildConfBuilder_ != null) {
buildConfBuilder_.dispose();
buildConfBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.Builder getBuildConfBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getBuildConfFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.HdfsBuildConfOrBuilder getBuildConfOrBuilder() {
if (buildConfBuilder_ != null) {
return buildConfBuilder_.getMessageOrBuilder();
} else {
return buildConf_ == null ?
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.getDefaultInstance() : buildConf_;
}
}
/**
* <code>optional .doris.cloud.HdfsBuildConf build_conf = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.Builder, org.apache.doris.cloud.proto.Cloud.HdfsBuildConfOrBuilder>
getBuildConfFieldBuilder() {
if (buildConfBuilder_ == null) {
buildConfBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.HdfsBuildConf, org.apache.doris.cloud.proto.Cloud.HdfsBuildConf.Builder, org.apache.doris.cloud.proto.Cloud.HdfsBuildConfOrBuilder>(
getBuildConf(),
getParentForChildren(),
isClean());
buildConf_ = null;
}
return buildConfBuilder_;
}
private java.lang.Object prefix_ = "";
/**
* <code>optional string prefix = 2;</code>
* @return Whether the prefix field is set.
*/
public boolean hasPrefix() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string prefix = 2;</code>
* @return The prefix.
*/
public java.lang.String getPrefix() {
java.lang.Object ref = prefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
prefix_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string prefix = 2;</code>
* @return The bytes for prefix.
*/
public com.google.protobuf.ByteString
getPrefixBytes() {
java.lang.Object ref = prefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
prefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string prefix = 2;</code>
* @param value The prefix to set.
* @return This builder for chaining.
*/
public Builder setPrefix(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
prefix_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string prefix = 2;</code>
* @return This builder for chaining.
*/
public Builder clearPrefix() {
prefix_ = getDefaultInstance().getPrefix();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string prefix = 2;</code>
* @param value The bytes for prefix to set.
* @return This builder for chaining.
*/
public Builder setPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
prefix_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.HdfsVaultInfo)
}
// @@protoc_insertion_point(class_scope:doris.cloud.HdfsVaultInfo)
private static final org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo();
}
public static org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<HdfsVaultInfo>
PARSER = new com.google.protobuf.AbstractParser<HdfsVaultInfo>() {
@java.lang.Override
public HdfsVaultInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<HdfsVaultInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<HdfsVaultInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.HdfsVaultInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UniqueIdPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UniqueIdPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 hi = 1;</code>
* @return Whether the hi field is set.
*/
boolean hasHi();
/**
* <code>optional int64 hi = 1;</code>
* @return The hi.
*/
long getHi();
/**
* <code>optional int64 lo = 2;</code>
* @return Whether the lo field is set.
*/
boolean hasLo();
/**
* <code>optional int64 lo = 2;</code>
* @return The lo.
*/
long getLo();
}
/**
* <pre>
* Wire format for UniqueId
* </pre>
*
* Protobuf type {@code doris.cloud.UniqueIdPB}
*/
public static final class UniqueIdPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UniqueIdPB)
UniqueIdPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use UniqueIdPB.newBuilder() to construct.
private UniqueIdPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UniqueIdPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UniqueIdPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UniqueIdPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UniqueIdPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UniqueIdPB.class, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder.class);
}
private int bitField0_;
public static final int HI_FIELD_NUMBER = 1;
private long hi_ = 0L;
/**
* <code>optional int64 hi = 1;</code>
* @return Whether the hi field is set.
*/
@java.lang.Override
public boolean hasHi() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 hi = 1;</code>
* @return The hi.
*/
@java.lang.Override
public long getHi() {
return hi_;
}
public static final int LO_FIELD_NUMBER = 2;
private long lo_ = 0L;
/**
* <code>optional int64 lo = 2;</code>
* @return Whether the lo field is set.
*/
@java.lang.Override
public boolean hasLo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 lo = 2;</code>
* @return The lo.
*/
@java.lang.Override
public long getLo() {
return lo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, hi_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, lo_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, hi_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, lo_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UniqueIdPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UniqueIdPB other = (org.apache.doris.cloud.proto.Cloud.UniqueIdPB) obj;
if (hasHi() != other.hasHi()) return false;
if (hasHi()) {
if (getHi()
!= other.getHi()) return false;
}
if (hasLo() != other.hasLo()) return false;
if (hasLo()) {
if (getLo()
!= other.getLo()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasHi()) {
hash = (37 * hash) + HI_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getHi());
}
if (hasLo()) {
hash = (37 * hash) + LO_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLo());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UniqueIdPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* Wire format for UniqueId
* </pre>
*
* Protobuf type {@code doris.cloud.UniqueIdPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UniqueIdPB)
org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UniqueIdPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UniqueIdPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UniqueIdPB.class, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UniqueIdPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
hi_ = 0L;
lo_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UniqueIdPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB build() {
org.apache.doris.cloud.proto.Cloud.UniqueIdPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.UniqueIdPB result = new org.apache.doris.cloud.proto.Cloud.UniqueIdPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UniqueIdPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.hi_ = hi_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.lo_ = lo_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UniqueIdPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UniqueIdPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UniqueIdPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance()) return this;
if (other.hasHi()) {
setHi(other.getHi());
}
if (other.hasLo()) {
setLo(other.getLo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
hi_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
lo_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long hi_ ;
/**
* <code>optional int64 hi = 1;</code>
* @return Whether the hi field is set.
*/
@java.lang.Override
public boolean hasHi() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 hi = 1;</code>
* @return The hi.
*/
@java.lang.Override
public long getHi() {
return hi_;
}
/**
* <code>optional int64 hi = 1;</code>
* @param value The hi to set.
* @return This builder for chaining.
*/
public Builder setHi(long value) {
hi_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 hi = 1;</code>
* @return This builder for chaining.
*/
public Builder clearHi() {
bitField0_ = (bitField0_ & ~0x00000001);
hi_ = 0L;
onChanged();
return this;
}
private long lo_ ;
/**
* <code>optional int64 lo = 2;</code>
* @return Whether the lo field is set.
*/
@java.lang.Override
public boolean hasLo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 lo = 2;</code>
* @return The lo.
*/
@java.lang.Override
public long getLo() {
return lo_;
}
/**
* <code>optional int64 lo = 2;</code>
* @param value The lo to set.
* @return This builder for chaining.
*/
public Builder setLo(long value) {
lo_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 lo = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLo() {
bitField0_ = (bitField0_ & ~0x00000002);
lo_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UniqueIdPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UniqueIdPB)
private static final org.apache.doris.cloud.proto.Cloud.UniqueIdPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UniqueIdPB();
}
public static org.apache.doris.cloud.proto.Cloud.UniqueIdPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UniqueIdPB>
PARSER = new com.google.protobuf.AbstractParser<UniqueIdPB>() {
@java.lang.Override
public UniqueIdPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UniqueIdPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UniqueIdPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TxnCoordinatorPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnCoordinatorPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @return Whether the sourceType field is set.
*/
boolean hasSourceType();
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @return The sourceType.
*/
org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB getSourceType();
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
boolean hasIp();
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
java.lang.String getIp();
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
com.google.protobuf.ByteString
getIpBytes();
/**
* <code>optional int64 id = 3;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <code>optional int64 id = 3;</code>
* @return The id.
*/
long getId();
/**
* <code>optional int64 start_time = 4;</code>
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
* <code>optional int64 start_time = 4;</code>
* @return The startTime.
*/
long getStartTime();
}
/**
* Protobuf type {@code doris.cloud.TxnCoordinatorPB}
*/
public static final class TxnCoordinatorPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnCoordinatorPB)
TxnCoordinatorPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxnCoordinatorPB.newBuilder() to construct.
private TxnCoordinatorPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TxnCoordinatorPB() {
sourceType_ = 0;
ip_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxnCoordinatorPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCoordinatorPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCoordinatorPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.class, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.Builder.class);
}
private int bitField0_;
public static final int SOURCETYPE_FIELD_NUMBER = 1;
private int sourceType_ = 0;
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @return Whether the sourceType field is set.
*/
@java.lang.Override public boolean hasSourceType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @return The sourceType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB getSourceType() {
org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB result = org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB.forNumber(sourceType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB.UKNOWN_TXN_SOURCE_TYPE : result;
}
public static final int IP_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object ip_ = "";
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
}
}
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 3;
private long id_ = 0L;
/**
* <code>optional int64 id = 3;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 id = 3;</code>
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int START_TIME_FIELD_NUMBER = 4;
private long startTime_ = 0L;
/**
* <code>optional int64 start_time = 4;</code>
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 start_time = 4;</code>
* @return The startTime.
*/
@java.lang.Override
public long getStartTime() {
return startTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, sourceType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ip_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, id_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, startTime_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, sourceType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ip_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, id_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, startTime_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB other = (org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB) obj;
if (hasSourceType() != other.hasSourceType()) return false;
if (hasSourceType()) {
if (sourceType_ != other.sourceType_) return false;
}
if (hasIp() != other.hasIp()) return false;
if (hasIp()) {
if (!getIp()
.equals(other.getIp())) return false;
}
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasStartTime() != other.hasStartTime()) return false;
if (hasStartTime()) {
if (getStartTime()
!= other.getStartTime()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSourceType()) {
hash = (37 * hash) + SOURCETYPE_FIELD_NUMBER;
hash = (53 * hash) + sourceType_;
}
if (hasIp()) {
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp().hashCode();
}
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
}
if (hasStartTime()) {
hash = (37 * hash) + START_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTime());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TxnCoordinatorPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnCoordinatorPB)
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCoordinatorPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCoordinatorPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.class, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
sourceType_ = 0;
ip_ = "";
id_ = 0L;
startTime_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCoordinatorPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB build() {
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB result = new org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.sourceType_ = sourceType_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ip_ = ip_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.startTime_ = startTime_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.getDefaultInstance()) return this;
if (other.hasSourceType()) {
setSourceType(other.getSourceType());
}
if (other.hasIp()) {
ip_ = other.ip_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasId()) {
setId(other.getId());
}
if (other.hasStartTime()) {
setStartTime(other.getStartTime());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
sourceType_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
ip_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
id_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
startTime_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int sourceType_ = 0;
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @return Whether the sourceType field is set.
*/
@java.lang.Override public boolean hasSourceType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @return The sourceType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB getSourceType() {
org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB result = org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB.forNumber(sourceType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB.UKNOWN_TXN_SOURCE_TYPE : result;
}
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @param value The sourceType to set.
* @return This builder for chaining.
*/
public Builder setSourceType(org.apache.doris.cloud.proto.Cloud.TxnSourceTypePB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
sourceType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnSourceTypePB sourceType = 1;</code>
* @return This builder for chaining.
*/
public Builder clearSourceType() {
bitField0_ = (bitField0_ & ~0x00000001);
sourceType_ = 0;
onChanged();
return this;
}
private java.lang.Object ip_ = "";
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
public boolean hasIp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ip = 2;</code>
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string ip = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIp() {
ip_ = getDefaultInstance().getIp();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string ip = 2;</code>
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long id_ ;
/**
* <code>optional int64 id = 3;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 id = 3;</code>
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* <code>optional int64 id = 3;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
id_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000004);
id_ = 0L;
onChanged();
return this;
}
private long startTime_ ;
/**
* <code>optional int64 start_time = 4;</code>
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 start_time = 4;</code>
* @return The startTime.
*/
@java.lang.Override
public long getStartTime() {
return startTime_;
}
/**
* <code>optional int64 start_time = 4;</code>
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(long value) {
startTime_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 start_time = 4;</code>
* @return This builder for chaining.
*/
public Builder clearStartTime() {
bitField0_ = (bitField0_ & ~0x00000008);
startTime_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnCoordinatorPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnCoordinatorPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TxnCoordinatorPB>
PARSER = new com.google.protobuf.AbstractParser<TxnCoordinatorPB>() {
@java.lang.Override
public TxnCoordinatorPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TxnCoordinatorPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TxnCoordinatorPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RoutineLoadProgressPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RoutineLoadProgressPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
int getPartitionToOffsetCount();
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
boolean containsPartitionToOffset(
int key);
/**
* Use {@link #getPartitionToOffsetMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.Integer, java.lang.Long>
getPartitionToOffset();
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
java.util.Map<java.lang.Integer, java.lang.Long>
getPartitionToOffsetMap();
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
long getPartitionToOffsetOrDefault(
int key,
long defaultValue);
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
long getPartitionToOffsetOrThrow(
int key);
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
* @return Whether the stat field is set.
*/
boolean hasStat();
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
* @return The stat.
*/
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB getStat();
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPBOrBuilder getStatOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.RoutineLoadProgressPB}
*/
public static final class RoutineLoadProgressPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RoutineLoadProgressPB)
RoutineLoadProgressPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RoutineLoadProgressPB.newBuilder() to construct.
private RoutineLoadProgressPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RoutineLoadProgressPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RoutineLoadProgressPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadProgressPB_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetPartitionToOffset();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadProgressPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.class, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.Builder.class);
}
private int bitField0_;
public static final int PARTITION_TO_OFFSET_FIELD_NUMBER = 1;
private static final class PartitionToOffsetDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Long> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.Integer, java.lang.Long>newDefaultInstance(
org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadProgressPB_PartitionToOffsetEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.INT32,
0,
com.google.protobuf.WireFormat.FieldType.INT64,
0L);
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Long> partitionToOffset_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Long>
internalGetPartitionToOffset() {
if (partitionToOffset_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PartitionToOffsetDefaultEntryHolder.defaultEntry);
}
return partitionToOffset_;
}
public int getPartitionToOffsetCount() {
return internalGetPartitionToOffset().getMap().size();
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public boolean containsPartitionToOffset(
int key) {
return internalGetPartitionToOffset().getMap().containsKey(key);
}
/**
* Use {@link #getPartitionToOffsetMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffset() {
return getPartitionToOffsetMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffsetMap() {
return internalGetPartitionToOffset().getMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrDefault(
int key,
long defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int STAT_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB stat_;
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
* @return Whether the stat field is set.
*/
@java.lang.Override
public boolean hasStat() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
* @return The stat.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB getStat() {
return stat_ == null ? org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.getDefaultInstance() : stat_;
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPBOrBuilder getStatOrBuilder() {
return stat_ == null ? org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.getDefaultInstance() : stat_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetPartitionToOffset(),
PartitionToOffsetDefaultEntryHolder.defaultEntry,
1);
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getStat());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry<java.lang.Integer, java.lang.Long> entry
: internalGetPartitionToOffset().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Long>
partitionToOffset__ = PartitionToOffsetDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, partitionToOffset__);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStat());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB other = (org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB) obj;
if (!internalGetPartitionToOffset().equals(
other.internalGetPartitionToOffset())) return false;
if (hasStat() != other.hasStat()) return false;
if (hasStat()) {
if (!getStat()
.equals(other.getStat())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetPartitionToOffset().getMap().isEmpty()) {
hash = (37 * hash) + PARTITION_TO_OFFSET_FIELD_NUMBER;
hash = (53 * hash) + internalGetPartitionToOffset().hashCode();
}
if (hasStat()) {
hash = (37 * hash) + STAT_FIELD_NUMBER;
hash = (53 * hash) + getStat().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RoutineLoadProgressPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RoutineLoadProgressPB)
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadProgressPB_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetPartitionToOffset();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutablePartitionToOffset();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadProgressPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.class, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
internalGetMutablePartitionToOffset().clear();
stat_ = null;
if (statBuilder_ != null) {
statBuilder_.dispose();
statBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadProgressPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB build() {
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB result = new org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.partitionToOffset_ = internalGetPartitionToOffset();
result.partitionToOffset_.makeImmutable();
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stat_ = statBuilder_ == null
? stat_
: statBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.getDefaultInstance()) return this;
internalGetMutablePartitionToOffset().mergeFrom(
other.internalGetPartitionToOffset());
bitField0_ |= 0x00000001;
if (other.hasStat()) {
mergeStat(other.getStat());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Long>
partitionToOffset__ = input.readMessage(
PartitionToOffsetDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutablePartitionToOffset().getMutableMap().put(
partitionToOffset__.getKey(), partitionToOffset__.getValue());
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getStatFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Long> partitionToOffset_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Long>
internalGetPartitionToOffset() {
if (partitionToOffset_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PartitionToOffsetDefaultEntryHolder.defaultEntry);
}
return partitionToOffset_;
}
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Long>
internalGetMutablePartitionToOffset() {
if (partitionToOffset_ == null) {
partitionToOffset_ = com.google.protobuf.MapField.newMapField(
PartitionToOffsetDefaultEntryHolder.defaultEntry);
}
if (!partitionToOffset_.isMutable()) {
partitionToOffset_ = partitionToOffset_.copy();
}
bitField0_ |= 0x00000001;
onChanged();
return partitionToOffset_;
}
public int getPartitionToOffsetCount() {
return internalGetPartitionToOffset().getMap().size();
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public boolean containsPartitionToOffset(
int key) {
return internalGetPartitionToOffset().getMap().containsKey(key);
}
/**
* Use {@link #getPartitionToOffsetMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffset() {
return getPartitionToOffsetMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffsetMap() {
return internalGetPartitionToOffset().getMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrDefault(
int key,
long defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearPartitionToOffset() {
bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutablePartitionToOffset().getMutableMap()
.clear();
return this;
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
public Builder removePartitionToOffset(
int key) {
internalGetMutablePartitionToOffset().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Long>
getMutablePartitionToOffset() {
bitField0_ |= 0x00000001;
return internalGetMutablePartitionToOffset().getMutableMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
public Builder putPartitionToOffset(
int key,
long value) {
internalGetMutablePartitionToOffset().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000001;
return this;
}
/**
* <code>map<int32, int64> partition_to_offset = 1;</code>
*/
public Builder putAllPartitionToOffset(
java.util.Map<java.lang.Integer, java.lang.Long> values) {
internalGetMutablePartitionToOffset().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000001;
return this;
}
private org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB stat_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.Builder, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPBOrBuilder> statBuilder_;
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
* @return Whether the stat field is set.
*/
public boolean hasStat() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
* @return The stat.
*/
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB getStat() {
if (statBuilder_ == null) {
return stat_ == null ? org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.getDefaultInstance() : stat_;
} else {
return statBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
public Builder setStat(org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB value) {
if (statBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stat_ = value;
} else {
statBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
public Builder setStat(
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.Builder builderForValue) {
if (statBuilder_ == null) {
stat_ = builderForValue.build();
} else {
statBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
public Builder mergeStat(org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB value) {
if (statBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
stat_ != null &&
stat_ != org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.getDefaultInstance()) {
getStatBuilder().mergeFrom(value);
} else {
stat_ = value;
}
} else {
statBuilder_.mergeFrom(value);
}
if (stat_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
public Builder clearStat() {
bitField0_ = (bitField0_ & ~0x00000002);
stat_ = null;
if (statBuilder_ != null) {
statBuilder_.dispose();
statBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.Builder getStatBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getStatFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPBOrBuilder getStatOrBuilder() {
if (statBuilder_ != null) {
return statBuilder_.getMessageOrBuilder();
} else {
return stat_ == null ?
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.getDefaultInstance() : stat_;
}
}
/**
* <code>optional .doris.cloud.RoutineLoadJobStatisticPB stat = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.Builder, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPBOrBuilder>
getStatFieldBuilder() {
if (statBuilder_ == null) {
statBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.Builder, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPBOrBuilder>(
getStat(),
getParentForChildren(),
isClean());
stat_ = null;
}
return statBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RoutineLoadProgressPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RoutineLoadProgressPB)
private static final org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB();
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RoutineLoadProgressPB>
PARSER = new com.google.protobuf.AbstractParser<RoutineLoadProgressPB>() {
@java.lang.Override
public RoutineLoadProgressPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RoutineLoadProgressPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RoutineLoadProgressPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RLTaskTxnCommitAttachmentPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RLTaskTxnCommitAttachmentPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 job_id = 1;</code>
* @return Whether the jobId field is set.
*/
boolean hasJobId();
/**
* <code>optional int64 job_id = 1;</code>
* @return The jobId.
*/
long getJobId();
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
* @return Whether the taskId field is set.
*/
boolean hasTaskId();
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
* @return The taskId.
*/
org.apache.doris.cloud.proto.Cloud.UniqueIdPB getTaskId();
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder getTaskIdOrBuilder();
/**
* <code>optional int64 filtered_rows = 3;</code>
* @return Whether the filteredRows field is set.
*/
boolean hasFilteredRows();
/**
* <code>optional int64 filtered_rows = 3;</code>
* @return The filteredRows.
*/
long getFilteredRows();
/**
* <code>optional int64 loaded_rows = 4;</code>
* @return Whether the loadedRows field is set.
*/
boolean hasLoadedRows();
/**
* <code>optional int64 loaded_rows = 4;</code>
* @return The loadedRows.
*/
long getLoadedRows();
/**
* <code>optional int64 unselected_rows = 5;</code>
* @return Whether the unselectedRows field is set.
*/
boolean hasUnselectedRows();
/**
* <code>optional int64 unselected_rows = 5;</code>
* @return The unselectedRows.
*/
long getUnselectedRows();
/**
* <code>optional int64 received_bytes = 6;</code>
* @return Whether the receivedBytes field is set.
*/
boolean hasReceivedBytes();
/**
* <code>optional int64 received_bytes = 6;</code>
* @return The receivedBytes.
*/
long getReceivedBytes();
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @return Whether the taskExecutionTimeMs field is set.
*/
boolean hasTaskExecutionTimeMs();
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @return The taskExecutionTimeMs.
*/
long getTaskExecutionTimeMs();
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
* @return Whether the progress field is set.
*/
boolean hasProgress();
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
* @return The progress.
*/
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB getProgress();
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPBOrBuilder getProgressOrBuilder();
/**
* <code>optional string error_log_url = 9;</code>
* @return Whether the errorLogUrl field is set.
*/
boolean hasErrorLogUrl();
/**
* <code>optional string error_log_url = 9;</code>
* @return The errorLogUrl.
*/
java.lang.String getErrorLogUrl();
/**
* <code>optional string error_log_url = 9;</code>
* @return The bytes for errorLogUrl.
*/
com.google.protobuf.ByteString
getErrorLogUrlBytes();
}
/**
* Protobuf type {@code doris.cloud.RLTaskTxnCommitAttachmentPB}
*/
public static final class RLTaskTxnCommitAttachmentPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RLTaskTxnCommitAttachmentPB)
RLTaskTxnCommitAttachmentPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RLTaskTxnCommitAttachmentPB.newBuilder() to construct.
private RLTaskTxnCommitAttachmentPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RLTaskTxnCommitAttachmentPB() {
errorLogUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RLTaskTxnCommitAttachmentPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.class, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder.class);
}
private int bitField0_;
public static final int JOB_ID_FIELD_NUMBER = 1;
private long jobId_ = 0L;
/**
* <code>optional int64 job_id = 1;</code>
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 job_id = 1;</code>
* @return The jobId.
*/
@java.lang.Override
public long getJobId() {
return jobId_;
}
public static final int TASK_ID_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.UniqueIdPB taskId_;
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
* @return Whether the taskId field is set.
*/
@java.lang.Override
public boolean hasTaskId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
* @return The taskId.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB getTaskId() {
return taskId_ == null ? org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : taskId_;
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder getTaskIdOrBuilder() {
return taskId_ == null ? org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : taskId_;
}
public static final int FILTERED_ROWS_FIELD_NUMBER = 3;
private long filteredRows_ = 0L;
/**
* <code>optional int64 filtered_rows = 3;</code>
* @return Whether the filteredRows field is set.
*/
@java.lang.Override
public boolean hasFilteredRows() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 filtered_rows = 3;</code>
* @return The filteredRows.
*/
@java.lang.Override
public long getFilteredRows() {
return filteredRows_;
}
public static final int LOADED_ROWS_FIELD_NUMBER = 4;
private long loadedRows_ = 0L;
/**
* <code>optional int64 loaded_rows = 4;</code>
* @return Whether the loadedRows field is set.
*/
@java.lang.Override
public boolean hasLoadedRows() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 loaded_rows = 4;</code>
* @return The loadedRows.
*/
@java.lang.Override
public long getLoadedRows() {
return loadedRows_;
}
public static final int UNSELECTED_ROWS_FIELD_NUMBER = 5;
private long unselectedRows_ = 0L;
/**
* <code>optional int64 unselected_rows = 5;</code>
* @return Whether the unselectedRows field is set.
*/
@java.lang.Override
public boolean hasUnselectedRows() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 unselected_rows = 5;</code>
* @return The unselectedRows.
*/
@java.lang.Override
public long getUnselectedRows() {
return unselectedRows_;
}
public static final int RECEIVED_BYTES_FIELD_NUMBER = 6;
private long receivedBytes_ = 0L;
/**
* <code>optional int64 received_bytes = 6;</code>
* @return Whether the receivedBytes field is set.
*/
@java.lang.Override
public boolean hasReceivedBytes() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 received_bytes = 6;</code>
* @return The receivedBytes.
*/
@java.lang.Override
public long getReceivedBytes() {
return receivedBytes_;
}
public static final int TASK_EXECUTION_TIME_MS_FIELD_NUMBER = 7;
private long taskExecutionTimeMs_ = 0L;
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @return Whether the taskExecutionTimeMs field is set.
*/
@java.lang.Override
public boolean hasTaskExecutionTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @return The taskExecutionTimeMs.
*/
@java.lang.Override
public long getTaskExecutionTimeMs() {
return taskExecutionTimeMs_;
}
public static final int PROGRESS_FIELD_NUMBER = 8;
private org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB progress_;
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
* @return Whether the progress field is set.
*/
@java.lang.Override
public boolean hasProgress() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
* @return The progress.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB getProgress() {
return progress_ == null ? org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.getDefaultInstance() : progress_;
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPBOrBuilder getProgressOrBuilder() {
return progress_ == null ? org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.getDefaultInstance() : progress_;
}
public static final int ERROR_LOG_URL_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object errorLogUrl_ = "";
/**
* <code>optional string error_log_url = 9;</code>
* @return Whether the errorLogUrl field is set.
*/
@java.lang.Override
public boolean hasErrorLogUrl() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string error_log_url = 9;</code>
* @return The errorLogUrl.
*/
@java.lang.Override
public java.lang.String getErrorLogUrl() {
java.lang.Object ref = errorLogUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
errorLogUrl_ = s;
}
return s;
}
}
/**
* <code>optional string error_log_url = 9;</code>
* @return The bytes for errorLogUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorLogUrlBytes() {
java.lang.Object ref = errorLogUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorLogUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, jobId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTaskId());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, filteredRows_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, loadedRows_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, unselectedRows_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, receivedBytes_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, taskExecutionTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeMessage(8, getProgress());
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, errorLogUrl_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, jobId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTaskId());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, filteredRows_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, loadedRows_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, unselectedRows_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, receivedBytes_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, taskExecutionTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getProgress());
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, errorLogUrl_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB other = (org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB) obj;
if (hasJobId() != other.hasJobId()) return false;
if (hasJobId()) {
if (getJobId()
!= other.getJobId()) return false;
}
if (hasTaskId() != other.hasTaskId()) return false;
if (hasTaskId()) {
if (!getTaskId()
.equals(other.getTaskId())) return false;
}
if (hasFilteredRows() != other.hasFilteredRows()) return false;
if (hasFilteredRows()) {
if (getFilteredRows()
!= other.getFilteredRows()) return false;
}
if (hasLoadedRows() != other.hasLoadedRows()) return false;
if (hasLoadedRows()) {
if (getLoadedRows()
!= other.getLoadedRows()) return false;
}
if (hasUnselectedRows() != other.hasUnselectedRows()) return false;
if (hasUnselectedRows()) {
if (getUnselectedRows()
!= other.getUnselectedRows()) return false;
}
if (hasReceivedBytes() != other.hasReceivedBytes()) return false;
if (hasReceivedBytes()) {
if (getReceivedBytes()
!= other.getReceivedBytes()) return false;
}
if (hasTaskExecutionTimeMs() != other.hasTaskExecutionTimeMs()) return false;
if (hasTaskExecutionTimeMs()) {
if (getTaskExecutionTimeMs()
!= other.getTaskExecutionTimeMs()) return false;
}
if (hasProgress() != other.hasProgress()) return false;
if (hasProgress()) {
if (!getProgress()
.equals(other.getProgress())) return false;
}
if (hasErrorLogUrl() != other.hasErrorLogUrl()) return false;
if (hasErrorLogUrl()) {
if (!getErrorLogUrl()
.equals(other.getErrorLogUrl())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasJobId()) {
hash = (37 * hash) + JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJobId());
}
if (hasTaskId()) {
hash = (37 * hash) + TASK_ID_FIELD_NUMBER;
hash = (53 * hash) + getTaskId().hashCode();
}
if (hasFilteredRows()) {
hash = (37 * hash) + FILTERED_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFilteredRows());
}
if (hasLoadedRows()) {
hash = (37 * hash) + LOADED_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLoadedRows());
}
if (hasUnselectedRows()) {
hash = (37 * hash) + UNSELECTED_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUnselectedRows());
}
if (hasReceivedBytes()) {
hash = (37 * hash) + RECEIVED_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReceivedBytes());
}
if (hasTaskExecutionTimeMs()) {
hash = (37 * hash) + TASK_EXECUTION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTaskExecutionTimeMs());
}
if (hasProgress()) {
hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
hash = (53 * hash) + getProgress().hashCode();
}
if (hasErrorLogUrl()) {
hash = (37 * hash) + ERROR_LOG_URL_FIELD_NUMBER;
hash = (53 * hash) + getErrorLogUrl().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RLTaskTxnCommitAttachmentPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RLTaskTxnCommitAttachmentPB)
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.class, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTaskIdFieldBuilder();
getProgressFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
jobId_ = 0L;
taskId_ = null;
if (taskIdBuilder_ != null) {
taskIdBuilder_.dispose();
taskIdBuilder_ = null;
}
filteredRows_ = 0L;
loadedRows_ = 0L;
unselectedRows_ = 0L;
receivedBytes_ = 0L;
taskExecutionTimeMs_ = 0L;
progress_ = null;
if (progressBuilder_ != null) {
progressBuilder_.dispose();
progressBuilder_ = null;
}
errorLogUrl_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB build() {
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB result = new org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.jobId_ = jobId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.taskId_ = taskIdBuilder_ == null
? taskId_
: taskIdBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.filteredRows_ = filteredRows_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.loadedRows_ = loadedRows_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.unselectedRows_ = unselectedRows_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.receivedBytes_ = receivedBytes_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.taskExecutionTimeMs_ = taskExecutionTimeMs_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.progress_ = progressBuilder_ == null
? progress_
: progressBuilder_.build();
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.errorLogUrl_ = errorLogUrl_;
to_bitField0_ |= 0x00000100;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance()) return this;
if (other.hasJobId()) {
setJobId(other.getJobId());
}
if (other.hasTaskId()) {
mergeTaskId(other.getTaskId());
}
if (other.hasFilteredRows()) {
setFilteredRows(other.getFilteredRows());
}
if (other.hasLoadedRows()) {
setLoadedRows(other.getLoadedRows());
}
if (other.hasUnselectedRows()) {
setUnselectedRows(other.getUnselectedRows());
}
if (other.hasReceivedBytes()) {
setReceivedBytes(other.getReceivedBytes());
}
if (other.hasTaskExecutionTimeMs()) {
setTaskExecutionTimeMs(other.getTaskExecutionTimeMs());
}
if (other.hasProgress()) {
mergeProgress(other.getProgress());
}
if (other.hasErrorLogUrl()) {
errorLogUrl_ = other.errorLogUrl_;
bitField0_ |= 0x00000100;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
jobId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getTaskIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
filteredRows_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
loadedRows_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
unselectedRows_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
receivedBytes_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
taskExecutionTimeMs_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 66: {
input.readMessage(
getProgressFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
errorLogUrl_ = input.readBytes();
bitField0_ |= 0x00000100;
break;
} // case 74
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long jobId_ ;
/**
* <code>optional int64 job_id = 1;</code>
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 job_id = 1;</code>
* @return The jobId.
*/
@java.lang.Override
public long getJobId() {
return jobId_;
}
/**
* <code>optional int64 job_id = 1;</code>
* @param value The jobId to set.
* @return This builder for chaining.
*/
public Builder setJobId(long value) {
jobId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 job_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearJobId() {
bitField0_ = (bitField0_ & ~0x00000001);
jobId_ = 0L;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.UniqueIdPB taskId_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.UniqueIdPB, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder, org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder> taskIdBuilder_;
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
* @return Whether the taskId field is set.
*/
public boolean hasTaskId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
* @return The taskId.
*/
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB getTaskId() {
if (taskIdBuilder_ == null) {
return taskId_ == null ? org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : taskId_;
} else {
return taskIdBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
public Builder setTaskId(org.apache.doris.cloud.proto.Cloud.UniqueIdPB value) {
if (taskIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
taskId_ = value;
} else {
taskIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
public Builder setTaskId(
org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder builderForValue) {
if (taskIdBuilder_ == null) {
taskId_ = builderForValue.build();
} else {
taskIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
public Builder mergeTaskId(org.apache.doris.cloud.proto.Cloud.UniqueIdPB value) {
if (taskIdBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
taskId_ != null &&
taskId_ != org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance()) {
getTaskIdBuilder().mergeFrom(value);
} else {
taskId_ = value;
}
} else {
taskIdBuilder_.mergeFrom(value);
}
if (taskId_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
public Builder clearTaskId() {
bitField0_ = (bitField0_ & ~0x00000002);
taskId_ = null;
if (taskIdBuilder_ != null) {
taskIdBuilder_.dispose();
taskIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder getTaskIdBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTaskIdFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder getTaskIdOrBuilder() {
if (taskIdBuilder_ != null) {
return taskIdBuilder_.getMessageOrBuilder();
} else {
return taskId_ == null ?
org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : taskId_;
}
}
/**
* <code>optional .doris.cloud.UniqueIdPB task_id = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.UniqueIdPB, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder, org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder>
getTaskIdFieldBuilder() {
if (taskIdBuilder_ == null) {
taskIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.UniqueIdPB, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder, org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder>(
getTaskId(),
getParentForChildren(),
isClean());
taskId_ = null;
}
return taskIdBuilder_;
}
private long filteredRows_ ;
/**
* <code>optional int64 filtered_rows = 3;</code>
* @return Whether the filteredRows field is set.
*/
@java.lang.Override
public boolean hasFilteredRows() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 filtered_rows = 3;</code>
* @return The filteredRows.
*/
@java.lang.Override
public long getFilteredRows() {
return filteredRows_;
}
/**
* <code>optional int64 filtered_rows = 3;</code>
* @param value The filteredRows to set.
* @return This builder for chaining.
*/
public Builder setFilteredRows(long value) {
filteredRows_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 filtered_rows = 3;</code>
* @return This builder for chaining.
*/
public Builder clearFilteredRows() {
bitField0_ = (bitField0_ & ~0x00000004);
filteredRows_ = 0L;
onChanged();
return this;
}
private long loadedRows_ ;
/**
* <code>optional int64 loaded_rows = 4;</code>
* @return Whether the loadedRows field is set.
*/
@java.lang.Override
public boolean hasLoadedRows() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 loaded_rows = 4;</code>
* @return The loadedRows.
*/
@java.lang.Override
public long getLoadedRows() {
return loadedRows_;
}
/**
* <code>optional int64 loaded_rows = 4;</code>
* @param value The loadedRows to set.
* @return This builder for chaining.
*/
public Builder setLoadedRows(long value) {
loadedRows_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 loaded_rows = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLoadedRows() {
bitField0_ = (bitField0_ & ~0x00000008);
loadedRows_ = 0L;
onChanged();
return this;
}
private long unselectedRows_ ;
/**
* <code>optional int64 unselected_rows = 5;</code>
* @return Whether the unselectedRows field is set.
*/
@java.lang.Override
public boolean hasUnselectedRows() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 unselected_rows = 5;</code>
* @return The unselectedRows.
*/
@java.lang.Override
public long getUnselectedRows() {
return unselectedRows_;
}
/**
* <code>optional int64 unselected_rows = 5;</code>
* @param value The unselectedRows to set.
* @return This builder for chaining.
*/
public Builder setUnselectedRows(long value) {
unselectedRows_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 unselected_rows = 5;</code>
* @return This builder for chaining.
*/
public Builder clearUnselectedRows() {
bitField0_ = (bitField0_ & ~0x00000010);
unselectedRows_ = 0L;
onChanged();
return this;
}
private long receivedBytes_ ;
/**
* <code>optional int64 received_bytes = 6;</code>
* @return Whether the receivedBytes field is set.
*/
@java.lang.Override
public boolean hasReceivedBytes() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 received_bytes = 6;</code>
* @return The receivedBytes.
*/
@java.lang.Override
public long getReceivedBytes() {
return receivedBytes_;
}
/**
* <code>optional int64 received_bytes = 6;</code>
* @param value The receivedBytes to set.
* @return This builder for chaining.
*/
public Builder setReceivedBytes(long value) {
receivedBytes_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 received_bytes = 6;</code>
* @return This builder for chaining.
*/
public Builder clearReceivedBytes() {
bitField0_ = (bitField0_ & ~0x00000020);
receivedBytes_ = 0L;
onChanged();
return this;
}
private long taskExecutionTimeMs_ ;
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @return Whether the taskExecutionTimeMs field is set.
*/
@java.lang.Override
public boolean hasTaskExecutionTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @return The taskExecutionTimeMs.
*/
@java.lang.Override
public long getTaskExecutionTimeMs() {
return taskExecutionTimeMs_;
}
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @param value The taskExecutionTimeMs to set.
* @return This builder for chaining.
*/
public Builder setTaskExecutionTimeMs(long value) {
taskExecutionTimeMs_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 task_execution_time_ms = 7;</code>
* @return This builder for chaining.
*/
public Builder clearTaskExecutionTimeMs() {
bitField0_ = (bitField0_ & ~0x00000040);
taskExecutionTimeMs_ = 0L;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB progress_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.Builder, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPBOrBuilder> progressBuilder_;
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
* @return Whether the progress field is set.
*/
public boolean hasProgress() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
* @return The progress.
*/
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB getProgress() {
if (progressBuilder_ == null) {
return progress_ == null ? org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.getDefaultInstance() : progress_;
} else {
return progressBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
public Builder setProgress(org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB value) {
if (progressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
progress_ = value;
} else {
progressBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
public Builder setProgress(
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.Builder builderForValue) {
if (progressBuilder_ == null) {
progress_ = builderForValue.build();
} else {
progressBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
public Builder mergeProgress(org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB value) {
if (progressBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
progress_ != null &&
progress_ != org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.getDefaultInstance()) {
getProgressBuilder().mergeFrom(value);
} else {
progress_ = value;
}
} else {
progressBuilder_.mergeFrom(value);
}
if (progress_ != null) {
bitField0_ |= 0x00000080;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
public Builder clearProgress() {
bitField0_ = (bitField0_ & ~0x00000080);
progress_ = null;
if (progressBuilder_ != null) {
progressBuilder_.dispose();
progressBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.Builder getProgressBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getProgressFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPBOrBuilder getProgressOrBuilder() {
if (progressBuilder_ != null) {
return progressBuilder_.getMessageOrBuilder();
} else {
return progress_ == null ?
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.getDefaultInstance() : progress_;
}
}
/**
* <code>optional .doris.cloud.RoutineLoadProgressPB progress = 8;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.Builder, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPBOrBuilder>
getProgressFieldBuilder() {
if (progressBuilder_ == null) {
progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPB.Builder, org.apache.doris.cloud.proto.Cloud.RoutineLoadProgressPBOrBuilder>(
getProgress(),
getParentForChildren(),
isClean());
progress_ = null;
}
return progressBuilder_;
}
private java.lang.Object errorLogUrl_ = "";
/**
* <code>optional string error_log_url = 9;</code>
* @return Whether the errorLogUrl field is set.
*/
public boolean hasErrorLogUrl() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string error_log_url = 9;</code>
* @return The errorLogUrl.
*/
public java.lang.String getErrorLogUrl() {
java.lang.Object ref = errorLogUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
errorLogUrl_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string error_log_url = 9;</code>
* @return The bytes for errorLogUrl.
*/
public com.google.protobuf.ByteString
getErrorLogUrlBytes() {
java.lang.Object ref = errorLogUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorLogUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string error_log_url = 9;</code>
* @param value The errorLogUrl to set.
* @return This builder for chaining.
*/
public Builder setErrorLogUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
errorLogUrl_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string error_log_url = 9;</code>
* @return This builder for chaining.
*/
public Builder clearErrorLogUrl() {
errorLogUrl_ = getDefaultInstance().getErrorLogUrl();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string error_log_url = 9;</code>
* @param value The bytes for errorLogUrl to set.
* @return This builder for chaining.
*/
public Builder setErrorLogUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
errorLogUrl_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RLTaskTxnCommitAttachmentPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RLTaskTxnCommitAttachmentPB)
private static final org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB();
}
public static org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RLTaskTxnCommitAttachmentPB>
PARSER = new com.google.protobuf.AbstractParser<RLTaskTxnCommitAttachmentPB>() {
@java.lang.Override
public RLTaskTxnCommitAttachmentPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RLTaskTxnCommitAttachmentPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RLTaskTxnCommitAttachmentPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RoutineLoadJobStatisticPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RoutineLoadJobStatisticPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 filtered_rows = 1;</code>
* @return Whether the filteredRows field is set.
*/
boolean hasFilteredRows();
/**
* <code>optional int64 filtered_rows = 1;</code>
* @return The filteredRows.
*/
long getFilteredRows();
/**
* <code>optional int64 loaded_rows = 2;</code>
* @return Whether the loadedRows field is set.
*/
boolean hasLoadedRows();
/**
* <code>optional int64 loaded_rows = 2;</code>
* @return The loadedRows.
*/
long getLoadedRows();
/**
* <code>optional int64 unselected_rows = 3;</code>
* @return Whether the unselectedRows field is set.
*/
boolean hasUnselectedRows();
/**
* <code>optional int64 unselected_rows = 3;</code>
* @return The unselectedRows.
*/
long getUnselectedRows();
/**
* <code>optional int64 received_bytes = 4;</code>
* @return Whether the receivedBytes field is set.
*/
boolean hasReceivedBytes();
/**
* <code>optional int64 received_bytes = 4;</code>
* @return The receivedBytes.
*/
long getReceivedBytes();
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @return Whether the taskExecutionTimeMs field is set.
*/
boolean hasTaskExecutionTimeMs();
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @return The taskExecutionTimeMs.
*/
long getTaskExecutionTimeMs();
}
/**
* Protobuf type {@code doris.cloud.RoutineLoadJobStatisticPB}
*/
public static final class RoutineLoadJobStatisticPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RoutineLoadJobStatisticPB)
RoutineLoadJobStatisticPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RoutineLoadJobStatisticPB.newBuilder() to construct.
private RoutineLoadJobStatisticPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RoutineLoadJobStatisticPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RoutineLoadJobStatisticPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadJobStatisticPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadJobStatisticPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.class, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.Builder.class);
}
private int bitField0_;
public static final int FILTERED_ROWS_FIELD_NUMBER = 1;
private long filteredRows_ = 0L;
/**
* <code>optional int64 filtered_rows = 1;</code>
* @return Whether the filteredRows field is set.
*/
@java.lang.Override
public boolean hasFilteredRows() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 filtered_rows = 1;</code>
* @return The filteredRows.
*/
@java.lang.Override
public long getFilteredRows() {
return filteredRows_;
}
public static final int LOADED_ROWS_FIELD_NUMBER = 2;
private long loadedRows_ = 0L;
/**
* <code>optional int64 loaded_rows = 2;</code>
* @return Whether the loadedRows field is set.
*/
@java.lang.Override
public boolean hasLoadedRows() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 loaded_rows = 2;</code>
* @return The loadedRows.
*/
@java.lang.Override
public long getLoadedRows() {
return loadedRows_;
}
public static final int UNSELECTED_ROWS_FIELD_NUMBER = 3;
private long unselectedRows_ = 0L;
/**
* <code>optional int64 unselected_rows = 3;</code>
* @return Whether the unselectedRows field is set.
*/
@java.lang.Override
public boolean hasUnselectedRows() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 unselected_rows = 3;</code>
* @return The unselectedRows.
*/
@java.lang.Override
public long getUnselectedRows() {
return unselectedRows_;
}
public static final int RECEIVED_BYTES_FIELD_NUMBER = 4;
private long receivedBytes_ = 0L;
/**
* <code>optional int64 received_bytes = 4;</code>
* @return Whether the receivedBytes field is set.
*/
@java.lang.Override
public boolean hasReceivedBytes() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 received_bytes = 4;</code>
* @return The receivedBytes.
*/
@java.lang.Override
public long getReceivedBytes() {
return receivedBytes_;
}
public static final int TASK_EXECUTION_TIME_MS_FIELD_NUMBER = 5;
private long taskExecutionTimeMs_ = 0L;
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @return Whether the taskExecutionTimeMs field is set.
*/
@java.lang.Override
public boolean hasTaskExecutionTimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @return The taskExecutionTimeMs.
*/
@java.lang.Override
public long getTaskExecutionTimeMs() {
return taskExecutionTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, filteredRows_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, loadedRows_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, unselectedRows_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, receivedBytes_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, taskExecutionTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, filteredRows_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, loadedRows_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, unselectedRows_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, receivedBytes_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, taskExecutionTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB other = (org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB) obj;
if (hasFilteredRows() != other.hasFilteredRows()) return false;
if (hasFilteredRows()) {
if (getFilteredRows()
!= other.getFilteredRows()) return false;
}
if (hasLoadedRows() != other.hasLoadedRows()) return false;
if (hasLoadedRows()) {
if (getLoadedRows()
!= other.getLoadedRows()) return false;
}
if (hasUnselectedRows() != other.hasUnselectedRows()) return false;
if (hasUnselectedRows()) {
if (getUnselectedRows()
!= other.getUnselectedRows()) return false;
}
if (hasReceivedBytes() != other.hasReceivedBytes()) return false;
if (hasReceivedBytes()) {
if (getReceivedBytes()
!= other.getReceivedBytes()) return false;
}
if (hasTaskExecutionTimeMs() != other.hasTaskExecutionTimeMs()) return false;
if (hasTaskExecutionTimeMs()) {
if (getTaskExecutionTimeMs()
!= other.getTaskExecutionTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasFilteredRows()) {
hash = (37 * hash) + FILTERED_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFilteredRows());
}
if (hasLoadedRows()) {
hash = (37 * hash) + LOADED_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLoadedRows());
}
if (hasUnselectedRows()) {
hash = (37 * hash) + UNSELECTED_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUnselectedRows());
}
if (hasReceivedBytes()) {
hash = (37 * hash) + RECEIVED_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReceivedBytes());
}
if (hasTaskExecutionTimeMs()) {
hash = (37 * hash) + TASK_EXECUTION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTaskExecutionTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RoutineLoadJobStatisticPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RoutineLoadJobStatisticPB)
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadJobStatisticPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadJobStatisticPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.class, org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
filteredRows_ = 0L;
loadedRows_ = 0L;
unselectedRows_ = 0L;
receivedBytes_ = 0L;
taskExecutionTimeMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RoutineLoadJobStatisticPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB build() {
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB result = new org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.filteredRows_ = filteredRows_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.loadedRows_ = loadedRows_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.unselectedRows_ = unselectedRows_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.receivedBytes_ = receivedBytes_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.taskExecutionTimeMs_ = taskExecutionTimeMs_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB.getDefaultInstance()) return this;
if (other.hasFilteredRows()) {
setFilteredRows(other.getFilteredRows());
}
if (other.hasLoadedRows()) {
setLoadedRows(other.getLoadedRows());
}
if (other.hasUnselectedRows()) {
setUnselectedRows(other.getUnselectedRows());
}
if (other.hasReceivedBytes()) {
setReceivedBytes(other.getReceivedBytes());
}
if (other.hasTaskExecutionTimeMs()) {
setTaskExecutionTimeMs(other.getTaskExecutionTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
filteredRows_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
loadedRows_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
unselectedRows_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
receivedBytes_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
taskExecutionTimeMs_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long filteredRows_ ;
/**
* <code>optional int64 filtered_rows = 1;</code>
* @return Whether the filteredRows field is set.
*/
@java.lang.Override
public boolean hasFilteredRows() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 filtered_rows = 1;</code>
* @return The filteredRows.
*/
@java.lang.Override
public long getFilteredRows() {
return filteredRows_;
}
/**
* <code>optional int64 filtered_rows = 1;</code>
* @param value The filteredRows to set.
* @return This builder for chaining.
*/
public Builder setFilteredRows(long value) {
filteredRows_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 filtered_rows = 1;</code>
* @return This builder for chaining.
*/
public Builder clearFilteredRows() {
bitField0_ = (bitField0_ & ~0x00000001);
filteredRows_ = 0L;
onChanged();
return this;
}
private long loadedRows_ ;
/**
* <code>optional int64 loaded_rows = 2;</code>
* @return Whether the loadedRows field is set.
*/
@java.lang.Override
public boolean hasLoadedRows() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 loaded_rows = 2;</code>
* @return The loadedRows.
*/
@java.lang.Override
public long getLoadedRows() {
return loadedRows_;
}
/**
* <code>optional int64 loaded_rows = 2;</code>
* @param value The loadedRows to set.
* @return This builder for chaining.
*/
public Builder setLoadedRows(long value) {
loadedRows_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 loaded_rows = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLoadedRows() {
bitField0_ = (bitField0_ & ~0x00000002);
loadedRows_ = 0L;
onChanged();
return this;
}
private long unselectedRows_ ;
/**
* <code>optional int64 unselected_rows = 3;</code>
* @return Whether the unselectedRows field is set.
*/
@java.lang.Override
public boolean hasUnselectedRows() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 unselected_rows = 3;</code>
* @return The unselectedRows.
*/
@java.lang.Override
public long getUnselectedRows() {
return unselectedRows_;
}
/**
* <code>optional int64 unselected_rows = 3;</code>
* @param value The unselectedRows to set.
* @return This builder for chaining.
*/
public Builder setUnselectedRows(long value) {
unselectedRows_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 unselected_rows = 3;</code>
* @return This builder for chaining.
*/
public Builder clearUnselectedRows() {
bitField0_ = (bitField0_ & ~0x00000004);
unselectedRows_ = 0L;
onChanged();
return this;
}
private long receivedBytes_ ;
/**
* <code>optional int64 received_bytes = 4;</code>
* @return Whether the receivedBytes field is set.
*/
@java.lang.Override
public boolean hasReceivedBytes() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 received_bytes = 4;</code>
* @return The receivedBytes.
*/
@java.lang.Override
public long getReceivedBytes() {
return receivedBytes_;
}
/**
* <code>optional int64 received_bytes = 4;</code>
* @param value The receivedBytes to set.
* @return This builder for chaining.
*/
public Builder setReceivedBytes(long value) {
receivedBytes_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 received_bytes = 4;</code>
* @return This builder for chaining.
*/
public Builder clearReceivedBytes() {
bitField0_ = (bitField0_ & ~0x00000008);
receivedBytes_ = 0L;
onChanged();
return this;
}
private long taskExecutionTimeMs_ ;
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @return Whether the taskExecutionTimeMs field is set.
*/
@java.lang.Override
public boolean hasTaskExecutionTimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @return The taskExecutionTimeMs.
*/
@java.lang.Override
public long getTaskExecutionTimeMs() {
return taskExecutionTimeMs_;
}
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @param value The taskExecutionTimeMs to set.
* @return This builder for chaining.
*/
public Builder setTaskExecutionTimeMs(long value) {
taskExecutionTimeMs_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 task_execution_time_ms = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTaskExecutionTimeMs() {
bitField0_ = (bitField0_ & ~0x00000010);
taskExecutionTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RoutineLoadJobStatisticPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RoutineLoadJobStatisticPB)
private static final org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB();
}
public static org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RoutineLoadJobStatisticPB>
PARSER = new com.google.protobuf.AbstractParser<RoutineLoadJobStatisticPB>() {
@java.lang.Override
public RoutineLoadJobStatisticPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RoutineLoadJobStatisticPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RoutineLoadJobStatisticPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RoutineLoadJobStatisticPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TxnCommitAttachmentPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnCommitAttachmentPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @return The type.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type getType();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
* @return Whether the loadJobFinalOperation field is set.
*/
boolean hasLoadJobFinalOperation();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
* @return The loadJobFinalOperation.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB getLoadJobFinalOperation();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPBOrBuilder getLoadJobFinalOperationOrBuilder();
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
* @return Whether the rlTaskTxnCommitAttachment field is set.
*/
boolean hasRlTaskTxnCommitAttachment();
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
* @return The rlTaskTxnCommitAttachment.
*/
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getRlTaskTxnCommitAttachment();
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder getRlTaskTxnCommitAttachmentOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB}
*/
public static final class TxnCommitAttachmentPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnCommitAttachmentPB)
TxnCommitAttachmentPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxnCommitAttachmentPB.newBuilder() to construct.
private TxnCommitAttachmentPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TxnCommitAttachmentPB() {
type_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxnCommitAttachmentPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.TxnCommitAttachmentPB.Type}
*/
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>LODD_JOB_FINAL_OPERATION = 0;</code>
*/
LODD_JOB_FINAL_OPERATION(0),
/**
* <code>RT_TASK_TXN_COMMIT_ATTACHMENT = 1;</code>
*/
RT_TASK_TXN_COMMIT_ATTACHMENT(1),
;
/**
* <code>LODD_JOB_FINAL_OPERATION = 0;</code>
*/
public static final int LODD_JOB_FINAL_OPERATION_VALUE = 0;
/**
* <code>RT_TASK_TXN_COMMIT_ATTACHMENT = 1;</code>
*/
public static final int RT_TASK_TXN_COMMIT_ATTACHMENT_VALUE = 1;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Type forNumber(int value) {
switch (value) {
case 0: return LODD_JOB_FINAL_OPERATION;
case 1: return RT_TASK_TXN_COMMIT_ATTACHMENT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Type>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Type>() {
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.TxnCommitAttachmentPB.Type)
}
public interface LoadJobFinalOperationPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <code>optional int64 id = 1;</code>
* @return The id.
*/
long getId();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
* @return Whether the loadingStatus field is set.
*/
boolean hasLoadingStatus();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
* @return The loadingStatus.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB getLoadingStatus();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPBOrBuilder getLoadingStatusOrBuilder();
/**
* <code>optional int32 progress = 3;</code>
* @return Whether the progress field is set.
*/
boolean hasProgress();
/**
* <code>optional int32 progress = 3;</code>
* @return The progress.
*/
int getProgress();
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @return Whether the loadStartTimestamp field is set.
*/
boolean hasLoadStartTimestamp();
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @return The loadStartTimestamp.
*/
long getLoadStartTimestamp();
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @return Whether the finishTimestamp field is set.
*/
boolean hasFinishTimestamp();
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @return The finishTimestamp.
*/
long getFinishTimestamp();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @return Whether the jobState field is set.
*/
boolean hasJobState();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @return The jobState.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB getJobState();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
* @return Whether the failMsg field is set.
*/
boolean hasFailMsg();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
* @return The failMsg.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB getFailMsg();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPBOrBuilder getFailMsgOrBuilder();
/**
* <code>optional string copy_id = 8;</code>
* @return Whether the copyId field is set.
*/
boolean hasCopyId();
/**
* <code>optional string copy_id = 8;</code>
* @return The copyId.
*/
java.lang.String getCopyId();
/**
* <code>optional string copy_id = 8;</code>
* @return The bytes for copyId.
*/
com.google.protobuf.ByteString
getCopyIdBytes();
/**
* <code>optional string load_file_paths = 9;</code>
* @return Whether the loadFilePaths field is set.
*/
boolean hasLoadFilePaths();
/**
* <code>optional string load_file_paths = 9;</code>
* @return The loadFilePaths.
*/
java.lang.String getLoadFilePaths();
/**
* <code>optional string load_file_paths = 9;</code>
* @return The bytes for loadFilePaths.
*/
com.google.protobuf.ByteString
getLoadFilePathsBytes();
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB}
*/
public static final class LoadJobFinalOperationPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB)
LoadJobFinalOperationPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use LoadJobFinalOperationPB.newBuilder() to construct.
private LoadJobFinalOperationPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private LoadJobFinalOperationPB() {
jobState_ = 0;
copyId_ = "";
loadFilePaths_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LoadJobFinalOperationPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB}
*/
public enum JobStatePB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>PENDING = 1;</code>
*/
PENDING(1),
/**
* <code>ETL = 2;</code>
*/
ETL(2),
/**
* <code>LOADING = 3;</code>
*/
LOADING(3),
/**
* <code>COMMITTED = 4;</code>
*/
COMMITTED(4),
/**
* <code>FINISHED = 5;</code>
*/
FINISHED(5),
/**
* <code>CANCELLED = 6;</code>
*/
CANCELLED(6),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>PENDING = 1;</code>
*/
public static final int PENDING_VALUE = 1;
/**
* <code>ETL = 2;</code>
*/
public static final int ETL_VALUE = 2;
/**
* <code>LOADING = 3;</code>
*/
public static final int LOADING_VALUE = 3;
/**
* <code>COMMITTED = 4;</code>
*/
public static final int COMMITTED_VALUE = 4;
/**
* <code>FINISHED = 5;</code>
*/
public static final int FINISHED_VALUE = 5;
/**
* <code>CANCELLED = 6;</code>
*/
public static final int CANCELLED_VALUE = 6;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static JobStatePB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static JobStatePB forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return PENDING;
case 2: return ETL;
case 3: return LOADING;
case 4: return COMMITTED;
case 5: return FINISHED;
case 6: return CANCELLED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<JobStatePB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
JobStatePB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<JobStatePB>() {
public JobStatePB findValueByNumber(int number) {
return JobStatePB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDescriptor().getEnumTypes().get(0);
}
private static final JobStatePB[] VALUES = values();
public static JobStatePB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private JobStatePB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB)
}
public interface EtlStatusPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @return Whether the state field is set.
*/
boolean hasState();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @return The state.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB getState();
/**
* <code>optional string tracking_url = 2;</code>
* @return Whether the trackingUrl field is set.
*/
boolean hasTrackingUrl();
/**
* <code>optional string tracking_url = 2;</code>
* @return The trackingUrl.
*/
java.lang.String getTrackingUrl();
/**
* <code>optional string tracking_url = 2;</code>
* @return The bytes for trackingUrl.
*/
com.google.protobuf.ByteString
getTrackingUrlBytes();
/**
* <code>map<string, string> stats = 3;</code>
*/
int getStatsCount();
/**
* <code>map<string, string> stats = 3;</code>
*/
boolean containsStats(
java.lang.String key);
/**
* Use {@link #getStatsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.String>
getStats();
/**
* <code>map<string, string> stats = 3;</code>
*/
java.util.Map<java.lang.String, java.lang.String>
getStatsMap();
/**
* <code>map<string, string> stats = 3;</code>
*/
/* nullable */
java.lang.String getStatsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
* <code>map<string, string> stats = 3;</code>
*/
java.lang.String getStatsOrThrow(
java.lang.String key);
/**
* <code>map<string, string> counters = 4;</code>
*/
int getCountersCount();
/**
* <code>map<string, string> counters = 4;</code>
*/
boolean containsCounters(
java.lang.String key);
/**
* Use {@link #getCountersMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.String, java.lang.String>
getCounters();
/**
* <code>map<string, string> counters = 4;</code>
*/
java.util.Map<java.lang.String, java.lang.String>
getCountersMap();
/**
* <code>map<string, string> counters = 4;</code>
*/
/* nullable */
java.lang.String getCountersOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
* <code>map<string, string> counters = 4;</code>
*/
java.lang.String getCountersOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB}
*/
public static final class EtlStatusPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB)
EtlStatusPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use EtlStatusPB.newBuilder() to construct.
private EtlStatusPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EtlStatusPB() {
state_ = 0;
trackingUrl_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EtlStatusPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetStats();
case 4:
return internalGetCounters();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB}
*/
public enum EtlStatePB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>RUNNING = 0;</code>
*/
RUNNING(0),
/**
* <code>FINISHED = 1;</code>
*/
FINISHED(1),
/**
* <code>CANCELLED = 2;</code>
*/
CANCELLED(2),
/**
* <code>UNKNOWN = 3;</code>
*/
UNKNOWN(3),
;
/**
* <code>RUNNING = 0;</code>
*/
public static final int RUNNING_VALUE = 0;
/**
* <code>FINISHED = 1;</code>
*/
public static final int FINISHED_VALUE = 1;
/**
* <code>CANCELLED = 2;</code>
*/
public static final int CANCELLED_VALUE = 2;
/**
* <code>UNKNOWN = 3;</code>
*/
public static final int UNKNOWN_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static EtlStatePB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static EtlStatePB forNumber(int value) {
switch (value) {
case 0: return RUNNING;
case 1: return FINISHED;
case 2: return CANCELLED;
case 3: return UNKNOWN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<EtlStatePB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
EtlStatePB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<EtlStatePB>() {
public EtlStatePB findValueByNumber(int number) {
return EtlStatePB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDescriptor().getEnumTypes().get(0);
}
private static final EtlStatePB[] VALUES = values();
public static EtlStatePB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private EtlStatePB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB)
}
private int bitField0_;
public static final int STATE_FIELD_NUMBER = 1;
private int state_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @return Whether the state field is set.
*/
@java.lang.Override public boolean hasState() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @return The state.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB getState() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB.forNumber(state_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB.RUNNING : result;
}
public static final int TRACKING_URL_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object trackingUrl_ = "";
/**
* <code>optional string tracking_url = 2;</code>
* @return Whether the trackingUrl field is set.
*/
@java.lang.Override
public boolean hasTrackingUrl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string tracking_url = 2;</code>
* @return The trackingUrl.
*/
@java.lang.Override
public java.lang.String getTrackingUrl() {
java.lang.Object ref = trackingUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
trackingUrl_ = s;
}
return s;
}
}
/**
* <code>optional string tracking_url = 2;</code>
* @return The bytes for trackingUrl.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTrackingUrlBytes() {
java.lang.Object ref = trackingUrl_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
trackingUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATS_FIELD_NUMBER = 3;
private static final class StatsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, java.lang.String>newDefaultInstance(
org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_StatsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> stats_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetStats() {
if (stats_ == null) {
return com.google.protobuf.MapField.emptyMapField(
StatsDefaultEntryHolder.defaultEntry);
}
return stats_;
}
public int getStatsCount() {
return internalGetStats().getMap().size();
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public boolean containsStats(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetStats().getMap().containsKey(key);
}
/**
* Use {@link #getStatsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getStats() {
return getStatsMap();
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getStatsMap() {
return internalGetStats().getMap();
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getStatsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetStats().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public java.lang.String getStatsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetStats().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int COUNTERS_FIELD_NUMBER = 4;
private static final class CountersDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.String, java.lang.String>newDefaultInstance(
org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_CountersEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> counters_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetCounters() {
if (counters_ == null) {
return com.google.protobuf.MapField.emptyMapField(
CountersDefaultEntryHolder.defaultEntry);
}
return counters_;
}
public int getCountersCount() {
return internalGetCounters().getMap().size();
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public boolean containsCounters(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetCounters().getMap().containsKey(key);
}
/**
* Use {@link #getCountersMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getCounters() {
return getCountersMap();
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getCountersMap() {
return internalGetCounters().getMap();
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getCountersOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetCounters().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public java.lang.String getCountersOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetCounters().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, state_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, trackingUrl_);
}
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetStats(),
StatsDefaultEntryHolder.defaultEntry,
3);
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetCounters(),
CountersDefaultEntryHolder.defaultEntry,
4);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, state_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, trackingUrl_);
}
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
: internalGetStats().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
stats__ = StatsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, stats__);
}
for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
: internalGetCounters().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
counters__ = CountersDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, counters__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB other = (org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB) obj;
if (hasState() != other.hasState()) return false;
if (hasState()) {
if (state_ != other.state_) return false;
}
if (hasTrackingUrl() != other.hasTrackingUrl()) return false;
if (hasTrackingUrl()) {
if (!getTrackingUrl()
.equals(other.getTrackingUrl())) return false;
}
if (!internalGetStats().equals(
other.internalGetStats())) return false;
if (!internalGetCounters().equals(
other.internalGetCounters())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
}
if (hasTrackingUrl()) {
hash = (37 * hash) + TRACKING_URL_FIELD_NUMBER;
hash = (53 * hash) + getTrackingUrl().hashCode();
}
if (!internalGetStats().getMap().isEmpty()) {
hash = (37 * hash) + STATS_FIELD_NUMBER;
hash = (53 * hash) + internalGetStats().hashCode();
}
if (!internalGetCounters().getMap().isEmpty()) {
hash = (37 * hash) + COUNTERS_FIELD_NUMBER;
hash = (53 * hash) + internalGetCounters().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB)
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 3:
return internalGetStats();
case 4:
return internalGetCounters();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 3:
return internalGetMutableStats();
case 4:
return internalGetMutableCounters();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
state_ = 0;
trackingUrl_ = "";
internalGetMutableStats().clear();
internalGetMutableCounters().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB build() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB result = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.state_ = state_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.trackingUrl_ = trackingUrl_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.stats_ = internalGetStats();
result.stats_.makeImmutable();
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.counters_ = internalGetCounters();
result.counters_.makeImmutable();
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDefaultInstance()) return this;
if (other.hasState()) {
setState(other.getState());
}
if (other.hasTrackingUrl()) {
trackingUrl_ = other.trackingUrl_;
bitField0_ |= 0x00000002;
onChanged();
}
internalGetMutableStats().mergeFrom(
other.internalGetStats());
bitField0_ |= 0x00000004;
internalGetMutableCounters().mergeFrom(
other.internalGetCounters());
bitField0_ |= 0x00000008;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
state_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
trackingUrl_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
stats__ = input.readMessage(
StatsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableStats().getMutableMap().put(
stats__.getKey(), stats__.getValue());
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
counters__ = input.readMessage(
CountersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableCounters().getMutableMap().put(
counters__.getKey(), counters__.getValue());
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int state_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @return Whether the state field is set.
*/
@java.lang.Override public boolean hasState() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @return The state.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB getState() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB.forNumber(state_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB.RUNNING : result;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
state_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.EtlStatePB state = 1;</code>
* @return This builder for chaining.
*/
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000001);
state_ = 0;
onChanged();
return this;
}
private java.lang.Object trackingUrl_ = "";
/**
* <code>optional string tracking_url = 2;</code>
* @return Whether the trackingUrl field is set.
*/
public boolean hasTrackingUrl() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string tracking_url = 2;</code>
* @return The trackingUrl.
*/
public java.lang.String getTrackingUrl() {
java.lang.Object ref = trackingUrl_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
trackingUrl_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string tracking_url = 2;</code>
* @return The bytes for trackingUrl.
*/
public com.google.protobuf.ByteString
getTrackingUrlBytes() {
java.lang.Object ref = trackingUrl_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
trackingUrl_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string tracking_url = 2;</code>
* @param value The trackingUrl to set.
* @return This builder for chaining.
*/
public Builder setTrackingUrl(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
trackingUrl_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string tracking_url = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTrackingUrl() {
trackingUrl_ = getDefaultInstance().getTrackingUrl();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string tracking_url = 2;</code>
* @param value The bytes for trackingUrl to set.
* @return This builder for chaining.
*/
public Builder setTrackingUrlBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
trackingUrl_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> stats_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetStats() {
if (stats_ == null) {
return com.google.protobuf.MapField.emptyMapField(
StatsDefaultEntryHolder.defaultEntry);
}
return stats_;
}
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableStats() {
if (stats_ == null) {
stats_ = com.google.protobuf.MapField.newMapField(
StatsDefaultEntryHolder.defaultEntry);
}
if (!stats_.isMutable()) {
stats_ = stats_.copy();
}
bitField0_ |= 0x00000004;
onChanged();
return stats_;
}
public int getStatsCount() {
return internalGetStats().getMap().size();
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public boolean containsStats(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetStats().getMap().containsKey(key);
}
/**
* Use {@link #getStatsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getStats() {
return getStatsMap();
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getStatsMap() {
return internalGetStats().getMap();
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getStatsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetStats().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> stats = 3;</code>
*/
@java.lang.Override
public java.lang.String getStatsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetStats().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearStats() {
bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableStats().getMutableMap()
.clear();
return this;
}
/**
* <code>map<string, string> stats = 3;</code>
*/
public Builder removeStats(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableStats().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String>
getMutableStats() {
bitField0_ |= 0x00000004;
return internalGetMutableStats().getMutableMap();
}
/**
* <code>map<string, string> stats = 3;</code>
*/
public Builder putStats(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableStats().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000004;
return this;
}
/**
* <code>map<string, string> stats = 3;</code>
*/
public Builder putAllStats(
java.util.Map<java.lang.String, java.lang.String> values) {
internalGetMutableStats().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000004;
return this;
}
private com.google.protobuf.MapField<
java.lang.String, java.lang.String> counters_;
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetCounters() {
if (counters_ == null) {
return com.google.protobuf.MapField.emptyMapField(
CountersDefaultEntryHolder.defaultEntry);
}
return counters_;
}
private com.google.protobuf.MapField<java.lang.String, java.lang.String>
internalGetMutableCounters() {
if (counters_ == null) {
counters_ = com.google.protobuf.MapField.newMapField(
CountersDefaultEntryHolder.defaultEntry);
}
if (!counters_.isMutable()) {
counters_ = counters_.copy();
}
bitField0_ |= 0x00000008;
onChanged();
return counters_;
}
public int getCountersCount() {
return internalGetCounters().getMap().size();
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public boolean containsCounters(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetCounters().getMap().containsKey(key);
}
/**
* Use {@link #getCountersMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String> getCounters() {
return getCountersMap();
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.String, java.lang.String> getCountersMap() {
return internalGetCounters().getMap();
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public /* nullable */
java.lang.String getCountersOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetCounters().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<string, string> counters = 4;</code>
*/
@java.lang.Override
public java.lang.String getCountersOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map<java.lang.String, java.lang.String> map =
internalGetCounters().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearCounters() {
bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableCounters().getMutableMap()
.clear();
return this;
}
/**
* <code>map<string, string> counters = 4;</code>
*/
public Builder removeCounters(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableCounters().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.String, java.lang.String>
getMutableCounters() {
bitField0_ |= 0x00000008;
return internalGetMutableCounters().getMutableMap();
}
/**
* <code>map<string, string> counters = 4;</code>
*/
public Builder putCounters(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableCounters().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>map<string, string> counters = 4;</code>
*/
public Builder putAllCounters(
java.util.Map<java.lang.String, java.lang.String> values) {
internalGetMutableCounters().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000008;
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<EtlStatusPB>
PARSER = new com.google.protobuf.AbstractParser<EtlStatusPB>() {
@java.lang.Override
public EtlStatusPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<EtlStatusPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EtlStatusPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FailMsgPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @return Whether the cancelType field is set.
*/
boolean hasCancelType();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @return The cancelType.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB getCancelType();
/**
* <code>optional string msg = 2;</code>
* @return Whether the msg field is set.
*/
boolean hasMsg();
/**
* <code>optional string msg = 2;</code>
* @return The msg.
*/
java.lang.String getMsg();
/**
* <code>optional string msg = 2;</code>
* @return The bytes for msg.
*/
com.google.protobuf.ByteString
getMsgBytes();
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB}
*/
public static final class FailMsgPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB)
FailMsgPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use FailMsgPB.newBuilder() to construct.
private FailMsgPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FailMsgPB() {
cancelType_ = 0;
msg_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FailMsgPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB}
*/
public enum CancelTypePB
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>USER_CANCEL = 0;</code>
*/
USER_CANCEL(0),
/**
* <code>ETL_SUBMIT_FAIL = 1;</code>
*/
ETL_SUBMIT_FAIL(1),
/**
* <code>ETL_RUN_FAIL = 2;</code>
*/
ETL_RUN_FAIL(2),
/**
* <code>ETL_QUALITY_UNSATISFIED = 3;</code>
*/
ETL_QUALITY_UNSATISFIED(3),
/**
* <code>LOAD_RUN_FAIL = 4;</code>
*/
LOAD_RUN_FAIL(4),
/**
* <code>TIMEOUT = 5;</code>
*/
TIMEOUT(5),
/**
* <code>UNKNOWN = 6;</code>
*/
UNKNOWN(6),
/**
* <code>TXN_UNKNOWN = 7;</code>
*/
TXN_UNKNOWN(7),
;
/**
* <code>USER_CANCEL = 0;</code>
*/
public static final int USER_CANCEL_VALUE = 0;
/**
* <code>ETL_SUBMIT_FAIL = 1;</code>
*/
public static final int ETL_SUBMIT_FAIL_VALUE = 1;
/**
* <code>ETL_RUN_FAIL = 2;</code>
*/
public static final int ETL_RUN_FAIL_VALUE = 2;
/**
* <code>ETL_QUALITY_UNSATISFIED = 3;</code>
*/
public static final int ETL_QUALITY_UNSATISFIED_VALUE = 3;
/**
* <code>LOAD_RUN_FAIL = 4;</code>
*/
public static final int LOAD_RUN_FAIL_VALUE = 4;
/**
* <code>TIMEOUT = 5;</code>
*/
public static final int TIMEOUT_VALUE = 5;
/**
* <code>UNKNOWN = 6;</code>
*/
public static final int UNKNOWN_VALUE = 6;
/**
* <code>TXN_UNKNOWN = 7;</code>
*/
public static final int TXN_UNKNOWN_VALUE = 7;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CancelTypePB valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static CancelTypePB forNumber(int value) {
switch (value) {
case 0: return USER_CANCEL;
case 1: return ETL_SUBMIT_FAIL;
case 2: return ETL_RUN_FAIL;
case 3: return ETL_QUALITY_UNSATISFIED;
case 4: return LOAD_RUN_FAIL;
case 5: return TIMEOUT;
case 6: return UNKNOWN;
case 7: return TXN_UNKNOWN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CancelTypePB>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CancelTypePB> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CancelTypePB>() {
public CancelTypePB findValueByNumber(int number) {
return CancelTypePB.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDescriptor().getEnumTypes().get(0);
}
private static final CancelTypePB[] VALUES = values();
public static CancelTypePB valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private CancelTypePB(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB)
}
private int bitField0_;
public static final int CANCEL_TYPE_FIELD_NUMBER = 1;
private int cancelType_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @return Whether the cancelType field is set.
*/
@java.lang.Override public boolean hasCancelType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @return The cancelType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB getCancelType() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB.forNumber(cancelType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB.USER_CANCEL : result;
}
public static final int MSG_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object msg_ = "";
/**
* <code>optional string msg = 2;</code>
* @return Whether the msg field is set.
*/
@java.lang.Override
public boolean hasMsg() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string msg = 2;</code>
* @return The msg.
*/
@java.lang.Override
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
msg_ = s;
}
return s;
}
}
/**
* <code>optional string msg = 2;</code>
* @return The bytes for msg.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, cancelType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, msg_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, cancelType_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, msg_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB other = (org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB) obj;
if (hasCancelType() != other.hasCancelType()) return false;
if (hasCancelType()) {
if (cancelType_ != other.cancelType_) return false;
}
if (hasMsg() != other.hasMsg()) return false;
if (hasMsg()) {
if (!getMsg()
.equals(other.getMsg())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCancelType()) {
hash = (37 * hash) + CANCEL_TYPE_FIELD_NUMBER;
hash = (53 * hash) + cancelType_;
}
if (hasMsg()) {
hash = (37 * hash) + MSG_FIELD_NUMBER;
hash = (53 * hash) + getMsg().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB)
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cancelType_ = 0;
msg_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB build() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB result = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cancelType_ = cancelType_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.msg_ = msg_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDefaultInstance()) return this;
if (other.hasCancelType()) {
setCancelType(other.getCancelType());
}
if (other.hasMsg()) {
msg_ = other.msg_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
cancelType_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
msg_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int cancelType_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @return Whether the cancelType field is set.
*/
@java.lang.Override public boolean hasCancelType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @return The cancelType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB getCancelType() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB.forNumber(cancelType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB.USER_CANCEL : result;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @param value The cancelType to set.
* @return This builder for chaining.
*/
public Builder setCancelType(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
cancelType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.CancelTypePB cancel_type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCancelType() {
bitField0_ = (bitField0_ & ~0x00000001);
cancelType_ = 0;
onChanged();
return this;
}
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 2;</code>
* @return Whether the msg field is set.
*/
public boolean hasMsg() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string msg = 2;</code>
* @return The msg.
*/
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
msg_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string msg = 2;</code>
* @return The bytes for msg.
*/
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string msg = 2;</code>
* @param value The msg to set.
* @return This builder for chaining.
*/
public Builder setMsg(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
msg_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string msg = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMsg() {
msg_ = getDefaultInstance().getMsg();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string msg = 2;</code>
* @param value The bytes for msg to set.
* @return This builder for chaining.
*/
public Builder setMsgBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
msg_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<FailMsgPB>
PARSER = new com.google.protobuf.AbstractParser<FailMsgPB>() {
@java.lang.Override
public FailMsgPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<FailMsgPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FailMsgPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
private long id_ = 0L;
/**
* <code>optional int64 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int LOADING_STATUS_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loadingStatus_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
* @return Whether the loadingStatus field is set.
*/
@java.lang.Override
public boolean hasLoadingStatus() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
* @return The loadingStatus.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB getLoadingStatus() {
return loadingStatus_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDefaultInstance() : loadingStatus_;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPBOrBuilder getLoadingStatusOrBuilder() {
return loadingStatus_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDefaultInstance() : loadingStatus_;
}
public static final int PROGRESS_FIELD_NUMBER = 3;
private int progress_ = 0;
/**
* <code>optional int32 progress = 3;</code>
* @return Whether the progress field is set.
*/
@java.lang.Override
public boolean hasProgress() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int32 progress = 3;</code>
* @return The progress.
*/
@java.lang.Override
public int getProgress() {
return progress_;
}
public static final int LOAD_START_TIMESTAMP_FIELD_NUMBER = 4;
private long loadStartTimestamp_ = 0L;
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @return Whether the loadStartTimestamp field is set.
*/
@java.lang.Override
public boolean hasLoadStartTimestamp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @return The loadStartTimestamp.
*/
@java.lang.Override
public long getLoadStartTimestamp() {
return loadStartTimestamp_;
}
public static final int FINISH_TIMESTAMP_FIELD_NUMBER = 5;
private long finishTimestamp_ = 0L;
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @return Whether the finishTimestamp field is set.
*/
@java.lang.Override
public boolean hasFinishTimestamp() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @return The finishTimestamp.
*/
@java.lang.Override
public long getFinishTimestamp() {
return finishTimestamp_;
}
public static final int JOB_STATE_FIELD_NUMBER = 6;
private int jobState_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @return Whether the jobState field is set.
*/
@java.lang.Override public boolean hasJobState() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @return The jobState.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB getJobState() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB.forNumber(jobState_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB.UNKNOWN : result;
}
public static final int FAIL_MSG_FIELD_NUMBER = 7;
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB failMsg_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
* @return Whether the failMsg field is set.
*/
@java.lang.Override
public boolean hasFailMsg() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
* @return The failMsg.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB getFailMsg() {
return failMsg_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDefaultInstance() : failMsg_;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPBOrBuilder getFailMsgOrBuilder() {
return failMsg_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDefaultInstance() : failMsg_;
}
public static final int COPY_ID_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 8;</code>
* @return Whether the copyId field is set.
*/
@java.lang.Override
public boolean hasCopyId() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string copy_id = 8;</code>
* @return The copyId.
*/
@java.lang.Override
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
}
}
/**
* <code>optional string copy_id = 8;</code>
* @return The bytes for copyId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LOAD_FILE_PATHS_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object loadFilePaths_ = "";
/**
* <code>optional string load_file_paths = 9;</code>
* @return Whether the loadFilePaths field is set.
*/
@java.lang.Override
public boolean hasLoadFilePaths() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string load_file_paths = 9;</code>
* @return The loadFilePaths.
*/
@java.lang.Override
public java.lang.String getLoadFilePaths() {
java.lang.Object ref = loadFilePaths_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
loadFilePaths_ = s;
}
return s;
}
}
/**
* <code>optional string load_file_paths = 9;</code>
* @return The bytes for loadFilePaths.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLoadFilePathsBytes() {
java.lang.Object ref = loadFilePaths_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loadFilePaths_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getLoadingStatus());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, progress_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, loadStartTimestamp_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, finishTimestamp_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeEnum(6, jobState_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(7, getFailMsg());
}
if (((bitField0_ & 0x00000080) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, copyId_);
}
if (((bitField0_ & 0x00000100) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, loadFilePaths_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLoadingStatus());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, progress_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, loadStartTimestamp_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, finishTimestamp_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, jobState_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getFailMsg());
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, copyId_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, loadFilePaths_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB other = (org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasLoadingStatus() != other.hasLoadingStatus()) return false;
if (hasLoadingStatus()) {
if (!getLoadingStatus()
.equals(other.getLoadingStatus())) return false;
}
if (hasProgress() != other.hasProgress()) return false;
if (hasProgress()) {
if (getProgress()
!= other.getProgress()) return false;
}
if (hasLoadStartTimestamp() != other.hasLoadStartTimestamp()) return false;
if (hasLoadStartTimestamp()) {
if (getLoadStartTimestamp()
!= other.getLoadStartTimestamp()) return false;
}
if (hasFinishTimestamp() != other.hasFinishTimestamp()) return false;
if (hasFinishTimestamp()) {
if (getFinishTimestamp()
!= other.getFinishTimestamp()) return false;
}
if (hasJobState() != other.hasJobState()) return false;
if (hasJobState()) {
if (jobState_ != other.jobState_) return false;
}
if (hasFailMsg() != other.hasFailMsg()) return false;
if (hasFailMsg()) {
if (!getFailMsg()
.equals(other.getFailMsg())) return false;
}
if (hasCopyId() != other.hasCopyId()) return false;
if (hasCopyId()) {
if (!getCopyId()
.equals(other.getCopyId())) return false;
}
if (hasLoadFilePaths() != other.hasLoadFilePaths()) return false;
if (hasLoadFilePaths()) {
if (!getLoadFilePaths()
.equals(other.getLoadFilePaths())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
}
if (hasLoadingStatus()) {
hash = (37 * hash) + LOADING_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getLoadingStatus().hashCode();
}
if (hasProgress()) {
hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
hash = (53 * hash) + getProgress();
}
if (hasLoadStartTimestamp()) {
hash = (37 * hash) + LOAD_START_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLoadStartTimestamp());
}
if (hasFinishTimestamp()) {
hash = (37 * hash) + FINISH_TIMESTAMP_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFinishTimestamp());
}
if (hasJobState()) {
hash = (37 * hash) + JOB_STATE_FIELD_NUMBER;
hash = (53 * hash) + jobState_;
}
if (hasFailMsg()) {
hash = (37 * hash) + FAIL_MSG_FIELD_NUMBER;
hash = (53 * hash) + getFailMsg().hashCode();
}
if (hasCopyId()) {
hash = (37 * hash) + COPY_ID_FIELD_NUMBER;
hash = (53 * hash) + getCopyId().hashCode();
}
if (hasLoadFilePaths()) {
hash = (37 * hash) + LOAD_FILE_PATHS_FIELD_NUMBER;
hash = (53 * hash) + getLoadFilePaths().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB)
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLoadingStatusFieldBuilder();
getFailMsgFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = 0L;
loadingStatus_ = null;
if (loadingStatusBuilder_ != null) {
loadingStatusBuilder_.dispose();
loadingStatusBuilder_ = null;
}
progress_ = 0;
loadStartTimestamp_ = 0L;
finishTimestamp_ = 0L;
jobState_ = 0;
failMsg_ = null;
if (failMsgBuilder_ != null) {
failMsgBuilder_.dispose();
failMsgBuilder_ = null;
}
copyId_ = "";
loadFilePaths_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB build() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB result = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.loadingStatus_ = loadingStatusBuilder_ == null
? loadingStatus_
: loadingStatusBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.progress_ = progress_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.loadStartTimestamp_ = loadStartTimestamp_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.finishTimestamp_ = finishTimestamp_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.jobState_ = jobState_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.failMsg_ = failMsgBuilder_ == null
? failMsg_
: failMsgBuilder_.build();
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.copyId_ = copyId_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.loadFilePaths_ = loadFilePaths_;
to_bitField0_ |= 0x00000100;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDefaultInstance()) return this;
if (other.hasId()) {
setId(other.getId());
}
if (other.hasLoadingStatus()) {
mergeLoadingStatus(other.getLoadingStatus());
}
if (other.hasProgress()) {
setProgress(other.getProgress());
}
if (other.hasLoadStartTimestamp()) {
setLoadStartTimestamp(other.getLoadStartTimestamp());
}
if (other.hasFinishTimestamp()) {
setFinishTimestamp(other.getFinishTimestamp());
}
if (other.hasJobState()) {
setJobState(other.getJobState());
}
if (other.hasFailMsg()) {
mergeFailMsg(other.getFailMsg());
}
if (other.hasCopyId()) {
copyId_ = other.copyId_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasLoadFilePaths()) {
loadFilePaths_ = other.loadFilePaths_;
bitField0_ |= 0x00000100;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
id_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
input.readMessage(
getLoadingStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
progress_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
loadStartTimestamp_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
finishTimestamp_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(6, tmpRaw);
} else {
jobState_ = tmpRaw;
bitField0_ |= 0x00000020;
}
break;
} // case 48
case 58: {
input.readMessage(
getFailMsgFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
copyId_ = input.readBytes();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
loadFilePaths_ = input.readBytes();
bitField0_ |= 0x00000100;
break;
} // case 74
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long id_ ;
/**
* <code>optional int64 id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 id = 1;</code>
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* <code>optional int64 id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000001);
id_ = 0L;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loadingStatus_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPBOrBuilder> loadingStatusBuilder_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
* @return Whether the loadingStatus field is set.
*/
public boolean hasLoadingStatus() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
* @return The loadingStatus.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB getLoadingStatus() {
if (loadingStatusBuilder_ == null) {
return loadingStatus_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDefaultInstance() : loadingStatus_;
} else {
return loadingStatusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
public Builder setLoadingStatus(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB value) {
if (loadingStatusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
loadingStatus_ = value;
} else {
loadingStatusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
public Builder setLoadingStatus(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.Builder builderForValue) {
if (loadingStatusBuilder_ == null) {
loadingStatus_ = builderForValue.build();
} else {
loadingStatusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
public Builder mergeLoadingStatus(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB value) {
if (loadingStatusBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
loadingStatus_ != null &&
loadingStatus_ != org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDefaultInstance()) {
getLoadingStatusBuilder().mergeFrom(value);
} else {
loadingStatus_ = value;
}
} else {
loadingStatusBuilder_.mergeFrom(value);
}
if (loadingStatus_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
public Builder clearLoadingStatus() {
bitField0_ = (bitField0_ & ~0x00000002);
loadingStatus_ = null;
if (loadingStatusBuilder_ != null) {
loadingStatusBuilder_.dispose();
loadingStatusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.Builder getLoadingStatusBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getLoadingStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPBOrBuilder getLoadingStatusOrBuilder() {
if (loadingStatusBuilder_ != null) {
return loadingStatusBuilder_.getMessageOrBuilder();
} else {
return loadingStatus_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.getDefaultInstance() : loadingStatus_;
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB loading_status = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPBOrBuilder>
getLoadingStatusFieldBuilder() {
if (loadingStatusBuilder_ == null) {
loadingStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.EtlStatusPBOrBuilder>(
getLoadingStatus(),
getParentForChildren(),
isClean());
loadingStatus_ = null;
}
return loadingStatusBuilder_;
}
private int progress_ ;
/**
* <code>optional int32 progress = 3;</code>
* @return Whether the progress field is set.
*/
@java.lang.Override
public boolean hasProgress() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int32 progress = 3;</code>
* @return The progress.
*/
@java.lang.Override
public int getProgress() {
return progress_;
}
/**
* <code>optional int32 progress = 3;</code>
* @param value The progress to set.
* @return This builder for chaining.
*/
public Builder setProgress(int value) {
progress_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int32 progress = 3;</code>
* @return This builder for chaining.
*/
public Builder clearProgress() {
bitField0_ = (bitField0_ & ~0x00000004);
progress_ = 0;
onChanged();
return this;
}
private long loadStartTimestamp_ ;
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @return Whether the loadStartTimestamp field is set.
*/
@java.lang.Override
public boolean hasLoadStartTimestamp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @return The loadStartTimestamp.
*/
@java.lang.Override
public long getLoadStartTimestamp() {
return loadStartTimestamp_;
}
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @param value The loadStartTimestamp to set.
* @return This builder for chaining.
*/
public Builder setLoadStartTimestamp(long value) {
loadStartTimestamp_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 load_start_timestamp = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLoadStartTimestamp() {
bitField0_ = (bitField0_ & ~0x00000008);
loadStartTimestamp_ = 0L;
onChanged();
return this;
}
private long finishTimestamp_ ;
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @return Whether the finishTimestamp field is set.
*/
@java.lang.Override
public boolean hasFinishTimestamp() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @return The finishTimestamp.
*/
@java.lang.Override
public long getFinishTimestamp() {
return finishTimestamp_;
}
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @param value The finishTimestamp to set.
* @return This builder for chaining.
*/
public Builder setFinishTimestamp(long value) {
finishTimestamp_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 finish_timestamp = 5;</code>
* @return This builder for chaining.
*/
public Builder clearFinishTimestamp() {
bitField0_ = (bitField0_ & ~0x00000010);
finishTimestamp_ = 0L;
onChanged();
return this;
}
private int jobState_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @return Whether the jobState field is set.
*/
@java.lang.Override public boolean hasJobState() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @return The jobState.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB getJobState() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB.forNumber(jobState_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @param value The jobState to set.
* @return This builder for chaining.
*/
public Builder setJobState(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
jobState_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.JobStatePB job_state = 6;</code>
* @return This builder for chaining.
*/
public Builder clearJobState() {
bitField0_ = (bitField0_ & ~0x00000020);
jobState_ = 0;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB failMsg_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPBOrBuilder> failMsgBuilder_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
* @return Whether the failMsg field is set.
*/
public boolean hasFailMsg() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
* @return The failMsg.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB getFailMsg() {
if (failMsgBuilder_ == null) {
return failMsg_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDefaultInstance() : failMsg_;
} else {
return failMsgBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
public Builder setFailMsg(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB value) {
if (failMsgBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
failMsg_ = value;
} else {
failMsgBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
public Builder setFailMsg(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.Builder builderForValue) {
if (failMsgBuilder_ == null) {
failMsg_ = builderForValue.build();
} else {
failMsgBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
public Builder mergeFailMsg(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB value) {
if (failMsgBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
failMsg_ != null &&
failMsg_ != org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDefaultInstance()) {
getFailMsgBuilder().mergeFrom(value);
} else {
failMsg_ = value;
}
} else {
failMsgBuilder_.mergeFrom(value);
}
if (failMsg_ != null) {
bitField0_ |= 0x00000040;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
public Builder clearFailMsg() {
bitField0_ = (bitField0_ & ~0x00000040);
failMsg_ = null;
if (failMsgBuilder_ != null) {
failMsgBuilder_.dispose();
failMsgBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.Builder getFailMsgBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getFailMsgFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPBOrBuilder getFailMsgOrBuilder() {
if (failMsgBuilder_ != null) {
return failMsgBuilder_.getMessageOrBuilder();
} else {
return failMsg_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.getDefaultInstance() : failMsg_;
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB fail_msg = 7;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPBOrBuilder>
getFailMsgFieldBuilder() {
if (failMsgBuilder_ == null) {
failMsgBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.FailMsgPBOrBuilder>(
getFailMsg(),
getParentForChildren(),
isClean());
failMsg_ = null;
}
return failMsgBuilder_;
}
private java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 8;</code>
* @return Whether the copyId field is set.
*/
public boolean hasCopyId() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional string copy_id = 8;</code>
* @return The copyId.
*/
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string copy_id = 8;</code>
* @return The bytes for copyId.
*/
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string copy_id = 8;</code>
* @param value The copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional string copy_id = 8;</code>
* @return This builder for chaining.
*/
public Builder clearCopyId() {
copyId_ = getDefaultInstance().getCopyId();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* <code>optional string copy_id = 8;</code>
* @param value The bytes for copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object loadFilePaths_ = "";
/**
* <code>optional string load_file_paths = 9;</code>
* @return Whether the loadFilePaths field is set.
*/
public boolean hasLoadFilePaths() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional string load_file_paths = 9;</code>
* @return The loadFilePaths.
*/
public java.lang.String getLoadFilePaths() {
java.lang.Object ref = loadFilePaths_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
loadFilePaths_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string load_file_paths = 9;</code>
* @return The bytes for loadFilePaths.
*/
public com.google.protobuf.ByteString
getLoadFilePathsBytes() {
java.lang.Object ref = loadFilePaths_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loadFilePaths_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string load_file_paths = 9;</code>
* @param value The loadFilePaths to set.
* @return This builder for chaining.
*/
public Builder setLoadFilePaths(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
loadFilePaths_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional string load_file_paths = 9;</code>
* @return This builder for chaining.
*/
public Builder clearLoadFilePaths() {
loadFilePaths_ = getDefaultInstance().getLoadFilePaths();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* <code>optional string load_file_paths = 9;</code>
* @param value The bytes for loadFilePaths to set.
* @return This builder for chaining.
*/
public Builder setLoadFilePathsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
loadFilePaths_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<LoadJobFinalOperationPB>
PARSER = new com.google.protobuf.AbstractParser<LoadJobFinalOperationPB>() {
@java.lang.Override
public LoadJobFinalOperationPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<LoadJobFinalOperationPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<LoadJobFinalOperationPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private int type_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @return The type.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type getType() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type.LODD_JOB_FINAL_OPERATION : result;
}
public static final int LOAD_JOB_FINAL_OPERATION_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB loadJobFinalOperation_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
* @return Whether the loadJobFinalOperation field is set.
*/
@java.lang.Override
public boolean hasLoadJobFinalOperation() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
* @return The loadJobFinalOperation.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB getLoadJobFinalOperation() {
return loadJobFinalOperation_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDefaultInstance() : loadJobFinalOperation_;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPBOrBuilder getLoadJobFinalOperationOrBuilder() {
return loadJobFinalOperation_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDefaultInstance() : loadJobFinalOperation_;
}
public static final int RL_TASK_TXN_COMMIT_ATTACHMENT_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB rlTaskTxnCommitAttachment_;
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
* @return Whether the rlTaskTxnCommitAttachment field is set.
*/
@java.lang.Override
public boolean hasRlTaskTxnCommitAttachment() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
* @return The rlTaskTxnCommitAttachment.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getRlTaskTxnCommitAttachment() {
return rlTaskTxnCommitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : rlTaskTxnCommitAttachment_;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder getRlTaskTxnCommitAttachmentOrBuilder() {
return rlTaskTxnCommitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : rlTaskTxnCommitAttachment_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, type_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getLoadJobFinalOperation());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getRlTaskTxnCommitAttachment());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, type_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLoadJobFinalOperation());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRlTaskTxnCommitAttachment());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB other = (org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB) obj;
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasLoadJobFinalOperation() != other.hasLoadJobFinalOperation()) return false;
if (hasLoadJobFinalOperation()) {
if (!getLoadJobFinalOperation()
.equals(other.getLoadJobFinalOperation())) return false;
}
if (hasRlTaskTxnCommitAttachment() != other.hasRlTaskTxnCommitAttachment()) return false;
if (hasRlTaskTxnCommitAttachment()) {
if (!getRlTaskTxnCommitAttachment()
.equals(other.getRlTaskTxnCommitAttachment())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasLoadJobFinalOperation()) {
hash = (37 * hash) + LOAD_JOB_FINAL_OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getLoadJobFinalOperation().hashCode();
}
if (hasRlTaskTxnCommitAttachment()) {
hash = (37 * hash) + RL_TASK_TXN_COMMIT_ATTACHMENT_FIELD_NUMBER;
hash = (53 * hash) + getRlTaskTxnCommitAttachment().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TxnCommitAttachmentPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnCommitAttachmentPB)
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.class, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLoadJobFinalOperationFieldBuilder();
getRlTaskTxnCommitAttachmentFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
type_ = 0;
loadJobFinalOperation_ = null;
if (loadJobFinalOperationBuilder_ != null) {
loadJobFinalOperationBuilder_.dispose();
loadJobFinalOperationBuilder_ = null;
}
rlTaskTxnCommitAttachment_ = null;
if (rlTaskTxnCommitAttachmentBuilder_ != null) {
rlTaskTxnCommitAttachmentBuilder_.dispose();
rlTaskTxnCommitAttachmentBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnCommitAttachmentPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB build() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB result = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.loadJobFinalOperation_ = loadJobFinalOperationBuilder_ == null
? loadJobFinalOperation_
: loadJobFinalOperationBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.rlTaskTxnCommitAttachment_ = rlTaskTxnCommitAttachmentBuilder_ == null
? rlTaskTxnCommitAttachment_
: rlTaskTxnCommitAttachmentBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance()) return this;
if (other.hasType()) {
setType(other.getType());
}
if (other.hasLoadJobFinalOperation()) {
mergeLoadJobFinalOperation(other.getLoadJobFinalOperation());
}
if (other.hasRlTaskTxnCommitAttachment()) {
mergeRlTaskTxnCommitAttachment(other.getRlTaskTxnCommitAttachment());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
type_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
input.readMessage(
getLoadJobFinalOperationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getRlTaskTxnCommitAttachmentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int type_ = 0;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @return The type.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type getType() {
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type result = org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type.LODD_JOB_FINAL_OPERATION : result;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.Type type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB loadJobFinalOperation_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPBOrBuilder> loadJobFinalOperationBuilder_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
* @return Whether the loadJobFinalOperation field is set.
*/
public boolean hasLoadJobFinalOperation() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
* @return The loadJobFinalOperation.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB getLoadJobFinalOperation() {
if (loadJobFinalOperationBuilder_ == null) {
return loadJobFinalOperation_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDefaultInstance() : loadJobFinalOperation_;
} else {
return loadJobFinalOperationBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
public Builder setLoadJobFinalOperation(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB value) {
if (loadJobFinalOperationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
loadJobFinalOperation_ = value;
} else {
loadJobFinalOperationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
public Builder setLoadJobFinalOperation(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.Builder builderForValue) {
if (loadJobFinalOperationBuilder_ == null) {
loadJobFinalOperation_ = builderForValue.build();
} else {
loadJobFinalOperationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
public Builder mergeLoadJobFinalOperation(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB value) {
if (loadJobFinalOperationBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
loadJobFinalOperation_ != null &&
loadJobFinalOperation_ != org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDefaultInstance()) {
getLoadJobFinalOperationBuilder().mergeFrom(value);
} else {
loadJobFinalOperation_ = value;
}
} else {
loadJobFinalOperationBuilder_.mergeFrom(value);
}
if (loadJobFinalOperation_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
public Builder clearLoadJobFinalOperation() {
bitField0_ = (bitField0_ & ~0x00000002);
loadJobFinalOperation_ = null;
if (loadJobFinalOperationBuilder_ != null) {
loadJobFinalOperationBuilder_.dispose();
loadJobFinalOperationBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.Builder getLoadJobFinalOperationBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getLoadJobFinalOperationFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPBOrBuilder getLoadJobFinalOperationOrBuilder() {
if (loadJobFinalOperationBuilder_ != null) {
return loadJobFinalOperationBuilder_.getMessageOrBuilder();
} else {
return loadJobFinalOperation_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.getDefaultInstance() : loadJobFinalOperation_;
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB load_job_final_operation = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPBOrBuilder>
getLoadJobFinalOperationFieldBuilder() {
if (loadJobFinalOperationBuilder_ == null) {
loadJobFinalOperationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.LoadJobFinalOperationPBOrBuilder>(
getLoadJobFinalOperation(),
getParentForChildren(),
isClean());
loadJobFinalOperation_ = null;
}
return loadJobFinalOperationBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB rlTaskTxnCommitAttachment_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder> rlTaskTxnCommitAttachmentBuilder_;
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
* @return Whether the rlTaskTxnCommitAttachment field is set.
*/
public boolean hasRlTaskTxnCommitAttachment() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
* @return The rlTaskTxnCommitAttachment.
*/
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getRlTaskTxnCommitAttachment() {
if (rlTaskTxnCommitAttachmentBuilder_ == null) {
return rlTaskTxnCommitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : rlTaskTxnCommitAttachment_;
} else {
return rlTaskTxnCommitAttachmentBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
public Builder setRlTaskTxnCommitAttachment(org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB value) {
if (rlTaskTxnCommitAttachmentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
rlTaskTxnCommitAttachment_ = value;
} else {
rlTaskTxnCommitAttachmentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
public Builder setRlTaskTxnCommitAttachment(
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder builderForValue) {
if (rlTaskTxnCommitAttachmentBuilder_ == null) {
rlTaskTxnCommitAttachment_ = builderForValue.build();
} else {
rlTaskTxnCommitAttachmentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
public Builder mergeRlTaskTxnCommitAttachment(org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB value) {
if (rlTaskTxnCommitAttachmentBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
rlTaskTxnCommitAttachment_ != null &&
rlTaskTxnCommitAttachment_ != org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance()) {
getRlTaskTxnCommitAttachmentBuilder().mergeFrom(value);
} else {
rlTaskTxnCommitAttachment_ = value;
}
} else {
rlTaskTxnCommitAttachmentBuilder_.mergeFrom(value);
}
if (rlTaskTxnCommitAttachment_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
public Builder clearRlTaskTxnCommitAttachment() {
bitField0_ = (bitField0_ & ~0x00000004);
rlTaskTxnCommitAttachment_ = null;
if (rlTaskTxnCommitAttachmentBuilder_ != null) {
rlTaskTxnCommitAttachmentBuilder_.dispose();
rlTaskTxnCommitAttachmentBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder getRlTaskTxnCommitAttachmentBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getRlTaskTxnCommitAttachmentFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder getRlTaskTxnCommitAttachmentOrBuilder() {
if (rlTaskTxnCommitAttachmentBuilder_ != null) {
return rlTaskTxnCommitAttachmentBuilder_.getMessageOrBuilder();
} else {
return rlTaskTxnCommitAttachment_ == null ?
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : rlTaskTxnCommitAttachment_;
}
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB rl_task_txn_commit_attachment = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder>
getRlTaskTxnCommitAttachmentFieldBuilder() {
if (rlTaskTxnCommitAttachmentBuilder_ == null) {
rlTaskTxnCommitAttachmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder>(
getRlTaskTxnCommitAttachment(),
getParentForChildren(),
isClean());
rlTaskTxnCommitAttachment_ = null;
}
return rlTaskTxnCommitAttachmentBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnCommitAttachmentPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnCommitAttachmentPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TxnCommitAttachmentPB>
PARSER = new com.google.protobuf.AbstractParser<TxnCommitAttachmentPB>() {
@java.lang.Override
public TxnCommitAttachmentPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TxnCommitAttachmentPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TxnCommitAttachmentPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TxnLabelPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnLabelPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated int64 txn_ids = 1;</code>
* @return A list containing the txnIds.
*/
java.util.List<java.lang.Long> getTxnIdsList();
/**
* <code>repeated int64 txn_ids = 1;</code>
* @return The count of txnIds.
*/
int getTxnIdsCount();
/**
* <code>repeated int64 txn_ids = 1;</code>
* @param index The index of the element to return.
* @return The txnIds at the given index.
*/
long getTxnIds(int index);
}
/**
* <pre>
* For storing label -> txn_ids
* </pre>
*
* Protobuf type {@code doris.cloud.TxnLabelPB}
*/
public static final class TxnLabelPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnLabelPB)
TxnLabelPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxnLabelPB.newBuilder() to construct.
private TxnLabelPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TxnLabelPB() {
txnIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxnLabelPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnLabelPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnLabelPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnLabelPB.class, org.apache.doris.cloud.proto.Cloud.TxnLabelPB.Builder.class);
}
public static final int TXN_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList txnIds_ =
emptyLongList();
/**
* <code>repeated int64 txn_ids = 1;</code>
* @return A list containing the txnIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTxnIdsList() {
return txnIds_;
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @return The count of txnIds.
*/
public int getTxnIdsCount() {
return txnIds_.size();
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @param index The index of the element to return.
* @return The txnIds at the given index.
*/
public long getTxnIds(int index) {
return txnIds_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < txnIds_.size(); i++) {
output.writeInt64(1, txnIds_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < txnIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(txnIds_.getLong(i));
}
size += dataSize;
size += 1 * getTxnIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnLabelPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnLabelPB other = (org.apache.doris.cloud.proto.Cloud.TxnLabelPB) obj;
if (!getTxnIdsList()
.equals(other.getTxnIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTxnIdsCount() > 0) {
hash = (37 * hash) + TXN_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTxnIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnLabelPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* For storing label -> txn_ids
* </pre>
*
* Protobuf type {@code doris.cloud.TxnLabelPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnLabelPB)
org.apache.doris.cloud.proto.Cloud.TxnLabelPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnLabelPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnLabelPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnLabelPB.class, org.apache.doris.cloud.proto.Cloud.TxnLabelPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnLabelPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
txnIds_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnLabelPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnLabelPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnLabelPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnLabelPB build() {
org.apache.doris.cloud.proto.Cloud.TxnLabelPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnLabelPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnLabelPB result = new org.apache.doris.cloud.proto.Cloud.TxnLabelPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnLabelPB result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
txnIds_.makeImmutable();
result.txnIds_ = txnIds_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnLabelPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnLabelPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnLabelPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnLabelPB.getDefaultInstance()) return this;
if (!other.txnIds_.isEmpty()) {
if (txnIds_.isEmpty()) {
txnIds_ = other.txnIds_;
txnIds_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureTxnIdsIsMutable();
txnIds_.addAll(other.txnIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
long v = input.readInt64();
ensureTxnIdsIsMutable();
txnIds_.addLong(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTxnIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
txnIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.LongList txnIds_ = emptyLongList();
private void ensureTxnIdsIsMutable() {
if (!txnIds_.isModifiable()) {
txnIds_ = makeMutableCopy(txnIds_);
}
bitField0_ |= 0x00000001;
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @return A list containing the txnIds.
*/
public java.util.List<java.lang.Long>
getTxnIdsList() {
txnIds_.makeImmutable();
return txnIds_;
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @return The count of txnIds.
*/
public int getTxnIdsCount() {
return txnIds_.size();
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @param index The index of the element to return.
* @return The txnIds at the given index.
*/
public long getTxnIds(int index) {
return txnIds_.getLong(index);
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @param index The index to set the value at.
* @param value The txnIds to set.
* @return This builder for chaining.
*/
public Builder setTxnIds(
int index, long value) {
ensureTxnIdsIsMutable();
txnIds_.setLong(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @param value The txnIds to add.
* @return This builder for chaining.
*/
public Builder addTxnIds(long value) {
ensureTxnIdsIsMutable();
txnIds_.addLong(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @param values The txnIds to add.
* @return This builder for chaining.
*/
public Builder addAllTxnIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTxnIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, txnIds_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_ids = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTxnIds() {
txnIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnLabelPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnLabelPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnLabelPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnLabelPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnLabelPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TxnLabelPB>
PARSER = new com.google.protobuf.AbstractParser<TxnLabelPB>() {
@java.lang.Override
public TxnLabelPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TxnLabelPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TxnLabelPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnLabelPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TxnIndexPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnIndexPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
* @return Whether the tabletIndex field is set.
*/
boolean hasTabletIndex();
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
* @return The tabletIndex.
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIndex();
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIndexOrBuilder();
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @return Whether the parentTxnId field is set.
*/
boolean hasParentTxnId();
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @return The parentTxnId.
*/
long getParentTxnId();
}
/**
* <pre>
* txn_id -> db_id
* </pre>
*
* Protobuf type {@code doris.cloud.TxnIndexPB}
*/
public static final class TxnIndexPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnIndexPB)
TxnIndexPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxnIndexPB.newBuilder() to construct.
private TxnIndexPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TxnIndexPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxnIndexPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnIndexPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnIndexPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnIndexPB.class, org.apache.doris.cloud.proto.Cloud.TxnIndexPB.Builder.class);
}
private int bitField0_;
public static final int TABLET_INDEX_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB tabletIndex_;
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
* @return Whether the tabletIndex field is set.
*/
@java.lang.Override
public boolean hasTabletIndex() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
* @return The tabletIndex.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIndex() {
return tabletIndex_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : tabletIndex_;
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIndexOrBuilder() {
return tabletIndex_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : tabletIndex_;
}
public static final int PARENT_TXN_ID_FIELD_NUMBER = 2;
private long parentTxnId_ = 0L;
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @return Whether the parentTxnId field is set.
*/
@java.lang.Override
public boolean hasParentTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @return The parentTxnId.
*/
@java.lang.Override
public long getParentTxnId() {
return parentTxnId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getTabletIndex());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, parentTxnId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTabletIndex());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, parentTxnId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnIndexPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnIndexPB other = (org.apache.doris.cloud.proto.Cloud.TxnIndexPB) obj;
if (hasTabletIndex() != other.hasTabletIndex()) return false;
if (hasTabletIndex()) {
if (!getTabletIndex()
.equals(other.getTabletIndex())) return false;
}
if (hasParentTxnId() != other.hasParentTxnId()) return false;
if (hasParentTxnId()) {
if (getParentTxnId()
!= other.getParentTxnId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTabletIndex()) {
hash = (37 * hash) + TABLET_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getTabletIndex().hashCode();
}
if (hasParentTxnId()) {
hash = (37 * hash) + PARENT_TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getParentTxnId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnIndexPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* txn_id -> db_id
* </pre>
*
* Protobuf type {@code doris.cloud.TxnIndexPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnIndexPB)
org.apache.doris.cloud.proto.Cloud.TxnIndexPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnIndexPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnIndexPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnIndexPB.class, org.apache.doris.cloud.proto.Cloud.TxnIndexPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnIndexPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTabletIndexFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tabletIndex_ = null;
if (tabletIndexBuilder_ != null) {
tabletIndexBuilder_.dispose();
tabletIndexBuilder_ = null;
}
parentTxnId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnIndexPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnIndexPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnIndexPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnIndexPB build() {
org.apache.doris.cloud.proto.Cloud.TxnIndexPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnIndexPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnIndexPB result = new org.apache.doris.cloud.proto.Cloud.TxnIndexPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnIndexPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tabletIndex_ = tabletIndexBuilder_ == null
? tabletIndex_
: tabletIndexBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.parentTxnId_ = parentTxnId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnIndexPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnIndexPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnIndexPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnIndexPB.getDefaultInstance()) return this;
if (other.hasTabletIndex()) {
mergeTabletIndex(other.getTabletIndex());
}
if (other.hasParentTxnId()) {
setParentTxnId(other.getParentTxnId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getTabletIndexFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
parentTxnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB tabletIndex_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> tabletIndexBuilder_;
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
* @return Whether the tabletIndex field is set.
*/
public boolean hasTabletIndex() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
* @return The tabletIndex.
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIndex() {
if (tabletIndexBuilder_ == null) {
return tabletIndex_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : tabletIndex_;
} else {
return tabletIndexBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
public Builder setTabletIndex(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIndexBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tabletIndex_ = value;
} else {
tabletIndexBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
public Builder setTabletIndex(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (tabletIndexBuilder_ == null) {
tabletIndex_ = builderForValue.build();
} else {
tabletIndexBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
public Builder mergeTabletIndex(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIndexBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
tabletIndex_ != null &&
tabletIndex_ != org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance()) {
getTabletIndexBuilder().mergeFrom(value);
} else {
tabletIndex_ = value;
}
} else {
tabletIndexBuilder_.mergeFrom(value);
}
if (tabletIndex_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
public Builder clearTabletIndex() {
bitField0_ = (bitField0_ & ~0x00000001);
tabletIndex_ = null;
if (tabletIndexBuilder_ != null) {
tabletIndexBuilder_.dispose();
tabletIndexBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getTabletIndexBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getTabletIndexFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIndexOrBuilder() {
if (tabletIndexBuilder_ != null) {
return tabletIndexBuilder_.getMessageOrBuilder();
} else {
return tabletIndex_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : tabletIndex_;
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB tablet_index = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIndexFieldBuilder() {
if (tabletIndexBuilder_ == null) {
tabletIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
getTabletIndex(),
getParentForChildren(),
isClean());
tabletIndex_ = null;
}
return tabletIndexBuilder_;
}
private long parentTxnId_ ;
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @return Whether the parentTxnId field is set.
*/
@java.lang.Override
public boolean hasParentTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @return The parentTxnId.
*/
@java.lang.Override
public long getParentTxnId() {
return parentTxnId_;
}
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @param value The parentTxnId to set.
* @return This builder for chaining.
*/
public Builder setParentTxnId(long value) {
parentTxnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 parent_txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearParentTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
parentTxnId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnIndexPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnIndexPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnIndexPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnIndexPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnIndexPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TxnIndexPB>
PARSER = new com.google.protobuf.AbstractParser<TxnIndexPB>() {
@java.lang.Override
public TxnIndexPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TxnIndexPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TxnIndexPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnIndexPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TxnInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 db_id = 1;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 1;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>repeated int64 table_ids = 2;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <code>repeated int64 table_ids = 2;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
boolean hasLabel();
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
java.lang.String getLabel();
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
* @return Whether the requestId field is set.
*/
boolean hasRequestId();
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
* @return The requestId.
*/
org.apache.doris.cloud.proto.Cloud.UniqueIdPB getRequestId();
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder getRequestIdOrBuilder();
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
* @return Whether the coordinator field is set.
*/
boolean hasCoordinator();
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
* @return The coordinator.
*/
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB getCoordinator();
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPBOrBuilder getCoordinatorOrBuilder();
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @return Whether the loadJobSourceType field is set.
*/
boolean hasLoadJobSourceType();
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @return The loadJobSourceType.
*/
org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB getLoadJobSourceType();
/**
* <code>optional int64 timeout_ms = 8;</code>
* @return Whether the timeoutMs field is set.
*/
boolean hasTimeoutMs();
/**
* <code>optional int64 timeout_ms = 8;</code>
* @return The timeoutMs.
*/
long getTimeoutMs();
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @return Whether the precommitTimeoutMs field is set.
*/
boolean hasPrecommitTimeoutMs();
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @return The precommitTimeoutMs.
*/
long getPrecommitTimeoutMs();
/**
* <code>optional int64 prepare_time = 10;</code>
* @return Whether the prepareTime field is set.
*/
boolean hasPrepareTime();
/**
* <code>optional int64 prepare_time = 10;</code>
* @return The prepareTime.
*/
long getPrepareTime();
/**
* <code>optional int64 precommit_time = 11;</code>
* @return Whether the precommitTime field is set.
*/
boolean hasPrecommitTime();
/**
* <code>optional int64 precommit_time = 11;</code>
* @return The precommitTime.
*/
long getPrecommitTime();
/**
* <code>optional int64 commit_time = 12;</code>
* @return Whether the commitTime field is set.
*/
boolean hasCommitTime();
/**
* <code>optional int64 commit_time = 12;</code>
* @return The commitTime.
*/
long getCommitTime();
/**
* <code>optional int64 finish_time = 13;</code>
* @return Whether the finishTime field is set.
*/
boolean hasFinishTime();
/**
* <code>optional int64 finish_time = 13;</code>
* @return The finishTime.
*/
long getFinishTime();
/**
* <code>optional string reason = 14;</code>
* @return Whether the reason field is set.
*/
boolean hasReason();
/**
* <code>optional string reason = 14;</code>
* @return The reason.
*/
java.lang.String getReason();
/**
* <code>optional string reason = 14;</code>
* @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.TxnStatusPB getStatus();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
* @return Whether the commitAttachment field is set.
*/
boolean hasCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
* @return The commitAttachment.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder();
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @return Whether the listenerId field is set.
*/
boolean hasListenerId();
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @return The listenerId.
*/
long getListenerId();
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @return A list containing the subTxnIds.
*/
java.util.List<java.lang.Long> getSubTxnIdsList();
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @return The count of subTxnIds.
*/
int getSubTxnIdsCount();
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @param index The index of the element to return.
* @return The subTxnIds at the given index.
*/
long getSubTxnIds(int index);
}
/**
* Protobuf type {@code doris.cloud.TxnInfoPB}
*/
public static final class TxnInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnInfoPB)
TxnInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxnInfoPB.newBuilder() to construct.
private TxnInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TxnInfoPB() {
tableIds_ = emptyLongList();
label_ = "";
loadJobSourceType_ = 0;
reason_ = "";
status_ = 0;
subTxnIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxnInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.class, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder.class);
}
private int bitField0_;
public static final int DB_ID_FIELD_NUMBER = 1;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 1;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 db_id = 1;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TABLE_IDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <code>repeated int64 table_ids = 2;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int TXN_ID_FIELD_NUMBER = 3;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int LABEL_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
}
}
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REQUEST_ID_FIELD_NUMBER = 5;
private org.apache.doris.cloud.proto.Cloud.UniqueIdPB requestId_;
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
* @return Whether the requestId field is set.
*/
@java.lang.Override
public boolean hasRequestId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
* @return The requestId.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB getRequestId() {
return requestId_ == null ? org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : requestId_;
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder getRequestIdOrBuilder() {
return requestId_ == null ? org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : requestId_;
}
public static final int COORDINATOR_FIELD_NUMBER = 6;
private org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB coordinator_;
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
* @return Whether the coordinator field is set.
*/
@java.lang.Override
public boolean hasCoordinator() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
* @return The coordinator.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB getCoordinator() {
return coordinator_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.getDefaultInstance() : coordinator_;
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPBOrBuilder getCoordinatorOrBuilder() {
return coordinator_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.getDefaultInstance() : coordinator_;
}
public static final int LOAD_JOB_SOURCE_TYPE_FIELD_NUMBER = 7;
private int loadJobSourceType_ = 0;
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @return Whether the loadJobSourceType field is set.
*/
@java.lang.Override public boolean hasLoadJobSourceType() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @return The loadJobSourceType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB getLoadJobSourceType() {
org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB result = org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB.forNumber(loadJobSourceType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB.LOAD_JOB_SRC_TYPE_UNKNOWN : result;
}
public static final int TIMEOUT_MS_FIELD_NUMBER = 8;
private long timeoutMs_ = 0L;
/**
* <code>optional int64 timeout_ms = 8;</code>
* @return Whether the timeoutMs field is set.
*/
@java.lang.Override
public boolean hasTimeoutMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 timeout_ms = 8;</code>
* @return The timeoutMs.
*/
@java.lang.Override
public long getTimeoutMs() {
return timeoutMs_;
}
public static final int PRECOMMIT_TIMEOUT_MS_FIELD_NUMBER = 9;
private long precommitTimeoutMs_ = 0L;
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @return Whether the precommitTimeoutMs field is set.
*/
@java.lang.Override
public boolean hasPrecommitTimeoutMs() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @return The precommitTimeoutMs.
*/
@java.lang.Override
public long getPrecommitTimeoutMs() {
return precommitTimeoutMs_;
}
public static final int PREPARE_TIME_FIELD_NUMBER = 10;
private long prepareTime_ = 0L;
/**
* <code>optional int64 prepare_time = 10;</code>
* @return Whether the prepareTime field is set.
*/
@java.lang.Override
public boolean hasPrepareTime() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 prepare_time = 10;</code>
* @return The prepareTime.
*/
@java.lang.Override
public long getPrepareTime() {
return prepareTime_;
}
public static final int PRECOMMIT_TIME_FIELD_NUMBER = 11;
private long precommitTime_ = 0L;
/**
* <code>optional int64 precommit_time = 11;</code>
* @return Whether the precommitTime field is set.
*/
@java.lang.Override
public boolean hasPrecommitTime() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 precommit_time = 11;</code>
* @return The precommitTime.
*/
@java.lang.Override
public long getPrecommitTime() {
return precommitTime_;
}
public static final int COMMIT_TIME_FIELD_NUMBER = 12;
private long commitTime_ = 0L;
/**
* <code>optional int64 commit_time = 12;</code>
* @return Whether the commitTime field is set.
*/
@java.lang.Override
public boolean hasCommitTime() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 commit_time = 12;</code>
* @return The commitTime.
*/
@java.lang.Override
public long getCommitTime() {
return commitTime_;
}
public static final int FINISH_TIME_FIELD_NUMBER = 13;
private long finishTime_ = 0L;
/**
* <code>optional int64 finish_time = 13;</code>
* @return Whether the finishTime field is set.
*/
@java.lang.Override
public boolean hasFinishTime() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 finish_time = 13;</code>
* @return The finishTime.
*/
@java.lang.Override
public long getFinishTime() {
return finishTime_;
}
public static final int REASON_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private volatile java.lang.Object reason_ = "";
/**
* <code>optional string reason = 14;</code>
* @return Whether the reason field is set.
*/
@java.lang.Override
public boolean hasReason() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional string reason = 14;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
}
}
/**
* <code>optional string reason = 14;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_FIELD_NUMBER = 15;
private int status_ = 0;
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @return The status.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TxnStatusPB getStatus() {
org.apache.doris.cloud.proto.Cloud.TxnStatusPB result = org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnStatusPB.TXN_STATUS_UNKNOWN : result;
}
public static final int COMMIT_ATTACHMENT_FIELD_NUMBER = 16;
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
* @return Whether the commitAttachment field is set.
*/
@java.lang.Override
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
* @return The commitAttachment.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
public static final int LISTENER_ID_FIELD_NUMBER = 17;
private long listenerId_ = 0L;
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @return Whether the listenerId field is set.
*/
@java.lang.Override
public boolean hasListenerId() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @return The listenerId.
*/
@java.lang.Override
public long getListenerId() {
return listenerId_;
}
public static final int SUB_TXN_IDS_FIELD_NUMBER = 18;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList subTxnIds_ =
emptyLongList();
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @return A list containing the subTxnIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getSubTxnIdsList() {
return subTxnIds_;
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @return The count of subTxnIds.
*/
public int getSubTxnIdsCount() {
return subTxnIds_.size();
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @param index The index of the element to return.
* @return The subTxnIds at the given index.
*/
public long getSubTxnIds(int index) {
return subTxnIds_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, dbId_);
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(2, tableIds_.getLong(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, label_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(5, getRequestId());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(6, getCoordinator());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeEnum(7, loadJobSourceType_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(8, timeoutMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(9, precommitTimeoutMs_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(10, prepareTime_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(11, precommitTime_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(12, commitTime_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(13, finishTime_);
}
if (((bitField0_ & 0x00001000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, reason_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeEnum(15, status_);
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeMessage(16, getCommitAttachment());
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeInt64(17, listenerId_);
}
for (int i = 0; i < subTxnIds_.size(); i++) {
output.writeInt64(18, subTxnIds_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, dbId_);
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, label_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getRequestId());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getCoordinator());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, loadJobSourceType_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, timeoutMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, precommitTimeoutMs_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, prepareTime_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, precommitTime_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, commitTime_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, finishTime_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, reason_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(15, status_);
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getCommitAttachment());
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(17, listenerId_);
}
{
int dataSize = 0;
for (int i = 0; i < subTxnIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(subTxnIds_.getLong(i));
}
size += dataSize;
size += 2 * getSubTxnIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnInfoPB other = (org.apache.doris.cloud.proto.Cloud.TxnInfoPB) obj;
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasLabel() != other.hasLabel()) return false;
if (hasLabel()) {
if (!getLabel()
.equals(other.getLabel())) return false;
}
if (hasRequestId() != other.hasRequestId()) return false;
if (hasRequestId()) {
if (!getRequestId()
.equals(other.getRequestId())) return false;
}
if (hasCoordinator() != other.hasCoordinator()) return false;
if (hasCoordinator()) {
if (!getCoordinator()
.equals(other.getCoordinator())) return false;
}
if (hasLoadJobSourceType() != other.hasLoadJobSourceType()) return false;
if (hasLoadJobSourceType()) {
if (loadJobSourceType_ != other.loadJobSourceType_) return false;
}
if (hasTimeoutMs() != other.hasTimeoutMs()) return false;
if (hasTimeoutMs()) {
if (getTimeoutMs()
!= other.getTimeoutMs()) return false;
}
if (hasPrecommitTimeoutMs() != other.hasPrecommitTimeoutMs()) return false;
if (hasPrecommitTimeoutMs()) {
if (getPrecommitTimeoutMs()
!= other.getPrecommitTimeoutMs()) return false;
}
if (hasPrepareTime() != other.hasPrepareTime()) return false;
if (hasPrepareTime()) {
if (getPrepareTime()
!= other.getPrepareTime()) return false;
}
if (hasPrecommitTime() != other.hasPrecommitTime()) return false;
if (hasPrecommitTime()) {
if (getPrecommitTime()
!= other.getPrecommitTime()) return false;
}
if (hasCommitTime() != other.hasCommitTime()) return false;
if (hasCommitTime()) {
if (getCommitTime()
!= other.getCommitTime()) return false;
}
if (hasFinishTime() != other.hasFinishTime()) return false;
if (hasFinishTime()) {
if (getFinishTime()
!= other.getFinishTime()) return false;
}
if (hasReason() != other.hasReason()) return false;
if (hasReason()) {
if (!getReason()
.equals(other.getReason())) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (status_ != other.status_) return false;
}
if (hasCommitAttachment() != other.hasCommitAttachment()) return false;
if (hasCommitAttachment()) {
if (!getCommitAttachment()
.equals(other.getCommitAttachment())) return false;
}
if (hasListenerId() != other.hasListenerId()) return false;
if (hasListenerId()) {
if (getListenerId()
!= other.getListenerId()) return false;
}
if (!getSubTxnIdsList()
.equals(other.getSubTxnIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasLabel()) {
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
}
if (hasRequestId()) {
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
}
if (hasCoordinator()) {
hash = (37 * hash) + COORDINATOR_FIELD_NUMBER;
hash = (53 * hash) + getCoordinator().hashCode();
}
if (hasLoadJobSourceType()) {
hash = (37 * hash) + LOAD_JOB_SOURCE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + loadJobSourceType_;
}
if (hasTimeoutMs()) {
hash = (37 * hash) + TIMEOUT_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeoutMs());
}
if (hasPrecommitTimeoutMs()) {
hash = (37 * hash) + PRECOMMIT_TIMEOUT_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPrecommitTimeoutMs());
}
if (hasPrepareTime()) {
hash = (37 * hash) + PREPARE_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPrepareTime());
}
if (hasPrecommitTime()) {
hash = (37 * hash) + PRECOMMIT_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPrecommitTime());
}
if (hasCommitTime()) {
hash = (37 * hash) + COMMIT_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCommitTime());
}
if (hasFinishTime()) {
hash = (37 * hash) + FINISH_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFinishTime());
}
if (hasReason()) {
hash = (37 * hash) + REASON_FIELD_NUMBER;
hash = (53 * hash) + getReason().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
}
if (hasCommitAttachment()) {
hash = (37 * hash) + COMMIT_ATTACHMENT_FIELD_NUMBER;
hash = (53 * hash) + getCommitAttachment().hashCode();
}
if (hasListenerId()) {
hash = (37 * hash) + LISTENER_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getListenerId());
}
if (getSubTxnIdsCount() > 0) {
hash = (37 * hash) + SUB_TXN_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSubTxnIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TxnInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnInfoPB)
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.class, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnInfoPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRequestIdFieldBuilder();
getCoordinatorFieldBuilder();
getCommitAttachmentFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
dbId_ = 0L;
tableIds_ = emptyLongList();
txnId_ = 0L;
label_ = "";
requestId_ = null;
if (requestIdBuilder_ != null) {
requestIdBuilder_.dispose();
requestIdBuilder_ = null;
}
coordinator_ = null;
if (coordinatorBuilder_ != null) {
coordinatorBuilder_.dispose();
coordinatorBuilder_ = null;
}
loadJobSourceType_ = 0;
timeoutMs_ = 0L;
precommitTimeoutMs_ = 0L;
prepareTime_ = 0L;
precommitTime_ = 0L;
commitTime_ = 0L;
finishTime_ = 0L;
reason_ = "";
status_ = 0;
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
listenerId_ = 0L;
subTxnIds_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB build() {
org.apache.doris.cloud.proto.Cloud.TxnInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnInfoPB result = new org.apache.doris.cloud.proto.Cloud.TxnInfoPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnInfoPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.label_ = label_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.requestId_ = requestIdBuilder_ == null
? requestId_
: requestIdBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.coordinator_ = coordinatorBuilder_ == null
? coordinator_
: coordinatorBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.loadJobSourceType_ = loadJobSourceType_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.timeoutMs_ = timeoutMs_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.precommitTimeoutMs_ = precommitTimeoutMs_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.prepareTime_ = prepareTime_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.precommitTime_ = precommitTime_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.commitTime_ = commitTime_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.finishTime_ = finishTime_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.reason_ = reason_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.commitAttachment_ = commitAttachmentBuilder_ == null
? commitAttachment_
: commitAttachmentBuilder_.build();
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
result.listenerId_ = listenerId_;
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
subTxnIds_.makeImmutable();
result.subTxnIds_ = subTxnIds_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance()) return this;
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasLabel()) {
label_ = other.label_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasRequestId()) {
mergeRequestId(other.getRequestId());
}
if (other.hasCoordinator()) {
mergeCoordinator(other.getCoordinator());
}
if (other.hasLoadJobSourceType()) {
setLoadJobSourceType(other.getLoadJobSourceType());
}
if (other.hasTimeoutMs()) {
setTimeoutMs(other.getTimeoutMs());
}
if (other.hasPrecommitTimeoutMs()) {
setPrecommitTimeoutMs(other.getPrecommitTimeoutMs());
}
if (other.hasPrepareTime()) {
setPrepareTime(other.getPrepareTime());
}
if (other.hasPrecommitTime()) {
setPrecommitTime(other.getPrecommitTime());
}
if (other.hasCommitTime()) {
setCommitTime(other.getCommitTime());
}
if (other.hasFinishTime()) {
setFinishTime(other.getFinishTime());
}
if (other.hasReason()) {
reason_ = other.reason_;
bitField0_ |= 0x00002000;
onChanged();
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasCommitAttachment()) {
mergeCommitAttachment(other.getCommitAttachment());
}
if (other.hasListenerId()) {
setListenerId(other.getListenerId());
}
if (!other.subTxnIds_.isEmpty()) {
if (subTxnIds_.isEmpty()) {
subTxnIds_ = other.subTxnIds_;
subTxnIds_.makeImmutable();
bitField0_ |= 0x00020000;
} else {
ensureSubTxnIdsIsMutable();
subTxnIds_.addAll(other.subTxnIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
case 24: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
label_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
input.readMessage(
getRequestIdFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
input.readMessage(
getCoordinatorFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
case 56: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB tmpValue =
org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(7, tmpRaw);
} else {
loadJobSourceType_ = tmpRaw;
bitField0_ |= 0x00000040;
}
break;
} // case 56
case 64: {
timeoutMs_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
precommitTimeoutMs_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
prepareTime_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
precommitTime_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
commitTime_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
finishTime_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 114: {
reason_ = input.readBytes();
bitField0_ |= 0x00002000;
break;
} // case 114
case 120: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnStatusPB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(15, tmpRaw);
} else {
status_ = tmpRaw;
bitField0_ |= 0x00004000;
}
break;
} // case 120
case 130: {
input.readMessage(
getCommitAttachmentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00008000;
break;
} // case 130
case 136: {
listenerId_ = input.readInt64();
bitField0_ |= 0x00010000;
break;
} // case 136
case 144: {
long v = input.readInt64();
ensureSubTxnIdsIsMutable();
subTxnIds_.addLong(v);
break;
} // case 144
case 146: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureSubTxnIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
subTxnIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 146
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long dbId_ ;
/**
* <code>optional int64 db_id = 1;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 db_id = 1;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 1;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000001);
dbId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
txnId_ = 0L;
onChanged();
return this;
}
private java.lang.Object label_ = "";
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string label = 4;</code>
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string label = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string label = 4;</code>
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.UniqueIdPB requestId_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.UniqueIdPB, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder, org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder> requestIdBuilder_;
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
* @return Whether the requestId field is set.
*/
public boolean hasRequestId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
* @return The requestId.
*/
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB getRequestId() {
if (requestIdBuilder_ == null) {
return requestId_ == null ? org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : requestId_;
} else {
return requestIdBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
public Builder setRequestId(org.apache.doris.cloud.proto.Cloud.UniqueIdPB value) {
if (requestIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
requestId_ = value;
} else {
requestIdBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
public Builder setRequestId(
org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder builderForValue) {
if (requestIdBuilder_ == null) {
requestId_ = builderForValue.build();
} else {
requestIdBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
public Builder mergeRequestId(org.apache.doris.cloud.proto.Cloud.UniqueIdPB value) {
if (requestIdBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
requestId_ != null &&
requestId_ != org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance()) {
getRequestIdBuilder().mergeFrom(value);
} else {
requestId_ = value;
}
} else {
requestIdBuilder_.mergeFrom(value);
}
if (requestId_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
public Builder clearRequestId() {
bitField0_ = (bitField0_ & ~0x00000010);
requestId_ = null;
if (requestIdBuilder_ != null) {
requestIdBuilder_.dispose();
requestIdBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder getRequestIdBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getRequestIdFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder getRequestIdOrBuilder() {
if (requestIdBuilder_ != null) {
return requestIdBuilder_.getMessageOrBuilder();
} else {
return requestId_ == null ?
org.apache.doris.cloud.proto.Cloud.UniqueIdPB.getDefaultInstance() : requestId_;
}
}
/**
* <code>optional .doris.cloud.UniqueIdPB request_id = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.UniqueIdPB, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder, org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder>
getRequestIdFieldBuilder() {
if (requestIdBuilder_ == null) {
requestIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.UniqueIdPB, org.apache.doris.cloud.proto.Cloud.UniqueIdPB.Builder, org.apache.doris.cloud.proto.Cloud.UniqueIdPBOrBuilder>(
getRequestId(),
getParentForChildren(),
isClean());
requestId_ = null;
}
return requestIdBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB coordinator_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPBOrBuilder> coordinatorBuilder_;
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
* @return Whether the coordinator field is set.
*/
public boolean hasCoordinator() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
* @return The coordinator.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB getCoordinator() {
if (coordinatorBuilder_ == null) {
return coordinator_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.getDefaultInstance() : coordinator_;
} else {
return coordinatorBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
public Builder setCoordinator(org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB value) {
if (coordinatorBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
coordinator_ = value;
} else {
coordinatorBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
public Builder setCoordinator(
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.Builder builderForValue) {
if (coordinatorBuilder_ == null) {
coordinator_ = builderForValue.build();
} else {
coordinatorBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
public Builder mergeCoordinator(org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB value) {
if (coordinatorBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
coordinator_ != null &&
coordinator_ != org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.getDefaultInstance()) {
getCoordinatorBuilder().mergeFrom(value);
} else {
coordinator_ = value;
}
} else {
coordinatorBuilder_.mergeFrom(value);
}
if (coordinator_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
public Builder clearCoordinator() {
bitField0_ = (bitField0_ & ~0x00000020);
coordinator_ = null;
if (coordinatorBuilder_ != null) {
coordinatorBuilder_.dispose();
coordinatorBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.Builder getCoordinatorBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getCoordinatorFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPBOrBuilder getCoordinatorOrBuilder() {
if (coordinatorBuilder_ != null) {
return coordinatorBuilder_.getMessageOrBuilder();
} else {
return coordinator_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.getDefaultInstance() : coordinator_;
}
}
/**
* <code>optional .doris.cloud.TxnCoordinatorPB coordinator = 6;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPBOrBuilder>
getCoordinatorFieldBuilder() {
if (coordinatorBuilder_ == null) {
coordinatorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCoordinatorPBOrBuilder>(
getCoordinator(),
getParentForChildren(),
isClean());
coordinator_ = null;
}
return coordinatorBuilder_;
}
private int loadJobSourceType_ = 0;
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @return Whether the loadJobSourceType field is set.
*/
@java.lang.Override public boolean hasLoadJobSourceType() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @return The loadJobSourceType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB getLoadJobSourceType() {
org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB result = org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB.forNumber(loadJobSourceType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB.LOAD_JOB_SRC_TYPE_UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @param value The loadJobSourceType to set.
* @return This builder for chaining.
*/
public Builder setLoadJobSourceType(org.apache.doris.cloud.proto.Cloud.LoadJobSourceTypePB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
loadJobSourceType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.LoadJobSourceTypePB load_job_source_type = 7;</code>
* @return This builder for chaining.
*/
public Builder clearLoadJobSourceType() {
bitField0_ = (bitField0_ & ~0x00000040);
loadJobSourceType_ = 0;
onChanged();
return this;
}
private long timeoutMs_ ;
/**
* <code>optional int64 timeout_ms = 8;</code>
* @return Whether the timeoutMs field is set.
*/
@java.lang.Override
public boolean hasTimeoutMs() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 timeout_ms = 8;</code>
* @return The timeoutMs.
*/
@java.lang.Override
public long getTimeoutMs() {
return timeoutMs_;
}
/**
* <code>optional int64 timeout_ms = 8;</code>
* @param value The timeoutMs to set.
* @return This builder for chaining.
*/
public Builder setTimeoutMs(long value) {
timeoutMs_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 timeout_ms = 8;</code>
* @return This builder for chaining.
*/
public Builder clearTimeoutMs() {
bitField0_ = (bitField0_ & ~0x00000080);
timeoutMs_ = 0L;
onChanged();
return this;
}
private long precommitTimeoutMs_ ;
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @return Whether the precommitTimeoutMs field is set.
*/
@java.lang.Override
public boolean hasPrecommitTimeoutMs() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @return The precommitTimeoutMs.
*/
@java.lang.Override
public long getPrecommitTimeoutMs() {
return precommitTimeoutMs_;
}
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @param value The precommitTimeoutMs to set.
* @return This builder for chaining.
*/
public Builder setPrecommitTimeoutMs(long value) {
precommitTimeoutMs_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional int64 precommit_timeout_ms = 9;</code>
* @return This builder for chaining.
*/
public Builder clearPrecommitTimeoutMs() {
bitField0_ = (bitField0_ & ~0x00000100);
precommitTimeoutMs_ = 0L;
onChanged();
return this;
}
private long prepareTime_ ;
/**
* <code>optional int64 prepare_time = 10;</code>
* @return Whether the prepareTime field is set.
*/
@java.lang.Override
public boolean hasPrepareTime() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 prepare_time = 10;</code>
* @return The prepareTime.
*/
@java.lang.Override
public long getPrepareTime() {
return prepareTime_;
}
/**
* <code>optional int64 prepare_time = 10;</code>
* @param value The prepareTime to set.
* @return This builder for chaining.
*/
public Builder setPrepareTime(long value) {
prepareTime_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional int64 prepare_time = 10;</code>
* @return This builder for chaining.
*/
public Builder clearPrepareTime() {
bitField0_ = (bitField0_ & ~0x00000200);
prepareTime_ = 0L;
onChanged();
return this;
}
private long precommitTime_ ;
/**
* <code>optional int64 precommit_time = 11;</code>
* @return Whether the precommitTime field is set.
*/
@java.lang.Override
public boolean hasPrecommitTime() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 precommit_time = 11;</code>
* @return The precommitTime.
*/
@java.lang.Override
public long getPrecommitTime() {
return precommitTime_;
}
/**
* <code>optional int64 precommit_time = 11;</code>
* @param value The precommitTime to set.
* @return This builder for chaining.
*/
public Builder setPrecommitTime(long value) {
precommitTime_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional int64 precommit_time = 11;</code>
* @return This builder for chaining.
*/
public Builder clearPrecommitTime() {
bitField0_ = (bitField0_ & ~0x00000400);
precommitTime_ = 0L;
onChanged();
return this;
}
private long commitTime_ ;
/**
* <code>optional int64 commit_time = 12;</code>
* @return Whether the commitTime field is set.
*/
@java.lang.Override
public boolean hasCommitTime() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 commit_time = 12;</code>
* @return The commitTime.
*/
@java.lang.Override
public long getCommitTime() {
return commitTime_;
}
/**
* <code>optional int64 commit_time = 12;</code>
* @param value The commitTime to set.
* @return This builder for chaining.
*/
public Builder setCommitTime(long value) {
commitTime_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional int64 commit_time = 12;</code>
* @return This builder for chaining.
*/
public Builder clearCommitTime() {
bitField0_ = (bitField0_ & ~0x00000800);
commitTime_ = 0L;
onChanged();
return this;
}
private long finishTime_ ;
/**
* <code>optional int64 finish_time = 13;</code>
* @return Whether the finishTime field is set.
*/
@java.lang.Override
public boolean hasFinishTime() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional int64 finish_time = 13;</code>
* @return The finishTime.
*/
@java.lang.Override
public long getFinishTime() {
return finishTime_;
}
/**
* <code>optional int64 finish_time = 13;</code>
* @param value The finishTime to set.
* @return This builder for chaining.
*/
public Builder setFinishTime(long value) {
finishTime_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional int64 finish_time = 13;</code>
* @return This builder for chaining.
*/
public Builder clearFinishTime() {
bitField0_ = (bitField0_ & ~0x00001000);
finishTime_ = 0L;
onChanged();
return this;
}
private java.lang.Object reason_ = "";
/**
* <code>optional string reason = 14;</code>
* @return Whether the reason field is set.
*/
public boolean hasReason() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional string reason = 14;</code>
* @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string reason = 14;</code>
* @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string reason = 14;</code>
* @param value The reason to set.
* @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>optional string reason = 14;</code>
* @return This builder for chaining.
*/
public Builder clearReason() {
reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00002000);
onChanged();
return this;
}
/**
* <code>optional string reason = 14;</code>
* @param value The bytes for reason to set.
* @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
private int status_ = 0;
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnStatusPB getStatus() {
org.apache.doris.cloud.proto.Cloud.TxnStatusPB result = org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnStatusPB.TXN_STATUS_UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.TxnStatusPB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00004000;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnStatusPB status = 15;</code>
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00004000);
status_ = 0;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder> commitAttachmentBuilder_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
* @return Whether the commitAttachment field is set.
*/
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
* @return The commitAttachment.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
if (commitAttachmentBuilder_ == null) {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
} else {
return commitAttachmentBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
public Builder setCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commitAttachment_ = value;
} else {
commitAttachmentBuilder_.setMessage(value);
}
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
public Builder setCommitAttachment(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder builderForValue) {
if (commitAttachmentBuilder_ == null) {
commitAttachment_ = builderForValue.build();
} else {
commitAttachmentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
public Builder mergeCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (((bitField0_ & 0x00008000) != 0) &&
commitAttachment_ != null &&
commitAttachment_ != org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance()) {
getCommitAttachmentBuilder().mergeFrom(value);
} else {
commitAttachment_ = value;
}
} else {
commitAttachmentBuilder_.mergeFrom(value);
}
if (commitAttachment_ != null) {
bitField0_ |= 0x00008000;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
public Builder clearCommitAttachment() {
bitField0_ = (bitField0_ & ~0x00008000);
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder getCommitAttachmentBuilder() {
bitField0_ |= 0x00008000;
onChanged();
return getCommitAttachmentFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
if (commitAttachmentBuilder_ != null) {
return commitAttachmentBuilder_.getMessageOrBuilder();
} else {
return commitAttachment_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 16;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>
getCommitAttachmentFieldBuilder() {
if (commitAttachmentBuilder_ == null) {
commitAttachmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>(
getCommitAttachment(),
getParentForChildren(),
isClean());
commitAttachment_ = null;
}
return commitAttachmentBuilder_;
}
private long listenerId_ ;
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @return Whether the listenerId field is set.
*/
@java.lang.Override
public boolean hasListenerId() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @return The listenerId.
*/
@java.lang.Override
public long getListenerId() {
return listenerId_;
}
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @param value The listenerId to set.
* @return This builder for chaining.
*/
public Builder setListenerId(long value) {
listenerId_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <pre>
*callback id
* </pre>
*
* <code>optional int64 listener_id = 17;</code>
* @return This builder for chaining.
*/
public Builder clearListenerId() {
bitField0_ = (bitField0_ & ~0x00010000);
listenerId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList subTxnIds_ = emptyLongList();
private void ensureSubTxnIdsIsMutable() {
if (!subTxnIds_.isModifiable()) {
subTxnIds_ = makeMutableCopy(subTxnIds_);
}
bitField0_ |= 0x00020000;
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @return A list containing the subTxnIds.
*/
public java.util.List<java.lang.Long>
getSubTxnIdsList() {
subTxnIds_.makeImmutable();
return subTxnIds_;
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @return The count of subTxnIds.
*/
public int getSubTxnIdsCount() {
return subTxnIds_.size();
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @param index The index of the element to return.
* @return The subTxnIds at the given index.
*/
public long getSubTxnIds(int index) {
return subTxnIds_.getLong(index);
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @param index The index to set the value at.
* @param value The subTxnIds to set.
* @return This builder for chaining.
*/
public Builder setSubTxnIds(
int index, long value) {
ensureSubTxnIdsIsMutable();
subTxnIds_.setLong(index, value);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @param value The subTxnIds to add.
* @return This builder for chaining.
*/
public Builder addSubTxnIds(long value) {
ensureSubTxnIdsIsMutable();
subTxnIds_.addLong(value);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @param values The subTxnIds to add.
* @return This builder for chaining.
*/
public Builder addAllSubTxnIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureSubTxnIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subTxnIds_);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <pre>
* for transaction load, used for recycler
* </pre>
*
* <code>repeated int64 sub_txn_ids = 18;</code>
* @return This builder for chaining.
*/
public Builder clearSubTxnIds() {
subTxnIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TxnInfoPB>
PARSER = new com.google.protobuf.AbstractParser<TxnInfoPB>() {
@java.lang.Override
public TxnInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TxnInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TxnInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TxnRunningPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TxnRunningPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated int64 table_ids = 1;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <code>repeated int64 table_ids = 1;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <code>repeated int64 table_ids = 1;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @return Whether the timeoutTime field is set.
*/
boolean hasTimeoutTime();
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @return The timeoutTime.
*/
long getTimeoutTime();
}
/**
* <pre>
* For check txn conflict and txn timeout
* </pre>
*
* Protobuf type {@code doris.cloud.TxnRunningPB}
*/
public static final class TxnRunningPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TxnRunningPB)
TxnRunningPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TxnRunningPB.newBuilder() to construct.
private TxnRunningPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TxnRunningPB() {
tableIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TxnRunningPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnRunningPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnRunningPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnRunningPB.class, org.apache.doris.cloud.proto.Cloud.TxnRunningPB.Builder.class);
}
private int bitField0_;
public static final int TABLE_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <code>repeated int64 table_ids = 1;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int TIMEOUT_TIME_FIELD_NUMBER = 2;
private long timeoutTime_ = 0L;
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @return Whether the timeoutTime field is set.
*/
@java.lang.Override
public boolean hasTimeoutTime() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @return The timeoutTime.
*/
@java.lang.Override
public long getTimeoutTime() {
return timeoutTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(1, tableIds_.getLong(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(2, timeoutTime_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, timeoutTime_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TxnRunningPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TxnRunningPB other = (org.apache.doris.cloud.proto.Cloud.TxnRunningPB) obj;
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (hasTimeoutTime() != other.hasTimeoutTime()) return false;
if (hasTimeoutTime()) {
if (getTimeoutTime()
!= other.getTimeoutTime()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (hasTimeoutTime()) {
hash = (37 * hash) + TIMEOUT_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeoutTime());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TxnRunningPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* For check txn conflict and txn timeout
* </pre>
*
* Protobuf type {@code doris.cloud.TxnRunningPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TxnRunningPB)
org.apache.doris.cloud.proto.Cloud.TxnRunningPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnRunningPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnRunningPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TxnRunningPB.class, org.apache.doris.cloud.proto.Cloud.TxnRunningPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TxnRunningPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tableIds_ = emptyLongList();
timeoutTime_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TxnRunningPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnRunningPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TxnRunningPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnRunningPB build() {
org.apache.doris.cloud.proto.Cloud.TxnRunningPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnRunningPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TxnRunningPB result = new org.apache.doris.cloud.proto.Cloud.TxnRunningPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TxnRunningPB result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.timeoutTime_ = timeoutTime_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TxnRunningPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TxnRunningPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TxnRunningPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TxnRunningPB.getDefaultInstance()) return this;
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (other.hasTimeoutTime()) {
setTimeoutTime(other.getTimeoutTime());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 10
case 16: {
timeoutTime_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000001;
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private long timeoutTime_ ;
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @return Whether the timeoutTime field is set.
*/
@java.lang.Override
public boolean hasTimeoutTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @return The timeoutTime.
*/
@java.lang.Override
public long getTimeoutTime() {
return timeoutTime_;
}
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @param value The timeoutTime to set.
* @return This builder for chaining.
*/
public Builder setTimeoutTime(long value) {
timeoutTime_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
*milliseconds
* </pre>
*
* <code>optional int64 timeout_time = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTimeoutTime() {
bitField0_ = (bitField0_ & ~0x00000002);
timeoutTime_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TxnRunningPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TxnRunningPB)
private static final org.apache.doris.cloud.proto.Cloud.TxnRunningPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TxnRunningPB();
}
public static org.apache.doris.cloud.proto.Cloud.TxnRunningPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TxnRunningPB>
PARSER = new com.google.protobuf.AbstractParser<TxnRunningPB>() {
@java.lang.Override
public TxnRunningPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TxnRunningPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TxnRunningPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnRunningPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface VersionPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.VersionPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 version = 1;</code>
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* <code>optional int64 version = 1;</code>
* @return The version.
*/
long getVersion();
/**
* <code>optional int64 update_time_ms = 2;</code>
* @return Whether the updateTimeMs field is set.
*/
boolean hasUpdateTimeMs();
/**
* <code>optional int64 update_time_ms = 2;</code>
* @return The updateTimeMs.
*/
long getUpdateTimeMs();
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @return A list containing the pendingTxnIds.
*/
java.util.List<java.lang.Long> getPendingTxnIdsList();
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @return The count of pendingTxnIds.
*/
int getPendingTxnIdsCount();
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @param index The index of the element to return.
* @return The pendingTxnIds at the given index.
*/
long getPendingTxnIds(int index);
}
/**
* Protobuf type {@code doris.cloud.VersionPB}
*/
public static final class VersionPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.VersionPB)
VersionPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use VersionPB.newBuilder() to construct.
private VersionPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private VersionPB() {
pendingTxnIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new VersionPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_VersionPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_VersionPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.VersionPB.class, org.apache.doris.cloud.proto.Cloud.VersionPB.Builder.class);
}
private int bitField0_;
public static final int VERSION_FIELD_NUMBER = 1;
private long version_ = 0L;
/**
* <code>optional int64 version = 1;</code>
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 version = 1;</code>
* @return The version.
*/
@java.lang.Override
public long getVersion() {
return version_;
}
public static final int UPDATE_TIME_MS_FIELD_NUMBER = 2;
private long updateTimeMs_ = 0L;
/**
* <code>optional int64 update_time_ms = 2;</code>
* @return Whether the updateTimeMs field is set.
*/
@java.lang.Override
public boolean hasUpdateTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 update_time_ms = 2;</code>
* @return The updateTimeMs.
*/
@java.lang.Override
public long getUpdateTimeMs() {
return updateTimeMs_;
}
public static final int PENDING_TXN_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList pendingTxnIds_ =
emptyLongList();
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @return A list containing the pendingTxnIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPendingTxnIdsList() {
return pendingTxnIds_;
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @return The count of pendingTxnIds.
*/
public int getPendingTxnIdsCount() {
return pendingTxnIds_.size();
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @param index The index of the element to return.
* @return The pendingTxnIds at the given index.
*/
public long getPendingTxnIds(int index) {
return pendingTxnIds_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, version_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, updateTimeMs_);
}
for (int i = 0; i < pendingTxnIds_.size(); i++) {
output.writeInt64(3, pendingTxnIds_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, version_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, updateTimeMs_);
}
{
int dataSize = 0;
for (int i = 0; i < pendingTxnIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(pendingTxnIds_.getLong(i));
}
size += dataSize;
size += 1 * getPendingTxnIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.VersionPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.VersionPB other = (org.apache.doris.cloud.proto.Cloud.VersionPB) obj;
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (getVersion()
!= other.getVersion()) return false;
}
if (hasUpdateTimeMs() != other.hasUpdateTimeMs()) return false;
if (hasUpdateTimeMs()) {
if (getUpdateTimeMs()
!= other.getUpdateTimeMs()) return false;
}
if (!getPendingTxnIdsList()
.equals(other.getPendingTxnIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVersion());
}
if (hasUpdateTimeMs()) {
hash = (37 * hash) + UPDATE_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUpdateTimeMs());
}
if (getPendingTxnIdsCount() > 0) {
hash = (37 * hash) + PENDING_TXN_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPendingTxnIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.VersionPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.VersionPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.VersionPB)
org.apache.doris.cloud.proto.Cloud.VersionPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_VersionPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_VersionPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.VersionPB.class, org.apache.doris.cloud.proto.Cloud.VersionPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.VersionPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
version_ = 0L;
updateTimeMs_ = 0L;
pendingTxnIds_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_VersionPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.VersionPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.VersionPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.VersionPB build() {
org.apache.doris.cloud.proto.Cloud.VersionPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.VersionPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.VersionPB result = new org.apache.doris.cloud.proto.Cloud.VersionPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.VersionPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.version_ = version_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.updateTimeMs_ = updateTimeMs_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
pendingTxnIds_.makeImmutable();
result.pendingTxnIds_ = pendingTxnIds_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.VersionPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.VersionPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.VersionPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.VersionPB.getDefaultInstance()) return this;
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (other.hasUpdateTimeMs()) {
setUpdateTimeMs(other.getUpdateTimeMs());
}
if (!other.pendingTxnIds_.isEmpty()) {
if (pendingTxnIds_.isEmpty()) {
pendingTxnIds_ = other.pendingTxnIds_;
pendingTxnIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensurePendingTxnIdsIsMutable();
pendingTxnIds_.addAll(other.pendingTxnIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
version_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
updateTimeMs_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
long v = input.readInt64();
ensurePendingTxnIdsIsMutable();
pendingTxnIds_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePendingTxnIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
pendingTxnIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long version_ ;
/**
* <code>optional int64 version = 1;</code>
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 version = 1;</code>
* @return The version.
*/
@java.lang.Override
public long getVersion() {
return version_;
}
/**
* <code>optional int64 version = 1;</code>
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(long value) {
version_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 version = 1;</code>
* @return This builder for chaining.
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000001);
version_ = 0L;
onChanged();
return this;
}
private long updateTimeMs_ ;
/**
* <code>optional int64 update_time_ms = 2;</code>
* @return Whether the updateTimeMs field is set.
*/
@java.lang.Override
public boolean hasUpdateTimeMs() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 update_time_ms = 2;</code>
* @return The updateTimeMs.
*/
@java.lang.Override
public long getUpdateTimeMs() {
return updateTimeMs_;
}
/**
* <code>optional int64 update_time_ms = 2;</code>
* @param value The updateTimeMs to set.
* @return This builder for chaining.
*/
public Builder setUpdateTimeMs(long value) {
updateTimeMs_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 update_time_ms = 2;</code>
* @return This builder for chaining.
*/
public Builder clearUpdateTimeMs() {
bitField0_ = (bitField0_ & ~0x00000002);
updateTimeMs_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList pendingTxnIds_ = emptyLongList();
private void ensurePendingTxnIdsIsMutable() {
if (!pendingTxnIds_.isModifiable()) {
pendingTxnIds_ = makeMutableCopy(pendingTxnIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @return A list containing the pendingTxnIds.
*/
public java.util.List<java.lang.Long>
getPendingTxnIdsList() {
pendingTxnIds_.makeImmutable();
return pendingTxnIds_;
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @return The count of pendingTxnIds.
*/
public int getPendingTxnIdsCount() {
return pendingTxnIds_.size();
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @param index The index of the element to return.
* @return The pendingTxnIds at the given index.
*/
public long getPendingTxnIds(int index) {
return pendingTxnIds_.getLong(index);
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @param index The index to set the value at.
* @param value The pendingTxnIds to set.
* @return This builder for chaining.
*/
public Builder setPendingTxnIds(
int index, long value) {
ensurePendingTxnIdsIsMutable();
pendingTxnIds_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @param value The pendingTxnIds to add.
* @return This builder for chaining.
*/
public Builder addPendingTxnIds(long value) {
ensurePendingTxnIdsIsMutable();
pendingTxnIds_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @param values The pendingTxnIds to add.
* @return This builder for chaining.
*/
public Builder addAllPendingTxnIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePendingTxnIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, pendingTxnIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* now only allow one element
* </pre>
*
* <code>repeated int64 pending_txn_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPendingTxnIds() {
pendingTxnIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.VersionPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.VersionPB)
private static final org.apache.doris.cloud.proto.Cloud.VersionPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.VersionPB();
}
public static org.apache.doris.cloud.proto.Cloud.VersionPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<VersionPB>
PARSER = new com.google.protobuf.AbstractParser<VersionPB>() {
@java.lang.Override
public VersionPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<VersionPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<VersionPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.VersionPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecycleTxnPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RecycleTxnPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 creation_time = 1;</code>
* @return Whether the creationTime field is set.
*/
boolean hasCreationTime();
/**
* <code>optional int64 creation_time = 1;</code>
* @return The creationTime.
*/
long getCreationTime();
/**
* <code>optional string label = 2;</code>
* @return Whether the label field is set.
*/
boolean hasLabel();
/**
* <code>optional string label = 2;</code>
* @return The label.
*/
java.lang.String getLabel();
/**
* <code>optional string label = 2;</code>
* @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @return Whether the immediate field is set.
*/
boolean hasImmediate();
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @return The immediate.
*/
boolean getImmediate();
}
/**
* Protobuf type {@code doris.cloud.RecycleTxnPB}
*/
public static final class RecycleTxnPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RecycleTxnPB)
RecycleTxnPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecycleTxnPB.newBuilder() to construct.
private RecycleTxnPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RecycleTxnPB() {
label_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecycleTxnPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleTxnPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleTxnPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleTxnPB.class, org.apache.doris.cloud.proto.Cloud.RecycleTxnPB.Builder.class);
}
private int bitField0_;
public static final int CREATION_TIME_FIELD_NUMBER = 1;
private long creationTime_ = 0L;
/**
* <code>optional int64 creation_time = 1;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 creation_time = 1;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
public static final int LABEL_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* <code>optional string label = 2;</code>
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string label = 2;</code>
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
}
}
/**
* <code>optional string label = 2;</code>
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IMMEDIATE_FIELD_NUMBER = 3;
private boolean immediate_ = false;
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @return Whether the immediate field is set.
*/
@java.lang.Override
public boolean hasImmediate() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @return The immediate.
*/
@java.lang.Override
public boolean getImmediate() {
return immediate_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, creationTime_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, label_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, immediate_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, creationTime_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, label_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, immediate_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RecycleTxnPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RecycleTxnPB other = (org.apache.doris.cloud.proto.Cloud.RecycleTxnPB) obj;
if (hasCreationTime() != other.hasCreationTime()) return false;
if (hasCreationTime()) {
if (getCreationTime()
!= other.getCreationTime()) return false;
}
if (hasLabel() != other.hasLabel()) return false;
if (hasLabel()) {
if (!getLabel()
.equals(other.getLabel())) return false;
}
if (hasImmediate() != other.hasImmediate()) return false;
if (hasImmediate()) {
if (getImmediate()
!= other.getImmediate()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCreationTime()) {
hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreationTime());
}
if (hasLabel()) {
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
}
if (hasImmediate()) {
hash = (37 * hash) + IMMEDIATE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getImmediate());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RecycleTxnPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RecycleTxnPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RecycleTxnPB)
org.apache.doris.cloud.proto.Cloud.RecycleTxnPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleTxnPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleTxnPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleTxnPB.class, org.apache.doris.cloud.proto.Cloud.RecycleTxnPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RecycleTxnPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
creationTime_ = 0L;
label_ = "";
immediate_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleTxnPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleTxnPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RecycleTxnPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleTxnPB build() {
org.apache.doris.cloud.proto.Cloud.RecycleTxnPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleTxnPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RecycleTxnPB result = new org.apache.doris.cloud.proto.Cloud.RecycleTxnPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RecycleTxnPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.creationTime_ = creationTime_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.label_ = label_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.immediate_ = immediate_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RecycleTxnPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RecycleTxnPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RecycleTxnPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RecycleTxnPB.getDefaultInstance()) return this;
if (other.hasCreationTime()) {
setCreationTime(other.getCreationTime());
}
if (other.hasLabel()) {
label_ = other.label_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasImmediate()) {
setImmediate(other.getImmediate());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
creationTime_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
label_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
immediate_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long creationTime_ ;
/**
* <code>optional int64 creation_time = 1;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 creation_time = 1;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
/**
* <code>optional int64 creation_time = 1;</code>
* @param value The creationTime to set.
* @return This builder for chaining.
*/
public Builder setCreationTime(long value) {
creationTime_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 creation_time = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000001);
creationTime_ = 0L;
onChanged();
return this;
}
private java.lang.Object label_ = "";
/**
* <code>optional string label = 2;</code>
* @return Whether the label field is set.
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string label = 2;</code>
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string label = 2;</code>
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string label = 2;</code>
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string label = 2;</code>
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string label = 2;</code>
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private boolean immediate_ ;
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @return Whether the immediate field is set.
*/
@java.lang.Override
public boolean hasImmediate() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @return The immediate.
*/
@java.lang.Override
public boolean getImmediate() {
return immediate_;
}
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @param value The immediate to set.
* @return This builder for chaining.
*/
public Builder setImmediate(boolean value) {
immediate_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
*recycle immediately
* </pre>
*
* <code>optional bool immediate = 3;</code>
* @return This builder for chaining.
*/
public Builder clearImmediate() {
bitField0_ = (bitField0_ & ~0x00000004);
immediate_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RecycleTxnPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RecycleTxnPB)
private static final org.apache.doris.cloud.proto.Cloud.RecycleTxnPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RecycleTxnPB();
}
public static org.apache.doris.cloud.proto.Cloud.RecycleTxnPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RecycleTxnPB>
PARSER = new com.google.protobuf.AbstractParser<RecycleTxnPB>() {
@java.lang.Override
public RecycleTxnPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RecycleTxnPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RecycleTxnPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleTxnPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecycleIndexPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RecycleIndexPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional int64 creation_time = 2;</code>
* @return Whether the creationTime field is set.
*/
boolean hasCreationTime();
/**
* <code>optional int64 creation_time = 2;</code>
* @return The creationTime.
*/
long getCreationTime();
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @return Whether the state field is set.
*/
boolean hasState();
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @return The state.
*/
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State getState();
}
/**
* Protobuf type {@code doris.cloud.RecycleIndexPB}
*/
public static final class RecycleIndexPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RecycleIndexPB)
RecycleIndexPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecycleIndexPB.newBuilder() to construct.
private RecycleIndexPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RecycleIndexPB() {
state_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecycleIndexPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleIndexPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleIndexPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.class, org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.RecycleIndexPB.State}
*/
public enum State
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>PREPARED = 1;</code>
*/
PREPARED(1),
/**
* <code>DROPPED = 2;</code>
*/
DROPPED(2),
/**
* <code>RECYCLING = 3;</code>
*/
RECYCLING(3),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>PREPARED = 1;</code>
*/
public static final int PREPARED_VALUE = 1;
/**
* <code>DROPPED = 2;</code>
*/
public static final int DROPPED_VALUE = 2;
/**
* <code>RECYCLING = 3;</code>
*/
public static final int RECYCLING_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static State forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return PREPARED;
case 2: return DROPPED;
case 3: return RECYCLING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<State>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
State> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<State>() {
public State findValueByNumber(int number) {
return State.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.getDescriptor().getEnumTypes().get(0);
}
private static final State[] VALUES = values();
public static State valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private State(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.RecycleIndexPB.State)
}
private int bitField0_;
public static final int TABLE_ID_FIELD_NUMBER = 1;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int CREATION_TIME_FIELD_NUMBER = 2;
private long creationTime_ = 0L;
/**
* <code>optional int64 creation_time = 2;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 creation_time = 2;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
public static final int EXPIRATION_FIELD_NUMBER = 3;
private long expiration_ = 0L;
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int STATE_FIELD_NUMBER = 4;
private int state_ = 0;
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @return Whether the state field is set.
*/
@java.lang.Override public boolean hasState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @return The state.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State getState() {
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State result = org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State.forNumber(state_);
return result == null ? org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State.UNKNOWN : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, tableId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, creationTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(4, state_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, tableId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, creationTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, state_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RecycleIndexPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB other = (org.apache.doris.cloud.proto.Cloud.RecycleIndexPB) obj;
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasCreationTime() != other.hasCreationTime()) return false;
if (hasCreationTime()) {
if (getCreationTime()
!= other.getCreationTime()) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasState() != other.hasState()) return false;
if (hasState()) {
if (state_ != other.state_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasCreationTime()) {
hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreationTime());
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RecycleIndexPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RecycleIndexPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RecycleIndexPB)
org.apache.doris.cloud.proto.Cloud.RecycleIndexPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleIndexPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleIndexPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.class, org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tableId_ = 0L;
creationTime_ = 0L;
expiration_ = 0L;
state_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleIndexPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleIndexPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleIndexPB build() {
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleIndexPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB result = new org.apache.doris.cloud.proto.Cloud.RecycleIndexPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RecycleIndexPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.creationTime_ = creationTime_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.state_ = state_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RecycleIndexPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RecycleIndexPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RecycleIndexPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.getDefaultInstance()) return this;
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasCreationTime()) {
setCreationTime(other.getCreationTime());
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasState()) {
setState(other.getState());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
creationTime_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State tmpValue =
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
state_ = tmpRaw;
bitField0_ |= 0x00000008;
}
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long tableId_ ;
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 1;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000001);
tableId_ = 0L;
onChanged();
return this;
}
private long creationTime_ ;
/**
* <code>optional int64 creation_time = 2;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 creation_time = 2;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
/**
* <code>optional int64 creation_time = 2;</code>
* @param value The creationTime to set.
* @return This builder for chaining.
*/
public Builder setCreationTime(long value) {
creationTime_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 creation_time = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000002);
creationTime_ = 0L;
onChanged();
return this;
}
private long expiration_ ;
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000004);
expiration_ = 0L;
onChanged();
return this;
}
private int state_ = 0;
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @return Whether the state field is set.
*/
@java.lang.Override public boolean hasState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @return The state.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State getState() {
org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State result = org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State.forNumber(state_);
return result == null ? org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(org.apache.doris.cloud.proto.Cloud.RecycleIndexPB.State value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
state_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RecycleIndexPB.State state = 4;</code>
* @return This builder for chaining.
*/
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000008);
state_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RecycleIndexPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RecycleIndexPB)
private static final org.apache.doris.cloud.proto.Cloud.RecycleIndexPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RecycleIndexPB();
}
public static org.apache.doris.cloud.proto.Cloud.RecycleIndexPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RecycleIndexPB>
PARSER = new com.google.protobuf.AbstractParser<RecycleIndexPB>() {
@java.lang.Override
public RecycleIndexPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RecycleIndexPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RecycleIndexPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleIndexPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecyclePartitionPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RecyclePartitionPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>repeated int64 index_id = 2;</code>
* @return A list containing the indexId.
*/
java.util.List<java.lang.Long> getIndexIdList();
/**
* <code>repeated int64 index_id = 2;</code>
* @return The count of indexId.
*/
int getIndexIdCount();
/**
* <code>repeated int64 index_id = 2;</code>
* @param index The index of the element to return.
* @return The indexId at the given index.
*/
long getIndexId(int index);
/**
* <code>optional int64 creation_time = 3;</code>
* @return Whether the creationTime field is set.
*/
boolean hasCreationTime();
/**
* <code>optional int64 creation_time = 3;</code>
* @return The creationTime.
*/
long getCreationTime();
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @return Whether the state field is set.
*/
boolean hasState();
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @return The state.
*/
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State getState();
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @return The dbId.
*/
long getDbId();
}
/**
* Protobuf type {@code doris.cloud.RecyclePartitionPB}
*/
public static final class RecyclePartitionPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RecyclePartitionPB)
RecyclePartitionPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecyclePartitionPB.newBuilder() to construct.
private RecyclePartitionPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RecyclePartitionPB() {
indexId_ = emptyLongList();
state_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecyclePartitionPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecyclePartitionPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecyclePartitionPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.class, org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.RecyclePartitionPB.State}
*/
public enum State
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>PREPARED = 1;</code>
*/
PREPARED(1),
/**
* <code>DROPPED = 2;</code>
*/
DROPPED(2),
/**
* <code>RECYCLING = 3;</code>
*/
RECYCLING(3),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>PREPARED = 1;</code>
*/
public static final int PREPARED_VALUE = 1;
/**
* <code>DROPPED = 2;</code>
*/
public static final int DROPPED_VALUE = 2;
/**
* <code>RECYCLING = 3;</code>
*/
public static final int RECYCLING_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static State valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static State forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return PREPARED;
case 2: return DROPPED;
case 3: return RECYCLING;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<State>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
State> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<State>() {
public State findValueByNumber(int number) {
return State.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.getDescriptor().getEnumTypes().get(0);
}
private static final State[] VALUES = values();
public static State valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private State(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.RecyclePartitionPB.State)
}
private int bitField0_;
public static final int TABLE_ID_FIELD_NUMBER = 1;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int INDEX_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList indexId_ =
emptyLongList();
/**
* <code>repeated int64 index_id = 2;</code>
* @return A list containing the indexId.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getIndexIdList() {
return indexId_;
}
/**
* <code>repeated int64 index_id = 2;</code>
* @return The count of indexId.
*/
public int getIndexIdCount() {
return indexId_.size();
}
/**
* <code>repeated int64 index_id = 2;</code>
* @param index The index of the element to return.
* @return The indexId at the given index.
*/
public long getIndexId(int index) {
return indexId_.getLong(index);
}
public static final int CREATION_TIME_FIELD_NUMBER = 3;
private long creationTime_ = 0L;
/**
* <code>optional int64 creation_time = 3;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 creation_time = 3;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
public static final int EXPIRATION_FIELD_NUMBER = 4;
private long expiration_ = 0L;
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int STATE_FIELD_NUMBER = 5;
private int state_ = 0;
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @return Whether the state field is set.
*/
@java.lang.Override public boolean hasState() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @return The state.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State getState() {
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State result = org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State.forNumber(state_);
return result == null ? org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State.UNKNOWN : result;
}
public static final int DB_ID_FIELD_NUMBER = 6;
private long dbId_ = 0L;
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, tableId_);
}
for (int i = 0; i < indexId_.size(); i++) {
output.writeInt64(2, indexId_.getLong(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, creationTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(4, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(5, state_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(6, dbId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, tableId_);
}
{
int dataSize = 0;
for (int i = 0; i < indexId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(indexId_.getLong(i));
}
size += dataSize;
size += 1 * getIndexIdList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, creationTime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, state_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, dbId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB other = (org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB) obj;
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (!getIndexIdList()
.equals(other.getIndexIdList())) return false;
if (hasCreationTime() != other.hasCreationTime()) return false;
if (hasCreationTime()) {
if (getCreationTime()
!= other.getCreationTime()) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasState() != other.hasState()) return false;
if (hasState()) {
if (state_ != other.state_) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (getIndexIdCount() > 0) {
hash = (37 * hash) + INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + getIndexIdList().hashCode();
}
if (hasCreationTime()) {
hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreationTime());
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasState()) {
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RecyclePartitionPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RecyclePartitionPB)
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecyclePartitionPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecyclePartitionPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.class, org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tableId_ = 0L;
indexId_ = emptyLongList();
creationTime_ = 0L;
expiration_ = 0L;
state_ = 0;
dbId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecyclePartitionPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB build() {
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB result = new org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
indexId_.makeImmutable();
result.indexId_ = indexId_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.creationTime_ = creationTime_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.state_ = state_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.getDefaultInstance()) return this;
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (!other.indexId_.isEmpty()) {
if (indexId_.isEmpty()) {
indexId_ = other.indexId_;
indexId_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensureIndexIdIsMutable();
indexId_.addAll(other.indexId_);
}
onChanged();
}
if (other.hasCreationTime()) {
setCreationTime(other.getCreationTime());
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasState()) {
setState(other.getState());
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
long v = input.readInt64();
ensureIndexIdIsMutable();
indexId_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureIndexIdIsMutable();
while (input.getBytesUntilLimit() > 0) {
indexId_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
case 24: {
creationTime_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State tmpValue =
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(5, tmpRaw);
} else {
state_ = tmpRaw;
bitField0_ |= 0x00000010;
}
break;
} // case 40
case 48: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long tableId_ ;
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 1;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000001);
tableId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList indexId_ = emptyLongList();
private void ensureIndexIdIsMutable() {
if (!indexId_.isModifiable()) {
indexId_ = makeMutableCopy(indexId_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated int64 index_id = 2;</code>
* @return A list containing the indexId.
*/
public java.util.List<java.lang.Long>
getIndexIdList() {
indexId_.makeImmutable();
return indexId_;
}
/**
* <code>repeated int64 index_id = 2;</code>
* @return The count of indexId.
*/
public int getIndexIdCount() {
return indexId_.size();
}
/**
* <code>repeated int64 index_id = 2;</code>
* @param index The index of the element to return.
* @return The indexId at the given index.
*/
public long getIndexId(int index) {
return indexId_.getLong(index);
}
/**
* <code>repeated int64 index_id = 2;</code>
* @param index The index to set the value at.
* @param value The indexId to set.
* @return This builder for chaining.
*/
public Builder setIndexId(
int index, long value) {
ensureIndexIdIsMutable();
indexId_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 index_id = 2;</code>
* @param value The indexId to add.
* @return This builder for chaining.
*/
public Builder addIndexId(long value) {
ensureIndexIdIsMutable();
indexId_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 index_id = 2;</code>
* @param values The indexId to add.
* @return This builder for chaining.
*/
public Builder addAllIndexId(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureIndexIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, indexId_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 index_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIndexId() {
indexId_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private long creationTime_ ;
/**
* <code>optional int64 creation_time = 3;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 creation_time = 3;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
/**
* <code>optional int64 creation_time = 3;</code>
* @param value The creationTime to set.
* @return This builder for chaining.
*/
public Builder setCreationTime(long value) {
creationTime_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 creation_time = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000004);
creationTime_ = 0L;
onChanged();
return this;
}
private long expiration_ ;
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000008);
expiration_ = 0L;
onChanged();
return this;
}
private int state_ = 0;
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @return Whether the state field is set.
*/
@java.lang.Override public boolean hasState() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @return The state.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State getState() {
org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State result = org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State.forNumber(state_);
return result == null ? org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @param value The state to set.
* @return This builder for chaining.
*/
public Builder setState(org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB.State value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
state_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RecyclePartitionPB.State state = 5;</code>
* @return This builder for chaining.
*/
public Builder clearState() {
bitField0_ = (bitField0_ & ~0x00000010);
state_ = 0;
onChanged();
return this;
}
private long dbId_ ;
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* For version recycling
* </pre>
*
* <code>optional int64 db_id = 6;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000020);
dbId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RecyclePartitionPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RecyclePartitionPB)
private static final org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB();
}
public static org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RecyclePartitionPB>
PARSER = new com.google.protobuf.AbstractParser<RecyclePartitionPB>() {
@java.lang.Override
public RecyclePartitionPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RecyclePartitionPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RecyclePartitionPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecyclePartitionPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecycleRowsetPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RecycleRowsetPB)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @return The tabletId.
*/
long getTabletId();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return Whether the resourceId field is set.
*/
boolean hasResourceId();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return The resourceId.
*/
java.lang.String getResourceId();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return The bytes for resourceId.
*/
com.google.protobuf.ByteString
getResourceIdBytes();
/**
* <code>optional int64 creation_time = 3;</code>
* @return Whether the creationTime field is set.
*/
boolean hasCreationTime();
/**
* <code>optional int64 creation_time = 3;</code>
* @return The creationTime.
*/
long getCreationTime();
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @return The type.
*/
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type getType();
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
* @return Whether the rowsetMeta field is set.
*/
boolean hasRowsetMeta();
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
* @return The rowsetMeta.
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta();
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.RecycleRowsetPB}
*/
public static final class RecycleRowsetPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RecycleRowsetPB)
RecycleRowsetPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecycleRowsetPB.newBuilder() to construct.
private RecycleRowsetPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RecycleRowsetPB() {
resourceId_ = "";
type_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecycleRowsetPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleRowsetPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleRowsetPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.class, org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.RecycleRowsetPB.Type}
*/
public enum Type
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>PREPARE = 1;</code>
*/
PREPARE(1),
/**
* <code>COMPACT = 2;</code>
*/
COMPACT(2),
/**
* <code>DROP = 3;</code>
*/
DROP(3),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>PREPARE = 1;</code>
*/
public static final int PREPARE_VALUE = 1;
/**
* <code>COMPACT = 2;</code>
*/
public static final int COMPACT_VALUE = 2;
/**
* <code>DROP = 3;</code>
*/
public static final int DROP_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Type valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Type forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return PREPARE;
case 2: return COMPACT;
case 3: return DROP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Type>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Type> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Type>() {
public Type findValueByNumber(int number) {
return Type.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.getDescriptor().getEnumTypes().get(0);
}
private static final Type[] VALUES = values();
public static Type valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Type(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.RecycleRowsetPB.Type)
}
private int bitField0_;
public static final int TABLET_ID_FIELD_NUMBER = 1;
private long tabletId_ = 0L;
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
public static final int RESOURCE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object resourceId_ = "";
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return Whether the resourceId field is set.
*/
@java.lang.Override
public boolean hasResourceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return The resourceId.
*/
@java.lang.Override
public java.lang.String getResourceId() {
java.lang.Object ref = resourceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
resourceId_ = s;
}
return s;
}
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return The bytes for resourceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResourceIdBytes() {
java.lang.Object ref = resourceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CREATION_TIME_FIELD_NUMBER = 3;
private long creationTime_ = 0L;
/**
* <code>optional int64 creation_time = 3;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 creation_time = 3;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
public static final int EXPIRATION_FIELD_NUMBER = 4;
private long expiration_ = 0L;
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int TYPE_FIELD_NUMBER = 5;
private int type_ = 0;
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @return The type.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type getType() {
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type result = org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type.UNKNOWN : result;
}
public static final int ROWSET_META_FIELD_NUMBER = 6;
private org.apache.doris.proto.OlapFile.RowsetMetaCloudPB rowsetMeta_;
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
* @return Whether the rowsetMeta field is set.
*/
@java.lang.Override
public boolean hasRowsetMeta() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
* @return The rowsetMeta.
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta() {
return rowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder() {
return rowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasRowsetMeta()) {
if (!getRowsetMeta().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, tabletId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resourceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, creationTime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, expiration_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeEnum(5, type_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(6, getRowsetMeta());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, tabletId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resourceId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, creationTime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, expiration_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, type_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getRowsetMeta());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB other = (org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB) obj;
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (hasResourceId() != other.hasResourceId()) return false;
if (hasResourceId()) {
if (!getResourceId()
.equals(other.getResourceId())) return false;
}
if (hasCreationTime() != other.hasCreationTime()) return false;
if (hasCreationTime()) {
if (getCreationTime()
!= other.getCreationTime()) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasRowsetMeta() != other.hasRowsetMeta()) return false;
if (hasRowsetMeta()) {
if (!getRowsetMeta()
.equals(other.getRowsetMeta())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
if (hasResourceId()) {
hash = (37 * hash) + RESOURCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getResourceId().hashCode();
}
if (hasCreationTime()) {
hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCreationTime());
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasRowsetMeta()) {
hash = (37 * hash) + ROWSET_META_FIELD_NUMBER;
hash = (53 * hash) + getRowsetMeta().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RecycleRowsetPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RecycleRowsetPB)
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleRowsetPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleRowsetPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.class, org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRowsetMetaFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tabletId_ = 0L;
resourceId_ = "";
creationTime_ = 0L;
expiration_ = 0L;
type_ = 0;
rowsetMeta_ = null;
if (rowsetMetaBuilder_ != null) {
rowsetMetaBuilder_.dispose();
rowsetMetaBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleRowsetPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB build() {
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB result = new org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.resourceId_ = resourceId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.creationTime_ = creationTime_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.rowsetMeta_ = rowsetMetaBuilder_ == null
? rowsetMeta_
: rowsetMetaBuilder_.build();
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.getDefaultInstance()) return this;
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
if (other.hasResourceId()) {
resourceId_ = other.resourceId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasCreationTime()) {
setCreationTime(other.getCreationTime());
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasRowsetMeta()) {
mergeRowsetMeta(other.getRowsetMeta());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasRowsetMeta()) {
if (!getRowsetMeta().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
resourceId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
creationTime_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type tmpValue =
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(5, tmpRaw);
} else {
type_ = tmpRaw;
bitField0_ |= 0x00000010;
}
break;
} // case 40
case 50: {
input.readMessage(
getRowsetMetaFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long tabletId_ ;
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional int64 tablet_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000001);
tabletId_ = 0L;
onChanged();
return this;
}
private java.lang.Object resourceId_ = "";
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return Whether the resourceId field is set.
*/
public boolean hasResourceId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return The resourceId.
*/
public java.lang.String getResourceId() {
java.lang.Object ref = resourceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
resourceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return The bytes for resourceId.
*/
public com.google.protobuf.ByteString
getResourceIdBytes() {
java.lang.Object ref = resourceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @param value The resourceId to set.
* @return This builder for chaining.
*/
public Builder setResourceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
resourceId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearResourceId() {
resourceId_ = getDefaultInstance().getResourceId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional string resource_id = 2;</code>
* @param value The bytes for resourceId to set.
* @return This builder for chaining.
*/
public Builder setResourceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
resourceId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long creationTime_ ;
/**
* <code>optional int64 creation_time = 3;</code>
* @return Whether the creationTime field is set.
*/
@java.lang.Override
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 creation_time = 3;</code>
* @return The creationTime.
*/
@java.lang.Override
public long getCreationTime() {
return creationTime_;
}
/**
* <code>optional int64 creation_time = 3;</code>
* @param value The creationTime to set.
* @return This builder for chaining.
*/
public Builder setCreationTime(long value) {
creationTime_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 creation_time = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000004);
creationTime_ = 0L;
onChanged();
return this;
}
private long expiration_ ;
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <pre>
* expiration timestamp
* </pre>
*
* <code>optional int64 expiration = 4;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000008);
expiration_ = 0L;
onChanged();
return this;
}
private int type_ = 0;
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @return The type.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type getType() {
org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type result = org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB.Type value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RecycleRowsetPB.Type type = 5;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000010);
type_ = 0;
onChanged();
return this;
}
private org.apache.doris.proto.OlapFile.RowsetMetaCloudPB rowsetMeta_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder> rowsetMetaBuilder_;
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
* @return Whether the rowsetMeta field is set.
*/
public boolean hasRowsetMeta() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
* @return The rowsetMeta.
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta() {
if (rowsetMetaBuilder_ == null) {
return rowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
} else {
return rowsetMetaBuilder_.getMessage();
}
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
public Builder setRowsetMeta(org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (rowsetMetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
rowsetMeta_ = value;
} else {
rowsetMetaBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
public Builder setRowsetMeta(
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder builderForValue) {
if (rowsetMetaBuilder_ == null) {
rowsetMeta_ = builderForValue.build();
} else {
rowsetMetaBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
public Builder mergeRowsetMeta(org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (rowsetMetaBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
rowsetMeta_ != null &&
rowsetMeta_ != org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance()) {
getRowsetMetaBuilder().mergeFrom(value);
} else {
rowsetMeta_ = value;
}
} else {
rowsetMetaBuilder_.mergeFrom(value);
}
if (rowsetMeta_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
public Builder clearRowsetMeta() {
bitField0_ = (bitField0_ & ~0x00000020);
rowsetMeta_ = null;
if (rowsetMetaBuilder_ != null) {
rowsetMetaBuilder_.dispose();
rowsetMetaBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder getRowsetMetaBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getRowsetMetaFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder() {
if (rowsetMetaBuilder_ != null) {
return rowsetMetaBuilder_.getMessageOrBuilder();
} else {
return rowsetMeta_ == null ?
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
}
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 6;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>
getRowsetMetaFieldBuilder() {
if (rowsetMetaBuilder_ == null) {
rowsetMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>(
getRowsetMeta(),
getParentForChildren(),
isClean());
rowsetMeta_ = null;
}
return rowsetMetaBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RecycleRowsetPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RecycleRowsetPB)
private static final org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB();
}
public static org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RecycleRowsetPB>
PARSER = new com.google.protobuf.AbstractParser<RecycleRowsetPB>() {
@java.lang.Override
public RecycleRowsetPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RecycleRowsetPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RecycleRowsetPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleRowsetPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecycleStagePBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RecycleStagePB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional string reason = 2;</code>
* @return Whether the reason field is set.
*/
boolean hasReason();
/**
* <code>optional string reason = 2;</code>
* @return The reason.
*/
java.lang.String getReason();
/**
* <code>optional string reason = 2;</code>
* @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
* @return Whether the stage field is set.
*/
boolean hasStage();
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
* @return The stage.
*/
org.apache.doris.cloud.proto.Cloud.StagePB getStage();
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.RecycleStagePB}
*/
public static final class RecycleStagePB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RecycleStagePB)
RecycleStagePBOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecycleStagePB.newBuilder() to construct.
private RecycleStagePB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RecycleStagePB() {
instanceId_ = "";
reason_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecycleStagePB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleStagePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleStagePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleStagePB.class, org.apache.doris.cloud.proto.Cloud.RecycleStagePB.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REASON_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object reason_ = "";
/**
* <code>optional string reason = 2;</code>
* @return Whether the reason field is set.
*/
@java.lang.Override
public boolean hasReason() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string reason = 2;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
}
}
/**
* <code>optional string reason = 2;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.StagePB stage_;
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
* @return Whether the stage field is set.
*/
@java.lang.Override
public boolean hasStage() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
* @return The stage.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB getStage() {
return stage_ == null ? org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder() {
return stage_ == null ? org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reason_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getStage());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getStage());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RecycleStagePB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RecycleStagePB other = (org.apache.doris.cloud.proto.Cloud.RecycleStagePB) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasReason() != other.hasReason()) return false;
if (hasReason()) {
if (!getReason()
.equals(other.getReason())) return false;
}
if (hasStage() != other.hasStage()) return false;
if (hasStage()) {
if (!getStage()
.equals(other.getStage())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasReason()) {
hash = (37 * hash) + REASON_FIELD_NUMBER;
hash = (53 * hash) + getReason().hashCode();
}
if (hasStage()) {
hash = (37 * hash) + STAGE_FIELD_NUMBER;
hash = (53 * hash) + getStage().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RecycleStagePB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RecycleStagePB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RecycleStagePB)
org.apache.doris.cloud.proto.Cloud.RecycleStagePBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleStagePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleStagePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleStagePB.class, org.apache.doris.cloud.proto.Cloud.RecycleStagePB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RecycleStagePB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStageFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
reason_ = "";
stage_ = null;
if (stageBuilder_ != null) {
stageBuilder_.dispose();
stageBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleStagePB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleStagePB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RecycleStagePB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleStagePB build() {
org.apache.doris.cloud.proto.Cloud.RecycleStagePB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleStagePB buildPartial() {
org.apache.doris.cloud.proto.Cloud.RecycleStagePB result = new org.apache.doris.cloud.proto.Cloud.RecycleStagePB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RecycleStagePB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.reason_ = reason_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.stage_ = stageBuilder_ == null
? stage_
: stageBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RecycleStagePB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RecycleStagePB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RecycleStagePB other) {
if (other == org.apache.doris.cloud.proto.Cloud.RecycleStagePB.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasReason()) {
reason_ = other.reason_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasStage()) {
mergeStage(other.getStage());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
reason_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getStageFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object reason_ = "";
/**
* <code>optional string reason = 2;</code>
* @return Whether the reason field is set.
*/
public boolean hasReason() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string reason = 2;</code>
* @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string reason = 2;</code>
* @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string reason = 2;</code>
* @param value The reason to set.
* @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string reason = 2;</code>
* @return This builder for chaining.
*/
public Builder clearReason() {
reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string reason = 2;</code>
* @param value The bytes for reason to set.
* @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.StagePB stage_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder> stageBuilder_;
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
* @return Whether the stage field is set.
*/
public boolean hasStage() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
* @return The stage.
*/
public org.apache.doris.cloud.proto.Cloud.StagePB getStage() {
if (stageBuilder_ == null) {
return stage_ == null ? org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
} else {
return stageBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
public Builder setStage(org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stage_ = value;
} else {
stageBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
public Builder setStage(
org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stageBuilder_ == null) {
stage_ = builderForValue.build();
} else {
stageBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
public Builder mergeStage(org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stageBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
stage_ != null &&
stage_ != org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance()) {
getStageBuilder().mergeFrom(value);
} else {
stage_ = value;
}
} else {
stageBuilder_.mergeFrom(value);
}
if (stage_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
public Builder clearStage() {
bitField0_ = (bitField0_ & ~0x00000004);
stage_ = null;
if (stageBuilder_ != null) {
stageBuilder_.dispose();
stageBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder getStageBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getStageFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder() {
if (stageBuilder_ != null) {
return stageBuilder_.getMessageOrBuilder();
} else {
return stage_ == null ?
org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
}
}
/**
* <code>optional .doris.cloud.StagePB stage = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStageFieldBuilder() {
if (stageBuilder_ == null) {
stageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>(
getStage(),
getParentForChildren(),
isClean());
stage_ = null;
}
return stageBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RecycleStagePB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RecycleStagePB)
private static final org.apache.doris.cloud.proto.Cloud.RecycleStagePB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RecycleStagePB();
}
public static org.apache.doris.cloud.proto.Cloud.RecycleStagePB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RecycleStagePB>
PARSER = new com.google.protobuf.AbstractParser<RecycleStagePB>() {
@java.lang.Override
public RecycleStagePB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RecycleStagePB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RecycleStagePB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleStagePB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface JobRecyclePBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.JobRecyclePB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional string ip_port = 2;</code>
* @return Whether the ipPort field is set.
*/
boolean hasIpPort();
/**
* <code>optional string ip_port = 2;</code>
* @return The ipPort.
*/
java.lang.String getIpPort();
/**
* <code>optional string ip_port = 2;</code>
* @return The bytes for ipPort.
*/
com.google.protobuf.ByteString
getIpPortBytes();
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @return Whether the lastCtimeMs field is set.
*/
boolean hasLastCtimeMs();
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @return The lastCtimeMs.
*/
long getLastCtimeMs();
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @return Whether the expirationTimeMs field is set.
*/
boolean hasExpirationTimeMs();
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @return The expirationTimeMs.
*/
long getExpirationTimeMs();
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @return Whether the lastFinishTimeMs field is set.
*/
boolean hasLastFinishTimeMs();
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @return The lastFinishTimeMs.
*/
long getLastFinishTimeMs();
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status getStatus();
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @return Whether the lastSuccessTimeMs field is set.
*/
boolean hasLastSuccessTimeMs();
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @return The lastSuccessTimeMs.
*/
long getLastSuccessTimeMs();
}
/**
* Protobuf type {@code doris.cloud.JobRecyclePB}
*/
public static final class JobRecyclePB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.JobRecyclePB)
JobRecyclePBOrBuilder {
private static final long serialVersionUID = 0L;
// Use JobRecyclePB.newBuilder() to construct.
private JobRecyclePB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private JobRecyclePB() {
instanceId_ = "";
ipPort_ = "";
status_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new JobRecyclePB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_JobRecyclePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_JobRecyclePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.JobRecyclePB.class, org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.JobRecyclePB.Status}
*/
public enum Status
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>IDLE = 0;</code>
*/
IDLE(0),
/**
* <code>BUSY = 1;</code>
*/
BUSY(1),
;
/**
* <code>IDLE = 0;</code>
*/
public static final int IDLE_VALUE = 0;
/**
* <code>BUSY = 1;</code>
*/
public static final int BUSY_VALUE = 1;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Status valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Status forNumber(int value) {
switch (value) {
case 0: return IDLE;
case 1: return BUSY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Status>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Status> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Status>() {
public Status findValueByNumber(int number) {
return Status.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.JobRecyclePB.getDescriptor().getEnumTypes().get(0);
}
private static final Status[] VALUES = values();
public static Status valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Status(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.JobRecyclePB.Status)
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IP_PORT_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object ipPort_ = "";
/**
* <code>optional string ip_port = 2;</code>
* @return Whether the ipPort field is set.
*/
@java.lang.Override
public boolean hasIpPort() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip_port = 2;</code>
* @return The ipPort.
*/
@java.lang.Override
public java.lang.String getIpPort() {
java.lang.Object ref = ipPort_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ipPort_ = s;
}
return s;
}
}
/**
* <code>optional string ip_port = 2;</code>
* @return The bytes for ipPort.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpPortBytes() {
java.lang.Object ref = ipPort_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ipPort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LAST_CTIME_MS_FIELD_NUMBER = 3;
private long lastCtimeMs_ = 0L;
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @return Whether the lastCtimeMs field is set.
*/
@java.lang.Override
public boolean hasLastCtimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @return The lastCtimeMs.
*/
@java.lang.Override
public long getLastCtimeMs() {
return lastCtimeMs_;
}
public static final int EXPIRATION_TIME_MS_FIELD_NUMBER = 4;
private long expirationTimeMs_ = 0L;
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @return Whether the expirationTimeMs field is set.
*/
@java.lang.Override
public boolean hasExpirationTimeMs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @return The expirationTimeMs.
*/
@java.lang.Override
public long getExpirationTimeMs() {
return expirationTimeMs_;
}
public static final int LAST_FINISH_TIME_MS_FIELD_NUMBER = 5;
private long lastFinishTimeMs_ = 0L;
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @return Whether the lastFinishTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastFinishTimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @return The lastFinishTimeMs.
*/
@java.lang.Override
public long getLastFinishTimeMs() {
return lastFinishTimeMs_;
}
public static final int STATUS_FIELD_NUMBER = 6;
private int status_ = 0;
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @return The status.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status getStatus() {
org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status result = org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status.IDLE : result;
}
public static final int LAST_SUCCESS_TIME_MS_FIELD_NUMBER = 7;
private long lastSuccessTimeMs_ = 0L;
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @return Whether the lastSuccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastSuccessTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @return The lastSuccessTimeMs.
*/
@java.lang.Override
public long getLastSuccessTimeMs() {
return lastSuccessTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ipPort_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, lastCtimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, expirationTimeMs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, lastFinishTimeMs_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeEnum(6, status_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, lastSuccessTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ipPort_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, lastCtimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, expirationTimeMs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, lastFinishTimeMs_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(6, status_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, lastSuccessTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.JobRecyclePB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.JobRecyclePB other = (org.apache.doris.cloud.proto.Cloud.JobRecyclePB) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasIpPort() != other.hasIpPort()) return false;
if (hasIpPort()) {
if (!getIpPort()
.equals(other.getIpPort())) return false;
}
if (hasLastCtimeMs() != other.hasLastCtimeMs()) return false;
if (hasLastCtimeMs()) {
if (getLastCtimeMs()
!= other.getLastCtimeMs()) return false;
}
if (hasExpirationTimeMs() != other.hasExpirationTimeMs()) return false;
if (hasExpirationTimeMs()) {
if (getExpirationTimeMs()
!= other.getExpirationTimeMs()) return false;
}
if (hasLastFinishTimeMs() != other.hasLastFinishTimeMs()) return false;
if (hasLastFinishTimeMs()) {
if (getLastFinishTimeMs()
!= other.getLastFinishTimeMs()) return false;
}
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (status_ != other.status_) return false;
}
if (hasLastSuccessTimeMs() != other.hasLastSuccessTimeMs()) return false;
if (hasLastSuccessTimeMs()) {
if (getLastSuccessTimeMs()
!= other.getLastSuccessTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasIpPort()) {
hash = (37 * hash) + IP_PORT_FIELD_NUMBER;
hash = (53 * hash) + getIpPort().hashCode();
}
if (hasLastCtimeMs()) {
hash = (37 * hash) + LAST_CTIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastCtimeMs());
}
if (hasExpirationTimeMs()) {
hash = (37 * hash) + EXPIRATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpirationTimeMs());
}
if (hasLastFinishTimeMs()) {
hash = (37 * hash) + LAST_FINISH_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastFinishTimeMs());
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
}
if (hasLastSuccessTimeMs()) {
hash = (37 * hash) + LAST_SUCCESS_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastSuccessTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.JobRecyclePB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.JobRecyclePB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.JobRecyclePB)
org.apache.doris.cloud.proto.Cloud.JobRecyclePBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_JobRecyclePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_JobRecyclePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.JobRecyclePB.class, org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.JobRecyclePB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
ipPort_ = "";
lastCtimeMs_ = 0L;
expirationTimeMs_ = 0L;
lastFinishTimeMs_ = 0L;
status_ = 0;
lastSuccessTimeMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_JobRecyclePB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.JobRecyclePB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.JobRecyclePB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.JobRecyclePB build() {
org.apache.doris.cloud.proto.Cloud.JobRecyclePB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.JobRecyclePB buildPartial() {
org.apache.doris.cloud.proto.Cloud.JobRecyclePB result = new org.apache.doris.cloud.proto.Cloud.JobRecyclePB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.JobRecyclePB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ipPort_ = ipPort_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.lastCtimeMs_ = lastCtimeMs_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.expirationTimeMs_ = expirationTimeMs_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.lastFinishTimeMs_ = lastFinishTimeMs_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.lastSuccessTimeMs_ = lastSuccessTimeMs_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.JobRecyclePB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.JobRecyclePB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.JobRecyclePB other) {
if (other == org.apache.doris.cloud.proto.Cloud.JobRecyclePB.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasIpPort()) {
ipPort_ = other.ipPort_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasLastCtimeMs()) {
setLastCtimeMs(other.getLastCtimeMs());
}
if (other.hasExpirationTimeMs()) {
setExpirationTimeMs(other.getExpirationTimeMs());
}
if (other.hasLastFinishTimeMs()) {
setLastFinishTimeMs(other.getLastFinishTimeMs());
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
if (other.hasLastSuccessTimeMs()) {
setLastSuccessTimeMs(other.getLastSuccessTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ipPort_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
lastCtimeMs_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
expirationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
lastFinishTimeMs_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status tmpValue =
org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(6, tmpRaw);
} else {
status_ = tmpRaw;
bitField0_ |= 0x00000020;
}
break;
} // case 48
case 56: {
lastSuccessTimeMs_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object ipPort_ = "";
/**
* <code>optional string ip_port = 2;</code>
* @return Whether the ipPort field is set.
*/
public boolean hasIpPort() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip_port = 2;</code>
* @return The ipPort.
*/
public java.lang.String getIpPort() {
java.lang.Object ref = ipPort_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ipPort_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ip_port = 2;</code>
* @return The bytes for ipPort.
*/
public com.google.protobuf.ByteString
getIpPortBytes() {
java.lang.Object ref = ipPort_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ipPort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ip_port = 2;</code>
* @param value The ipPort to set.
* @return This builder for chaining.
*/
public Builder setIpPort(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ipPort_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string ip_port = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIpPort() {
ipPort_ = getDefaultInstance().getIpPort();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string ip_port = 2;</code>
* @param value The bytes for ipPort to set.
* @return This builder for chaining.
*/
public Builder setIpPortBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ipPort_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long lastCtimeMs_ ;
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @return Whether the lastCtimeMs field is set.
*/
@java.lang.Override
public boolean hasLastCtimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @return The lastCtimeMs.
*/
@java.lang.Override
public long getLastCtimeMs() {
return lastCtimeMs_;
}
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @param value The lastCtimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastCtimeMs(long value) {
lastCtimeMs_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 last_ctime_ms = 3;</code>
* @return This builder for chaining.
*/
public Builder clearLastCtimeMs() {
bitField0_ = (bitField0_ & ~0x00000004);
lastCtimeMs_ = 0L;
onChanged();
return this;
}
private long expirationTimeMs_ ;
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @return Whether the expirationTimeMs field is set.
*/
@java.lang.Override
public boolean hasExpirationTimeMs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @return The expirationTimeMs.
*/
@java.lang.Override
public long getExpirationTimeMs() {
return expirationTimeMs_;
}
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @param value The expirationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setExpirationTimeMs(long value) {
expirationTimeMs_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 expiration_time_ms = 4;</code>
* @return This builder for chaining.
*/
public Builder clearExpirationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000008);
expirationTimeMs_ = 0L;
onChanged();
return this;
}
private long lastFinishTimeMs_ ;
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @return Whether the lastFinishTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastFinishTimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @return The lastFinishTimeMs.
*/
@java.lang.Override
public long getLastFinishTimeMs() {
return lastFinishTimeMs_;
}
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @param value The lastFinishTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastFinishTimeMs(long value) {
lastFinishTimeMs_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 last_finish_time_ms = 5;</code>
* @return This builder for chaining.
*/
public Builder clearLastFinishTimeMs() {
bitField0_ = (bitField0_ & ~0x00000010);
lastFinishTimeMs_ = 0L;
onChanged();
return this;
}
private int status_ = 0;
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status getStatus() {
org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status result = org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status.IDLE : result;
}
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.JobRecyclePB.Status value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.JobRecyclePB.Status status = 6;</code>
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000020);
status_ = 0;
onChanged();
return this;
}
private long lastSuccessTimeMs_ ;
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @return Whether the lastSuccessTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastSuccessTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @return The lastSuccessTimeMs.
*/
@java.lang.Override
public long getLastSuccessTimeMs() {
return lastSuccessTimeMs_;
}
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @param value The lastSuccessTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastSuccessTimeMs(long value) {
lastSuccessTimeMs_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 last_success_time_ms = 7;</code>
* @return This builder for chaining.
*/
public Builder clearLastSuccessTimeMs() {
bitField0_ = (bitField0_ & ~0x00000040);
lastSuccessTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.JobRecyclePB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.JobRecyclePB)
private static final org.apache.doris.cloud.proto.Cloud.JobRecyclePB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.JobRecyclePB();
}
public static org.apache.doris.cloud.proto.Cloud.JobRecyclePB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<JobRecyclePB>
PARSER = new com.google.protobuf.AbstractParser<JobRecyclePB>() {
@java.lang.Override
public JobRecyclePB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<JobRecyclePB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<JobRecyclePB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.JobRecyclePB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TabletIndexPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TabletIndexPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 db_id = 1;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 1;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional int64 index_id = 3;</code>
* @return Whether the indexId field is set.
*/
boolean hasIndexId();
/**
* <code>optional int64 index_id = 3;</code>
* @return The indexId.
*/
long getIndexId();
/**
* <code>optional int64 partition_id = 4;</code>
* @return Whether the partitionId field is set.
*/
boolean hasPartitionId();
/**
* <code>optional int64 partition_id = 4;</code>
* @return The partitionId.
*/
long getPartitionId();
/**
* <code>optional int64 tablet_id = 5;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 5;</code>
* @return The tabletId.
*/
long getTabletId();
}
/**
* Protobuf type {@code doris.cloud.TabletIndexPB}
*/
public static final class TabletIndexPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TabletIndexPB)
TabletIndexPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TabletIndexPB.newBuilder() to construct.
private TabletIndexPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TabletIndexPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TabletIndexPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletIndexPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletIndexPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.class, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder.class);
}
private int bitField0_;
public static final int DB_ID_FIELD_NUMBER = 1;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 1;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 db_id = 1;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TABLE_ID_FIELD_NUMBER = 2;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int INDEX_ID_FIELD_NUMBER = 3;
private long indexId_ = 0L;
/**
* <code>optional int64 index_id = 3;</code>
* @return Whether the indexId field is set.
*/
@java.lang.Override
public boolean hasIndexId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 index_id = 3;</code>
* @return The indexId.
*/
@java.lang.Override
public long getIndexId() {
return indexId_;
}
public static final int PARTITION_ID_FIELD_NUMBER = 4;
private long partitionId_ = 0L;
/**
* <code>optional int64 partition_id = 4;</code>
* @return Whether the partitionId field is set.
*/
@java.lang.Override
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 partition_id = 4;</code>
* @return The partitionId.
*/
@java.lang.Override
public long getPartitionId() {
return partitionId_;
}
public static final int TABLET_ID_FIELD_NUMBER = 5;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 5;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 tablet_id = 5;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, dbId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, indexId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, partitionId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, tabletId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, dbId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, indexId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, partitionId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, tabletId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TabletIndexPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TabletIndexPB other = (org.apache.doris.cloud.proto.Cloud.TabletIndexPB) obj;
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasIndexId() != other.hasIndexId()) return false;
if (hasIndexId()) {
if (getIndexId()
!= other.getIndexId()) return false;
}
if (hasPartitionId() != other.hasPartitionId()) return false;
if (hasPartitionId()) {
if (getPartitionId()
!= other.getPartitionId()) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasIndexId()) {
hash = (37 * hash) + INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIndexId());
}
if (hasPartitionId()) {
hash = (37 * hash) + PARTITION_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPartitionId());
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TabletIndexPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TabletIndexPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TabletIndexPB)
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletIndexPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletIndexPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.class, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TabletIndexPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
dbId_ = 0L;
tableId_ = 0L;
indexId_ = 0L;
partitionId_ = 0L;
tabletId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletIndexPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB build() {
org.apache.doris.cloud.proto.Cloud.TabletIndexPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TabletIndexPB result = new org.apache.doris.cloud.proto.Cloud.TabletIndexPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TabletIndexPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.indexId_ = indexId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.partitionId_ = partitionId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TabletIndexPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TabletIndexPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TabletIndexPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance()) return this;
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasIndexId()) {
setIndexId(other.getIndexId());
}
if (other.hasPartitionId()) {
setPartitionId(other.getPartitionId());
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
indexId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
partitionId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long dbId_ ;
/**
* <code>optional int64 db_id = 1;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 db_id = 1;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 1;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000001);
dbId_ = 0L;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 2;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000002);
tableId_ = 0L;
onChanged();
return this;
}
private long indexId_ ;
/**
* <code>optional int64 index_id = 3;</code>
* @return Whether the indexId field is set.
*/
@java.lang.Override
public boolean hasIndexId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 index_id = 3;</code>
* @return The indexId.
*/
@java.lang.Override
public long getIndexId() {
return indexId_;
}
/**
* <code>optional int64 index_id = 3;</code>
* @param value The indexId to set.
* @return This builder for chaining.
*/
public Builder setIndexId(long value) {
indexId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 index_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIndexId() {
bitField0_ = (bitField0_ & ~0x00000004);
indexId_ = 0L;
onChanged();
return this;
}
private long partitionId_ ;
/**
* <code>optional int64 partition_id = 4;</code>
* @return Whether the partitionId field is set.
*/
@java.lang.Override
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 partition_id = 4;</code>
* @return The partitionId.
*/
@java.lang.Override
public long getPartitionId() {
return partitionId_;
}
/**
* <code>optional int64 partition_id = 4;</code>
* @param value The partitionId to set.
* @return This builder for chaining.
*/
public Builder setPartitionId(long value) {
partitionId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 partition_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionId() {
bitField0_ = (bitField0_ & ~0x00000008);
partitionId_ = 0L;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 5;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 tablet_id = 5;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 5;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000010);
tabletId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TabletIndexPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TabletIndexPB)
private static final org.apache.doris.cloud.proto.Cloud.TabletIndexPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TabletIndexPB();
}
public static org.apache.doris.cloud.proto.Cloud.TabletIndexPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TabletIndexPB>
PARSER = new com.google.protobuf.AbstractParser<TabletIndexPB>() {
@java.lang.Override
public TabletIndexPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TabletIndexPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TabletIndexPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TabletMetaInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TabletMetaInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 tablet_id = 1;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 1;</code>
* @return The tabletId.
*/
long getTabletId();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @return Whether the isInMemory field is set.
*/
boolean hasIsInMemory();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @return The isInMemory.
*/
boolean getIsInMemory();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @return Whether the isPersistent field is set.
*/
boolean hasIsPersistent();
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @return The isPersistent.
*/
boolean getIsPersistent();
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @return Whether the ttlSeconds field is set.
*/
boolean hasTtlSeconds();
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @return The ttlSeconds.
*/
long getTtlSeconds();
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @return Whether the groupCommitIntervalMs field is set.
*/
boolean hasGroupCommitIntervalMs();
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @return The groupCommitIntervalMs.
*/
long getGroupCommitIntervalMs();
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @return Whether the groupCommitDataBytes field is set.
*/
boolean hasGroupCommitDataBytes();
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @return The groupCommitDataBytes.
*/
long getGroupCommitDataBytes();
/**
* <code>optional string compaction_policy = 7;</code>
* @return Whether the compactionPolicy field is set.
*/
boolean hasCompactionPolicy();
/**
* <code>optional string compaction_policy = 7;</code>
* @return The compactionPolicy.
*/
java.lang.String getCompactionPolicy();
/**
* <code>optional string compaction_policy = 7;</code>
* @return The bytes for compactionPolicy.
*/
com.google.protobuf.ByteString
getCompactionPolicyBytes();
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @return Whether the timeSeriesCompactionGoalSizeMbytes field is set.
*/
boolean hasTimeSeriesCompactionGoalSizeMbytes();
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @return The timeSeriesCompactionGoalSizeMbytes.
*/
long getTimeSeriesCompactionGoalSizeMbytes();
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @return Whether the timeSeriesCompactionFileCountThreshold field is set.
*/
boolean hasTimeSeriesCompactionFileCountThreshold();
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @return The timeSeriesCompactionFileCountThreshold.
*/
long getTimeSeriesCompactionFileCountThreshold();
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @return Whether the timeSeriesCompactionTimeThresholdSeconds field is set.
*/
boolean hasTimeSeriesCompactionTimeThresholdSeconds();
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @return The timeSeriesCompactionTimeThresholdSeconds.
*/
long getTimeSeriesCompactionTimeThresholdSeconds();
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @return Whether the timeSeriesCompactionEmptyRowsetsThreshold field is set.
*/
boolean hasTimeSeriesCompactionEmptyRowsetsThreshold();
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @return The timeSeriesCompactionEmptyRowsetsThreshold.
*/
long getTimeSeriesCompactionEmptyRowsetsThreshold();
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @return Whether the timeSeriesCompactionLevelThreshold field is set.
*/
boolean hasTimeSeriesCompactionLevelThreshold();
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @return The timeSeriesCompactionLevelThreshold.
*/
long getTimeSeriesCompactionLevelThreshold();
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @return Whether the disableAutoCompaction field is set.
*/
boolean hasDisableAutoCompaction();
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @return The disableAutoCompaction.
*/
boolean getDisableAutoCompaction();
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @return Whether the enableMowLightDelete field is set.
*/
boolean hasEnableMowLightDelete();
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @return The enableMowLightDelete.
*/
boolean getEnableMowLightDelete();
}
/**
* <pre>
* For update tablet meta
* </pre>
*
* Protobuf type {@code doris.cloud.TabletMetaInfoPB}
*/
public static final class TabletMetaInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TabletMetaInfoPB)
TabletMetaInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TabletMetaInfoPB.newBuilder() to construct.
private TabletMetaInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TabletMetaInfoPB() {
compactionPolicy_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TabletMetaInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletMetaInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletMetaInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.class, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder.class);
}
private int bitField0_;
public static final int TABLET_ID_FIELD_NUMBER = 1;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 1;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 tablet_id = 1;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
public static final int IS_IN_MEMORY_FIELD_NUMBER = 2;
private boolean isInMemory_ = false;
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @return Whether the isInMemory field is set.
*/
@java.lang.Override
public boolean hasIsInMemory() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @return The isInMemory.
*/
@java.lang.Override
public boolean getIsInMemory() {
return isInMemory_;
}
public static final int IS_PERSISTENT_FIELD_NUMBER = 3;
private boolean isPersistent_ = false;
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @return Whether the isPersistent field is set.
*/
@java.lang.Override
public boolean hasIsPersistent() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @return The isPersistent.
*/
@java.lang.Override
public boolean getIsPersistent() {
return isPersistent_;
}
public static final int TTL_SECONDS_FIELD_NUMBER = 4;
private long ttlSeconds_ = 0L;
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @return Whether the ttlSeconds field is set.
*/
@java.lang.Override
public boolean hasTtlSeconds() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @return The ttlSeconds.
*/
@java.lang.Override
public long getTtlSeconds() {
return ttlSeconds_;
}
public static final int GROUP_COMMIT_INTERVAL_MS_FIELD_NUMBER = 5;
private long groupCommitIntervalMs_ = 0L;
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @return Whether the groupCommitIntervalMs field is set.
*/
@java.lang.Override
public boolean hasGroupCommitIntervalMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @return The groupCommitIntervalMs.
*/
@java.lang.Override
public long getGroupCommitIntervalMs() {
return groupCommitIntervalMs_;
}
public static final int GROUP_COMMIT_DATA_BYTES_FIELD_NUMBER = 6;
private long groupCommitDataBytes_ = 0L;
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @return Whether the groupCommitDataBytes field is set.
*/
@java.lang.Override
public boolean hasGroupCommitDataBytes() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @return The groupCommitDataBytes.
*/
@java.lang.Override
public long getGroupCommitDataBytes() {
return groupCommitDataBytes_;
}
public static final int COMPACTION_POLICY_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object compactionPolicy_ = "";
/**
* <code>optional string compaction_policy = 7;</code>
* @return Whether the compactionPolicy field is set.
*/
@java.lang.Override
public boolean hasCompactionPolicy() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string compaction_policy = 7;</code>
* @return The compactionPolicy.
*/
@java.lang.Override
public java.lang.String getCompactionPolicy() {
java.lang.Object ref = compactionPolicy_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
compactionPolicy_ = s;
}
return s;
}
}
/**
* <code>optional string compaction_policy = 7;</code>
* @return The bytes for compactionPolicy.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCompactionPolicyBytes() {
java.lang.Object ref = compactionPolicy_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
compactionPolicy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TIME_SERIES_COMPACTION_GOAL_SIZE_MBYTES_FIELD_NUMBER = 8;
private long timeSeriesCompactionGoalSizeMbytes_ = 0L;
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @return Whether the timeSeriesCompactionGoalSizeMbytes field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionGoalSizeMbytes() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @return The timeSeriesCompactionGoalSizeMbytes.
*/
@java.lang.Override
public long getTimeSeriesCompactionGoalSizeMbytes() {
return timeSeriesCompactionGoalSizeMbytes_;
}
public static final int TIME_SERIES_COMPACTION_FILE_COUNT_THRESHOLD_FIELD_NUMBER = 9;
private long timeSeriesCompactionFileCountThreshold_ = 0L;
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @return Whether the timeSeriesCompactionFileCountThreshold field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionFileCountThreshold() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @return The timeSeriesCompactionFileCountThreshold.
*/
@java.lang.Override
public long getTimeSeriesCompactionFileCountThreshold() {
return timeSeriesCompactionFileCountThreshold_;
}
public static final int TIME_SERIES_COMPACTION_TIME_THRESHOLD_SECONDS_FIELD_NUMBER = 10;
private long timeSeriesCompactionTimeThresholdSeconds_ = 0L;
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @return Whether the timeSeriesCompactionTimeThresholdSeconds field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionTimeThresholdSeconds() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @return The timeSeriesCompactionTimeThresholdSeconds.
*/
@java.lang.Override
public long getTimeSeriesCompactionTimeThresholdSeconds() {
return timeSeriesCompactionTimeThresholdSeconds_;
}
public static final int TIME_SERIES_COMPACTION_EMPTY_ROWSETS_THRESHOLD_FIELD_NUMBER = 11;
private long timeSeriesCompactionEmptyRowsetsThreshold_ = 0L;
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @return Whether the timeSeriesCompactionEmptyRowsetsThreshold field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionEmptyRowsetsThreshold() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @return The timeSeriesCompactionEmptyRowsetsThreshold.
*/
@java.lang.Override
public long getTimeSeriesCompactionEmptyRowsetsThreshold() {
return timeSeriesCompactionEmptyRowsetsThreshold_;
}
public static final int TIME_SERIES_COMPACTION_LEVEL_THRESHOLD_FIELD_NUMBER = 12;
private long timeSeriesCompactionLevelThreshold_ = 0L;
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @return Whether the timeSeriesCompactionLevelThreshold field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionLevelThreshold() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @return The timeSeriesCompactionLevelThreshold.
*/
@java.lang.Override
public long getTimeSeriesCompactionLevelThreshold() {
return timeSeriesCompactionLevelThreshold_;
}
public static final int DISABLE_AUTO_COMPACTION_FIELD_NUMBER = 13;
private boolean disableAutoCompaction_ = false;
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @return Whether the disableAutoCompaction field is set.
*/
@java.lang.Override
public boolean hasDisableAutoCompaction() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @return The disableAutoCompaction.
*/
@java.lang.Override
public boolean getDisableAutoCompaction() {
return disableAutoCompaction_;
}
public static final int ENABLE_MOW_LIGHT_DELETE_FIELD_NUMBER = 14;
private boolean enableMowLightDelete_ = false;
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @return Whether the enableMowLightDelete field is set.
*/
@java.lang.Override
public boolean hasEnableMowLightDelete() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @return The enableMowLightDelete.
*/
@java.lang.Override
public boolean getEnableMowLightDelete() {
return enableMowLightDelete_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, tabletId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, isInMemory_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, isPersistent_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, ttlSeconds_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, groupCommitIntervalMs_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, groupCommitDataBytes_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, compactionPolicy_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(8, timeSeriesCompactionGoalSizeMbytes_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(9, timeSeriesCompactionFileCountThreshold_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(10, timeSeriesCompactionTimeThresholdSeconds_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(11, timeSeriesCompactionEmptyRowsetsThreshold_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(12, timeSeriesCompactionLevelThreshold_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeBool(13, disableAutoCompaction_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeBool(14, enableMowLightDelete_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, tabletId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, isInMemory_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isPersistent_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, ttlSeconds_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, groupCommitIntervalMs_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, groupCommitDataBytes_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, compactionPolicy_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, timeSeriesCompactionGoalSizeMbytes_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, timeSeriesCompactionFileCountThreshold_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, timeSeriesCompactionTimeThresholdSeconds_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, timeSeriesCompactionEmptyRowsetsThreshold_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, timeSeriesCompactionLevelThreshold_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, disableAutoCompaction_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(14, enableMowLightDelete_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB other = (org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB) obj;
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (hasIsInMemory() != other.hasIsInMemory()) return false;
if (hasIsInMemory()) {
if (getIsInMemory()
!= other.getIsInMemory()) return false;
}
if (hasIsPersistent() != other.hasIsPersistent()) return false;
if (hasIsPersistent()) {
if (getIsPersistent()
!= other.getIsPersistent()) return false;
}
if (hasTtlSeconds() != other.hasTtlSeconds()) return false;
if (hasTtlSeconds()) {
if (getTtlSeconds()
!= other.getTtlSeconds()) return false;
}
if (hasGroupCommitIntervalMs() != other.hasGroupCommitIntervalMs()) return false;
if (hasGroupCommitIntervalMs()) {
if (getGroupCommitIntervalMs()
!= other.getGroupCommitIntervalMs()) return false;
}
if (hasGroupCommitDataBytes() != other.hasGroupCommitDataBytes()) return false;
if (hasGroupCommitDataBytes()) {
if (getGroupCommitDataBytes()
!= other.getGroupCommitDataBytes()) return false;
}
if (hasCompactionPolicy() != other.hasCompactionPolicy()) return false;
if (hasCompactionPolicy()) {
if (!getCompactionPolicy()
.equals(other.getCompactionPolicy())) return false;
}
if (hasTimeSeriesCompactionGoalSizeMbytes() != other.hasTimeSeriesCompactionGoalSizeMbytes()) return false;
if (hasTimeSeriesCompactionGoalSizeMbytes()) {
if (getTimeSeriesCompactionGoalSizeMbytes()
!= other.getTimeSeriesCompactionGoalSizeMbytes()) return false;
}
if (hasTimeSeriesCompactionFileCountThreshold() != other.hasTimeSeriesCompactionFileCountThreshold()) return false;
if (hasTimeSeriesCompactionFileCountThreshold()) {
if (getTimeSeriesCompactionFileCountThreshold()
!= other.getTimeSeriesCompactionFileCountThreshold()) return false;
}
if (hasTimeSeriesCompactionTimeThresholdSeconds() != other.hasTimeSeriesCompactionTimeThresholdSeconds()) return false;
if (hasTimeSeriesCompactionTimeThresholdSeconds()) {
if (getTimeSeriesCompactionTimeThresholdSeconds()
!= other.getTimeSeriesCompactionTimeThresholdSeconds()) return false;
}
if (hasTimeSeriesCompactionEmptyRowsetsThreshold() != other.hasTimeSeriesCompactionEmptyRowsetsThreshold()) return false;
if (hasTimeSeriesCompactionEmptyRowsetsThreshold()) {
if (getTimeSeriesCompactionEmptyRowsetsThreshold()
!= other.getTimeSeriesCompactionEmptyRowsetsThreshold()) return false;
}
if (hasTimeSeriesCompactionLevelThreshold() != other.hasTimeSeriesCompactionLevelThreshold()) return false;
if (hasTimeSeriesCompactionLevelThreshold()) {
if (getTimeSeriesCompactionLevelThreshold()
!= other.getTimeSeriesCompactionLevelThreshold()) return false;
}
if (hasDisableAutoCompaction() != other.hasDisableAutoCompaction()) return false;
if (hasDisableAutoCompaction()) {
if (getDisableAutoCompaction()
!= other.getDisableAutoCompaction()) return false;
}
if (hasEnableMowLightDelete() != other.hasEnableMowLightDelete()) return false;
if (hasEnableMowLightDelete()) {
if (getEnableMowLightDelete()
!= other.getEnableMowLightDelete()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
if (hasIsInMemory()) {
hash = (37 * hash) + IS_IN_MEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsInMemory());
}
if (hasIsPersistent()) {
hash = (37 * hash) + IS_PERSISTENT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsPersistent());
}
if (hasTtlSeconds()) {
hash = (37 * hash) + TTL_SECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTtlSeconds());
}
if (hasGroupCommitIntervalMs()) {
hash = (37 * hash) + GROUP_COMMIT_INTERVAL_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGroupCommitIntervalMs());
}
if (hasGroupCommitDataBytes()) {
hash = (37 * hash) + GROUP_COMMIT_DATA_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getGroupCommitDataBytes());
}
if (hasCompactionPolicy()) {
hash = (37 * hash) + COMPACTION_POLICY_FIELD_NUMBER;
hash = (53 * hash) + getCompactionPolicy().hashCode();
}
if (hasTimeSeriesCompactionGoalSizeMbytes()) {
hash = (37 * hash) + TIME_SERIES_COMPACTION_GOAL_SIZE_MBYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeSeriesCompactionGoalSizeMbytes());
}
if (hasTimeSeriesCompactionFileCountThreshold()) {
hash = (37 * hash) + TIME_SERIES_COMPACTION_FILE_COUNT_THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeSeriesCompactionFileCountThreshold());
}
if (hasTimeSeriesCompactionTimeThresholdSeconds()) {
hash = (37 * hash) + TIME_SERIES_COMPACTION_TIME_THRESHOLD_SECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeSeriesCompactionTimeThresholdSeconds());
}
if (hasTimeSeriesCompactionEmptyRowsetsThreshold()) {
hash = (37 * hash) + TIME_SERIES_COMPACTION_EMPTY_ROWSETS_THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeSeriesCompactionEmptyRowsetsThreshold());
}
if (hasTimeSeriesCompactionLevelThreshold()) {
hash = (37 * hash) + TIME_SERIES_COMPACTION_LEVEL_THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeSeriesCompactionLevelThreshold());
}
if (hasDisableAutoCompaction()) {
hash = (37 * hash) + DISABLE_AUTO_COMPACTION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDisableAutoCompaction());
}
if (hasEnableMowLightDelete()) {
hash = (37 * hash) + ENABLE_MOW_LIGHT_DELETE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableMowLightDelete());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* For update tablet meta
* </pre>
*
* Protobuf type {@code doris.cloud.TabletMetaInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TabletMetaInfoPB)
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletMetaInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletMetaInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.class, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tabletId_ = 0L;
isInMemory_ = false;
isPersistent_ = false;
ttlSeconds_ = 0L;
groupCommitIntervalMs_ = 0L;
groupCommitDataBytes_ = 0L;
compactionPolicy_ = "";
timeSeriesCompactionGoalSizeMbytes_ = 0L;
timeSeriesCompactionFileCountThreshold_ = 0L;
timeSeriesCompactionTimeThresholdSeconds_ = 0L;
timeSeriesCompactionEmptyRowsetsThreshold_ = 0L;
timeSeriesCompactionLevelThreshold_ = 0L;
disableAutoCompaction_ = false;
enableMowLightDelete_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletMetaInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB build() {
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB result = new org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.isInMemory_ = isInMemory_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isPersistent_ = isPersistent_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.ttlSeconds_ = ttlSeconds_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.groupCommitIntervalMs_ = groupCommitIntervalMs_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.groupCommitDataBytes_ = groupCommitDataBytes_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.compactionPolicy_ = compactionPolicy_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.timeSeriesCompactionGoalSizeMbytes_ = timeSeriesCompactionGoalSizeMbytes_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.timeSeriesCompactionFileCountThreshold_ = timeSeriesCompactionFileCountThreshold_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.timeSeriesCompactionTimeThresholdSeconds_ = timeSeriesCompactionTimeThresholdSeconds_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.timeSeriesCompactionEmptyRowsetsThreshold_ = timeSeriesCompactionEmptyRowsetsThreshold_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.timeSeriesCompactionLevelThreshold_ = timeSeriesCompactionLevelThreshold_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.disableAutoCompaction_ = disableAutoCompaction_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.enableMowLightDelete_ = enableMowLightDelete_;
to_bitField0_ |= 0x00002000;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.getDefaultInstance()) return this;
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
if (other.hasIsInMemory()) {
setIsInMemory(other.getIsInMemory());
}
if (other.hasIsPersistent()) {
setIsPersistent(other.getIsPersistent());
}
if (other.hasTtlSeconds()) {
setTtlSeconds(other.getTtlSeconds());
}
if (other.hasGroupCommitIntervalMs()) {
setGroupCommitIntervalMs(other.getGroupCommitIntervalMs());
}
if (other.hasGroupCommitDataBytes()) {
setGroupCommitDataBytes(other.getGroupCommitDataBytes());
}
if (other.hasCompactionPolicy()) {
compactionPolicy_ = other.compactionPolicy_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasTimeSeriesCompactionGoalSizeMbytes()) {
setTimeSeriesCompactionGoalSizeMbytes(other.getTimeSeriesCompactionGoalSizeMbytes());
}
if (other.hasTimeSeriesCompactionFileCountThreshold()) {
setTimeSeriesCompactionFileCountThreshold(other.getTimeSeriesCompactionFileCountThreshold());
}
if (other.hasTimeSeriesCompactionTimeThresholdSeconds()) {
setTimeSeriesCompactionTimeThresholdSeconds(other.getTimeSeriesCompactionTimeThresholdSeconds());
}
if (other.hasTimeSeriesCompactionEmptyRowsetsThreshold()) {
setTimeSeriesCompactionEmptyRowsetsThreshold(other.getTimeSeriesCompactionEmptyRowsetsThreshold());
}
if (other.hasTimeSeriesCompactionLevelThreshold()) {
setTimeSeriesCompactionLevelThreshold(other.getTimeSeriesCompactionLevelThreshold());
}
if (other.hasDisableAutoCompaction()) {
setDisableAutoCompaction(other.getDisableAutoCompaction());
}
if (other.hasEnableMowLightDelete()) {
setEnableMowLightDelete(other.getEnableMowLightDelete());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
isInMemory_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
isPersistent_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
ttlSeconds_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
groupCommitIntervalMs_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
groupCommitDataBytes_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
compactionPolicy_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
case 64: {
timeSeriesCompactionGoalSizeMbytes_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
timeSeriesCompactionFileCountThreshold_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
timeSeriesCompactionTimeThresholdSeconds_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
timeSeriesCompactionEmptyRowsetsThreshold_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
timeSeriesCompactionLevelThreshold_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
disableAutoCompaction_ = input.readBool();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
enableMowLightDelete_ = input.readBool();
bitField0_ |= 0x00002000;
break;
} // case 112
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 1;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 tablet_id = 1;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 1;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000001);
tabletId_ = 0L;
onChanged();
return this;
}
private boolean isInMemory_ ;
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @return Whether the isInMemory field is set.
*/
@java.lang.Override
public boolean hasIsInMemory() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @return The isInMemory.
*/
@java.lang.Override
public boolean getIsInMemory() {
return isInMemory_;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @param value The isInMemory to set.
* @return This builder for chaining.
*/
public Builder setIsInMemory(boolean value) {
isInMemory_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_in_memory = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIsInMemory() {
bitField0_ = (bitField0_ & ~0x00000002);
isInMemory_ = false;
onChanged();
return this;
}
private boolean isPersistent_ ;
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @return Whether the isPersistent field is set.
*/
@java.lang.Override
public boolean hasIsPersistent() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @return The isPersistent.
*/
@java.lang.Override
public boolean getIsPersistent() {
return isPersistent_;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @param value The isPersistent to set.
* @return This builder for chaining.
*/
public Builder setIsPersistent(boolean value) {
isPersistent_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* deprecated
* </pre>
*
* <code>optional bool is_persistent = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIsPersistent() {
bitField0_ = (bitField0_ & ~0x00000004);
isPersistent_ = false;
onChanged();
return this;
}
private long ttlSeconds_ ;
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @return Whether the ttlSeconds field is set.
*/
@java.lang.Override
public boolean hasTtlSeconds() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @return The ttlSeconds.
*/
@java.lang.Override
public long getTtlSeconds() {
return ttlSeconds_;
}
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @param value The ttlSeconds to set.
* @return This builder for chaining.
*/
public Builder setTtlSeconds(long value) {
ttlSeconds_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 ttl_seconds = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTtlSeconds() {
bitField0_ = (bitField0_ & ~0x00000008);
ttlSeconds_ = 0L;
onChanged();
return this;
}
private long groupCommitIntervalMs_ ;
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @return Whether the groupCommitIntervalMs field is set.
*/
@java.lang.Override
public boolean hasGroupCommitIntervalMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @return The groupCommitIntervalMs.
*/
@java.lang.Override
public long getGroupCommitIntervalMs() {
return groupCommitIntervalMs_;
}
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @param value The groupCommitIntervalMs to set.
* @return This builder for chaining.
*/
public Builder setGroupCommitIntervalMs(long value) {
groupCommitIntervalMs_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 group_commit_interval_ms = 5;</code>
* @return This builder for chaining.
*/
public Builder clearGroupCommitIntervalMs() {
bitField0_ = (bitField0_ & ~0x00000010);
groupCommitIntervalMs_ = 0L;
onChanged();
return this;
}
private long groupCommitDataBytes_ ;
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @return Whether the groupCommitDataBytes field is set.
*/
@java.lang.Override
public boolean hasGroupCommitDataBytes() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @return The groupCommitDataBytes.
*/
@java.lang.Override
public long getGroupCommitDataBytes() {
return groupCommitDataBytes_;
}
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @param value The groupCommitDataBytes to set.
* @return This builder for chaining.
*/
public Builder setGroupCommitDataBytes(long value) {
groupCommitDataBytes_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 group_commit_data_bytes = 6;</code>
* @return This builder for chaining.
*/
public Builder clearGroupCommitDataBytes() {
bitField0_ = (bitField0_ & ~0x00000020);
groupCommitDataBytes_ = 0L;
onChanged();
return this;
}
private java.lang.Object compactionPolicy_ = "";
/**
* <code>optional string compaction_policy = 7;</code>
* @return Whether the compactionPolicy field is set.
*/
public boolean hasCompactionPolicy() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional string compaction_policy = 7;</code>
* @return The compactionPolicy.
*/
public java.lang.String getCompactionPolicy() {
java.lang.Object ref = compactionPolicy_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
compactionPolicy_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string compaction_policy = 7;</code>
* @return The bytes for compactionPolicy.
*/
public com.google.protobuf.ByteString
getCompactionPolicyBytes() {
java.lang.Object ref = compactionPolicy_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
compactionPolicy_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string compaction_policy = 7;</code>
* @param value The compactionPolicy to set.
* @return This builder for chaining.
*/
public Builder setCompactionPolicy(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
compactionPolicy_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional string compaction_policy = 7;</code>
* @return This builder for chaining.
*/
public Builder clearCompactionPolicy() {
compactionPolicy_ = getDefaultInstance().getCompactionPolicy();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <code>optional string compaction_policy = 7;</code>
* @param value The bytes for compactionPolicy to set.
* @return This builder for chaining.
*/
public Builder setCompactionPolicyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
compactionPolicy_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private long timeSeriesCompactionGoalSizeMbytes_ ;
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @return Whether the timeSeriesCompactionGoalSizeMbytes field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionGoalSizeMbytes() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @return The timeSeriesCompactionGoalSizeMbytes.
*/
@java.lang.Override
public long getTimeSeriesCompactionGoalSizeMbytes() {
return timeSeriesCompactionGoalSizeMbytes_;
}
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @param value The timeSeriesCompactionGoalSizeMbytes to set.
* @return This builder for chaining.
*/
public Builder setTimeSeriesCompactionGoalSizeMbytes(long value) {
timeSeriesCompactionGoalSizeMbytes_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 time_series_compaction_goal_size_mbytes = 8;</code>
* @return This builder for chaining.
*/
public Builder clearTimeSeriesCompactionGoalSizeMbytes() {
bitField0_ = (bitField0_ & ~0x00000080);
timeSeriesCompactionGoalSizeMbytes_ = 0L;
onChanged();
return this;
}
private long timeSeriesCompactionFileCountThreshold_ ;
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @return Whether the timeSeriesCompactionFileCountThreshold field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionFileCountThreshold() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @return The timeSeriesCompactionFileCountThreshold.
*/
@java.lang.Override
public long getTimeSeriesCompactionFileCountThreshold() {
return timeSeriesCompactionFileCountThreshold_;
}
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @param value The timeSeriesCompactionFileCountThreshold to set.
* @return This builder for chaining.
*/
public Builder setTimeSeriesCompactionFileCountThreshold(long value) {
timeSeriesCompactionFileCountThreshold_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional int64 time_series_compaction_file_count_threshold = 9;</code>
* @return This builder for chaining.
*/
public Builder clearTimeSeriesCompactionFileCountThreshold() {
bitField0_ = (bitField0_ & ~0x00000100);
timeSeriesCompactionFileCountThreshold_ = 0L;
onChanged();
return this;
}
private long timeSeriesCompactionTimeThresholdSeconds_ ;
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @return Whether the timeSeriesCompactionTimeThresholdSeconds field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionTimeThresholdSeconds() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @return The timeSeriesCompactionTimeThresholdSeconds.
*/
@java.lang.Override
public long getTimeSeriesCompactionTimeThresholdSeconds() {
return timeSeriesCompactionTimeThresholdSeconds_;
}
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @param value The timeSeriesCompactionTimeThresholdSeconds to set.
* @return This builder for chaining.
*/
public Builder setTimeSeriesCompactionTimeThresholdSeconds(long value) {
timeSeriesCompactionTimeThresholdSeconds_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional int64 time_series_compaction_time_threshold_seconds = 10;</code>
* @return This builder for chaining.
*/
public Builder clearTimeSeriesCompactionTimeThresholdSeconds() {
bitField0_ = (bitField0_ & ~0x00000200);
timeSeriesCompactionTimeThresholdSeconds_ = 0L;
onChanged();
return this;
}
private long timeSeriesCompactionEmptyRowsetsThreshold_ ;
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @return Whether the timeSeriesCompactionEmptyRowsetsThreshold field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionEmptyRowsetsThreshold() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @return The timeSeriesCompactionEmptyRowsetsThreshold.
*/
@java.lang.Override
public long getTimeSeriesCompactionEmptyRowsetsThreshold() {
return timeSeriesCompactionEmptyRowsetsThreshold_;
}
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @param value The timeSeriesCompactionEmptyRowsetsThreshold to set.
* @return This builder for chaining.
*/
public Builder setTimeSeriesCompactionEmptyRowsetsThreshold(long value) {
timeSeriesCompactionEmptyRowsetsThreshold_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional int64 time_series_compaction_empty_rowsets_threshold = 11;</code>
* @return This builder for chaining.
*/
public Builder clearTimeSeriesCompactionEmptyRowsetsThreshold() {
bitField0_ = (bitField0_ & ~0x00000400);
timeSeriesCompactionEmptyRowsetsThreshold_ = 0L;
onChanged();
return this;
}
private long timeSeriesCompactionLevelThreshold_ ;
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @return Whether the timeSeriesCompactionLevelThreshold field is set.
*/
@java.lang.Override
public boolean hasTimeSeriesCompactionLevelThreshold() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @return The timeSeriesCompactionLevelThreshold.
*/
@java.lang.Override
public long getTimeSeriesCompactionLevelThreshold() {
return timeSeriesCompactionLevelThreshold_;
}
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @param value The timeSeriesCompactionLevelThreshold to set.
* @return This builder for chaining.
*/
public Builder setTimeSeriesCompactionLevelThreshold(long value) {
timeSeriesCompactionLevelThreshold_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional int64 time_series_compaction_level_threshold = 12;</code>
* @return This builder for chaining.
*/
public Builder clearTimeSeriesCompactionLevelThreshold() {
bitField0_ = (bitField0_ & ~0x00000800);
timeSeriesCompactionLevelThreshold_ = 0L;
onChanged();
return this;
}
private boolean disableAutoCompaction_ ;
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @return Whether the disableAutoCompaction field is set.
*/
@java.lang.Override
public boolean hasDisableAutoCompaction() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @return The disableAutoCompaction.
*/
@java.lang.Override
public boolean getDisableAutoCompaction() {
return disableAutoCompaction_;
}
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @param value The disableAutoCompaction to set.
* @return This builder for chaining.
*/
public Builder setDisableAutoCompaction(boolean value) {
disableAutoCompaction_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional bool disable_auto_compaction = 13;</code>
* @return This builder for chaining.
*/
public Builder clearDisableAutoCompaction() {
bitField0_ = (bitField0_ & ~0x00001000);
disableAutoCompaction_ = false;
onChanged();
return this;
}
private boolean enableMowLightDelete_ ;
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @return Whether the enableMowLightDelete field is set.
*/
@java.lang.Override
public boolean hasEnableMowLightDelete() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @return The enableMowLightDelete.
*/
@java.lang.Override
public boolean getEnableMowLightDelete() {
return enableMowLightDelete_;
}
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @param value The enableMowLightDelete to set.
* @return This builder for chaining.
*/
public Builder setEnableMowLightDelete(boolean value) {
enableMowLightDelete_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>optional bool enable_mow_light_delete = 14;</code>
* @return This builder for chaining.
*/
public Builder clearEnableMowLightDelete() {
bitField0_ = (bitField0_ & ~0x00002000);
enableMowLightDelete_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TabletMetaInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TabletMetaInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TabletMetaInfoPB>
PARSER = new com.google.protobuf.AbstractParser<TabletMetaInfoPB>() {
@java.lang.Override
public TabletMetaInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TabletMetaInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TabletMetaInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TabletCompactionJobPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TabletCompactionJobPB)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return Whether the initiator field is set.
*/
boolean hasInitiator();
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The initiator.
*/
java.lang.String getInitiator();
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The bytes for initiator.
*/
com.google.protobuf.ByteString
getInitiatorBytes();
/**
* <code>optional int64 ctime = 2;</code>
* @return Whether the ctime field is set.
*/
boolean hasCtime();
/**
* <code>optional int64 ctime = 2;</code>
* @return The ctime.
*/
long getCtime();
/**
* <code>optional int64 mtime = 3;</code>
* @return Whether the mtime field is set.
*/
boolean hasMtime();
/**
* <code>optional int64 mtime = 3;</code>
* @return The mtime.
*/
long getMtime();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @return The type.
*/
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType getType();
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @return Whether the inputCumulativePoint field is set.
*/
boolean hasInputCumulativePoint();
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @return The inputCumulativePoint.
*/
long getInputCumulativePoint();
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @return Whether the outputCumulativePoint field is set.
*/
boolean hasOutputCumulativePoint();
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @return The outputCumulativePoint.
*/
long getOutputCumulativePoint();
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @return Whether the numInputRowsets field is set.
*/
boolean hasNumInputRowsets();
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @return The numInputRowsets.
*/
long getNumInputRowsets();
/**
* <code>optional int64 num_input_segments = 8;</code>
* @return Whether the numInputSegments field is set.
*/
boolean hasNumInputSegments();
/**
* <code>optional int64 num_input_segments = 8;</code>
* @return The numInputSegments.
*/
long getNumInputSegments();
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @return Whether the numOutputRowsets field is set.
*/
boolean hasNumOutputRowsets();
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @return The numOutputRowsets.
*/
long getNumOutputRowsets();
/**
* <code>optional int64 num_output_segments = 10;</code>
* @return Whether the numOutputSegments field is set.
*/
boolean hasNumOutputSegments();
/**
* <code>optional int64 num_output_segments = 10;</code>
* @return The numOutputSegments.
*/
long getNumOutputSegments();
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @return Whether the sizeInputRowsets field is set.
*/
boolean hasSizeInputRowsets();
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @return The sizeInputRowsets.
*/
long getSizeInputRowsets();
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @return Whether the sizeOutputRowsets field is set.
*/
boolean hasSizeOutputRowsets();
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @return The sizeOutputRowsets.
*/
long getSizeOutputRowsets();
/**
* <code>optional int64 num_input_rows = 13;</code>
* @return Whether the numInputRows field is set.
*/
boolean hasNumInputRows();
/**
* <code>optional int64 num_input_rows = 13;</code>
* @return The numInputRows.
*/
long getNumInputRows();
/**
* <code>optional int64 num_output_rows = 14;</code>
* @return Whether the numOutputRows field is set.
*/
boolean hasNumOutputRows();
/**
* <code>optional int64 num_output_rows = 14;</code>
* @return The numOutputRows.
*/
long getNumOutputRows();
/**
* <code>repeated int64 input_versions = 15;</code>
* @return A list containing the inputVersions.
*/
java.util.List<java.lang.Long> getInputVersionsList();
/**
* <code>repeated int64 input_versions = 15;</code>
* @return The count of inputVersions.
*/
int getInputVersionsCount();
/**
* <code>repeated int64 input_versions = 15;</code>
* @param index The index of the element to return.
* @return The inputVersions at the given index.
*/
long getInputVersions(int index);
/**
* <code>repeated int64 output_versions = 16;</code>
* @return A list containing the outputVersions.
*/
java.util.List<java.lang.Long> getOutputVersionsList();
/**
* <code>repeated int64 output_versions = 16;</code>
* @return The count of outputVersions.
*/
int getOutputVersionsCount();
/**
* <code>repeated int64 output_versions = 16;</code>
* @param index The index of the element to return.
* @return The outputVersions at the given index.
*/
long getOutputVersions(int index);
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @return A list containing the outputRowsetIds.
*/
java.util.List<java.lang.String>
getOutputRowsetIdsList();
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @return The count of outputRowsetIds.
*/
int getOutputRowsetIdsCount();
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param index The index of the element to return.
* @return The outputRowsetIds at the given index.
*/
java.lang.String getOutputRowsetIds(int index);
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param index The index of the value to return.
* @return The bytes of the outputRowsetIds at the given index.
*/
com.google.protobuf.ByteString
getOutputRowsetIdsBytes(int index);
/**
* <code>repeated int64 txn_id = 18;</code>
* @return A list containing the txnId.
*/
java.util.List<java.lang.Long> getTxnIdList();
/**
* <code>repeated int64 txn_id = 18;</code>
* @return The count of txnId.
*/
int getTxnIdCount();
/**
* <code>repeated int64 txn_id = 18;</code>
* @param index The index of the element to return.
* @return The txnId at the given index.
*/
long getTxnId(int index);
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @return Whether the baseCompactionCnt field is set.
*/
boolean hasBaseCompactionCnt();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @return The baseCompactionCnt.
*/
long getBaseCompactionCnt();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
boolean hasCumulativeCompactionCnt();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @return The cumulativeCompactionCnt.
*/
long getCumulativeCompactionCnt();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @return Whether the lease field is set.
*/
boolean hasLease();
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @return The lease.
*/
long getLease();
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @return Whether the deleteBitmapLockInitiator field is set.
*/
boolean hasDeleteBitmapLockInitiator();
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @return The deleteBitmapLockInitiator.
*/
long getDeleteBitmapLockInitiator();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @return Whether the fullCompactionCnt field is set.
*/
boolean hasFullCompactionCnt();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @return The fullCompactionCnt.
*/
long getFullCompactionCnt();
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @return Whether the checkInputVersionsRange field is set.
*/
boolean hasCheckInputVersionsRange();
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @return The checkInputVersionsRange.
*/
boolean getCheckInputVersionsRange();
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @return Whether the indexSizeInputRowsets field is set.
*/
boolean hasIndexSizeInputRowsets();
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @return The indexSizeInputRowsets.
*/
long getIndexSizeInputRowsets();
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @return Whether the segmentSizeInputRowsets field is set.
*/
boolean hasSegmentSizeInputRowsets();
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @return The segmentSizeInputRowsets.
*/
long getSegmentSizeInputRowsets();
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @return Whether the indexSizeOutputRowsets field is set.
*/
boolean hasIndexSizeOutputRowsets();
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @return The indexSizeOutputRowsets.
*/
long getIndexSizeOutputRowsets();
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @return Whether the segmentSizeOutputRowsets field is set.
*/
boolean hasSegmentSizeOutputRowsets();
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @return The segmentSizeOutputRowsets.
*/
long getSegmentSizeOutputRowsets();
}
/**
* Protobuf type {@code doris.cloud.TabletCompactionJobPB}
*/
public static final class TabletCompactionJobPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TabletCompactionJobPB)
TabletCompactionJobPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TabletCompactionJobPB.newBuilder() to construct.
private TabletCompactionJobPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TabletCompactionJobPB() {
initiator_ = "";
type_ = 0;
inputVersions_ = emptyLongList();
outputVersions_ = emptyLongList();
outputRowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
txnId_ = emptyLongList();
id_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TabletCompactionJobPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletCompactionJobPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletCompactionJobPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.class, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.TabletCompactionJobPB.CompactionType}
*/
public enum CompactionType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKOWN = 0;</code>
*/
UNKOWN(0),
/**
* <code>BASE = 1;</code>
*/
BASE(1),
/**
* <code>CUMULATIVE = 2;</code>
*/
CUMULATIVE(2),
/**
* <pre>
* just update cumulative point
* </pre>
*
* <code>EMPTY_CUMULATIVE = 3;</code>
*/
EMPTY_CUMULATIVE(3),
/**
* <code>FULL = 4;</code>
*/
FULL(4),
/**
* <pre>
* fail existing compactions and deny newly incomming compactions
* </pre>
*
* <code>STOP_TOKEN = 5;</code>
*/
STOP_TOKEN(5),
;
/**
* <code>UNKOWN = 0;</code>
*/
public static final int UNKOWN_VALUE = 0;
/**
* <code>BASE = 1;</code>
*/
public static final int BASE_VALUE = 1;
/**
* <code>CUMULATIVE = 2;</code>
*/
public static final int CUMULATIVE_VALUE = 2;
/**
* <pre>
* just update cumulative point
* </pre>
*
* <code>EMPTY_CUMULATIVE = 3;</code>
*/
public static final int EMPTY_CUMULATIVE_VALUE = 3;
/**
* <code>FULL = 4;</code>
*/
public static final int FULL_VALUE = 4;
/**
* <pre>
* fail existing compactions and deny newly incomming compactions
* </pre>
*
* <code>STOP_TOKEN = 5;</code>
*/
public static final int STOP_TOKEN_VALUE = 5;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CompactionType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static CompactionType forNumber(int value) {
switch (value) {
case 0: return UNKOWN;
case 1: return BASE;
case 2: return CUMULATIVE;
case 3: return EMPTY_CUMULATIVE;
case 4: return FULL;
case 5: return STOP_TOKEN;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<CompactionType>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CompactionType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<CompactionType>() {
public CompactionType findValueByNumber(int number) {
return CompactionType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.getDescriptor().getEnumTypes().get(0);
}
private static final CompactionType[] VALUES = values();
public static CompactionType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private CompactionType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.TabletCompactionJobPB.CompactionType)
}
private int bitField0_;
public static final int INITIATOR_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object initiator_ = "";
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The initiator.
*/
@java.lang.Override
public java.lang.String getInitiator() {
java.lang.Object ref = initiator_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
initiator_ = s;
}
return s;
}
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The bytes for initiator.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInitiatorBytes() {
java.lang.Object ref = initiator_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initiator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CTIME_FIELD_NUMBER = 2;
private long ctime_ = 0L;
/**
* <code>optional int64 ctime = 2;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 ctime = 2;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
public static final int MTIME_FIELD_NUMBER = 3;
private long mtime_ = 0L;
/**
* <code>optional int64 mtime = 3;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 mtime = 3;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
public static final int TYPE_FIELD_NUMBER = 4;
private int type_ = 0;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @return The type.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType getType() {
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType result = org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType.UNKOWN : result;
}
public static final int INPUT_CUMULATIVE_POINT_FIELD_NUMBER = 5;
private long inputCumulativePoint_ = 0L;
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @return Whether the inputCumulativePoint field is set.
*/
@java.lang.Override
public boolean hasInputCumulativePoint() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @return The inputCumulativePoint.
*/
@java.lang.Override
public long getInputCumulativePoint() {
return inputCumulativePoint_;
}
public static final int OUTPUT_CUMULATIVE_POINT_FIELD_NUMBER = 6;
private long outputCumulativePoint_ = 0L;
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @return Whether the outputCumulativePoint field is set.
*/
@java.lang.Override
public boolean hasOutputCumulativePoint() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @return The outputCumulativePoint.
*/
@java.lang.Override
public long getOutputCumulativePoint() {
return outputCumulativePoint_;
}
public static final int NUM_INPUT_ROWSETS_FIELD_NUMBER = 7;
private long numInputRowsets_ = 0L;
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @return Whether the numInputRowsets field is set.
*/
@java.lang.Override
public boolean hasNumInputRowsets() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @return The numInputRowsets.
*/
@java.lang.Override
public long getNumInputRowsets() {
return numInputRowsets_;
}
public static final int NUM_INPUT_SEGMENTS_FIELD_NUMBER = 8;
private long numInputSegments_ = 0L;
/**
* <code>optional int64 num_input_segments = 8;</code>
* @return Whether the numInputSegments field is set.
*/
@java.lang.Override
public boolean hasNumInputSegments() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 num_input_segments = 8;</code>
* @return The numInputSegments.
*/
@java.lang.Override
public long getNumInputSegments() {
return numInputSegments_;
}
public static final int NUM_OUTPUT_ROWSETS_FIELD_NUMBER = 9;
private long numOutputRowsets_ = 0L;
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @return Whether the numOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasNumOutputRowsets() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @return The numOutputRowsets.
*/
@java.lang.Override
public long getNumOutputRowsets() {
return numOutputRowsets_;
}
public static final int NUM_OUTPUT_SEGMENTS_FIELD_NUMBER = 10;
private long numOutputSegments_ = 0L;
/**
* <code>optional int64 num_output_segments = 10;</code>
* @return Whether the numOutputSegments field is set.
*/
@java.lang.Override
public boolean hasNumOutputSegments() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 num_output_segments = 10;</code>
* @return The numOutputSegments.
*/
@java.lang.Override
public long getNumOutputSegments() {
return numOutputSegments_;
}
public static final int SIZE_INPUT_ROWSETS_FIELD_NUMBER = 11;
private long sizeInputRowsets_ = 0L;
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @return Whether the sizeInputRowsets field is set.
*/
@java.lang.Override
public boolean hasSizeInputRowsets() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @return The sizeInputRowsets.
*/
@java.lang.Override
public long getSizeInputRowsets() {
return sizeInputRowsets_;
}
public static final int SIZE_OUTPUT_ROWSETS_FIELD_NUMBER = 12;
private long sizeOutputRowsets_ = 0L;
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @return Whether the sizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSizeOutputRowsets() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @return The sizeOutputRowsets.
*/
@java.lang.Override
public long getSizeOutputRowsets() {
return sizeOutputRowsets_;
}
public static final int NUM_INPUT_ROWS_FIELD_NUMBER = 13;
private long numInputRows_ = 0L;
/**
* <code>optional int64 num_input_rows = 13;</code>
* @return Whether the numInputRows field is set.
*/
@java.lang.Override
public boolean hasNumInputRows() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional int64 num_input_rows = 13;</code>
* @return The numInputRows.
*/
@java.lang.Override
public long getNumInputRows() {
return numInputRows_;
}
public static final int NUM_OUTPUT_ROWS_FIELD_NUMBER = 14;
private long numOutputRows_ = 0L;
/**
* <code>optional int64 num_output_rows = 14;</code>
* @return Whether the numOutputRows field is set.
*/
@java.lang.Override
public boolean hasNumOutputRows() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional int64 num_output_rows = 14;</code>
* @return The numOutputRows.
*/
@java.lang.Override
public long getNumOutputRows() {
return numOutputRows_;
}
public static final int INPUT_VERSIONS_FIELD_NUMBER = 15;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList inputVersions_ =
emptyLongList();
/**
* <code>repeated int64 input_versions = 15;</code>
* @return A list containing the inputVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getInputVersionsList() {
return inputVersions_;
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @return The count of inputVersions.
*/
public int getInputVersionsCount() {
return inputVersions_.size();
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @param index The index of the element to return.
* @return The inputVersions at the given index.
*/
public long getInputVersions(int index) {
return inputVersions_.getLong(index);
}
public static final int OUTPUT_VERSIONS_FIELD_NUMBER = 16;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList outputVersions_ =
emptyLongList();
/**
* <code>repeated int64 output_versions = 16;</code>
* @return A list containing the outputVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getOutputVersionsList() {
return outputVersions_;
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @return The count of outputVersions.
*/
public int getOutputVersionsCount() {
return outputVersions_.size();
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @param index The index of the element to return.
* @return The outputVersions at the given index.
*/
public long getOutputVersions(int index) {
return outputVersions_.getLong(index);
}
public static final int OUTPUT_ROWSET_IDS_FIELD_NUMBER = 17;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList outputRowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @return A list containing the outputRowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getOutputRowsetIdsList() {
return outputRowsetIds_;
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @return The count of outputRowsetIds.
*/
public int getOutputRowsetIdsCount() {
return outputRowsetIds_.size();
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param index The index of the element to return.
* @return The outputRowsetIds at the given index.
*/
public java.lang.String getOutputRowsetIds(int index) {
return outputRowsetIds_.get(index);
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param index The index of the value to return.
* @return The bytes of the outputRowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getOutputRowsetIdsBytes(int index) {
return outputRowsetIds_.getByteString(index);
}
public static final int TXN_ID_FIELD_NUMBER = 18;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList txnId_ =
emptyLongList();
/**
* <code>repeated int64 txn_id = 18;</code>
* @return A list containing the txnId.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTxnIdList() {
return txnId_;
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @return The count of txnId.
*/
public int getTxnIdCount() {
return txnId_.size();
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @param index The index of the element to return.
* @return The txnId at the given index.
*/
public long getTxnId(int index) {
return txnId_.getLong(index);
}
public static final int BASE_COMPACTION_CNT_FIELD_NUMBER = 19;
private long baseCompactionCnt_ = 0L;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
public static final int CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER = 20;
private long cumulativeCompactionCnt_ = 0L;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
public static final int ID_FIELD_NUMBER = 21;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00010000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPIRATION_FIELD_NUMBER = 22;
private long expiration_ = 0L;
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00020000) != 0);
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int LEASE_FIELD_NUMBER = 23;
private long lease_ = 0L;
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @return Whether the lease field is set.
*/
@java.lang.Override
public boolean hasLease() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @return The lease.
*/
@java.lang.Override
public long getLease() {
return lease_;
}
public static final int DELETE_BITMAP_LOCK_INITIATOR_FIELD_NUMBER = 24;
private long deleteBitmapLockInitiator_ = 0L;
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @return Whether the deleteBitmapLockInitiator field is set.
*/
@java.lang.Override
public boolean hasDeleteBitmapLockInitiator() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @return The deleteBitmapLockInitiator.
*/
@java.lang.Override
public long getDeleteBitmapLockInitiator() {
return deleteBitmapLockInitiator_;
}
public static final int FULL_COMPACTION_CNT_FIELD_NUMBER = 25;
private long fullCompactionCnt_ = 0L;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @return Whether the fullCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasFullCompactionCnt() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @return The fullCompactionCnt.
*/
@java.lang.Override
public long getFullCompactionCnt() {
return fullCompactionCnt_;
}
public static final int CHECK_INPUT_VERSIONS_RANGE_FIELD_NUMBER = 26;
private boolean checkInputVersionsRange_ = false;
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @return Whether the checkInputVersionsRange field is set.
*/
@java.lang.Override
public boolean hasCheckInputVersionsRange() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @return The checkInputVersionsRange.
*/
@java.lang.Override
public boolean getCheckInputVersionsRange() {
return checkInputVersionsRange_;
}
public static final int INDEX_SIZE_INPUT_ROWSETS_FIELD_NUMBER = 27;
private long indexSizeInputRowsets_ = 0L;
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @return Whether the indexSizeInputRowsets field is set.
*/
@java.lang.Override
public boolean hasIndexSizeInputRowsets() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @return The indexSizeInputRowsets.
*/
@java.lang.Override
public long getIndexSizeInputRowsets() {
return indexSizeInputRowsets_;
}
public static final int SEGMENT_SIZE_INPUT_ROWSETS_FIELD_NUMBER = 28;
private long segmentSizeInputRowsets_ = 0L;
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @return Whether the segmentSizeInputRowsets field is set.
*/
@java.lang.Override
public boolean hasSegmentSizeInputRowsets() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @return The segmentSizeInputRowsets.
*/
@java.lang.Override
public long getSegmentSizeInputRowsets() {
return segmentSizeInputRowsets_;
}
public static final int INDEX_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER = 29;
private long indexSizeOutputRowsets_ = 0L;
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @return Whether the indexSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasIndexSizeOutputRowsets() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @return The indexSizeOutputRowsets.
*/
@java.lang.Override
public long getIndexSizeOutputRowsets() {
return indexSizeOutputRowsets_;
}
public static final int SEGMENT_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER = 30;
private long segmentSizeOutputRowsets_ = 0L;
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @return Whether the segmentSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSegmentSizeOutputRowsets() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @return The segmentSizeOutputRowsets.
*/
@java.lang.Override
public long getSegmentSizeOutputRowsets() {
return segmentSizeOutputRowsets_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, initiator_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, ctime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, mtime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, inputCumulativePoint_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, outputCumulativePoint_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, numInputRowsets_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(8, numInputSegments_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(9, numOutputRowsets_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(10, numOutputSegments_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(11, sizeInputRowsets_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(12, sizeOutputRowsets_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeInt64(13, numInputRows_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeInt64(14, numOutputRows_);
}
for (int i = 0; i < inputVersions_.size(); i++) {
output.writeInt64(15, inputVersions_.getLong(i));
}
for (int i = 0; i < outputVersions_.size(); i++) {
output.writeInt64(16, outputVersions_.getLong(i));
}
for (int i = 0; i < outputRowsetIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 17, outputRowsetIds_.getRaw(i));
}
for (int i = 0; i < txnId_.size(); i++) {
output.writeInt64(18, txnId_.getLong(i));
}
if (((bitField0_ & 0x00004000) != 0)) {
output.writeInt64(19, baseCompactionCnt_);
}
if (((bitField0_ & 0x00008000) != 0)) {
output.writeInt64(20, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00010000) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 21, id_);
}
if (((bitField0_ & 0x00020000) != 0)) {
output.writeInt64(22, expiration_);
}
if (((bitField0_ & 0x00040000) != 0)) {
output.writeInt64(23, lease_);
}
if (((bitField0_ & 0x00080000) != 0)) {
output.writeInt64(24, deleteBitmapLockInitiator_);
}
if (((bitField0_ & 0x00100000) != 0)) {
output.writeInt64(25, fullCompactionCnt_);
}
if (((bitField0_ & 0x00200000) != 0)) {
output.writeBool(26, checkInputVersionsRange_);
}
if (((bitField0_ & 0x00400000) != 0)) {
output.writeInt64(27, indexSizeInputRowsets_);
}
if (((bitField0_ & 0x00800000) != 0)) {
output.writeInt64(28, segmentSizeInputRowsets_);
}
if (((bitField0_ & 0x01000000) != 0)) {
output.writeInt64(29, indexSizeOutputRowsets_);
}
if (((bitField0_ & 0x02000000) != 0)) {
output.writeInt64(30, segmentSizeOutputRowsets_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, initiator_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, ctime_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, mtime_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, inputCumulativePoint_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, outputCumulativePoint_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, numInputRowsets_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, numInputSegments_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, numOutputRowsets_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, numOutputSegments_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, sizeInputRowsets_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, sizeOutputRowsets_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, numInputRows_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, numOutputRows_);
}
{
int dataSize = 0;
for (int i = 0; i < inputVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(inputVersions_.getLong(i));
}
size += dataSize;
size += 1 * getInputVersionsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < outputVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(outputVersions_.getLong(i));
}
size += dataSize;
size += 2 * getOutputVersionsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < outputRowsetIds_.size(); i++) {
dataSize += computeStringSizeNoTag(outputRowsetIds_.getRaw(i));
}
size += dataSize;
size += 2 * getOutputRowsetIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < txnId_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(txnId_.getLong(i));
}
size += dataSize;
size += 2 * getTxnIdList().size();
}
if (((bitField0_ & 0x00004000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(19, baseCompactionCnt_);
}
if (((bitField0_ & 0x00008000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(20, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00010000) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, id_);
}
if (((bitField0_ & 0x00020000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(22, expiration_);
}
if (((bitField0_ & 0x00040000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(23, lease_);
}
if (((bitField0_ & 0x00080000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(24, deleteBitmapLockInitiator_);
}
if (((bitField0_ & 0x00100000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(25, fullCompactionCnt_);
}
if (((bitField0_ & 0x00200000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(26, checkInputVersionsRange_);
}
if (((bitField0_ & 0x00400000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(27, indexSizeInputRowsets_);
}
if (((bitField0_ & 0x00800000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(28, segmentSizeInputRowsets_);
}
if (((bitField0_ & 0x01000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(29, indexSizeOutputRowsets_);
}
if (((bitField0_ & 0x02000000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(30, segmentSizeOutputRowsets_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB other = (org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB) obj;
if (hasInitiator() != other.hasInitiator()) return false;
if (hasInitiator()) {
if (!getInitiator()
.equals(other.getInitiator())) return false;
}
if (hasCtime() != other.hasCtime()) return false;
if (hasCtime()) {
if (getCtime()
!= other.getCtime()) return false;
}
if (hasMtime() != other.hasMtime()) return false;
if (hasMtime()) {
if (getMtime()
!= other.getMtime()) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasInputCumulativePoint() != other.hasInputCumulativePoint()) return false;
if (hasInputCumulativePoint()) {
if (getInputCumulativePoint()
!= other.getInputCumulativePoint()) return false;
}
if (hasOutputCumulativePoint() != other.hasOutputCumulativePoint()) return false;
if (hasOutputCumulativePoint()) {
if (getOutputCumulativePoint()
!= other.getOutputCumulativePoint()) return false;
}
if (hasNumInputRowsets() != other.hasNumInputRowsets()) return false;
if (hasNumInputRowsets()) {
if (getNumInputRowsets()
!= other.getNumInputRowsets()) return false;
}
if (hasNumInputSegments() != other.hasNumInputSegments()) return false;
if (hasNumInputSegments()) {
if (getNumInputSegments()
!= other.getNumInputSegments()) return false;
}
if (hasNumOutputRowsets() != other.hasNumOutputRowsets()) return false;
if (hasNumOutputRowsets()) {
if (getNumOutputRowsets()
!= other.getNumOutputRowsets()) return false;
}
if (hasNumOutputSegments() != other.hasNumOutputSegments()) return false;
if (hasNumOutputSegments()) {
if (getNumOutputSegments()
!= other.getNumOutputSegments()) return false;
}
if (hasSizeInputRowsets() != other.hasSizeInputRowsets()) return false;
if (hasSizeInputRowsets()) {
if (getSizeInputRowsets()
!= other.getSizeInputRowsets()) return false;
}
if (hasSizeOutputRowsets() != other.hasSizeOutputRowsets()) return false;
if (hasSizeOutputRowsets()) {
if (getSizeOutputRowsets()
!= other.getSizeOutputRowsets()) return false;
}
if (hasNumInputRows() != other.hasNumInputRows()) return false;
if (hasNumInputRows()) {
if (getNumInputRows()
!= other.getNumInputRows()) return false;
}
if (hasNumOutputRows() != other.hasNumOutputRows()) return false;
if (hasNumOutputRows()) {
if (getNumOutputRows()
!= other.getNumOutputRows()) return false;
}
if (!getInputVersionsList()
.equals(other.getInputVersionsList())) return false;
if (!getOutputVersionsList()
.equals(other.getOutputVersionsList())) return false;
if (!getOutputRowsetIdsList()
.equals(other.getOutputRowsetIdsList())) return false;
if (!getTxnIdList()
.equals(other.getTxnIdList())) return false;
if (hasBaseCompactionCnt() != other.hasBaseCompactionCnt()) return false;
if (hasBaseCompactionCnt()) {
if (getBaseCompactionCnt()
!= other.getBaseCompactionCnt()) return false;
}
if (hasCumulativeCompactionCnt() != other.hasCumulativeCompactionCnt()) return false;
if (hasCumulativeCompactionCnt()) {
if (getCumulativeCompactionCnt()
!= other.getCumulativeCompactionCnt()) return false;
}
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasLease() != other.hasLease()) return false;
if (hasLease()) {
if (getLease()
!= other.getLease()) return false;
}
if (hasDeleteBitmapLockInitiator() != other.hasDeleteBitmapLockInitiator()) return false;
if (hasDeleteBitmapLockInitiator()) {
if (getDeleteBitmapLockInitiator()
!= other.getDeleteBitmapLockInitiator()) return false;
}
if (hasFullCompactionCnt() != other.hasFullCompactionCnt()) return false;
if (hasFullCompactionCnt()) {
if (getFullCompactionCnt()
!= other.getFullCompactionCnt()) return false;
}
if (hasCheckInputVersionsRange() != other.hasCheckInputVersionsRange()) return false;
if (hasCheckInputVersionsRange()) {
if (getCheckInputVersionsRange()
!= other.getCheckInputVersionsRange()) return false;
}
if (hasIndexSizeInputRowsets() != other.hasIndexSizeInputRowsets()) return false;
if (hasIndexSizeInputRowsets()) {
if (getIndexSizeInputRowsets()
!= other.getIndexSizeInputRowsets()) return false;
}
if (hasSegmentSizeInputRowsets() != other.hasSegmentSizeInputRowsets()) return false;
if (hasSegmentSizeInputRowsets()) {
if (getSegmentSizeInputRowsets()
!= other.getSegmentSizeInputRowsets()) return false;
}
if (hasIndexSizeOutputRowsets() != other.hasIndexSizeOutputRowsets()) return false;
if (hasIndexSizeOutputRowsets()) {
if (getIndexSizeOutputRowsets()
!= other.getIndexSizeOutputRowsets()) return false;
}
if (hasSegmentSizeOutputRowsets() != other.hasSegmentSizeOutputRowsets()) return false;
if (hasSegmentSizeOutputRowsets()) {
if (getSegmentSizeOutputRowsets()
!= other.getSegmentSizeOutputRowsets()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInitiator()) {
hash = (37 * hash) + INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + getInitiator().hashCode();
}
if (hasCtime()) {
hash = (37 * hash) + CTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCtime());
}
if (hasMtime()) {
hash = (37 * hash) + MTIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMtime());
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasInputCumulativePoint()) {
hash = (37 * hash) + INPUT_CUMULATIVE_POINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInputCumulativePoint());
}
if (hasOutputCumulativePoint()) {
hash = (37 * hash) + OUTPUT_CUMULATIVE_POINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOutputCumulativePoint());
}
if (hasNumInputRowsets()) {
hash = (37 * hash) + NUM_INPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumInputRowsets());
}
if (hasNumInputSegments()) {
hash = (37 * hash) + NUM_INPUT_SEGMENTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumInputSegments());
}
if (hasNumOutputRowsets()) {
hash = (37 * hash) + NUM_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumOutputRowsets());
}
if (hasNumOutputSegments()) {
hash = (37 * hash) + NUM_OUTPUT_SEGMENTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumOutputSegments());
}
if (hasSizeInputRowsets()) {
hash = (37 * hash) + SIZE_INPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSizeInputRowsets());
}
if (hasSizeOutputRowsets()) {
hash = (37 * hash) + SIZE_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSizeOutputRowsets());
}
if (hasNumInputRows()) {
hash = (37 * hash) + NUM_INPUT_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumInputRows());
}
if (hasNumOutputRows()) {
hash = (37 * hash) + NUM_OUTPUT_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumOutputRows());
}
if (getInputVersionsCount() > 0) {
hash = (37 * hash) + INPUT_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getInputVersionsList().hashCode();
}
if (getOutputVersionsCount() > 0) {
hash = (37 * hash) + OUTPUT_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getOutputVersionsList().hashCode();
}
if (getOutputRowsetIdsCount() > 0) {
hash = (37 * hash) + OUTPUT_ROWSET_IDS_FIELD_NUMBER;
hash = (53 * hash) + getOutputRowsetIdsList().hashCode();
}
if (getTxnIdCount() > 0) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + getTxnIdList().hashCode();
}
if (hasBaseCompactionCnt()) {
hash = (37 * hash) + BASE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBaseCompactionCnt());
}
if (hasCumulativeCompactionCnt()) {
hash = (37 * hash) + CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCumulativeCompactionCnt());
}
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasLease()) {
hash = (37 * hash) + LEASE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLease());
}
if (hasDeleteBitmapLockInitiator()) {
hash = (37 * hash) + DELETE_BITMAP_LOCK_INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDeleteBitmapLockInitiator());
}
if (hasFullCompactionCnt()) {
hash = (37 * hash) + FULL_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFullCompactionCnt());
}
if (hasCheckInputVersionsRange()) {
hash = (37 * hash) + CHECK_INPUT_VERSIONS_RANGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getCheckInputVersionsRange());
}
if (hasIndexSizeInputRowsets()) {
hash = (37 * hash) + INDEX_SIZE_INPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIndexSizeInputRowsets());
}
if (hasSegmentSizeInputRowsets()) {
hash = (37 * hash) + SEGMENT_SIZE_INPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSegmentSizeInputRowsets());
}
if (hasIndexSizeOutputRowsets()) {
hash = (37 * hash) + INDEX_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIndexSizeOutputRowsets());
}
if (hasSegmentSizeOutputRowsets()) {
hash = (37 * hash) + SEGMENT_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSegmentSizeOutputRowsets());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TabletCompactionJobPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TabletCompactionJobPB)
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletCompactionJobPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletCompactionJobPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.class, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
initiator_ = "";
ctime_ = 0L;
mtime_ = 0L;
type_ = 0;
inputCumulativePoint_ = 0L;
outputCumulativePoint_ = 0L;
numInputRowsets_ = 0L;
numInputSegments_ = 0L;
numOutputRowsets_ = 0L;
numOutputSegments_ = 0L;
sizeInputRowsets_ = 0L;
sizeOutputRowsets_ = 0L;
numInputRows_ = 0L;
numOutputRows_ = 0L;
inputVersions_ = emptyLongList();
outputVersions_ = emptyLongList();
outputRowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
txnId_ = emptyLongList();
baseCompactionCnt_ = 0L;
cumulativeCompactionCnt_ = 0L;
id_ = "";
expiration_ = 0L;
lease_ = 0L;
deleteBitmapLockInitiator_ = 0L;
fullCompactionCnt_ = 0L;
checkInputVersionsRange_ = false;
indexSizeInputRowsets_ = 0L;
segmentSizeInputRowsets_ = 0L;
indexSizeOutputRowsets_ = 0L;
segmentSizeOutputRowsets_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletCompactionJobPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB build() {
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB result = new org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.initiator_ = initiator_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ctime_ = ctime_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.mtime_ = mtime_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.inputCumulativePoint_ = inputCumulativePoint_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.outputCumulativePoint_ = outputCumulativePoint_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.numInputRowsets_ = numInputRowsets_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.numInputSegments_ = numInputSegments_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.numOutputRowsets_ = numOutputRowsets_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.numOutputSegments_ = numOutputSegments_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.sizeInputRowsets_ = sizeInputRowsets_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.sizeOutputRowsets_ = sizeOutputRowsets_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.numInputRows_ = numInputRows_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.numOutputRows_ = numOutputRows_;
to_bitField0_ |= 0x00002000;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
inputVersions_.makeImmutable();
result.inputVersions_ = inputVersions_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
outputVersions_.makeImmutable();
result.outputVersions_ = outputVersions_;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
outputRowsetIds_.makeImmutable();
result.outputRowsetIds_ = outputRowsetIds_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
txnId_.makeImmutable();
result.txnId_ = txnId_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
result.baseCompactionCnt_ = baseCompactionCnt_;
to_bitField0_ |= 0x00004000;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
result.cumulativeCompactionCnt_ = cumulativeCompactionCnt_;
to_bitField0_ |= 0x00008000;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00010000;
}
if (((from_bitField0_ & 0x00200000) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00020000;
}
if (((from_bitField0_ & 0x00400000) != 0)) {
result.lease_ = lease_;
to_bitField0_ |= 0x00040000;
}
if (((from_bitField0_ & 0x00800000) != 0)) {
result.deleteBitmapLockInitiator_ = deleteBitmapLockInitiator_;
to_bitField0_ |= 0x00080000;
}
if (((from_bitField0_ & 0x01000000) != 0)) {
result.fullCompactionCnt_ = fullCompactionCnt_;
to_bitField0_ |= 0x00100000;
}
if (((from_bitField0_ & 0x02000000) != 0)) {
result.checkInputVersionsRange_ = checkInputVersionsRange_;
to_bitField0_ |= 0x00200000;
}
if (((from_bitField0_ & 0x04000000) != 0)) {
result.indexSizeInputRowsets_ = indexSizeInputRowsets_;
to_bitField0_ |= 0x00400000;
}
if (((from_bitField0_ & 0x08000000) != 0)) {
result.segmentSizeInputRowsets_ = segmentSizeInputRowsets_;
to_bitField0_ |= 0x00800000;
}
if (((from_bitField0_ & 0x10000000) != 0)) {
result.indexSizeOutputRowsets_ = indexSizeOutputRowsets_;
to_bitField0_ |= 0x01000000;
}
if (((from_bitField0_ & 0x20000000) != 0)) {
result.segmentSizeOutputRowsets_ = segmentSizeOutputRowsets_;
to_bitField0_ |= 0x02000000;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.getDefaultInstance()) return this;
if (other.hasInitiator()) {
initiator_ = other.initiator_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCtime()) {
setCtime(other.getCtime());
}
if (other.hasMtime()) {
setMtime(other.getMtime());
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasInputCumulativePoint()) {
setInputCumulativePoint(other.getInputCumulativePoint());
}
if (other.hasOutputCumulativePoint()) {
setOutputCumulativePoint(other.getOutputCumulativePoint());
}
if (other.hasNumInputRowsets()) {
setNumInputRowsets(other.getNumInputRowsets());
}
if (other.hasNumInputSegments()) {
setNumInputSegments(other.getNumInputSegments());
}
if (other.hasNumOutputRowsets()) {
setNumOutputRowsets(other.getNumOutputRowsets());
}
if (other.hasNumOutputSegments()) {
setNumOutputSegments(other.getNumOutputSegments());
}
if (other.hasSizeInputRowsets()) {
setSizeInputRowsets(other.getSizeInputRowsets());
}
if (other.hasSizeOutputRowsets()) {
setSizeOutputRowsets(other.getSizeOutputRowsets());
}
if (other.hasNumInputRows()) {
setNumInputRows(other.getNumInputRows());
}
if (other.hasNumOutputRows()) {
setNumOutputRows(other.getNumOutputRows());
}
if (!other.inputVersions_.isEmpty()) {
if (inputVersions_.isEmpty()) {
inputVersions_ = other.inputVersions_;
inputVersions_.makeImmutable();
bitField0_ |= 0x00004000;
} else {
ensureInputVersionsIsMutable();
inputVersions_.addAll(other.inputVersions_);
}
onChanged();
}
if (!other.outputVersions_.isEmpty()) {
if (outputVersions_.isEmpty()) {
outputVersions_ = other.outputVersions_;
outputVersions_.makeImmutable();
bitField0_ |= 0x00008000;
} else {
ensureOutputVersionsIsMutable();
outputVersions_.addAll(other.outputVersions_);
}
onChanged();
}
if (!other.outputRowsetIds_.isEmpty()) {
if (outputRowsetIds_.isEmpty()) {
outputRowsetIds_ = other.outputRowsetIds_;
bitField0_ |= 0x00010000;
} else {
ensureOutputRowsetIdsIsMutable();
outputRowsetIds_.addAll(other.outputRowsetIds_);
}
onChanged();
}
if (!other.txnId_.isEmpty()) {
if (txnId_.isEmpty()) {
txnId_ = other.txnId_;
txnId_.makeImmutable();
bitField0_ |= 0x00020000;
} else {
ensureTxnIdIsMutable();
txnId_.addAll(other.txnId_);
}
onChanged();
}
if (other.hasBaseCompactionCnt()) {
setBaseCompactionCnt(other.getBaseCompactionCnt());
}
if (other.hasCumulativeCompactionCnt()) {
setCumulativeCompactionCnt(other.getCumulativeCompactionCnt());
}
if (other.hasId()) {
id_ = other.id_;
bitField0_ |= 0x00100000;
onChanged();
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasLease()) {
setLease(other.getLease());
}
if (other.hasDeleteBitmapLockInitiator()) {
setDeleteBitmapLockInitiator(other.getDeleteBitmapLockInitiator());
}
if (other.hasFullCompactionCnt()) {
setFullCompactionCnt(other.getFullCompactionCnt());
}
if (other.hasCheckInputVersionsRange()) {
setCheckInputVersionsRange(other.getCheckInputVersionsRange());
}
if (other.hasIndexSizeInputRowsets()) {
setIndexSizeInputRowsets(other.getIndexSizeInputRowsets());
}
if (other.hasSegmentSizeInputRowsets()) {
setSegmentSizeInputRowsets(other.getSegmentSizeInputRowsets());
}
if (other.hasIndexSizeOutputRowsets()) {
setIndexSizeOutputRowsets(other.getIndexSizeOutputRowsets());
}
if (other.hasSegmentSizeOutputRowsets()) {
setSegmentSizeOutputRowsets(other.getSegmentSizeOutputRowsets());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
initiator_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
ctime_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
mtime_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType tmpValue =
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
type_ = tmpRaw;
bitField0_ |= 0x00000008;
}
break;
} // case 32
case 40: {
inputCumulativePoint_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
outputCumulativePoint_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
numInputRowsets_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
numInputSegments_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
numOutputRowsets_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
numOutputSegments_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
sizeInputRowsets_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
sizeOutputRowsets_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
numInputRows_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
numOutputRows_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 112
case 120: {
long v = input.readInt64();
ensureInputVersionsIsMutable();
inputVersions_.addLong(v);
break;
} // case 120
case 122: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureInputVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
inputVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 122
case 128: {
long v = input.readInt64();
ensureOutputVersionsIsMutable();
outputVersions_.addLong(v);
break;
} // case 128
case 130: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureOutputVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
outputVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 130
case 138: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureOutputRowsetIdsIsMutable();
outputRowsetIds_.add(bs);
break;
} // case 138
case 144: {
long v = input.readInt64();
ensureTxnIdIsMutable();
txnId_.addLong(v);
break;
} // case 144
case 146: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTxnIdIsMutable();
while (input.getBytesUntilLimit() > 0) {
txnId_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 146
case 152: {
baseCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00040000;
break;
} // case 152
case 160: {
cumulativeCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00080000;
break;
} // case 160
case 170: {
id_ = input.readBytes();
bitField0_ |= 0x00100000;
break;
} // case 170
case 176: {
expiration_ = input.readInt64();
bitField0_ |= 0x00200000;
break;
} // case 176
case 184: {
lease_ = input.readInt64();
bitField0_ |= 0x00400000;
break;
} // case 184
case 192: {
deleteBitmapLockInitiator_ = input.readInt64();
bitField0_ |= 0x00800000;
break;
} // case 192
case 200: {
fullCompactionCnt_ = input.readInt64();
bitField0_ |= 0x01000000;
break;
} // case 200
case 208: {
checkInputVersionsRange_ = input.readBool();
bitField0_ |= 0x02000000;
break;
} // case 208
case 216: {
indexSizeInputRowsets_ = input.readInt64();
bitField0_ |= 0x04000000;
break;
} // case 216
case 224: {
segmentSizeInputRowsets_ = input.readInt64();
bitField0_ |= 0x08000000;
break;
} // case 224
case 232: {
indexSizeOutputRowsets_ = input.readInt64();
bitField0_ |= 0x10000000;
break;
} // case 232
case 240: {
segmentSizeOutputRowsets_ = input.readInt64();
bitField0_ |= 0x20000000;
break;
} // case 240
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object initiator_ = "";
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return Whether the initiator field is set.
*/
public boolean hasInitiator() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The initiator.
*/
public java.lang.String getInitiator() {
java.lang.Object ref = initiator_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
initiator_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The bytes for initiator.
*/
public com.google.protobuf.ByteString
getInitiatorBytes() {
java.lang.Object ref = initiator_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initiator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @param value The initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiator(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
initiator_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInitiator() {
initiator_ = getDefaultInstance().getInitiator();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @param value The bytes for initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiatorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
initiator_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long ctime_ ;
/**
* <code>optional int64 ctime = 2;</code>
* @return Whether the ctime field is set.
*/
@java.lang.Override
public boolean hasCtime() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 ctime = 2;</code>
* @return The ctime.
*/
@java.lang.Override
public long getCtime() {
return ctime_;
}
/**
* <code>optional int64 ctime = 2;</code>
* @param value The ctime to set.
* @return This builder for chaining.
*/
public Builder setCtime(long value) {
ctime_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 ctime = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCtime() {
bitField0_ = (bitField0_ & ~0x00000002);
ctime_ = 0L;
onChanged();
return this;
}
private long mtime_ ;
/**
* <code>optional int64 mtime = 3;</code>
* @return Whether the mtime field is set.
*/
@java.lang.Override
public boolean hasMtime() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 mtime = 3;</code>
* @return The mtime.
*/
@java.lang.Override
public long getMtime() {
return mtime_;
}
/**
* <code>optional int64 mtime = 3;</code>
* @param value The mtime to set.
* @return This builder for chaining.
*/
public Builder setMtime(long value) {
mtime_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 mtime = 3;</code>
* @return This builder for chaining.
*/
public Builder clearMtime() {
bitField0_ = (bitField0_ & ~0x00000004);
mtime_ = 0L;
onChanged();
return this;
}
private int type_ = 0;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @return The type.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType getType() {
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType result = org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType.UNKOWN : result;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.CompactionType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletCompactionJobPB.CompactionType type = 4;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = 0;
onChanged();
return this;
}
private long inputCumulativePoint_ ;
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @return Whether the inputCumulativePoint field is set.
*/
@java.lang.Override
public boolean hasInputCumulativePoint() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @return The inputCumulativePoint.
*/
@java.lang.Override
public long getInputCumulativePoint() {
return inputCumulativePoint_;
}
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @param value The inputCumulativePoint to set.
* @return This builder for chaining.
*/
public Builder setInputCumulativePoint(long value) {
inputCumulativePoint_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 input_cumulative_point = 5;</code>
* @return This builder for chaining.
*/
public Builder clearInputCumulativePoint() {
bitField0_ = (bitField0_ & ~0x00000010);
inputCumulativePoint_ = 0L;
onChanged();
return this;
}
private long outputCumulativePoint_ ;
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @return Whether the outputCumulativePoint field is set.
*/
@java.lang.Override
public boolean hasOutputCumulativePoint() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @return The outputCumulativePoint.
*/
@java.lang.Override
public long getOutputCumulativePoint() {
return outputCumulativePoint_;
}
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @param value The outputCumulativePoint to set.
* @return This builder for chaining.
*/
public Builder setOutputCumulativePoint(long value) {
outputCumulativePoint_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 output_cumulative_point = 6;</code>
* @return This builder for chaining.
*/
public Builder clearOutputCumulativePoint() {
bitField0_ = (bitField0_ & ~0x00000020);
outputCumulativePoint_ = 0L;
onChanged();
return this;
}
private long numInputRowsets_ ;
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @return Whether the numInputRowsets field is set.
*/
@java.lang.Override
public boolean hasNumInputRowsets() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @return The numInputRowsets.
*/
@java.lang.Override
public long getNumInputRowsets() {
return numInputRowsets_;
}
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @param value The numInputRowsets to set.
* @return This builder for chaining.
*/
public Builder setNumInputRowsets(long value) {
numInputRowsets_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 num_input_rowsets = 7;</code>
* @return This builder for chaining.
*/
public Builder clearNumInputRowsets() {
bitField0_ = (bitField0_ & ~0x00000040);
numInputRowsets_ = 0L;
onChanged();
return this;
}
private long numInputSegments_ ;
/**
* <code>optional int64 num_input_segments = 8;</code>
* @return Whether the numInputSegments field is set.
*/
@java.lang.Override
public boolean hasNumInputSegments() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 num_input_segments = 8;</code>
* @return The numInputSegments.
*/
@java.lang.Override
public long getNumInputSegments() {
return numInputSegments_;
}
/**
* <code>optional int64 num_input_segments = 8;</code>
* @param value The numInputSegments to set.
* @return This builder for chaining.
*/
public Builder setNumInputSegments(long value) {
numInputSegments_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 num_input_segments = 8;</code>
* @return This builder for chaining.
*/
public Builder clearNumInputSegments() {
bitField0_ = (bitField0_ & ~0x00000080);
numInputSegments_ = 0L;
onChanged();
return this;
}
private long numOutputRowsets_ ;
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @return Whether the numOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasNumOutputRowsets() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @return The numOutputRowsets.
*/
@java.lang.Override
public long getNumOutputRowsets() {
return numOutputRowsets_;
}
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @param value The numOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setNumOutputRowsets(long value) {
numOutputRowsets_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional int64 num_output_rowsets = 9;</code>
* @return This builder for chaining.
*/
public Builder clearNumOutputRowsets() {
bitField0_ = (bitField0_ & ~0x00000100);
numOutputRowsets_ = 0L;
onChanged();
return this;
}
private long numOutputSegments_ ;
/**
* <code>optional int64 num_output_segments = 10;</code>
* @return Whether the numOutputSegments field is set.
*/
@java.lang.Override
public boolean hasNumOutputSegments() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 num_output_segments = 10;</code>
* @return The numOutputSegments.
*/
@java.lang.Override
public long getNumOutputSegments() {
return numOutputSegments_;
}
/**
* <code>optional int64 num_output_segments = 10;</code>
* @param value The numOutputSegments to set.
* @return This builder for chaining.
*/
public Builder setNumOutputSegments(long value) {
numOutputSegments_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional int64 num_output_segments = 10;</code>
* @return This builder for chaining.
*/
public Builder clearNumOutputSegments() {
bitField0_ = (bitField0_ & ~0x00000200);
numOutputSegments_ = 0L;
onChanged();
return this;
}
private long sizeInputRowsets_ ;
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @return Whether the sizeInputRowsets field is set.
*/
@java.lang.Override
public boolean hasSizeInputRowsets() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @return The sizeInputRowsets.
*/
@java.lang.Override
public long getSizeInputRowsets() {
return sizeInputRowsets_;
}
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @param value The sizeInputRowsets to set.
* @return This builder for chaining.
*/
public Builder setSizeInputRowsets(long value) {
sizeInputRowsets_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional int64 size_input_rowsets = 11;</code>
* @return This builder for chaining.
*/
public Builder clearSizeInputRowsets() {
bitField0_ = (bitField0_ & ~0x00000400);
sizeInputRowsets_ = 0L;
onChanged();
return this;
}
private long sizeOutputRowsets_ ;
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @return Whether the sizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSizeOutputRowsets() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @return The sizeOutputRowsets.
*/
@java.lang.Override
public long getSizeOutputRowsets() {
return sizeOutputRowsets_;
}
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @param value The sizeOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setSizeOutputRowsets(long value) {
sizeOutputRowsets_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional int64 size_output_rowsets = 12;</code>
* @return This builder for chaining.
*/
public Builder clearSizeOutputRowsets() {
bitField0_ = (bitField0_ & ~0x00000800);
sizeOutputRowsets_ = 0L;
onChanged();
return this;
}
private long numInputRows_ ;
/**
* <code>optional int64 num_input_rows = 13;</code>
* @return Whether the numInputRows field is set.
*/
@java.lang.Override
public boolean hasNumInputRows() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional int64 num_input_rows = 13;</code>
* @return The numInputRows.
*/
@java.lang.Override
public long getNumInputRows() {
return numInputRows_;
}
/**
* <code>optional int64 num_input_rows = 13;</code>
* @param value The numInputRows to set.
* @return This builder for chaining.
*/
public Builder setNumInputRows(long value) {
numInputRows_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional int64 num_input_rows = 13;</code>
* @return This builder for chaining.
*/
public Builder clearNumInputRows() {
bitField0_ = (bitField0_ & ~0x00001000);
numInputRows_ = 0L;
onChanged();
return this;
}
private long numOutputRows_ ;
/**
* <code>optional int64 num_output_rows = 14;</code>
* @return Whether the numOutputRows field is set.
*/
@java.lang.Override
public boolean hasNumOutputRows() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional int64 num_output_rows = 14;</code>
* @return The numOutputRows.
*/
@java.lang.Override
public long getNumOutputRows() {
return numOutputRows_;
}
/**
* <code>optional int64 num_output_rows = 14;</code>
* @param value The numOutputRows to set.
* @return This builder for chaining.
*/
public Builder setNumOutputRows(long value) {
numOutputRows_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>optional int64 num_output_rows = 14;</code>
* @return This builder for chaining.
*/
public Builder clearNumOutputRows() {
bitField0_ = (bitField0_ & ~0x00002000);
numOutputRows_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList inputVersions_ = emptyLongList();
private void ensureInputVersionsIsMutable() {
if (!inputVersions_.isModifiable()) {
inputVersions_ = makeMutableCopy(inputVersions_);
}
bitField0_ |= 0x00004000;
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @return A list containing the inputVersions.
*/
public java.util.List<java.lang.Long>
getInputVersionsList() {
inputVersions_.makeImmutable();
return inputVersions_;
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @return The count of inputVersions.
*/
public int getInputVersionsCount() {
return inputVersions_.size();
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @param index The index of the element to return.
* @return The inputVersions at the given index.
*/
public long getInputVersions(int index) {
return inputVersions_.getLong(index);
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @param index The index to set the value at.
* @param value The inputVersions to set.
* @return This builder for chaining.
*/
public Builder setInputVersions(
int index, long value) {
ensureInputVersionsIsMutable();
inputVersions_.setLong(index, value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @param value The inputVersions to add.
* @return This builder for chaining.
*/
public Builder addInputVersions(long value) {
ensureInputVersionsIsMutable();
inputVersions_.addLong(value);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @param values The inputVersions to add.
* @return This builder for chaining.
*/
public Builder addAllInputVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureInputVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, inputVersions_);
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>repeated int64 input_versions = 15;</code>
* @return This builder for chaining.
*/
public Builder clearInputVersions() {
inputVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00004000);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList outputVersions_ = emptyLongList();
private void ensureOutputVersionsIsMutable() {
if (!outputVersions_.isModifiable()) {
outputVersions_ = makeMutableCopy(outputVersions_);
}
bitField0_ |= 0x00008000;
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @return A list containing the outputVersions.
*/
public java.util.List<java.lang.Long>
getOutputVersionsList() {
outputVersions_.makeImmutable();
return outputVersions_;
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @return The count of outputVersions.
*/
public int getOutputVersionsCount() {
return outputVersions_.size();
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @param index The index of the element to return.
* @return The outputVersions at the given index.
*/
public long getOutputVersions(int index) {
return outputVersions_.getLong(index);
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @param index The index to set the value at.
* @param value The outputVersions to set.
* @return This builder for chaining.
*/
public Builder setOutputVersions(
int index, long value) {
ensureOutputVersionsIsMutable();
outputVersions_.setLong(index, value);
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @param value The outputVersions to add.
* @return This builder for chaining.
*/
public Builder addOutputVersions(long value) {
ensureOutputVersionsIsMutable();
outputVersions_.addLong(value);
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @param values The outputVersions to add.
* @return This builder for chaining.
*/
public Builder addAllOutputVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureOutputVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, outputVersions_);
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>repeated int64 output_versions = 16;</code>
* @return This builder for chaining.
*/
public Builder clearOutputVersions() {
outputVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList outputRowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureOutputRowsetIdsIsMutable() {
if (!outputRowsetIds_.isModifiable()) {
outputRowsetIds_ = new com.google.protobuf.LazyStringArrayList(outputRowsetIds_);
}
bitField0_ |= 0x00010000;
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @return A list containing the outputRowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getOutputRowsetIdsList() {
outputRowsetIds_.makeImmutable();
return outputRowsetIds_;
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @return The count of outputRowsetIds.
*/
public int getOutputRowsetIdsCount() {
return outputRowsetIds_.size();
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param index The index of the element to return.
* @return The outputRowsetIds at the given index.
*/
public java.lang.String getOutputRowsetIds(int index) {
return outputRowsetIds_.get(index);
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param index The index of the value to return.
* @return The bytes of the outputRowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getOutputRowsetIdsBytes(int index) {
return outputRowsetIds_.getByteString(index);
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param index The index to set the value at.
* @param value The outputRowsetIds to set.
* @return This builder for chaining.
*/
public Builder setOutputRowsetIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureOutputRowsetIdsIsMutable();
outputRowsetIds_.set(index, value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param value The outputRowsetIds to add.
* @return This builder for chaining.
*/
public Builder addOutputRowsetIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureOutputRowsetIdsIsMutable();
outputRowsetIds_.add(value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param values The outputRowsetIds to add.
* @return This builder for chaining.
*/
public Builder addAllOutputRowsetIds(
java.lang.Iterable<java.lang.String> values) {
ensureOutputRowsetIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, outputRowsetIds_);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @return This builder for chaining.
*/
public Builder clearOutputRowsetIds() {
outputRowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00010000);;
onChanged();
return this;
}
/**
* <code>repeated string output_rowset_ids = 17;</code>
* @param value The bytes of the outputRowsetIds to add.
* @return This builder for chaining.
*/
public Builder addOutputRowsetIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureOutputRowsetIdsIsMutable();
outputRowsetIds_.add(value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList txnId_ = emptyLongList();
private void ensureTxnIdIsMutable() {
if (!txnId_.isModifiable()) {
txnId_ = makeMutableCopy(txnId_);
}
bitField0_ |= 0x00020000;
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @return A list containing the txnId.
*/
public java.util.List<java.lang.Long>
getTxnIdList() {
txnId_.makeImmutable();
return txnId_;
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @return The count of txnId.
*/
public int getTxnIdCount() {
return txnId_.size();
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @param index The index of the element to return.
* @return The txnId at the given index.
*/
public long getTxnId(int index) {
return txnId_.getLong(index);
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @param index The index to set the value at.
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(
int index, long value) {
ensureTxnIdIsMutable();
txnId_.setLong(index, value);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @param value The txnId to add.
* @return This builder for chaining.
*/
public Builder addTxnId(long value) {
ensureTxnIdIsMutable();
txnId_.addLong(value);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @param values The txnId to add.
* @return This builder for chaining.
*/
public Builder addAllTxnId(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTxnIdIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, txnId_);
bitField0_ |= 0x00020000;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_id = 18;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
txnId_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00020000);
onChanged();
return this;
}
private long baseCompactionCnt_ ;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00040000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @param value The baseCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setBaseCompactionCnt(long value) {
baseCompactionCnt_ = value;
bitField0_ |= 0x00040000;
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 base_compaction_cnt = 19;</code>
* @return This builder for chaining.
*/
public Builder clearBaseCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00040000);
baseCompactionCnt_ = 0L;
onChanged();
return this;
}
private long cumulativeCompactionCnt_ ;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00080000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @param value The cumulativeCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setCumulativeCompactionCnt(long value) {
cumulativeCompactionCnt_ = value;
bitField0_ |= 0x00080000;
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 cumulative_compaction_cnt = 20;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativeCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00080000);
cumulativeCompactionCnt_ = 0L;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return Whether the id field is set.
*/
public boolean hasId() {
return ((bitField0_ & 0x00100000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00100000);
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 21;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00100000;
onChanged();
return this;
}
private long expiration_ ;
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00200000) != 0);
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00200000;
onChanged();
return this;
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 22;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00200000);
expiration_ = 0L;
onChanged();
return this;
}
private long lease_ ;
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @return Whether the lease field is set.
*/
@java.lang.Override
public boolean hasLease() {
return ((bitField0_ & 0x00400000) != 0);
}
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @return The lease.
*/
@java.lang.Override
public long getLease() {
return lease_;
}
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @param value The lease to set.
* @return This builder for chaining.
*/
public Builder setLease(long value) {
lease_ = value;
bitField0_ |= 0x00400000;
onChanged();
return this;
}
/**
* <pre>
* Lease time, unix timestamp
* </pre>
*
* <code>optional int64 lease = 23;</code>
* @return This builder for chaining.
*/
public Builder clearLease() {
bitField0_ = (bitField0_ & ~0x00400000);
lease_ = 0L;
onChanged();
return this;
}
private long deleteBitmapLockInitiator_ ;
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @return Whether the deleteBitmapLockInitiator field is set.
*/
@java.lang.Override
public boolean hasDeleteBitmapLockInitiator() {
return ((bitField0_ & 0x00800000) != 0);
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @return The deleteBitmapLockInitiator.
*/
@java.lang.Override
public long getDeleteBitmapLockInitiator() {
return deleteBitmapLockInitiator_;
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @param value The deleteBitmapLockInitiator to set.
* @return This builder for chaining.
*/
public Builder setDeleteBitmapLockInitiator(long value) {
deleteBitmapLockInitiator_ = value;
bitField0_ |= 0x00800000;
onChanged();
return this;
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 24;</code>
* @return This builder for chaining.
*/
public Builder clearDeleteBitmapLockInitiator() {
bitField0_ = (bitField0_ & ~0x00800000);
deleteBitmapLockInitiator_ = 0L;
onChanged();
return this;
}
private long fullCompactionCnt_ ;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @return Whether the fullCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasFullCompactionCnt() {
return ((bitField0_ & 0x01000000) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @return The fullCompactionCnt.
*/
@java.lang.Override
public long getFullCompactionCnt() {
return fullCompactionCnt_;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @param value The fullCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setFullCompactionCnt(long value) {
fullCompactionCnt_ = value;
bitField0_ |= 0x01000000;
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional int64 full_compaction_cnt = 25;</code>
* @return This builder for chaining.
*/
public Builder clearFullCompactionCnt() {
bitField0_ = (bitField0_ & ~0x01000000);
fullCompactionCnt_ = 0L;
onChanged();
return this;
}
private boolean checkInputVersionsRange_ ;
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @return Whether the checkInputVersionsRange field is set.
*/
@java.lang.Override
public boolean hasCheckInputVersionsRange() {
return ((bitField0_ & 0x02000000) != 0);
}
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @return The checkInputVersionsRange.
*/
@java.lang.Override
public boolean getCheckInputVersionsRange() {
return checkInputVersionsRange_;
}
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @param value The checkInputVersionsRange to set.
* @return This builder for chaining.
*/
public Builder setCheckInputVersionsRange(boolean value) {
checkInputVersionsRange_ = value;
bitField0_ |= 0x02000000;
onChanged();
return this;
}
/**
* <code>optional bool check_input_versions_range = 26;</code>
* @return This builder for chaining.
*/
public Builder clearCheckInputVersionsRange() {
bitField0_ = (bitField0_ & ~0x02000000);
checkInputVersionsRange_ = false;
onChanged();
return this;
}
private long indexSizeInputRowsets_ ;
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @return Whether the indexSizeInputRowsets field is set.
*/
@java.lang.Override
public boolean hasIndexSizeInputRowsets() {
return ((bitField0_ & 0x04000000) != 0);
}
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @return The indexSizeInputRowsets.
*/
@java.lang.Override
public long getIndexSizeInputRowsets() {
return indexSizeInputRowsets_;
}
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @param value The indexSizeInputRowsets to set.
* @return This builder for chaining.
*/
public Builder setIndexSizeInputRowsets(long value) {
indexSizeInputRowsets_ = value;
bitField0_ |= 0x04000000;
onChanged();
return this;
}
/**
* <code>optional int64 index_size_input_rowsets = 27;</code>
* @return This builder for chaining.
*/
public Builder clearIndexSizeInputRowsets() {
bitField0_ = (bitField0_ & ~0x04000000);
indexSizeInputRowsets_ = 0L;
onChanged();
return this;
}
private long segmentSizeInputRowsets_ ;
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @return Whether the segmentSizeInputRowsets field is set.
*/
@java.lang.Override
public boolean hasSegmentSizeInputRowsets() {
return ((bitField0_ & 0x08000000) != 0);
}
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @return The segmentSizeInputRowsets.
*/
@java.lang.Override
public long getSegmentSizeInputRowsets() {
return segmentSizeInputRowsets_;
}
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @param value The segmentSizeInputRowsets to set.
* @return This builder for chaining.
*/
public Builder setSegmentSizeInputRowsets(long value) {
segmentSizeInputRowsets_ = value;
bitField0_ |= 0x08000000;
onChanged();
return this;
}
/**
* <code>optional int64 segment_size_input_rowsets = 28;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentSizeInputRowsets() {
bitField0_ = (bitField0_ & ~0x08000000);
segmentSizeInputRowsets_ = 0L;
onChanged();
return this;
}
private long indexSizeOutputRowsets_ ;
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @return Whether the indexSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasIndexSizeOutputRowsets() {
return ((bitField0_ & 0x10000000) != 0);
}
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @return The indexSizeOutputRowsets.
*/
@java.lang.Override
public long getIndexSizeOutputRowsets() {
return indexSizeOutputRowsets_;
}
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @param value The indexSizeOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setIndexSizeOutputRowsets(long value) {
indexSizeOutputRowsets_ = value;
bitField0_ |= 0x10000000;
onChanged();
return this;
}
/**
* <code>optional int64 index_size_output_rowsets = 29;</code>
* @return This builder for chaining.
*/
public Builder clearIndexSizeOutputRowsets() {
bitField0_ = (bitField0_ & ~0x10000000);
indexSizeOutputRowsets_ = 0L;
onChanged();
return this;
}
private long segmentSizeOutputRowsets_ ;
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @return Whether the segmentSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSegmentSizeOutputRowsets() {
return ((bitField0_ & 0x20000000) != 0);
}
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @return The segmentSizeOutputRowsets.
*/
@java.lang.Override
public long getSegmentSizeOutputRowsets() {
return segmentSizeOutputRowsets_;
}
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @param value The segmentSizeOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setSegmentSizeOutputRowsets(long value) {
segmentSizeOutputRowsets_ = value;
bitField0_ |= 0x20000000;
onChanged();
return this;
}
/**
* <code>optional int64 segment_size_output_rowsets = 30;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentSizeOutputRowsets() {
bitField0_ = (bitField0_ & ~0x20000000);
segmentSizeOutputRowsets_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TabletCompactionJobPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TabletCompactionJobPB)
private static final org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB();
}
public static org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TabletCompactionJobPB>
PARSER = new com.google.protobuf.AbstractParser<TabletCompactionJobPB>() {
@java.lang.Override
public TabletCompactionJobPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TabletCompactionJobPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TabletCompactionJobPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TabletSchemaChangeJobPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TabletSchemaChangeJobPB)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return Whether the initiator field is set.
*/
boolean hasInitiator();
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The initiator.
*/
java.lang.String getInitiator();
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The bytes for initiator.
*/
com.google.protobuf.ByteString
getInitiatorBytes();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
* @return Whether the newTabletIdx field is set.
*/
boolean hasNewTabletIdx();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
* @return The newTabletIdx.
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getNewTabletIdx();
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getNewTabletIdxOrBuilder();
/**
* <code>repeated int64 txn_ids = 5;</code>
* @return A list containing the txnIds.
*/
java.util.List<java.lang.Long> getTxnIdsList();
/**
* <code>repeated int64 txn_ids = 5;</code>
* @return The count of txnIds.
*/
int getTxnIdsCount();
/**
* <code>repeated int64 txn_ids = 5;</code>
* @param index The index of the element to return.
* @return The txnIds at the given index.
*/
long getTxnIds(int index);
/**
* <code>optional int64 alter_version = 6;</code>
* @return Whether the alterVersion field is set.
*/
boolean hasAlterVersion();
/**
* <code>optional int64 alter_version = 6;</code>
* @return The alterVersion.
*/
long getAlterVersion();
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @return Whether the numOutputRowsets field is set.
*/
boolean hasNumOutputRowsets();
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @return The numOutputRowsets.
*/
long getNumOutputRowsets();
/**
* <code>optional int64 num_output_segments = 8;</code>
* @return Whether the numOutputSegments field is set.
*/
boolean hasNumOutputSegments();
/**
* <code>optional int64 num_output_segments = 8;</code>
* @return The numOutputSegments.
*/
long getNumOutputSegments();
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @return Whether the sizeOutputRowsets field is set.
*/
boolean hasSizeOutputRowsets();
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @return The sizeOutputRowsets.
*/
long getSizeOutputRowsets();
/**
* <code>optional int64 num_output_rows = 10;</code>
* @return Whether the numOutputRows field is set.
*/
boolean hasNumOutputRows();
/**
* <code>optional int64 num_output_rows = 10;</code>
* @return The numOutputRows.
*/
long getNumOutputRows();
/**
* <code>repeated int64 output_versions = 11;</code>
* @return A list containing the outputVersions.
*/
java.util.List<java.lang.Long> getOutputVersionsList();
/**
* <code>repeated int64 output_versions = 11;</code>
* @return The count of outputVersions.
*/
int getOutputVersionsCount();
/**
* <code>repeated int64 output_versions = 11;</code>
* @param index The index of the element to return.
* @return The outputVersions at the given index.
*/
long getOutputVersions(int index);
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @return Whether the outputCumulativePoint field is set.
*/
boolean hasOutputCumulativePoint();
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @return The outputCumulativePoint.
*/
long getOutputCumulativePoint();
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @return Whether the isInvertedIndexChange field is set.
*/
boolean hasIsInvertedIndexChange();
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @return The isInvertedIndexChange.
*/
boolean getIsInvertedIndexChange();
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @return Whether the deleteBitmapLockInitiator field is set.
*/
boolean hasDeleteBitmapLockInitiator();
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @return The deleteBitmapLockInitiator.
*/
long getDeleteBitmapLockInitiator();
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @return Whether the indexSizeOutputRowsets field is set.
*/
boolean hasIndexSizeOutputRowsets();
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @return The indexSizeOutputRowsets.
*/
long getIndexSizeOutputRowsets();
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @return Whether the segmentSizeOutputRowsets field is set.
*/
boolean hasSegmentSizeOutputRowsets();
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @return The segmentSizeOutputRowsets.
*/
long getSegmentSizeOutputRowsets();
}
/**
* Protobuf type {@code doris.cloud.TabletSchemaChangeJobPB}
*/
public static final class TabletSchemaChangeJobPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TabletSchemaChangeJobPB)
TabletSchemaChangeJobPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TabletSchemaChangeJobPB.newBuilder() to construct.
private TabletSchemaChangeJobPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TabletSchemaChangeJobPB() {
initiator_ = "";
id_ = "";
txnIds_ = emptyLongList();
outputVersions_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TabletSchemaChangeJobPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletSchemaChangeJobPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletSchemaChangeJobPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.class, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.Builder.class);
}
private int bitField0_;
public static final int INITIATOR_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object initiator_ = "";
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The initiator.
*/
@java.lang.Override
public java.lang.String getInitiator() {
java.lang.Object ref = initiator_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
initiator_ = s;
}
return s;
}
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The bytes for initiator.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInitiatorBytes() {
java.lang.Object ref = initiator_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initiator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int EXPIRATION_FIELD_NUMBER = 3;
private long expiration_ = 0L;
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int NEW_TABLET_IDX_FIELD_NUMBER = 4;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB newTabletIdx_;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
* @return Whether the newTabletIdx field is set.
*/
@java.lang.Override
public boolean hasNewTabletIdx() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
* @return The newTabletIdx.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getNewTabletIdx() {
return newTabletIdx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : newTabletIdx_;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getNewTabletIdxOrBuilder() {
return newTabletIdx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : newTabletIdx_;
}
public static final int TXN_IDS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList txnIds_ =
emptyLongList();
/**
* <code>repeated int64 txn_ids = 5;</code>
* @return A list containing the txnIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTxnIdsList() {
return txnIds_;
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @return The count of txnIds.
*/
public int getTxnIdsCount() {
return txnIds_.size();
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @param index The index of the element to return.
* @return The txnIds at the given index.
*/
public long getTxnIds(int index) {
return txnIds_.getLong(index);
}
public static final int ALTER_VERSION_FIELD_NUMBER = 6;
private long alterVersion_ = 0L;
/**
* <code>optional int64 alter_version = 6;</code>
* @return Whether the alterVersion field is set.
*/
@java.lang.Override
public boolean hasAlterVersion() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 alter_version = 6;</code>
* @return The alterVersion.
*/
@java.lang.Override
public long getAlterVersion() {
return alterVersion_;
}
public static final int NUM_OUTPUT_ROWSETS_FIELD_NUMBER = 7;
private long numOutputRowsets_ = 0L;
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @return Whether the numOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasNumOutputRowsets() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @return The numOutputRowsets.
*/
@java.lang.Override
public long getNumOutputRowsets() {
return numOutputRowsets_;
}
public static final int NUM_OUTPUT_SEGMENTS_FIELD_NUMBER = 8;
private long numOutputSegments_ = 0L;
/**
* <code>optional int64 num_output_segments = 8;</code>
* @return Whether the numOutputSegments field is set.
*/
@java.lang.Override
public boolean hasNumOutputSegments() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 num_output_segments = 8;</code>
* @return The numOutputSegments.
*/
@java.lang.Override
public long getNumOutputSegments() {
return numOutputSegments_;
}
public static final int SIZE_OUTPUT_ROWSETS_FIELD_NUMBER = 9;
private long sizeOutputRowsets_ = 0L;
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @return Whether the sizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSizeOutputRowsets() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @return The sizeOutputRowsets.
*/
@java.lang.Override
public long getSizeOutputRowsets() {
return sizeOutputRowsets_;
}
public static final int NUM_OUTPUT_ROWS_FIELD_NUMBER = 10;
private long numOutputRows_ = 0L;
/**
* <code>optional int64 num_output_rows = 10;</code>
* @return Whether the numOutputRows field is set.
*/
@java.lang.Override
public boolean hasNumOutputRows() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 num_output_rows = 10;</code>
* @return The numOutputRows.
*/
@java.lang.Override
public long getNumOutputRows() {
return numOutputRows_;
}
public static final int OUTPUT_VERSIONS_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList outputVersions_ =
emptyLongList();
/**
* <code>repeated int64 output_versions = 11;</code>
* @return A list containing the outputVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getOutputVersionsList() {
return outputVersions_;
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @return The count of outputVersions.
*/
public int getOutputVersionsCount() {
return outputVersions_.size();
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @param index The index of the element to return.
* @return The outputVersions at the given index.
*/
public long getOutputVersions(int index) {
return outputVersions_.getLong(index);
}
public static final int OUTPUT_CUMULATIVE_POINT_FIELD_NUMBER = 12;
private long outputCumulativePoint_ = 0L;
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @return Whether the outputCumulativePoint field is set.
*/
@java.lang.Override
public boolean hasOutputCumulativePoint() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @return The outputCumulativePoint.
*/
@java.lang.Override
public long getOutputCumulativePoint() {
return outputCumulativePoint_;
}
public static final int IS_INVERTED_INDEX_CHANGE_FIELD_NUMBER = 13;
private boolean isInvertedIndexChange_ = false;
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @return Whether the isInvertedIndexChange field is set.
*/
@java.lang.Override
public boolean hasIsInvertedIndexChange() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @return The isInvertedIndexChange.
*/
@java.lang.Override
public boolean getIsInvertedIndexChange() {
return isInvertedIndexChange_;
}
public static final int DELETE_BITMAP_LOCK_INITIATOR_FIELD_NUMBER = 14;
private long deleteBitmapLockInitiator_ = 0L;
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @return Whether the deleteBitmapLockInitiator field is set.
*/
@java.lang.Override
public boolean hasDeleteBitmapLockInitiator() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @return The deleteBitmapLockInitiator.
*/
@java.lang.Override
public long getDeleteBitmapLockInitiator() {
return deleteBitmapLockInitiator_;
}
public static final int INDEX_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER = 15;
private long indexSizeOutputRowsets_ = 0L;
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @return Whether the indexSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasIndexSizeOutputRowsets() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @return The indexSizeOutputRowsets.
*/
@java.lang.Override
public long getIndexSizeOutputRowsets() {
return indexSizeOutputRowsets_;
}
public static final int SEGMENT_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER = 16;
private long segmentSizeOutputRowsets_ = 0L;
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @return Whether the segmentSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSegmentSizeOutputRowsets() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @return The segmentSizeOutputRowsets.
*/
@java.lang.Override
public long getSegmentSizeOutputRowsets() {
return segmentSizeOutputRowsets_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, initiator_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getNewTabletIdx());
}
for (int i = 0; i < txnIds_.size(); i++) {
output.writeInt64(5, txnIds_.getLong(i));
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(6, alterVersion_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(7, numOutputRowsets_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(8, numOutputSegments_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(9, sizeOutputRowsets_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(10, numOutputRows_);
}
for (int i = 0; i < outputVersions_.size(); i++) {
output.writeInt64(11, outputVersions_.getLong(i));
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(12, outputCumulativePoint_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeBool(13, isInvertedIndexChange_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(14, deleteBitmapLockInitiator_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeInt64(15, indexSizeOutputRowsets_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeInt64(16, segmentSizeOutputRowsets_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, initiator_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getNewTabletIdx());
}
{
int dataSize = 0;
for (int i = 0; i < txnIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(txnIds_.getLong(i));
}
size += dataSize;
size += 1 * getTxnIdsList().size();
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, alterVersion_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, numOutputRowsets_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, numOutputSegments_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, sizeOutputRowsets_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, numOutputRows_);
}
{
int dataSize = 0;
for (int i = 0; i < outputVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(outputVersions_.getLong(i));
}
size += dataSize;
size += 1 * getOutputVersionsList().size();
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, outputCumulativePoint_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(13, isInvertedIndexChange_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, deleteBitmapLockInitiator_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(15, indexSizeOutputRowsets_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(16, segmentSizeOutputRowsets_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB other = (org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB) obj;
if (hasInitiator() != other.hasInitiator()) return false;
if (hasInitiator()) {
if (!getInitiator()
.equals(other.getInitiator())) return false;
}
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasNewTabletIdx() != other.hasNewTabletIdx()) return false;
if (hasNewTabletIdx()) {
if (!getNewTabletIdx()
.equals(other.getNewTabletIdx())) return false;
}
if (!getTxnIdsList()
.equals(other.getTxnIdsList())) return false;
if (hasAlterVersion() != other.hasAlterVersion()) return false;
if (hasAlterVersion()) {
if (getAlterVersion()
!= other.getAlterVersion()) return false;
}
if (hasNumOutputRowsets() != other.hasNumOutputRowsets()) return false;
if (hasNumOutputRowsets()) {
if (getNumOutputRowsets()
!= other.getNumOutputRowsets()) return false;
}
if (hasNumOutputSegments() != other.hasNumOutputSegments()) return false;
if (hasNumOutputSegments()) {
if (getNumOutputSegments()
!= other.getNumOutputSegments()) return false;
}
if (hasSizeOutputRowsets() != other.hasSizeOutputRowsets()) return false;
if (hasSizeOutputRowsets()) {
if (getSizeOutputRowsets()
!= other.getSizeOutputRowsets()) return false;
}
if (hasNumOutputRows() != other.hasNumOutputRows()) return false;
if (hasNumOutputRows()) {
if (getNumOutputRows()
!= other.getNumOutputRows()) return false;
}
if (!getOutputVersionsList()
.equals(other.getOutputVersionsList())) return false;
if (hasOutputCumulativePoint() != other.hasOutputCumulativePoint()) return false;
if (hasOutputCumulativePoint()) {
if (getOutputCumulativePoint()
!= other.getOutputCumulativePoint()) return false;
}
if (hasIsInvertedIndexChange() != other.hasIsInvertedIndexChange()) return false;
if (hasIsInvertedIndexChange()) {
if (getIsInvertedIndexChange()
!= other.getIsInvertedIndexChange()) return false;
}
if (hasDeleteBitmapLockInitiator() != other.hasDeleteBitmapLockInitiator()) return false;
if (hasDeleteBitmapLockInitiator()) {
if (getDeleteBitmapLockInitiator()
!= other.getDeleteBitmapLockInitiator()) return false;
}
if (hasIndexSizeOutputRowsets() != other.hasIndexSizeOutputRowsets()) return false;
if (hasIndexSizeOutputRowsets()) {
if (getIndexSizeOutputRowsets()
!= other.getIndexSizeOutputRowsets()) return false;
}
if (hasSegmentSizeOutputRowsets() != other.hasSegmentSizeOutputRowsets()) return false;
if (hasSegmentSizeOutputRowsets()) {
if (getSegmentSizeOutputRowsets()
!= other.getSegmentSizeOutputRowsets()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInitiator()) {
hash = (37 * hash) + INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + getInitiator().hashCode();
}
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasNewTabletIdx()) {
hash = (37 * hash) + NEW_TABLET_IDX_FIELD_NUMBER;
hash = (53 * hash) + getNewTabletIdx().hashCode();
}
if (getTxnIdsCount() > 0) {
hash = (37 * hash) + TXN_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTxnIdsList().hashCode();
}
if (hasAlterVersion()) {
hash = (37 * hash) + ALTER_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAlterVersion());
}
if (hasNumOutputRowsets()) {
hash = (37 * hash) + NUM_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumOutputRowsets());
}
if (hasNumOutputSegments()) {
hash = (37 * hash) + NUM_OUTPUT_SEGMENTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumOutputSegments());
}
if (hasSizeOutputRowsets()) {
hash = (37 * hash) + SIZE_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSizeOutputRowsets());
}
if (hasNumOutputRows()) {
hash = (37 * hash) + NUM_OUTPUT_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumOutputRows());
}
if (getOutputVersionsCount() > 0) {
hash = (37 * hash) + OUTPUT_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getOutputVersionsList().hashCode();
}
if (hasOutputCumulativePoint()) {
hash = (37 * hash) + OUTPUT_CUMULATIVE_POINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOutputCumulativePoint());
}
if (hasIsInvertedIndexChange()) {
hash = (37 * hash) + IS_INVERTED_INDEX_CHANGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsInvertedIndexChange());
}
if (hasDeleteBitmapLockInitiator()) {
hash = (37 * hash) + DELETE_BITMAP_LOCK_INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDeleteBitmapLockInitiator());
}
if (hasIndexSizeOutputRowsets()) {
hash = (37 * hash) + INDEX_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIndexSizeOutputRowsets());
}
if (hasSegmentSizeOutputRowsets()) {
hash = (37 * hash) + SEGMENT_SIZE_OUTPUT_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSegmentSizeOutputRowsets());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TabletSchemaChangeJobPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TabletSchemaChangeJobPB)
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletSchemaChangeJobPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletSchemaChangeJobPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.class, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNewTabletIdxFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
initiator_ = "";
id_ = "";
expiration_ = 0L;
newTabletIdx_ = null;
if (newTabletIdxBuilder_ != null) {
newTabletIdxBuilder_.dispose();
newTabletIdxBuilder_ = null;
}
txnIds_ = emptyLongList();
alterVersion_ = 0L;
numOutputRowsets_ = 0L;
numOutputSegments_ = 0L;
sizeOutputRowsets_ = 0L;
numOutputRows_ = 0L;
outputVersions_ = emptyLongList();
outputCumulativePoint_ = 0L;
isInvertedIndexChange_ = false;
deleteBitmapLockInitiator_ = 0L;
indexSizeOutputRowsets_ = 0L;
segmentSizeOutputRowsets_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletSchemaChangeJobPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB build() {
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB result = new org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.initiator_ = initiator_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.newTabletIdx_ = newTabletIdxBuilder_ == null
? newTabletIdx_
: newTabletIdxBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
txnIds_.makeImmutable();
result.txnIds_ = txnIds_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.alterVersion_ = alterVersion_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.numOutputRowsets_ = numOutputRowsets_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.numOutputSegments_ = numOutputSegments_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.sizeOutputRowsets_ = sizeOutputRowsets_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.numOutputRows_ = numOutputRows_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
outputVersions_.makeImmutable();
result.outputVersions_ = outputVersions_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.outputCumulativePoint_ = outputCumulativePoint_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.isInvertedIndexChange_ = isInvertedIndexChange_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.deleteBitmapLockInitiator_ = deleteBitmapLockInitiator_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.indexSizeOutputRowsets_ = indexSizeOutputRowsets_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.segmentSizeOutputRowsets_ = segmentSizeOutputRowsets_;
to_bitField0_ |= 0x00002000;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.getDefaultInstance()) return this;
if (other.hasInitiator()) {
initiator_ = other.initiator_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasId()) {
id_ = other.id_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasNewTabletIdx()) {
mergeNewTabletIdx(other.getNewTabletIdx());
}
if (!other.txnIds_.isEmpty()) {
if (txnIds_.isEmpty()) {
txnIds_ = other.txnIds_;
txnIds_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureTxnIdsIsMutable();
txnIds_.addAll(other.txnIds_);
}
onChanged();
}
if (other.hasAlterVersion()) {
setAlterVersion(other.getAlterVersion());
}
if (other.hasNumOutputRowsets()) {
setNumOutputRowsets(other.getNumOutputRowsets());
}
if (other.hasNumOutputSegments()) {
setNumOutputSegments(other.getNumOutputSegments());
}
if (other.hasSizeOutputRowsets()) {
setSizeOutputRowsets(other.getSizeOutputRowsets());
}
if (other.hasNumOutputRows()) {
setNumOutputRows(other.getNumOutputRows());
}
if (!other.outputVersions_.isEmpty()) {
if (outputVersions_.isEmpty()) {
outputVersions_ = other.outputVersions_;
outputVersions_.makeImmutable();
bitField0_ |= 0x00000400;
} else {
ensureOutputVersionsIsMutable();
outputVersions_.addAll(other.outputVersions_);
}
onChanged();
}
if (other.hasOutputCumulativePoint()) {
setOutputCumulativePoint(other.getOutputCumulativePoint());
}
if (other.hasIsInvertedIndexChange()) {
setIsInvertedIndexChange(other.getIsInvertedIndexChange());
}
if (other.hasDeleteBitmapLockInitiator()) {
setDeleteBitmapLockInitiator(other.getDeleteBitmapLockInitiator());
}
if (other.hasIndexSizeOutputRowsets()) {
setIndexSizeOutputRowsets(other.getIndexSizeOutputRowsets());
}
if (other.hasSegmentSizeOutputRowsets()) {
setSegmentSizeOutputRowsets(other.getSegmentSizeOutputRowsets());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
initiator_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
id_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getNewTabletIdxFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
long v = input.readInt64();
ensureTxnIdsIsMutable();
txnIds_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTxnIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
txnIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 42
case 48: {
alterVersion_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
numOutputRowsets_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
numOutputSegments_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
sizeOutputRowsets_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 72
case 80: {
numOutputRows_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
long v = input.readInt64();
ensureOutputVersionsIsMutable();
outputVersions_.addLong(v);
break;
} // case 88
case 90: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureOutputVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
outputVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 90
case 96: {
outputCumulativePoint_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
isInvertedIndexChange_ = input.readBool();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
deleteBitmapLockInitiator_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 112
case 120: {
indexSizeOutputRowsets_ = input.readInt64();
bitField0_ |= 0x00004000;
break;
} // case 120
case 128: {
segmentSizeOutputRowsets_ = input.readInt64();
bitField0_ |= 0x00008000;
break;
} // case 128
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object initiator_ = "";
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return Whether the initiator field is set.
*/
public boolean hasInitiator() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The initiator.
*/
public java.lang.String getInitiator() {
java.lang.Object ref = initiator_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
initiator_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return The bytes for initiator.
*/
public com.google.protobuf.ByteString
getInitiatorBytes() {
java.lang.Object ref = initiator_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
initiator_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @param value The initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiator(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
initiator_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInitiator() {
initiator_ = getDefaultInstance().getInitiator();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* IP and port of the node which initiates this job
* </pre>
*
* <code>optional string initiator = 1;</code>
* @param value The bytes for initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiatorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
initiator_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object id_ = "";
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return Whether the id field is set.
*/
public boolean hasId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional string id = 2;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long expiration_ ;
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* Expiration time, unix timestamp, -1 for no expiration
* </pre>
*
* <code>optional int64 expiration = 3;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000004);
expiration_ = 0L;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB newTabletIdx_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> newTabletIdxBuilder_;
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
* @return Whether the newTabletIdx field is set.
*/
public boolean hasNewTabletIdx() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
* @return The newTabletIdx.
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getNewTabletIdx() {
if (newTabletIdxBuilder_ == null) {
return newTabletIdx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : newTabletIdx_;
} else {
return newTabletIdxBuilder_.getMessage();
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
public Builder setNewTabletIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (newTabletIdxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
newTabletIdx_ = value;
} else {
newTabletIdxBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
public Builder setNewTabletIdx(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (newTabletIdxBuilder_ == null) {
newTabletIdx_ = builderForValue.build();
} else {
newTabletIdxBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
public Builder mergeNewTabletIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (newTabletIdxBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
newTabletIdx_ != null &&
newTabletIdx_ != org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance()) {
getNewTabletIdxBuilder().mergeFrom(value);
} else {
newTabletIdx_ = value;
}
} else {
newTabletIdxBuilder_.mergeFrom(value);
}
if (newTabletIdx_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
public Builder clearNewTabletIdx() {
bitField0_ = (bitField0_ & ~0x00000008);
newTabletIdx_ = null;
if (newTabletIdxBuilder_ != null) {
newTabletIdxBuilder_.dispose();
newTabletIdxBuilder_ = null;
}
onChanged();
return this;
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getNewTabletIdxBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getNewTabletIdxFieldBuilder().getBuilder();
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getNewTabletIdxOrBuilder() {
if (newTabletIdxBuilder_ != null) {
return newTabletIdxBuilder_.getMessageOrBuilder();
} else {
return newTabletIdx_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : newTabletIdx_;
}
}
/**
* <pre>
* prepare
* </pre>
*
* <code>optional .doris.cloud.TabletIndexPB new_tablet_idx = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getNewTabletIdxFieldBuilder() {
if (newTabletIdxBuilder_ == null) {
newTabletIdxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
getNewTabletIdx(),
getParentForChildren(),
isClean());
newTabletIdx_ = null;
}
return newTabletIdxBuilder_;
}
private com.google.protobuf.Internal.LongList txnIds_ = emptyLongList();
private void ensureTxnIdsIsMutable() {
if (!txnIds_.isModifiable()) {
txnIds_ = makeMutableCopy(txnIds_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @return A list containing the txnIds.
*/
public java.util.List<java.lang.Long>
getTxnIdsList() {
txnIds_.makeImmutable();
return txnIds_;
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @return The count of txnIds.
*/
public int getTxnIdsCount() {
return txnIds_.size();
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @param index The index of the element to return.
* @return The txnIds at the given index.
*/
public long getTxnIds(int index) {
return txnIds_.getLong(index);
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @param index The index to set the value at.
* @param value The txnIds to set.
* @return This builder for chaining.
*/
public Builder setTxnIds(
int index, long value) {
ensureTxnIdsIsMutable();
txnIds_.setLong(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @param value The txnIds to add.
* @return This builder for chaining.
*/
public Builder addTxnIds(long value) {
ensureTxnIdsIsMutable();
txnIds_.addLong(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @param values The txnIds to add.
* @return This builder for chaining.
*/
public Builder addAllTxnIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTxnIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, txnIds_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 txn_ids = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTxnIds() {
txnIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private long alterVersion_ ;
/**
* <code>optional int64 alter_version = 6;</code>
* @return Whether the alterVersion field is set.
*/
@java.lang.Override
public boolean hasAlterVersion() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 alter_version = 6;</code>
* @return The alterVersion.
*/
@java.lang.Override
public long getAlterVersion() {
return alterVersion_;
}
/**
* <code>optional int64 alter_version = 6;</code>
* @param value The alterVersion to set.
* @return This builder for chaining.
*/
public Builder setAlterVersion(long value) {
alterVersion_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 alter_version = 6;</code>
* @return This builder for chaining.
*/
public Builder clearAlterVersion() {
bitField0_ = (bitField0_ & ~0x00000020);
alterVersion_ = 0L;
onChanged();
return this;
}
private long numOutputRowsets_ ;
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @return Whether the numOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasNumOutputRowsets() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @return The numOutputRowsets.
*/
@java.lang.Override
public long getNumOutputRowsets() {
return numOutputRowsets_;
}
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @param value The numOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setNumOutputRowsets(long value) {
numOutputRowsets_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 num_output_rowsets = 7;</code>
* @return This builder for chaining.
*/
public Builder clearNumOutputRowsets() {
bitField0_ = (bitField0_ & ~0x00000040);
numOutputRowsets_ = 0L;
onChanged();
return this;
}
private long numOutputSegments_ ;
/**
* <code>optional int64 num_output_segments = 8;</code>
* @return Whether the numOutputSegments field is set.
*/
@java.lang.Override
public boolean hasNumOutputSegments() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 num_output_segments = 8;</code>
* @return The numOutputSegments.
*/
@java.lang.Override
public long getNumOutputSegments() {
return numOutputSegments_;
}
/**
* <code>optional int64 num_output_segments = 8;</code>
* @param value The numOutputSegments to set.
* @return This builder for chaining.
*/
public Builder setNumOutputSegments(long value) {
numOutputSegments_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 num_output_segments = 8;</code>
* @return This builder for chaining.
*/
public Builder clearNumOutputSegments() {
bitField0_ = (bitField0_ & ~0x00000080);
numOutputSegments_ = 0L;
onChanged();
return this;
}
private long sizeOutputRowsets_ ;
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @return Whether the sizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSizeOutputRowsets() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @return The sizeOutputRowsets.
*/
@java.lang.Override
public long getSizeOutputRowsets() {
return sizeOutputRowsets_;
}
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @param value The sizeOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setSizeOutputRowsets(long value) {
sizeOutputRowsets_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional int64 size_output_rowsets = 9;</code>
* @return This builder for chaining.
*/
public Builder clearSizeOutputRowsets() {
bitField0_ = (bitField0_ & ~0x00000100);
sizeOutputRowsets_ = 0L;
onChanged();
return this;
}
private long numOutputRows_ ;
/**
* <code>optional int64 num_output_rows = 10;</code>
* @return Whether the numOutputRows field is set.
*/
@java.lang.Override
public boolean hasNumOutputRows() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 num_output_rows = 10;</code>
* @return The numOutputRows.
*/
@java.lang.Override
public long getNumOutputRows() {
return numOutputRows_;
}
/**
* <code>optional int64 num_output_rows = 10;</code>
* @param value The numOutputRows to set.
* @return This builder for chaining.
*/
public Builder setNumOutputRows(long value) {
numOutputRows_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional int64 num_output_rows = 10;</code>
* @return This builder for chaining.
*/
public Builder clearNumOutputRows() {
bitField0_ = (bitField0_ & ~0x00000200);
numOutputRows_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList outputVersions_ = emptyLongList();
private void ensureOutputVersionsIsMutable() {
if (!outputVersions_.isModifiable()) {
outputVersions_ = makeMutableCopy(outputVersions_);
}
bitField0_ |= 0x00000400;
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @return A list containing the outputVersions.
*/
public java.util.List<java.lang.Long>
getOutputVersionsList() {
outputVersions_.makeImmutable();
return outputVersions_;
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @return The count of outputVersions.
*/
public int getOutputVersionsCount() {
return outputVersions_.size();
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @param index The index of the element to return.
* @return The outputVersions at the given index.
*/
public long getOutputVersions(int index) {
return outputVersions_.getLong(index);
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @param index The index to set the value at.
* @param value The outputVersions to set.
* @return This builder for chaining.
*/
public Builder setOutputVersions(
int index, long value) {
ensureOutputVersionsIsMutable();
outputVersions_.setLong(index, value);
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @param value The outputVersions to add.
* @return This builder for chaining.
*/
public Builder addOutputVersions(long value) {
ensureOutputVersionsIsMutable();
outputVersions_.addLong(value);
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @param values The outputVersions to add.
* @return This builder for chaining.
*/
public Builder addAllOutputVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureOutputVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, outputVersions_);
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>repeated int64 output_versions = 11;</code>
* @return This builder for chaining.
*/
public Builder clearOutputVersions() {
outputVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
private long outputCumulativePoint_ ;
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @return Whether the outputCumulativePoint field is set.
*/
@java.lang.Override
public boolean hasOutputCumulativePoint() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @return The outputCumulativePoint.
*/
@java.lang.Override
public long getOutputCumulativePoint() {
return outputCumulativePoint_;
}
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @param value The outputCumulativePoint to set.
* @return This builder for chaining.
*/
public Builder setOutputCumulativePoint(long value) {
outputCumulativePoint_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional int64 output_cumulative_point = 12;</code>
* @return This builder for chaining.
*/
public Builder clearOutputCumulativePoint() {
bitField0_ = (bitField0_ & ~0x00000800);
outputCumulativePoint_ = 0L;
onChanged();
return this;
}
private boolean isInvertedIndexChange_ ;
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @return Whether the isInvertedIndexChange field is set.
*/
@java.lang.Override
public boolean hasIsInvertedIndexChange() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @return The isInvertedIndexChange.
*/
@java.lang.Override
public boolean getIsInvertedIndexChange() {
return isInvertedIndexChange_;
}
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @param value The isInvertedIndexChange to set.
* @return This builder for chaining.
*/
public Builder setIsInvertedIndexChange(boolean value) {
isInvertedIndexChange_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional bool is_inverted_index_change = 13 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearIsInvertedIndexChange() {
bitField0_ = (bitField0_ & ~0x00001000);
isInvertedIndexChange_ = false;
onChanged();
return this;
}
private long deleteBitmapLockInitiator_ ;
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @return Whether the deleteBitmapLockInitiator field is set.
*/
@java.lang.Override
public boolean hasDeleteBitmapLockInitiator() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @return The deleteBitmapLockInitiator.
*/
@java.lang.Override
public long getDeleteBitmapLockInitiator() {
return deleteBitmapLockInitiator_;
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @param value The deleteBitmapLockInitiator to set.
* @return This builder for chaining.
*/
public Builder setDeleteBitmapLockInitiator(long value) {
deleteBitmapLockInitiator_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>optional int64 delete_bitmap_lock_initiator = 14;</code>
* @return This builder for chaining.
*/
public Builder clearDeleteBitmapLockInitiator() {
bitField0_ = (bitField0_ & ~0x00002000);
deleteBitmapLockInitiator_ = 0L;
onChanged();
return this;
}
private long indexSizeOutputRowsets_ ;
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @return Whether the indexSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasIndexSizeOutputRowsets() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @return The indexSizeOutputRowsets.
*/
@java.lang.Override
public long getIndexSizeOutputRowsets() {
return indexSizeOutputRowsets_;
}
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @param value The indexSizeOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setIndexSizeOutputRowsets(long value) {
indexSizeOutputRowsets_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <code>optional int64 index_size_output_rowsets = 15;</code>
* @return This builder for chaining.
*/
public Builder clearIndexSizeOutputRowsets() {
bitField0_ = (bitField0_ & ~0x00004000);
indexSizeOutputRowsets_ = 0L;
onChanged();
return this;
}
private long segmentSizeOutputRowsets_ ;
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @return Whether the segmentSizeOutputRowsets field is set.
*/
@java.lang.Override
public boolean hasSegmentSizeOutputRowsets() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @return The segmentSizeOutputRowsets.
*/
@java.lang.Override
public long getSegmentSizeOutputRowsets() {
return segmentSizeOutputRowsets_;
}
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @param value The segmentSizeOutputRowsets to set.
* @return This builder for chaining.
*/
public Builder setSegmentSizeOutputRowsets(long value) {
segmentSizeOutputRowsets_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>optional int64 segment_size_output_rowsets = 16;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentSizeOutputRowsets() {
bitField0_ = (bitField0_ & ~0x00008000);
segmentSizeOutputRowsets_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TabletSchemaChangeJobPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TabletSchemaChangeJobPB)
private static final org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB();
}
public static org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TabletSchemaChangeJobPB>
PARSER = new com.google.protobuf.AbstractParser<TabletSchemaChangeJobPB>() {
@java.lang.Override
public TabletSchemaChangeJobPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TabletSchemaChangeJobPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TabletSchemaChangeJobPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TabletJobInfoPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TabletJobInfoPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return Whether the idx field is set.
*/
boolean hasIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return The idx.
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder();
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB>
getCompactionList();
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB getCompaction(int index);
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
int getCompactionCount();
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder>
getCompactionOrBuilderList();
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder getCompactionOrBuilder(
int index);
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
* @return Whether the schemaChange field is set.
*/
boolean hasSchemaChange();
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
* @return The schemaChange.
*/
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB getSchemaChange();
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPBOrBuilder getSchemaChangeOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.TabletJobInfoPB}
*/
public static final class TabletJobInfoPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TabletJobInfoPB)
TabletJobInfoPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TabletJobInfoPB.newBuilder() to construct.
private TabletJobInfoPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TabletJobInfoPB() {
compaction_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TabletJobInfoPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletJobInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletJobInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.class, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder.class);
}
private int bitField0_;
public static final int IDX_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return Whether the idx field is set.
*/
@java.lang.Override
public boolean hasIdx() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return The idx.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
public static final int COMPACTION_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB> compaction_;
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB> getCompactionList() {
return compaction_;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder>
getCompactionOrBuilderList() {
return compaction_;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
@java.lang.Override
public int getCompactionCount() {
return compaction_.size();
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB getCompaction(int index) {
return compaction_.get(index);
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder getCompactionOrBuilder(
int index) {
return compaction_.get(index);
}
public static final int SCHEMA_CHANGE_FIELD_NUMBER = 5;
private org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB schemaChange_;
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
* @return Whether the schemaChange field is set.
*/
@java.lang.Override
public boolean hasSchemaChange() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
* @return The schemaChange.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB getSchemaChange() {
return schemaChange_ == null ? org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.getDefaultInstance() : schemaChange_;
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPBOrBuilder getSchemaChangeOrBuilder() {
return schemaChange_ == null ? org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.getDefaultInstance() : schemaChange_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getIdx());
}
for (int i = 0; i < compaction_.size(); i++) {
output.writeMessage(4, compaction_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(5, getSchemaChange());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIdx());
}
for (int i = 0; i < compaction_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, compaction_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getSchemaChange());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB other = (org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB) obj;
if (hasIdx() != other.hasIdx()) return false;
if (hasIdx()) {
if (!getIdx()
.equals(other.getIdx())) return false;
}
if (!getCompactionList()
.equals(other.getCompactionList())) return false;
if (hasSchemaChange() != other.hasSchemaChange()) return false;
if (hasSchemaChange()) {
if (!getSchemaChange()
.equals(other.getSchemaChange())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasIdx()) {
hash = (37 * hash) + IDX_FIELD_NUMBER;
hash = (53 * hash) + getIdx().hashCode();
}
if (getCompactionCount() > 0) {
hash = (37 * hash) + COMPACTION_FIELD_NUMBER;
hash = (53 * hash) + getCompactionList().hashCode();
}
if (hasSchemaChange()) {
hash = (37 * hash) + SCHEMA_CHANGE_FIELD_NUMBER;
hash = (53 * hash) + getSchemaChange().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.TabletJobInfoPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TabletJobInfoPB)
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletJobInfoPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletJobInfoPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.class, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getIdxFieldBuilder();
getCompactionFieldBuilder();
getSchemaChangeFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
if (compactionBuilder_ == null) {
compaction_ = java.util.Collections.emptyList();
} else {
compaction_ = null;
compactionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
schemaChange_ = null;
if (schemaChangeBuilder_ != null) {
schemaChangeBuilder_.dispose();
schemaChangeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletJobInfoPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB build() {
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB result = new org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB result) {
if (compactionBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
compaction_ = java.util.Collections.unmodifiableList(compaction_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.compaction_ = compaction_;
} else {
result.compaction_ = compactionBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.idx_ = idxBuilder_ == null
? idx_
: idxBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.schemaChange_ = schemaChangeBuilder_ == null
? schemaChange_
: schemaChangeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance()) return this;
if (other.hasIdx()) {
mergeIdx(other.getIdx());
}
if (compactionBuilder_ == null) {
if (!other.compaction_.isEmpty()) {
if (compaction_.isEmpty()) {
compaction_ = other.compaction_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureCompactionIsMutable();
compaction_.addAll(other.compaction_);
}
onChanged();
}
} else {
if (!other.compaction_.isEmpty()) {
if (compactionBuilder_.isEmpty()) {
compactionBuilder_.dispose();
compactionBuilder_ = null;
compaction_ = other.compaction_;
bitField0_ = (bitField0_ & ~0x00000002);
compactionBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getCompactionFieldBuilder() : null;
} else {
compactionBuilder_.addAllMessages(other.compaction_);
}
}
}
if (other.hasSchemaChange()) {
mergeSchemaChange(other.getSchemaChange());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIdxFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 34: {
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.PARSER,
extensionRegistry);
if (compactionBuilder_ == null) {
ensureCompactionIsMutable();
compaction_.add(m);
} else {
compactionBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
input.readMessage(
getSchemaChangeFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> idxBuilder_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return Whether the idx field is set.
*/
public boolean hasIdx() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return The idx.
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
if (idxBuilder_ == null) {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
} else {
return idxBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder setIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
idx_ = value;
} else {
idxBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder setIdx(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (idxBuilder_ == null) {
idx_ = builderForValue.build();
} else {
idxBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder mergeIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
idx_ != null &&
idx_ != org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance()) {
getIdxBuilder().mergeFrom(value);
} else {
idx_ = value;
}
} else {
idxBuilder_.mergeFrom(value);
}
if (idx_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder clearIdx() {
bitField0_ = (bitField0_ & ~0x00000001);
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getIdxBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getIdxFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
if (idxBuilder_ != null) {
return idxBuilder_.getMessageOrBuilder();
} else {
return idx_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getIdxFieldBuilder() {
if (idxBuilder_ == null) {
idxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
getIdx(),
getParentForChildren(),
isClean());
idx_ = null;
}
return idxBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB> compaction_ =
java.util.Collections.emptyList();
private void ensureCompactionIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
compaction_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB>(compaction_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder> compactionBuilder_;
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB> getCompactionList() {
if (compactionBuilder_ == null) {
return java.util.Collections.unmodifiableList(compaction_);
} else {
return compactionBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public int getCompactionCount() {
if (compactionBuilder_ == null) {
return compaction_.size();
} else {
return compactionBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB getCompaction(int index) {
if (compactionBuilder_ == null) {
return compaction_.get(index);
} else {
return compactionBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder setCompaction(
int index, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB value) {
if (compactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCompactionIsMutable();
compaction_.set(index, value);
onChanged();
} else {
compactionBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder setCompaction(
int index, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder builderForValue) {
if (compactionBuilder_ == null) {
ensureCompactionIsMutable();
compaction_.set(index, builderForValue.build());
onChanged();
} else {
compactionBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder addCompaction(org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB value) {
if (compactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCompactionIsMutable();
compaction_.add(value);
onChanged();
} else {
compactionBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder addCompaction(
int index, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB value) {
if (compactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureCompactionIsMutable();
compaction_.add(index, value);
onChanged();
} else {
compactionBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder addCompaction(
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder builderForValue) {
if (compactionBuilder_ == null) {
ensureCompactionIsMutable();
compaction_.add(builderForValue.build());
onChanged();
} else {
compactionBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder addCompaction(
int index, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder builderForValue) {
if (compactionBuilder_ == null) {
ensureCompactionIsMutable();
compaction_.add(index, builderForValue.build());
onChanged();
} else {
compactionBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder addAllCompaction(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB> values) {
if (compactionBuilder_ == null) {
ensureCompactionIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, compaction_);
onChanged();
} else {
compactionBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder clearCompaction() {
if (compactionBuilder_ == null) {
compaction_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
compactionBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public Builder removeCompaction(int index) {
if (compactionBuilder_ == null) {
ensureCompactionIsMutable();
compaction_.remove(index);
onChanged();
} else {
compactionBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder getCompactionBuilder(
int index) {
return getCompactionFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder getCompactionOrBuilder(
int index) {
if (compactionBuilder_ == null) {
return compaction_.get(index); } else {
return compactionBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder>
getCompactionOrBuilderList() {
if (compactionBuilder_ != null) {
return compactionBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(compaction_);
}
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder addCompactionBuilder() {
return getCompactionFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder addCompactionBuilder(
int index) {
return getCompactionFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletCompactionJobPB compaction = 4;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder>
getCompactionBuilderList() {
return getCompactionFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder>
getCompactionFieldBuilder() {
if (compactionBuilder_ == null) {
compactionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletCompactionJobPBOrBuilder>(
compaction_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
compaction_ = null;
}
return compactionBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB schemaChange_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPBOrBuilder> schemaChangeBuilder_;
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
* @return Whether the schemaChange field is set.
*/
public boolean hasSchemaChange() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
* @return The schemaChange.
*/
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB getSchemaChange() {
if (schemaChangeBuilder_ == null) {
return schemaChange_ == null ? org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.getDefaultInstance() : schemaChange_;
} else {
return schemaChangeBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
public Builder setSchemaChange(org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB value) {
if (schemaChangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
schemaChange_ = value;
} else {
schemaChangeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
public Builder setSchemaChange(
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.Builder builderForValue) {
if (schemaChangeBuilder_ == null) {
schemaChange_ = builderForValue.build();
} else {
schemaChangeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
public Builder mergeSchemaChange(org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB value) {
if (schemaChangeBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
schemaChange_ != null &&
schemaChange_ != org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.getDefaultInstance()) {
getSchemaChangeBuilder().mergeFrom(value);
} else {
schemaChange_ = value;
}
} else {
schemaChangeBuilder_.mergeFrom(value);
}
if (schemaChange_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
public Builder clearSchemaChange() {
bitField0_ = (bitField0_ & ~0x00000004);
schemaChange_ = null;
if (schemaChangeBuilder_ != null) {
schemaChangeBuilder_.dispose();
schemaChangeBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.Builder getSchemaChangeBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getSchemaChangeFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPBOrBuilder getSchemaChangeOrBuilder() {
if (schemaChangeBuilder_ != null) {
return schemaChangeBuilder_.getMessageOrBuilder();
} else {
return schemaChange_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.getDefaultInstance() : schemaChange_;
}
}
/**
* <code>optional .doris.cloud.TabletSchemaChangeJobPB schema_change = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPBOrBuilder>
getSchemaChangeFieldBuilder() {
if (schemaChangeBuilder_ == null) {
schemaChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletSchemaChangeJobPBOrBuilder>(
getSchemaChange(),
getParentForChildren(),
isClean());
schemaChange_ = null;
}
return schemaChangeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TabletJobInfoPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TabletJobInfoPB)
private static final org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB();
}
public static org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TabletJobInfoPB>
PARSER = new com.google.protobuf.AbstractParser<TabletJobInfoPB>() {
@java.lang.Override
public TabletJobInfoPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TabletJobInfoPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TabletJobInfoPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TabletStatsPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TabletStatsPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return Whether the idx field is set.
*/
boolean hasIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return The idx.
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder();
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @return Whether the dataSize field is set.
*/
boolean hasDataSize();
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @return The dataSize.
*/
long getDataSize();
/**
* <code>optional int64 num_rows = 3;</code>
* @return Whether the numRows field is set.
*/
boolean hasNumRows();
/**
* <code>optional int64 num_rows = 3;</code>
* @return The numRows.
*/
long getNumRows();
/**
* <code>optional int64 num_rowsets = 4;</code>
* @return Whether the numRowsets field is set.
*/
boolean hasNumRowsets();
/**
* <code>optional int64 num_rowsets = 4;</code>
* @return The numRowsets.
*/
long getNumRowsets();
/**
* <code>optional int64 num_segments = 5;</code>
* @return Whether the numSegments field is set.
*/
boolean hasNumSegments();
/**
* <code>optional int64 num_segments = 5;</code>
* @return The numSegments.
*/
long getNumSegments();
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return Whether the baseCompactionCnt field is set.
*/
boolean hasBaseCompactionCnt();
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return The baseCompactionCnt.
*/
long getBaseCompactionCnt();
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
boolean hasCumulativeCompactionCnt();
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return The cumulativeCompactionCnt.
*/
long getCumulativeCompactionCnt();
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return Whether the cumulativePoint field is set.
*/
boolean hasCumulativePoint();
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return The cumulativePoint.
*/
long getCumulativePoint();
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @return Whether the lastBaseCompactionTimeMs field is set.
*/
boolean hasLastBaseCompactionTimeMs();
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @return The lastBaseCompactionTimeMs.
*/
long getLastBaseCompactionTimeMs();
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @return Whether the lastCumuCompactionTimeMs field is set.
*/
boolean hasLastCumuCompactionTimeMs();
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @return The lastCumuCompactionTimeMs.
*/
long getLastCumuCompactionTimeMs();
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @return Whether the fullCompactionCnt field is set.
*/
boolean hasFullCompactionCnt();
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @return The fullCompactionCnt.
*/
long getFullCompactionCnt();
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @return Whether the lastFullCompactionTimeMs field is set.
*/
boolean hasLastFullCompactionTimeMs();
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @return The lastFullCompactionTimeMs.
*/
long getLastFullCompactionTimeMs();
/**
* <code>optional int64 index_size = 14;</code>
* @return Whether the indexSize field is set.
*/
boolean hasIndexSize();
/**
* <code>optional int64 index_size = 14;</code>
* @return The indexSize.
*/
long getIndexSize();
/**
* <code>optional int64 segment_size = 15;</code>
* @return Whether the segmentSize field is set.
*/
boolean hasSegmentSize();
/**
* <code>optional int64 segment_size = 15;</code>
* @return The segmentSize.
*/
long getSegmentSize();
}
/**
* <pre>
*==============================================================================
* Stats
*==============================================================================
* </pre>
*
* Protobuf type {@code doris.cloud.TabletStatsPB}
*/
public static final class TabletStatsPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TabletStatsPB)
TabletStatsPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TabletStatsPB.newBuilder() to construct.
private TabletStatsPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TabletStatsPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TabletStatsPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletStatsPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletStatsPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.class, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder.class);
}
private int bitField0_;
public static final int IDX_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return Whether the idx field is set.
*/
@java.lang.Override
public boolean hasIdx() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return The idx.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
public static final int DATA_SIZE_FIELD_NUMBER = 2;
private long dataSize_ = 0L;
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @return Whether the dataSize field is set.
*/
@java.lang.Override
public boolean hasDataSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @return The dataSize.
*/
@java.lang.Override
public long getDataSize() {
return dataSize_;
}
public static final int NUM_ROWS_FIELD_NUMBER = 3;
private long numRows_ = 0L;
/**
* <code>optional int64 num_rows = 3;</code>
* @return Whether the numRows field is set.
*/
@java.lang.Override
public boolean hasNumRows() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 num_rows = 3;</code>
* @return The numRows.
*/
@java.lang.Override
public long getNumRows() {
return numRows_;
}
public static final int NUM_ROWSETS_FIELD_NUMBER = 4;
private long numRowsets_ = 0L;
/**
* <code>optional int64 num_rowsets = 4;</code>
* @return Whether the numRowsets field is set.
*/
@java.lang.Override
public boolean hasNumRowsets() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 num_rowsets = 4;</code>
* @return The numRowsets.
*/
@java.lang.Override
public long getNumRowsets() {
return numRowsets_;
}
public static final int NUM_SEGMENTS_FIELD_NUMBER = 5;
private long numSegments_ = 0L;
/**
* <code>optional int64 num_segments = 5;</code>
* @return Whether the numSegments field is set.
*/
@java.lang.Override
public boolean hasNumSegments() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 num_segments = 5;</code>
* @return The numSegments.
*/
@java.lang.Override
public long getNumSegments() {
return numSegments_;
}
public static final int BASE_COMPACTION_CNT_FIELD_NUMBER = 7;
private long baseCompactionCnt_ = 0L;
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
public static final int CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER = 8;
private long cumulativeCompactionCnt_ = 0L;
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
public static final int CUMULATIVE_POINT_FIELD_NUMBER = 9;
private long cumulativePoint_ = 0L;
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return Whether the cumulativePoint field is set.
*/
@java.lang.Override
public boolean hasCumulativePoint() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return The cumulativePoint.
*/
@java.lang.Override
public long getCumulativePoint() {
return cumulativePoint_;
}
public static final int LAST_BASE_COMPACTION_TIME_MS_FIELD_NUMBER = 10;
private long lastBaseCompactionTimeMs_ = 0L;
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @return Whether the lastBaseCompactionTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastBaseCompactionTimeMs() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @return The lastBaseCompactionTimeMs.
*/
@java.lang.Override
public long getLastBaseCompactionTimeMs() {
return lastBaseCompactionTimeMs_;
}
public static final int LAST_CUMU_COMPACTION_TIME_MS_FIELD_NUMBER = 11;
private long lastCumuCompactionTimeMs_ = 0L;
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @return Whether the lastCumuCompactionTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastCumuCompactionTimeMs() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @return The lastCumuCompactionTimeMs.
*/
@java.lang.Override
public long getLastCumuCompactionTimeMs() {
return lastCumuCompactionTimeMs_;
}
public static final int FULL_COMPACTION_CNT_FIELD_NUMBER = 12;
private long fullCompactionCnt_ = 0L;
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @return Whether the fullCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasFullCompactionCnt() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @return The fullCompactionCnt.
*/
@java.lang.Override
public long getFullCompactionCnt() {
return fullCompactionCnt_;
}
public static final int LAST_FULL_COMPACTION_TIME_MS_FIELD_NUMBER = 13;
private long lastFullCompactionTimeMs_ = 0L;
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @return Whether the lastFullCompactionTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastFullCompactionTimeMs() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @return The lastFullCompactionTimeMs.
*/
@java.lang.Override
public long getLastFullCompactionTimeMs() {
return lastFullCompactionTimeMs_;
}
public static final int INDEX_SIZE_FIELD_NUMBER = 14;
private long indexSize_ = 0L;
/**
* <code>optional int64 index_size = 14;</code>
* @return Whether the indexSize field is set.
*/
@java.lang.Override
public boolean hasIndexSize() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional int64 index_size = 14;</code>
* @return The indexSize.
*/
@java.lang.Override
public long getIndexSize() {
return indexSize_;
}
public static final int SEGMENT_SIZE_FIELD_NUMBER = 15;
private long segmentSize_ = 0L;
/**
* <code>optional int64 segment_size = 15;</code>
* @return Whether the segmentSize field is set.
*/
@java.lang.Override
public boolean hasSegmentSize() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional int64 segment_size = 15;</code>
* @return The segmentSize.
*/
@java.lang.Override
public long getSegmentSize() {
return segmentSize_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getIdx());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dataSize_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, numRows_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, numRowsets_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, numSegments_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(7, baseCompactionCnt_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(8, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(9, cumulativePoint_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(10, lastBaseCompactionTimeMs_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(11, lastCumuCompactionTimeMs_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(12, fullCompactionCnt_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(13, lastFullCompactionTimeMs_);
}
if (((bitField0_ & 0x00001000) != 0)) {
output.writeInt64(14, indexSize_);
}
if (((bitField0_ & 0x00002000) != 0)) {
output.writeInt64(15, segmentSize_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIdx());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dataSize_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, numRows_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, numRowsets_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, numSegments_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, baseCompactionCnt_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, cumulativePoint_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, lastBaseCompactionTimeMs_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, lastCumuCompactionTimeMs_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, fullCompactionCnt_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, lastFullCompactionTimeMs_);
}
if (((bitField0_ & 0x00001000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, indexSize_);
}
if (((bitField0_ & 0x00002000) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(15, segmentSize_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TabletStatsPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TabletStatsPB other = (org.apache.doris.cloud.proto.Cloud.TabletStatsPB) obj;
if (hasIdx() != other.hasIdx()) return false;
if (hasIdx()) {
if (!getIdx()
.equals(other.getIdx())) return false;
}
if (hasDataSize() != other.hasDataSize()) return false;
if (hasDataSize()) {
if (getDataSize()
!= other.getDataSize()) return false;
}
if (hasNumRows() != other.hasNumRows()) return false;
if (hasNumRows()) {
if (getNumRows()
!= other.getNumRows()) return false;
}
if (hasNumRowsets() != other.hasNumRowsets()) return false;
if (hasNumRowsets()) {
if (getNumRowsets()
!= other.getNumRowsets()) return false;
}
if (hasNumSegments() != other.hasNumSegments()) return false;
if (hasNumSegments()) {
if (getNumSegments()
!= other.getNumSegments()) return false;
}
if (hasBaseCompactionCnt() != other.hasBaseCompactionCnt()) return false;
if (hasBaseCompactionCnt()) {
if (getBaseCompactionCnt()
!= other.getBaseCompactionCnt()) return false;
}
if (hasCumulativeCompactionCnt() != other.hasCumulativeCompactionCnt()) return false;
if (hasCumulativeCompactionCnt()) {
if (getCumulativeCompactionCnt()
!= other.getCumulativeCompactionCnt()) return false;
}
if (hasCumulativePoint() != other.hasCumulativePoint()) return false;
if (hasCumulativePoint()) {
if (getCumulativePoint()
!= other.getCumulativePoint()) return false;
}
if (hasLastBaseCompactionTimeMs() != other.hasLastBaseCompactionTimeMs()) return false;
if (hasLastBaseCompactionTimeMs()) {
if (getLastBaseCompactionTimeMs()
!= other.getLastBaseCompactionTimeMs()) return false;
}
if (hasLastCumuCompactionTimeMs() != other.hasLastCumuCompactionTimeMs()) return false;
if (hasLastCumuCompactionTimeMs()) {
if (getLastCumuCompactionTimeMs()
!= other.getLastCumuCompactionTimeMs()) return false;
}
if (hasFullCompactionCnt() != other.hasFullCompactionCnt()) return false;
if (hasFullCompactionCnt()) {
if (getFullCompactionCnt()
!= other.getFullCompactionCnt()) return false;
}
if (hasLastFullCompactionTimeMs() != other.hasLastFullCompactionTimeMs()) return false;
if (hasLastFullCompactionTimeMs()) {
if (getLastFullCompactionTimeMs()
!= other.getLastFullCompactionTimeMs()) return false;
}
if (hasIndexSize() != other.hasIndexSize()) return false;
if (hasIndexSize()) {
if (getIndexSize()
!= other.getIndexSize()) return false;
}
if (hasSegmentSize() != other.hasSegmentSize()) return false;
if (hasSegmentSize()) {
if (getSegmentSize()
!= other.getSegmentSize()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasIdx()) {
hash = (37 * hash) + IDX_FIELD_NUMBER;
hash = (53 * hash) + getIdx().hashCode();
}
if (hasDataSize()) {
hash = (37 * hash) + DATA_SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDataSize());
}
if (hasNumRows()) {
hash = (37 * hash) + NUM_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumRows());
}
if (hasNumRowsets()) {
hash = (37 * hash) + NUM_ROWSETS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumRowsets());
}
if (hasNumSegments()) {
hash = (37 * hash) + NUM_SEGMENTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNumSegments());
}
if (hasBaseCompactionCnt()) {
hash = (37 * hash) + BASE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBaseCompactionCnt());
}
if (hasCumulativeCompactionCnt()) {
hash = (37 * hash) + CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCumulativeCompactionCnt());
}
if (hasCumulativePoint()) {
hash = (37 * hash) + CUMULATIVE_POINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCumulativePoint());
}
if (hasLastBaseCompactionTimeMs()) {
hash = (37 * hash) + LAST_BASE_COMPACTION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastBaseCompactionTimeMs());
}
if (hasLastCumuCompactionTimeMs()) {
hash = (37 * hash) + LAST_CUMU_COMPACTION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastCumuCompactionTimeMs());
}
if (hasFullCompactionCnt()) {
hash = (37 * hash) + FULL_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFullCompactionCnt());
}
if (hasLastFullCompactionTimeMs()) {
hash = (37 * hash) + LAST_FULL_COMPACTION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLastFullCompactionTimeMs());
}
if (hasIndexSize()) {
hash = (37 * hash) + INDEX_SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIndexSize());
}
if (hasSegmentSize()) {
hash = (37 * hash) + SEGMENT_SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSegmentSize());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TabletStatsPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
*==============================================================================
* Stats
*==============================================================================
* </pre>
*
* Protobuf type {@code doris.cloud.TabletStatsPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TabletStatsPB)
org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletStatsPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletStatsPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.class, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TabletStatsPB.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getIdxFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
dataSize_ = 0L;
numRows_ = 0L;
numRowsets_ = 0L;
numSegments_ = 0L;
baseCompactionCnt_ = 0L;
cumulativeCompactionCnt_ = 0L;
cumulativePoint_ = 0L;
lastBaseCompactionTimeMs_ = 0L;
lastCumuCompactionTimeMs_ = 0L;
fullCompactionCnt_ = 0L;
lastFullCompactionTimeMs_ = 0L;
indexSize_ = 0L;
segmentSize_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TabletStatsPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB build() {
org.apache.doris.cloud.proto.Cloud.TabletStatsPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TabletStatsPB result = new org.apache.doris.cloud.proto.Cloud.TabletStatsPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TabletStatsPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.idx_ = idxBuilder_ == null
? idx_
: idxBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dataSize_ = dataSize_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.numRows_ = numRows_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.numRowsets_ = numRowsets_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.numSegments_ = numSegments_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.baseCompactionCnt_ = baseCompactionCnt_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.cumulativeCompactionCnt_ = cumulativeCompactionCnt_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.cumulativePoint_ = cumulativePoint_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.lastBaseCompactionTimeMs_ = lastBaseCompactionTimeMs_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.lastCumuCompactionTimeMs_ = lastCumuCompactionTimeMs_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.fullCompactionCnt_ = fullCompactionCnt_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.lastFullCompactionTimeMs_ = lastFullCompactionTimeMs_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.indexSize_ = indexSize_;
to_bitField0_ |= 0x00001000;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.segmentSize_ = segmentSize_;
to_bitField0_ |= 0x00002000;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TabletStatsPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TabletStatsPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TabletStatsPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance()) return this;
if (other.hasIdx()) {
mergeIdx(other.getIdx());
}
if (other.hasDataSize()) {
setDataSize(other.getDataSize());
}
if (other.hasNumRows()) {
setNumRows(other.getNumRows());
}
if (other.hasNumRowsets()) {
setNumRowsets(other.getNumRowsets());
}
if (other.hasNumSegments()) {
setNumSegments(other.getNumSegments());
}
if (other.hasBaseCompactionCnt()) {
setBaseCompactionCnt(other.getBaseCompactionCnt());
}
if (other.hasCumulativeCompactionCnt()) {
setCumulativeCompactionCnt(other.getCumulativeCompactionCnt());
}
if (other.hasCumulativePoint()) {
setCumulativePoint(other.getCumulativePoint());
}
if (other.hasLastBaseCompactionTimeMs()) {
setLastBaseCompactionTimeMs(other.getLastBaseCompactionTimeMs());
}
if (other.hasLastCumuCompactionTimeMs()) {
setLastCumuCompactionTimeMs(other.getLastCumuCompactionTimeMs());
}
if (other.hasFullCompactionCnt()) {
setFullCompactionCnt(other.getFullCompactionCnt());
}
if (other.hasLastFullCompactionTimeMs()) {
setLastFullCompactionTimeMs(other.getLastFullCompactionTimeMs());
}
if (other.hasIndexSize()) {
setIndexSize(other.getIndexSize());
}
if (other.hasSegmentSize()) {
setSegmentSize(other.getSegmentSize());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getIdxFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dataSize_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
numRows_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
numRowsets_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
numSegments_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 56: {
baseCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 56
case 64: {
cumulativeCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 64
case 72: {
cumulativePoint_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 72
case 80: {
lastBaseCompactionTimeMs_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 80
case 88: {
lastCumuCompactionTimeMs_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 88
case 96: {
fullCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 96
case 104: {
lastFullCompactionTimeMs_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 104
case 112: {
indexSize_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 112
case 120: {
segmentSize_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 120
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> idxBuilder_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return Whether the idx field is set.
*/
public boolean hasIdx() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
* @return The idx.
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
if (idxBuilder_ == null) {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
} else {
return idxBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder setIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
idx_ = value;
} else {
idxBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder setIdx(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (idxBuilder_ == null) {
idx_ = builderForValue.build();
} else {
idxBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder mergeIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
idx_ != null &&
idx_ != org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance()) {
getIdxBuilder().mergeFrom(value);
} else {
idx_ = value;
}
} else {
idxBuilder_.mergeFrom(value);
}
if (idx_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public Builder clearIdx() {
bitField0_ = (bitField0_ & ~0x00000001);
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getIdxBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getIdxFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
if (idxBuilder_ != null) {
return idxBuilder_.getMessageOrBuilder();
} else {
return idx_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getIdxFieldBuilder() {
if (idxBuilder_ == null) {
idxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
getIdx(),
getParentForChildren(),
isClean());
idx_ = null;
}
return idxBuilder_;
}
private long dataSize_ ;
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @return Whether the dataSize field is set.
*/
@java.lang.Override
public boolean hasDataSize() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @return The dataSize.
*/
@java.lang.Override
public long getDataSize() {
return dataSize_;
}
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @param value The dataSize to set.
* @return This builder for chaining.
*/
public Builder setDataSize(long value) {
dataSize_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* data_size = index_size + segment_size
* </pre>
*
* <code>optional int64 data_size = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDataSize() {
bitField0_ = (bitField0_ & ~0x00000002);
dataSize_ = 0L;
onChanged();
return this;
}
private long numRows_ ;
/**
* <code>optional int64 num_rows = 3;</code>
* @return Whether the numRows field is set.
*/
@java.lang.Override
public boolean hasNumRows() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 num_rows = 3;</code>
* @return The numRows.
*/
@java.lang.Override
public long getNumRows() {
return numRows_;
}
/**
* <code>optional int64 num_rows = 3;</code>
* @param value The numRows to set.
* @return This builder for chaining.
*/
public Builder setNumRows(long value) {
numRows_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 num_rows = 3;</code>
* @return This builder for chaining.
*/
public Builder clearNumRows() {
bitField0_ = (bitField0_ & ~0x00000004);
numRows_ = 0L;
onChanged();
return this;
}
private long numRowsets_ ;
/**
* <code>optional int64 num_rowsets = 4;</code>
* @return Whether the numRowsets field is set.
*/
@java.lang.Override
public boolean hasNumRowsets() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 num_rowsets = 4;</code>
* @return The numRowsets.
*/
@java.lang.Override
public long getNumRowsets() {
return numRowsets_;
}
/**
* <code>optional int64 num_rowsets = 4;</code>
* @param value The numRowsets to set.
* @return This builder for chaining.
*/
public Builder setNumRowsets(long value) {
numRowsets_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 num_rowsets = 4;</code>
* @return This builder for chaining.
*/
public Builder clearNumRowsets() {
bitField0_ = (bitField0_ & ~0x00000008);
numRowsets_ = 0L;
onChanged();
return this;
}
private long numSegments_ ;
/**
* <code>optional int64 num_segments = 5;</code>
* @return Whether the numSegments field is set.
*/
@java.lang.Override
public boolean hasNumSegments() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 num_segments = 5;</code>
* @return The numSegments.
*/
@java.lang.Override
public long getNumSegments() {
return numSegments_;
}
/**
* <code>optional int64 num_segments = 5;</code>
* @param value The numSegments to set.
* @return This builder for chaining.
*/
public Builder setNumSegments(long value) {
numSegments_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 num_segments = 5;</code>
* @return This builder for chaining.
*/
public Builder clearNumSegments() {
bitField0_ = (bitField0_ & ~0x00000010);
numSegments_ = 0L;
onChanged();
return this;
}
private long baseCompactionCnt_ ;
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @param value The baseCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setBaseCompactionCnt(long value) {
baseCompactionCnt_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return This builder for chaining.
*/
public Builder clearBaseCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00000020);
baseCompactionCnt_ = 0L;
onChanged();
return this;
}
private long cumulativeCompactionCnt_ ;
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @param value The cumulativeCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setCumulativeCompactionCnt(long value) {
cumulativeCompactionCnt_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativeCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00000040);
cumulativeCompactionCnt_ = 0L;
onChanged();
return this;
}
private long cumulativePoint_ ;
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return Whether the cumulativePoint field is set.
*/
@java.lang.Override
public boolean hasCumulativePoint() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return The cumulativePoint.
*/
@java.lang.Override
public long getCumulativePoint() {
return cumulativePoint_;
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @param value The cumulativePoint to set.
* @return This builder for chaining.
*/
public Builder setCumulativePoint(long value) {
cumulativePoint_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativePoint() {
bitField0_ = (bitField0_ & ~0x00000080);
cumulativePoint_ = 0L;
onChanged();
return this;
}
private long lastBaseCompactionTimeMs_ ;
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @return Whether the lastBaseCompactionTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastBaseCompactionTimeMs() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @return The lastBaseCompactionTimeMs.
*/
@java.lang.Override
public long getLastBaseCompactionTimeMs() {
return lastBaseCompactionTimeMs_;
}
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @param value The lastBaseCompactionTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastBaseCompactionTimeMs(long value) {
lastBaseCompactionTimeMs_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional int64 last_base_compaction_time_ms = 10;</code>
* @return This builder for chaining.
*/
public Builder clearLastBaseCompactionTimeMs() {
bitField0_ = (bitField0_ & ~0x00000100);
lastBaseCompactionTimeMs_ = 0L;
onChanged();
return this;
}
private long lastCumuCompactionTimeMs_ ;
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @return Whether the lastCumuCompactionTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastCumuCompactionTimeMs() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @return The lastCumuCompactionTimeMs.
*/
@java.lang.Override
public long getLastCumuCompactionTimeMs() {
return lastCumuCompactionTimeMs_;
}
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @param value The lastCumuCompactionTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastCumuCompactionTimeMs(long value) {
lastCumuCompactionTimeMs_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional int64 last_cumu_compaction_time_ms = 11;</code>
* @return This builder for chaining.
*/
public Builder clearLastCumuCompactionTimeMs() {
bitField0_ = (bitField0_ & ~0x00000200);
lastCumuCompactionTimeMs_ = 0L;
onChanged();
return this;
}
private long fullCompactionCnt_ ;
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @return Whether the fullCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasFullCompactionCnt() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @return The fullCompactionCnt.
*/
@java.lang.Override
public long getFullCompactionCnt() {
return fullCompactionCnt_;
}
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @param value The fullCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setFullCompactionCnt(long value) {
fullCompactionCnt_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional int64 full_compaction_cnt = 12;</code>
* @return This builder for chaining.
*/
public Builder clearFullCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00000400);
fullCompactionCnt_ = 0L;
onChanged();
return this;
}
private long lastFullCompactionTimeMs_ ;
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @return Whether the lastFullCompactionTimeMs field is set.
*/
@java.lang.Override
public boolean hasLastFullCompactionTimeMs() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @return The lastFullCompactionTimeMs.
*/
@java.lang.Override
public long getLastFullCompactionTimeMs() {
return lastFullCompactionTimeMs_;
}
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @param value The lastFullCompactionTimeMs to set.
* @return This builder for chaining.
*/
public Builder setLastFullCompactionTimeMs(long value) {
lastFullCompactionTimeMs_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional int64 last_full_compaction_time_ms = 13;</code>
* @return This builder for chaining.
*/
public Builder clearLastFullCompactionTimeMs() {
bitField0_ = (bitField0_ & ~0x00000800);
lastFullCompactionTimeMs_ = 0L;
onChanged();
return this;
}
private long indexSize_ ;
/**
* <code>optional int64 index_size = 14;</code>
* @return Whether the indexSize field is set.
*/
@java.lang.Override
public boolean hasIndexSize() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional int64 index_size = 14;</code>
* @return The indexSize.
*/
@java.lang.Override
public long getIndexSize() {
return indexSize_;
}
/**
* <code>optional int64 index_size = 14;</code>
* @param value The indexSize to set.
* @return This builder for chaining.
*/
public Builder setIndexSize(long value) {
indexSize_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional int64 index_size = 14;</code>
* @return This builder for chaining.
*/
public Builder clearIndexSize() {
bitField0_ = (bitField0_ & ~0x00001000);
indexSize_ = 0L;
onChanged();
return this;
}
private long segmentSize_ ;
/**
* <code>optional int64 segment_size = 15;</code>
* @return Whether the segmentSize field is set.
*/
@java.lang.Override
public boolean hasSegmentSize() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <code>optional int64 segment_size = 15;</code>
* @return The segmentSize.
*/
@java.lang.Override
public long getSegmentSize() {
return segmentSize_;
}
/**
* <code>optional int64 segment_size = 15;</code>
* @param value The segmentSize to set.
* @return This builder for chaining.
*/
public Builder setSegmentSize(long value) {
segmentSize_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <code>optional int64 segment_size = 15;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentSize() {
bitField0_ = (bitField0_ & ~0x00002000);
segmentSize_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TabletStatsPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TabletStatsPB)
private static final org.apache.doris.cloud.proto.Cloud.TabletStatsPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TabletStatsPB();
}
public static org.apache.doris.cloud.proto.Cloud.TabletStatsPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TabletStatsPB>
PARSER = new com.google.protobuf.AbstractParser<TabletStatsPB>() {
@java.lang.Override
public TabletStatsPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TabletStatsPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TabletStatsPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ObjectFilePBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.ObjectFilePB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string relative_path = 1;</code>
* @return Whether the relativePath field is set.
*/
boolean hasRelativePath();
/**
* <code>optional string relative_path = 1;</code>
* @return The relativePath.
*/
java.lang.String getRelativePath();
/**
* <code>optional string relative_path = 1;</code>
* @return The bytes for relativePath.
*/
com.google.protobuf.ByteString
getRelativePathBytes();
/**
* <code>optional string etag = 2;</code>
* @return Whether the etag field is set.
*/
boolean hasEtag();
/**
* <code>optional string etag = 2;</code>
* @return The etag.
*/
java.lang.String getEtag();
/**
* <code>optional string etag = 2;</code>
* @return The bytes for etag.
*/
com.google.protobuf.ByteString
getEtagBytes();
/**
* <code>optional int64 size = 3;</code>
* @return Whether the size field is set.
*/
boolean hasSize();
/**
* <code>optional int64 size = 3;</code>
* @return The size.
*/
long getSize();
}
/**
* Protobuf type {@code doris.cloud.ObjectFilePB}
*/
public static final class ObjectFilePB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.ObjectFilePB)
ObjectFilePBOrBuilder {
private static final long serialVersionUID = 0L;
// Use ObjectFilePB.newBuilder() to construct.
private ObjectFilePB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ObjectFilePB() {
relativePath_ = "";
etag_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ObjectFilePB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectFilePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectFilePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.class, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder.class);
}
private int bitField0_;
public static final int RELATIVE_PATH_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object relativePath_ = "";
/**
* <code>optional string relative_path = 1;</code>
* @return Whether the relativePath field is set.
*/
@java.lang.Override
public boolean hasRelativePath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string relative_path = 1;</code>
* @return The relativePath.
*/
@java.lang.Override
public java.lang.String getRelativePath() {
java.lang.Object ref = relativePath_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
relativePath_ = s;
}
return s;
}
}
/**
* <code>optional string relative_path = 1;</code>
* @return The bytes for relativePath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRelativePathBytes() {
java.lang.Object ref = relativePath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
relativePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ETAG_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object etag_ = "";
/**
* <code>optional string etag = 2;</code>
* @return Whether the etag field is set.
*/
@java.lang.Override
public boolean hasEtag() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string etag = 2;</code>
* @return The etag.
*/
@java.lang.Override
public java.lang.String getEtag() {
java.lang.Object ref = etag_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
etag_ = s;
}
return s;
}
}
/**
* <code>optional string etag = 2;</code>
* @return The bytes for etag.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEtagBytes() {
java.lang.Object ref = etag_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
etag_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SIZE_FIELD_NUMBER = 3;
private long size_ = 0L;
/**
* <code>optional int64 size = 3;</code>
* @return Whether the size field is set.
*/
@java.lang.Override
public boolean hasSize() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 size = 3;</code>
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, relativePath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, etag_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, size_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, relativePath_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, etag_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, size_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.ObjectFilePB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.ObjectFilePB other = (org.apache.doris.cloud.proto.Cloud.ObjectFilePB) obj;
if (hasRelativePath() != other.hasRelativePath()) return false;
if (hasRelativePath()) {
if (!getRelativePath()
.equals(other.getRelativePath())) return false;
}
if (hasEtag() != other.hasEtag()) return false;
if (hasEtag()) {
if (!getEtag()
.equals(other.getEtag())) return false;
}
if (hasSize() != other.hasSize()) return false;
if (hasSize()) {
if (getSize()
!= other.getSize()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRelativePath()) {
hash = (37 * hash) + RELATIVE_PATH_FIELD_NUMBER;
hash = (53 * hash) + getRelativePath().hashCode();
}
if (hasEtag()) {
hash = (37 * hash) + ETAG_FIELD_NUMBER;
hash = (53 * hash) + getEtag().hashCode();
}
if (hasSize()) {
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.ObjectFilePB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.ObjectFilePB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.ObjectFilePB)
org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectFilePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectFilePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.class, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.ObjectFilePB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
relativePath_ = "";
etag_ = "";
size_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ObjectFilePB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB build() {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB buildPartial() {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB result = new org.apache.doris.cloud.proto.Cloud.ObjectFilePB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.ObjectFilePB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.relativePath_ = relativePath_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.etag_ = etag_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.size_ = size_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.ObjectFilePB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.ObjectFilePB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.ObjectFilePB other) {
if (other == org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance()) return this;
if (other.hasRelativePath()) {
relativePath_ = other.relativePath_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasEtag()) {
etag_ = other.etag_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasSize()) {
setSize(other.getSize());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
relativePath_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
etag_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
size_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object relativePath_ = "";
/**
* <code>optional string relative_path = 1;</code>
* @return Whether the relativePath field is set.
*/
public boolean hasRelativePath() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string relative_path = 1;</code>
* @return The relativePath.
*/
public java.lang.String getRelativePath() {
java.lang.Object ref = relativePath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
relativePath_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string relative_path = 1;</code>
* @return The bytes for relativePath.
*/
public com.google.protobuf.ByteString
getRelativePathBytes() {
java.lang.Object ref = relativePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
relativePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string relative_path = 1;</code>
* @param value The relativePath to set.
* @return This builder for chaining.
*/
public Builder setRelativePath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
relativePath_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string relative_path = 1;</code>
* @return This builder for chaining.
*/
public Builder clearRelativePath() {
relativePath_ = getDefaultInstance().getRelativePath();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string relative_path = 1;</code>
* @param value The bytes for relativePath to set.
* @return This builder for chaining.
*/
public Builder setRelativePathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
relativePath_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object etag_ = "";
/**
* <code>optional string etag = 2;</code>
* @return Whether the etag field is set.
*/
public boolean hasEtag() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string etag = 2;</code>
* @return The etag.
*/
public java.lang.String getEtag() {
java.lang.Object ref = etag_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
etag_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string etag = 2;</code>
* @return The bytes for etag.
*/
public com.google.protobuf.ByteString
getEtagBytes() {
java.lang.Object ref = etag_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
etag_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string etag = 2;</code>
* @param value The etag to set.
* @return This builder for chaining.
*/
public Builder setEtag(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
etag_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string etag = 2;</code>
* @return This builder for chaining.
*/
public Builder clearEtag() {
etag_ = getDefaultInstance().getEtag();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string etag = 2;</code>
* @param value The bytes for etag to set.
* @return This builder for chaining.
*/
public Builder setEtagBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
etag_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long size_ ;
/**
* <code>optional int64 size = 3;</code>
* @return Whether the size field is set.
*/
@java.lang.Override
public boolean hasSize() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 size = 3;</code>
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
/**
* <code>optional int64 size = 3;</code>
* @param value The size to set.
* @return This builder for chaining.
*/
public Builder setSize(long value) {
size_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 size = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSize() {
bitField0_ = (bitField0_ & ~0x00000004);
size_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.ObjectFilePB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.ObjectFilePB)
private static final org.apache.doris.cloud.proto.Cloud.ObjectFilePB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.ObjectFilePB();
}
public static org.apache.doris.cloud.proto.Cloud.ObjectFilePB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<ObjectFilePB>
PARSER = new com.google.protobuf.AbstractParser<ObjectFilePB>() {
@java.lang.Override
public ObjectFilePB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ObjectFilePB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ObjectFilePB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CopyJobPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CopyJobPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @return Whether the stageType field is set.
*/
boolean hasStageType();
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @return The stageType.
*/
org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>
getObjectFilesList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index);
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
int getObjectFilesCount();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index);
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @return Whether the jobStatus field is set.
*/
boolean hasJobStatus();
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @return The jobStatus.
*/
org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus getJobStatus();
/**
* <code>optional int64 start_time_ms = 4;</code>
* @return Whether the startTimeMs field is set.
*/
boolean hasStartTimeMs();
/**
* <code>optional int64 start_time_ms = 4;</code>
* @return The startTimeMs.
*/
long getStartTimeMs();
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @return Whether the timeoutTimeMs field is set.
*/
boolean hasTimeoutTimeMs();
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @return The timeoutTimeMs.
*/
long getTimeoutTimeMs();
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @return Whether the finishTimeMs field is set.
*/
boolean hasFinishTimeMs();
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @return The finishTimeMs.
*/
long getFinishTimeMs();
}
/**
* Protobuf type {@code doris.cloud.CopyJobPB}
*/
public static final class CopyJobPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CopyJobPB)
CopyJobPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use CopyJobPB.newBuilder() to construct.
private CopyJobPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CopyJobPB() {
stageType_ = 0;
objectFiles_ = java.util.Collections.emptyList();
jobStatus_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CopyJobPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyJobPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyJobPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CopyJobPB.class, org.apache.doris.cloud.proto.Cloud.CopyJobPB.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.CopyJobPB.JobStatus}
*/
public enum JobStatus
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>LOADING = 1;</code>
*/
LOADING(1),
/**
* <code>FINISH = 2;</code>
*/
FINISH(2),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>LOADING = 1;</code>
*/
public static final int LOADING_VALUE = 1;
/**
* <code>FINISH = 2;</code>
*/
public static final int FINISH_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static JobStatus valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static JobStatus forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return LOADING;
case 2: return FINISH;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<JobStatus>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
JobStatus> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<JobStatus>() {
public JobStatus findValueByNumber(int number) {
return JobStatus.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDescriptor().getEnumTypes().get(0);
}
private static final JobStatus[] VALUES = values();
public static JobStatus valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private JobStatus(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.CopyJobPB.JobStatus)
}
private int bitField0_;
public static final int STAGE_TYPE_FIELD_NUMBER = 1;
private int stageType_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @return Whether the stageType field is set.
*/
@java.lang.Override public boolean hasStageType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @return The stageType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(stageType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
public static final int OBJECT_FILES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public int getObjectFilesCount() {
return objectFiles_.size();
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
return objectFiles_.get(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
return objectFiles_.get(index);
}
public static final int JOB_STATUS_FIELD_NUMBER = 3;
private int jobStatus_ = 0;
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @return Whether the jobStatus field is set.
*/
@java.lang.Override public boolean hasJobStatus() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @return The jobStatus.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus getJobStatus() {
org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus result = org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus.forNumber(jobStatus_);
return result == null ? org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus.UNKNOWN : result;
}
public static final int START_TIME_MS_FIELD_NUMBER = 4;
private long startTimeMs_ = 0L;
/**
* <code>optional int64 start_time_ms = 4;</code>
* @return Whether the startTimeMs field is set.
*/
@java.lang.Override
public boolean hasStartTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 start_time_ms = 4;</code>
* @return The startTimeMs.
*/
@java.lang.Override
public long getStartTimeMs() {
return startTimeMs_;
}
public static final int TIMEOUT_TIME_MS_FIELD_NUMBER = 5;
private long timeoutTimeMs_ = 0L;
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @return Whether the timeoutTimeMs field is set.
*/
@java.lang.Override
public boolean hasTimeoutTimeMs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @return The timeoutTimeMs.
*/
@java.lang.Override
public long getTimeoutTimeMs() {
return timeoutTimeMs_;
}
public static final int FINISH_TIME_MS_FIELD_NUMBER = 6;
private long finishTimeMs_ = 0L;
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @return Whether the finishTimeMs field is set.
*/
@java.lang.Override
public boolean hasFinishTimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @return The finishTimeMs.
*/
@java.lang.Override
public long getFinishTimeMs() {
return finishTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, stageType_);
}
for (int i = 0; i < objectFiles_.size(); i++) {
output.writeMessage(2, objectFiles_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(3, jobStatus_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(4, startTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(5, timeoutTimeMs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(6, finishTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, stageType_);
}
for (int i = 0; i < objectFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, objectFiles_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, jobStatus_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, startTimeMs_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, timeoutTimeMs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, finishTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CopyJobPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CopyJobPB other = (org.apache.doris.cloud.proto.Cloud.CopyJobPB) obj;
if (hasStageType() != other.hasStageType()) return false;
if (hasStageType()) {
if (stageType_ != other.stageType_) return false;
}
if (!getObjectFilesList()
.equals(other.getObjectFilesList())) return false;
if (hasJobStatus() != other.hasJobStatus()) return false;
if (hasJobStatus()) {
if (jobStatus_ != other.jobStatus_) return false;
}
if (hasStartTimeMs() != other.hasStartTimeMs()) return false;
if (hasStartTimeMs()) {
if (getStartTimeMs()
!= other.getStartTimeMs()) return false;
}
if (hasTimeoutTimeMs() != other.hasTimeoutTimeMs()) return false;
if (hasTimeoutTimeMs()) {
if (getTimeoutTimeMs()
!= other.getTimeoutTimeMs()) return false;
}
if (hasFinishTimeMs() != other.hasFinishTimeMs()) return false;
if (hasFinishTimeMs()) {
if (getFinishTimeMs()
!= other.getFinishTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStageType()) {
hash = (37 * hash) + STAGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + stageType_;
}
if (getObjectFilesCount() > 0) {
hash = (37 * hash) + OBJECT_FILES_FIELD_NUMBER;
hash = (53 * hash) + getObjectFilesList().hashCode();
}
if (hasJobStatus()) {
hash = (37 * hash) + JOB_STATUS_FIELD_NUMBER;
hash = (53 * hash) + jobStatus_;
}
if (hasStartTimeMs()) {
hash = (37 * hash) + START_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimeMs());
}
if (hasTimeoutTimeMs()) {
hash = (37 * hash) + TIMEOUT_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeoutTimeMs());
}
if (hasFinishTimeMs()) {
hash = (37 * hash) + FINISH_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFinishTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CopyJobPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CopyJobPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CopyJobPB)
org.apache.doris.cloud.proto.Cloud.CopyJobPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyJobPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyJobPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CopyJobPB.class, org.apache.doris.cloud.proto.Cloud.CopyJobPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CopyJobPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
stageType_ = 0;
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
} else {
objectFiles_ = null;
objectFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
jobStatus_ = 0;
startTimeMs_ = 0L;
timeoutTimeMs_ = 0L;
finishTimeMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyJobPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyJobPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyJobPB build() {
org.apache.doris.cloud.proto.Cloud.CopyJobPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyJobPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.CopyJobPB result = new org.apache.doris.cloud.proto.Cloud.CopyJobPB(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.CopyJobPB result) {
if (objectFilesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
objectFiles_ = java.util.Collections.unmodifiableList(objectFiles_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.objectFiles_ = objectFiles_;
} else {
result.objectFiles_ = objectFilesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CopyJobPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.stageType_ = stageType_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.jobStatus_ = jobStatus_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.startTimeMs_ = startTimeMs_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.timeoutTimeMs_ = timeoutTimeMs_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.finishTimeMs_ = finishTimeMs_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CopyJobPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CopyJobPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CopyJobPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDefaultInstance()) return this;
if (other.hasStageType()) {
setStageType(other.getStageType());
}
if (objectFilesBuilder_ == null) {
if (!other.objectFiles_.isEmpty()) {
if (objectFiles_.isEmpty()) {
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureObjectFilesIsMutable();
objectFiles_.addAll(other.objectFiles_);
}
onChanged();
}
} else {
if (!other.objectFiles_.isEmpty()) {
if (objectFilesBuilder_.isEmpty()) {
objectFilesBuilder_.dispose();
objectFilesBuilder_ = null;
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
objectFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectFilesFieldBuilder() : null;
} else {
objectFilesBuilder_.addAllMessages(other.objectFiles_);
}
}
}
if (other.hasJobStatus()) {
setJobStatus(other.getJobStatus());
}
if (other.hasStartTimeMs()) {
setStartTimeMs(other.getStartTimeMs());
}
if (other.hasTimeoutTimeMs()) {
setTimeoutTimeMs(other.getTimeoutTimeMs());
}
if (other.hasFinishTimeMs()) {
setFinishTimeMs(other.getFinishTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.StagePB.StageType tmpValue =
org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
stageType_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.PARSER,
extensionRegistry);
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(m);
} else {
objectFilesBuilder_.addMessage(m);
}
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus tmpValue =
org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
jobStatus_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
case 32: {
startTimeMs_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
timeoutTimeMs_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
finishTimeMs_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int stageType_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @return Whether the stageType field is set.
*/
@java.lang.Override public boolean hasStageType() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @return The stageType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(stageType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @param value The stageType to set.
* @return This builder for chaining.
*/
public Builder setStageType(org.apache.doris.cloud.proto.Cloud.StagePB.StageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
stageType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 1;</code>
* @return This builder for chaining.
*/
public Builder clearStageType() {
bitField0_ = (bitField0_ & ~0x00000001);
stageType_ = 0;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_ =
java.util.Collections.emptyList();
private void ensureObjectFilesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
objectFiles_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>(objectFiles_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder> objectFilesBuilder_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
if (objectFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectFiles_);
} else {
return objectFilesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public int getObjectFilesCount() {
if (objectFilesBuilder_ == null) {
return objectFiles_.size();
} else {
return objectFilesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index);
} else {
return objectFilesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.set(index, value);
onChanged();
} else {
objectFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.set(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(value);
onChanged();
} else {
objectFilesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(index, value);
onChanged();
} else {
objectFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addAllObjectFiles(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePB> values) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectFiles_);
onChanged();
} else {
objectFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder clearObjectFiles() {
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
objectFilesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder removeObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.remove(index);
onChanged();
} else {
objectFilesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder getObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index); } else {
return objectFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
if (objectFilesBuilder_ != null) {
return objectFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectFiles_);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder() {
return getObjectFilesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder>
getObjectFilesBuilderList() {
return getObjectFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesFieldBuilder() {
if (objectFilesBuilder_ == null) {
objectFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>(
objectFiles_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
objectFiles_ = null;
}
return objectFilesBuilder_;
}
private int jobStatus_ = 0;
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @return Whether the jobStatus field is set.
*/
@java.lang.Override public boolean hasJobStatus() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @return The jobStatus.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus getJobStatus() {
org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus result = org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus.forNumber(jobStatus_);
return result == null ? org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @param value The jobStatus to set.
* @return This builder for chaining.
*/
public Builder setJobStatus(org.apache.doris.cloud.proto.Cloud.CopyJobPB.JobStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
jobStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CopyJobPB.JobStatus job_status = 3;</code>
* @return This builder for chaining.
*/
public Builder clearJobStatus() {
bitField0_ = (bitField0_ & ~0x00000004);
jobStatus_ = 0;
onChanged();
return this;
}
private long startTimeMs_ ;
/**
* <code>optional int64 start_time_ms = 4;</code>
* @return Whether the startTimeMs field is set.
*/
@java.lang.Override
public boolean hasStartTimeMs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 start_time_ms = 4;</code>
* @return The startTimeMs.
*/
@java.lang.Override
public long getStartTimeMs() {
return startTimeMs_;
}
/**
* <code>optional int64 start_time_ms = 4;</code>
* @param value The startTimeMs to set.
* @return This builder for chaining.
*/
public Builder setStartTimeMs(long value) {
startTimeMs_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 start_time_ms = 4;</code>
* @return This builder for chaining.
*/
public Builder clearStartTimeMs() {
bitField0_ = (bitField0_ & ~0x00000008);
startTimeMs_ = 0L;
onChanged();
return this;
}
private long timeoutTimeMs_ ;
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @return Whether the timeoutTimeMs field is set.
*/
@java.lang.Override
public boolean hasTimeoutTimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @return The timeoutTimeMs.
*/
@java.lang.Override
public long getTimeoutTimeMs() {
return timeoutTimeMs_;
}
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @param value The timeoutTimeMs to set.
* @return This builder for chaining.
*/
public Builder setTimeoutTimeMs(long value) {
timeoutTimeMs_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 timeout_time_ms = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTimeoutTimeMs() {
bitField0_ = (bitField0_ & ~0x00000010);
timeoutTimeMs_ = 0L;
onChanged();
return this;
}
private long finishTimeMs_ ;
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @return Whether the finishTimeMs field is set.
*/
@java.lang.Override
public boolean hasFinishTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @return The finishTimeMs.
*/
@java.lang.Override
public long getFinishTimeMs() {
return finishTimeMs_;
}
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @param value The finishTimeMs to set.
* @return This builder for chaining.
*/
public Builder setFinishTimeMs(long value) {
finishTimeMs_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 finish_time_ms = 6;</code>
* @return This builder for chaining.
*/
public Builder clearFinishTimeMs() {
bitField0_ = (bitField0_ & ~0x00000020);
finishTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CopyJobPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CopyJobPB)
private static final org.apache.doris.cloud.proto.Cloud.CopyJobPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CopyJobPB();
}
public static org.apache.doris.cloud.proto.Cloud.CopyJobPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CopyJobPB>
PARSER = new com.google.protobuf.AbstractParser<CopyJobPB>() {
@java.lang.Override
public CopyJobPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CopyJobPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CopyJobPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyJobPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CopyFilePBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CopyFilePB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string copy_id = 1;</code>
* @return Whether the copyId field is set.
*/
boolean hasCopyId();
/**
* <code>optional string copy_id = 1;</code>
* @return The copyId.
*/
java.lang.String getCopyId();
/**
* <code>optional string copy_id = 1;</code>
* @return The bytes for copyId.
*/
com.google.protobuf.ByteString
getCopyIdBytes();
/**
* <code>optional int32 group_id = 2;</code>
* @return Whether the groupId field is set.
*/
boolean hasGroupId();
/**
* <code>optional int32 group_id = 2;</code>
* @return The groupId.
*/
int getGroupId();
}
/**
* Protobuf type {@code doris.cloud.CopyFilePB}
*/
public static final class CopyFilePB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CopyFilePB)
CopyFilePBOrBuilder {
private static final long serialVersionUID = 0L;
// Use CopyFilePB.newBuilder() to construct.
private CopyFilePB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CopyFilePB() {
copyId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CopyFilePB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyFilePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyFilePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CopyFilePB.class, org.apache.doris.cloud.proto.Cloud.CopyFilePB.Builder.class);
}
private int bitField0_;
public static final int COPY_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 1;</code>
* @return Whether the copyId field is set.
*/
@java.lang.Override
public boolean hasCopyId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string copy_id = 1;</code>
* @return The copyId.
*/
@java.lang.Override
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
}
}
/**
* <code>optional string copy_id = 1;</code>
* @return The bytes for copyId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_ID_FIELD_NUMBER = 2;
private int groupId_ = 0;
/**
* <code>optional int32 group_id = 2;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int32 group_id = 2;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, copyId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(2, groupId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, copyId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, groupId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CopyFilePB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CopyFilePB other = (org.apache.doris.cloud.proto.Cloud.CopyFilePB) obj;
if (hasCopyId() != other.hasCopyId()) return false;
if (hasCopyId()) {
if (!getCopyId()
.equals(other.getCopyId())) return false;
}
if (hasGroupId() != other.hasGroupId()) return false;
if (hasGroupId()) {
if (getGroupId()
!= other.getGroupId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCopyId()) {
hash = (37 * hash) + COPY_ID_FIELD_NUMBER;
hash = (53 * hash) + getCopyId().hashCode();
}
if (hasGroupId()) {
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getGroupId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CopyFilePB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CopyFilePB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CopyFilePB)
org.apache.doris.cloud.proto.Cloud.CopyFilePBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyFilePB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyFilePB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CopyFilePB.class, org.apache.doris.cloud.proto.Cloud.CopyFilePB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CopyFilePB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
copyId_ = "";
groupId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CopyFilePB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyFilePB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CopyFilePB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyFilePB build() {
org.apache.doris.cloud.proto.Cloud.CopyFilePB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyFilePB buildPartial() {
org.apache.doris.cloud.proto.Cloud.CopyFilePB result = new org.apache.doris.cloud.proto.Cloud.CopyFilePB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CopyFilePB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.copyId_ = copyId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.groupId_ = groupId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CopyFilePB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CopyFilePB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CopyFilePB other) {
if (other == org.apache.doris.cloud.proto.Cloud.CopyFilePB.getDefaultInstance()) return this;
if (other.hasCopyId()) {
copyId_ = other.copyId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasGroupId()) {
setGroupId(other.getGroupId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
copyId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
groupId_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 1;</code>
* @return Whether the copyId field is set.
*/
public boolean hasCopyId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string copy_id = 1;</code>
* @return The copyId.
*/
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string copy_id = 1;</code>
* @return The bytes for copyId.
*/
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string copy_id = 1;</code>
* @param value The copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string copy_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCopyId() {
copyId_ = getDefaultInstance().getCopyId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string copy_id = 1;</code>
* @param value The bytes for copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int groupId_ ;
/**
* <code>optional int32 group_id = 2;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int32 group_id = 2;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
/**
* <code>optional int32 group_id = 2;</code>
* @param value The groupId to set.
* @return This builder for chaining.
*/
public Builder setGroupId(int value) {
groupId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int32 group_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearGroupId() {
bitField0_ = (bitField0_ & ~0x00000002);
groupId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CopyFilePB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CopyFilePB)
private static final org.apache.doris.cloud.proto.Cloud.CopyFilePB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CopyFilePB();
}
public static org.apache.doris.cloud.proto.Cloud.CopyFilePB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CopyFilePB>
PARSER = new com.google.protobuf.AbstractParser<CopyFilePB>() {
@java.lang.Override
public CopyFilePB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CopyFilePB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CopyFilePB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyFilePB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceRegistryPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.ServiceRegistryPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item>
getItemsList();
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item getItems(int index);
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
int getItemsCount();
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder>
getItemsOrBuilderList();
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder getItemsOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.ServiceRegistryPB}
*/
public static final class ServiceRegistryPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.ServiceRegistryPB)
ServiceRegistryPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use ServiceRegistryPB.newBuilder() to construct.
private ServiceRegistryPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ServiceRegistryPB() {
items_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ServiceRegistryPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.class, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Builder.class);
}
public interface ItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.ServiceRegistryPB.Item)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <code>optional string id = 1;</code>
* @return The id.
*/
java.lang.String getId();
/**
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
boolean hasIp();
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
java.lang.String getIp();
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
com.google.protobuf.ByteString
getIpBytes();
/**
* <code>optional int32 port = 3;</code>
* @return Whether the port field is set.
*/
boolean hasPort();
/**
* <code>optional int32 port = 3;</code>
* @return The port.
*/
int getPort();
/**
* <code>optional int64 ctime_ms = 4;</code>
* @return Whether the ctimeMs field is set.
*/
boolean hasCtimeMs();
/**
* <code>optional int64 ctime_ms = 4;</code>
* @return The ctimeMs.
*/
long getCtimeMs();
/**
* <code>optional int64 mtime_ms = 5;</code>
* @return Whether the mtimeMs field is set.
*/
boolean hasMtimeMs();
/**
* <code>optional int64 mtime_ms = 5;</code>
* @return The mtimeMs.
*/
long getMtimeMs();
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @return Whether the expirationTimeMs field is set.
*/
boolean hasExpirationTimeMs();
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @return The expirationTimeMs.
*/
long getExpirationTimeMs();
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return Whether the host field is set.
*/
boolean hasHost();
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return The host.
*/
java.lang.String getHost();
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return The bytes for host.
*/
com.google.protobuf.ByteString
getHostBytes();
}
/**
* Protobuf type {@code doris.cloud.ServiceRegistryPB.Item}
*/
public static final class Item extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.ServiceRegistryPB.Item)
ItemOrBuilder {
private static final long serialVersionUID = 0L;
// Use Item.newBuilder() to construct.
private Item(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private Item() {
id_ = "";
ip_ = "";
host_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Item();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_Item_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_Item_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.class, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder.class);
}
private int bitField0_;
public static final int ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object id_ = "";
/**
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string id = 1;</code>
* @return The id.
*/
@java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
}
}
/**
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IP_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object ip_ = "";
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
}
}
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PORT_FIELD_NUMBER = 3;
private int port_ = 0;
/**
* <code>optional int32 port = 3;</code>
* @return Whether the port field is set.
*/
@java.lang.Override
public boolean hasPort() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int32 port = 3;</code>
* @return The port.
*/
@java.lang.Override
public int getPort() {
return port_;
}
public static final int CTIME_MS_FIELD_NUMBER = 4;
private long ctimeMs_ = 0L;
/**
* <code>optional int64 ctime_ms = 4;</code>
* @return Whether the ctimeMs field is set.
*/
@java.lang.Override
public boolean hasCtimeMs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 ctime_ms = 4;</code>
* @return The ctimeMs.
*/
@java.lang.Override
public long getCtimeMs() {
return ctimeMs_;
}
public static final int MTIME_MS_FIELD_NUMBER = 5;
private long mtimeMs_ = 0L;
/**
* <code>optional int64 mtime_ms = 5;</code>
* @return Whether the mtimeMs field is set.
*/
@java.lang.Override
public boolean hasMtimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 mtime_ms = 5;</code>
* @return The mtimeMs.
*/
@java.lang.Override
public long getMtimeMs() {
return mtimeMs_;
}
public static final int EXPIRATION_TIME_MS_FIELD_NUMBER = 6;
private long expirationTimeMs_ = 0L;
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @return Whether the expirationTimeMs field is set.
*/
@java.lang.Override
public boolean hasExpirationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @return The expirationTimeMs.
*/
@java.lang.Override
public long getExpirationTimeMs() {
return expirationTimeMs_;
}
public static final int HOST_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object host_ = "";
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return Whether the host field is set.
*/
@java.lang.Override
public boolean hasHost() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return The host.
*/
@java.lang.Override
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
host_ = s;
}
return s;
}
}
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return The bytes for host.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ip_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt32(3, port_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, ctimeMs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, mtimeMs_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, expirationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, host_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ip_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, port_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, ctimeMs_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, mtimeMs_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, expirationTimeMs_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, host_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item other = (org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item) obj;
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (!getId()
.equals(other.getId())) return false;
}
if (hasIp() != other.hasIp()) return false;
if (hasIp()) {
if (!getIp()
.equals(other.getIp())) return false;
}
if (hasPort() != other.hasPort()) return false;
if (hasPort()) {
if (getPort()
!= other.getPort()) return false;
}
if (hasCtimeMs() != other.hasCtimeMs()) return false;
if (hasCtimeMs()) {
if (getCtimeMs()
!= other.getCtimeMs()) return false;
}
if (hasMtimeMs() != other.hasMtimeMs()) return false;
if (hasMtimeMs()) {
if (getMtimeMs()
!= other.getMtimeMs()) return false;
}
if (hasExpirationTimeMs() != other.hasExpirationTimeMs()) return false;
if (hasExpirationTimeMs()) {
if (getExpirationTimeMs()
!= other.getExpirationTimeMs()) return false;
}
if (hasHost() != other.hasHost()) return false;
if (hasHost()) {
if (!getHost()
.equals(other.getHost())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
}
if (hasIp()) {
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp().hashCode();
}
if (hasPort()) {
hash = (37 * hash) + PORT_FIELD_NUMBER;
hash = (53 * hash) + getPort();
}
if (hasCtimeMs()) {
hash = (37 * hash) + CTIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCtimeMs());
}
if (hasMtimeMs()) {
hash = (37 * hash) + MTIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMtimeMs());
}
if (hasExpirationTimeMs()) {
hash = (37 * hash) + EXPIRATION_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpirationTimeMs());
}
if (hasHost()) {
hash = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.ServiceRegistryPB.Item}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.ServiceRegistryPB.Item)
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_Item_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_Item_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.class, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
id_ = "";
ip_ = "";
port_ = 0;
ctimeMs_ = 0L;
mtimeMs_ = 0L;
expirationTimeMs_ = 0L;
host_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_Item_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item build() {
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item buildPartial() {
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item result = new org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ip_ = ip_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.port_ = port_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.ctimeMs_ = ctimeMs_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.mtimeMs_ = mtimeMs_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.expirationTimeMs_ = expirationTimeMs_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.host_ = host_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item other) {
if (other == org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.getDefaultInstance()) return this;
if (other.hasId()) {
id_ = other.id_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasIp()) {
ip_ = other.ip_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasPort()) {
setPort(other.getPort());
}
if (other.hasCtimeMs()) {
setCtimeMs(other.getCtimeMs());
}
if (other.hasMtimeMs()) {
setMtimeMs(other.getMtimeMs());
}
if (other.hasExpirationTimeMs()) {
setExpirationTimeMs(other.getExpirationTimeMs());
}
if (other.hasHost()) {
host_ = other.host_;
bitField0_ |= 0x00000040;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
id_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ip_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
port_ = input.readInt32();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
ctimeMs_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
mtimeMs_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
expirationTimeMs_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
host_ = input.readBytes();
bitField0_ |= 0x00000040;
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* <code>optional string id = 1;</code>
* @return Whether the id field is set.
*/
public boolean hasId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string id = 1;</code>
* @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
id_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string id = 1;</code>
* @return The bytes for id.
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string id = 1;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string id = 1;</code>
* @param value The bytes for id to set.
* @return This builder for chaining.
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object ip_ = "";
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
public boolean hasIp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ip = 2;</code>
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string ip = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIp() {
ip_ = getDefaultInstance().getIp();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string ip = 2;</code>
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int port_ ;
/**
* <code>optional int32 port = 3;</code>
* @return Whether the port field is set.
*/
@java.lang.Override
public boolean hasPort() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int32 port = 3;</code>
* @return The port.
*/
@java.lang.Override
public int getPort() {
return port_;
}
/**
* <code>optional int32 port = 3;</code>
* @param value The port to set.
* @return This builder for chaining.
*/
public Builder setPort(int value) {
port_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int32 port = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPort() {
bitField0_ = (bitField0_ & ~0x00000004);
port_ = 0;
onChanged();
return this;
}
private long ctimeMs_ ;
/**
* <code>optional int64 ctime_ms = 4;</code>
* @return Whether the ctimeMs field is set.
*/
@java.lang.Override
public boolean hasCtimeMs() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 ctime_ms = 4;</code>
* @return The ctimeMs.
*/
@java.lang.Override
public long getCtimeMs() {
return ctimeMs_;
}
/**
* <code>optional int64 ctime_ms = 4;</code>
* @param value The ctimeMs to set.
* @return This builder for chaining.
*/
public Builder setCtimeMs(long value) {
ctimeMs_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 ctime_ms = 4;</code>
* @return This builder for chaining.
*/
public Builder clearCtimeMs() {
bitField0_ = (bitField0_ & ~0x00000008);
ctimeMs_ = 0L;
onChanged();
return this;
}
private long mtimeMs_ ;
/**
* <code>optional int64 mtime_ms = 5;</code>
* @return Whether the mtimeMs field is set.
*/
@java.lang.Override
public boolean hasMtimeMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 mtime_ms = 5;</code>
* @return The mtimeMs.
*/
@java.lang.Override
public long getMtimeMs() {
return mtimeMs_;
}
/**
* <code>optional int64 mtime_ms = 5;</code>
* @param value The mtimeMs to set.
* @return This builder for chaining.
*/
public Builder setMtimeMs(long value) {
mtimeMs_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 mtime_ms = 5;</code>
* @return This builder for chaining.
*/
public Builder clearMtimeMs() {
bitField0_ = (bitField0_ & ~0x00000010);
mtimeMs_ = 0L;
onChanged();
return this;
}
private long expirationTimeMs_ ;
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @return Whether the expirationTimeMs field is set.
*/
@java.lang.Override
public boolean hasExpirationTimeMs() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @return The expirationTimeMs.
*/
@java.lang.Override
public long getExpirationTimeMs() {
return expirationTimeMs_;
}
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @param value The expirationTimeMs to set.
* @return This builder for chaining.
*/
public Builder setExpirationTimeMs(long value) {
expirationTimeMs_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 expiration_time_ms = 6;</code>
* @return This builder for chaining.
*/
public Builder clearExpirationTimeMs() {
bitField0_ = (bitField0_ & ~0x00000020);
expirationTimeMs_ = 0L;
onChanged();
return this;
}
private java.lang.Object host_ = "";
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return Whether the host field is set.
*/
public boolean hasHost() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return The host.
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
host_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return The bytes for host.
*/
public com.google.protobuf.ByteString
getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @param value The host to set.
* @return This builder for chaining.
*/
public Builder setHost(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @return This builder for chaining.
*/
public Builder clearHost() {
host_ = getDefaultInstance().getHost();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* <pre>
* Support FQDN
* </pre>
*
* <code>optional string host = 7;</code>
* @param value The bytes for host to set.
* @return This builder for chaining.
*/
public Builder setHostBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
host_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.ServiceRegistryPB.Item)
}
// @@protoc_insertion_point(class_scope:doris.cloud.ServiceRegistryPB.Item)
private static final org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item();
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<Item>
PARSER = new com.google.protobuf.AbstractParser<Item>() {
@java.lang.Override
public Item parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<Item> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<Item> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int ITEMS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item> items_;
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item> getItemsList() {
return items_;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder>
getItemsOrBuilderList() {
return items_;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
@java.lang.Override
public int getItemsCount() {
return items_.size();
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item getItems(int index) {
return items_.get(index);
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < items_.size(); i++) {
output.writeMessage(1, items_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < items_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, items_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB other = (org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB) obj;
if (!getItemsList()
.equals(other.getItemsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getItemsCount() > 0) {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.ServiceRegistryPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.ServiceRegistryPB)
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.class, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
} else {
items_ = null;
itemsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ServiceRegistryPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB build() {
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB result = new org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB result) {
if (itemsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.items_ = items_;
} else {
result.items_ = itemsBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB result) {
int from_bitField0_ = bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.getDefaultInstance()) return this;
if (itemsBuilder_ == null) {
if (!other.items_.isEmpty()) {
if (items_.isEmpty()) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemsIsMutable();
items_.addAll(other.items_);
}
onChanged();
}
} else {
if (!other.items_.isEmpty()) {
if (itemsBuilder_.isEmpty()) {
itemsBuilder_.dispose();
itemsBuilder_ = null;
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
itemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.PARSER,
extensionRegistry);
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(m);
} else {
itemsBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List<org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item> items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
items_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item>(items_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder> itemsBuilder_;
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item> getItemsList() {
if (itemsBuilder_ == null) {
return java.util.Collections.unmodifiableList(items_);
} else {
return itemsBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public int getItemsCount() {
if (itemsBuilder_ == null) {
return items_.size();
} else {
return itemsBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item getItems(int index) {
if (itemsBuilder_ == null) {
return items_.get(index);
} else {
return itemsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder setItems(
int index, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.set(index, value);
onChanged();
} else {
itemsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder setItems(
int index, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.set(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder addItems(org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(value);
onChanged();
} else {
itemsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder addItems(
int index, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(index, value);
onChanged();
} else {
itemsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder addItems(
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder addItems(
int index, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder addAllItems(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item> values) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, items_);
onChanged();
} else {
itemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder clearItems() {
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
itemsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public Builder removeItems(int index) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.remove(index);
onChanged();
} else {
itemsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder getItemsBuilder(
int index) {
return getItemsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder getItemsOrBuilder(
int index) {
if (itemsBuilder_ == null) {
return items_.get(index); } else {
return itemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder>
getItemsOrBuilderList() {
if (itemsBuilder_ != null) {
return itemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(items_);
}
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder addItemsBuilder() {
return getItemsFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder addItemsBuilder(
int index) {
return getItemsFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ServiceRegistryPB.Item items = 1;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder>
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder>
getItemsFieldBuilder() {
if (itemsBuilder_ == null) {
itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.Item.Builder, org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB.ItemOrBuilder>(
items_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
items_ = null;
}
return itemsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.ServiceRegistryPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.ServiceRegistryPB)
private static final org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB();
}
public static org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<ServiceRegistryPB>
PARSER = new com.google.protobuf.AbstractParser<ServiceRegistryPB>() {
@java.lang.Override
public ServiceRegistryPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ServiceRegistryPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ServiceRegistryPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ServiceRegistryPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeginTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.BeginTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
boolean hasTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.BeginTxnRequest}
*/
public static final class BeginTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.BeginTxnRequest)
BeginTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeginTxnRequest.newBuilder() to construct.
private BeginTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BeginTxnRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BeginTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginTxnRequest.class, org.apache.doris.cloud.proto.Cloud.BeginTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TXN_INFO_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
@java.lang.Override
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTxnInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTxnInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.BeginTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.BeginTxnRequest other = (org.apache.doris.cloud.proto.Cloud.BeginTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTxnInfo() != other.hasTxnInfo()) return false;
if (hasTxnInfo()) {
if (!getTxnInfo()
.equals(other.getTxnInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTxnInfo()) {
hash = (37 * hash) + TXN_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTxnInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.BeginTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.BeginTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.BeginTxnRequest)
org.apache.doris.cloud.proto.Cloud.BeginTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginTxnRequest.class, org.apache.doris.cloud.proto.Cloud.BeginTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.BeginTxnRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTxnInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.BeginTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.BeginTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.BeginTxnRequest result = new org.apache.doris.cloud.proto.Cloud.BeginTxnRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.BeginTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnInfo_ = txnInfoBuilder_ == null
? txnInfo_
: txnInfoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.BeginTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.BeginTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.BeginTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.BeginTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTxnInfo()) {
mergeTxnInfo(other.getTxnInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getTxnInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder> txnInfoBuilder_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
if (txnInfoBuilder_ == null) {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
} else {
return txnInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
txnInfo_ = value;
} else {
txnInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (txnInfoBuilder_ == null) {
txnInfo_ = builderForValue.build();
} else {
txnInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder mergeTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
txnInfo_ != null &&
txnInfo_ != org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance()) {
getTxnInfoBuilder().mergeFrom(value);
} else {
txnInfo_ = value;
}
} else {
txnInfoBuilder_.mergeFrom(value);
}
if (txnInfo_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder clearTxnInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder getTxnInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTxnInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
if (txnInfoBuilder_ != null) {
return txnInfoBuilder_.getMessageOrBuilder();
} else {
return txnInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getTxnInfoFieldBuilder() {
if (txnInfoBuilder_ == null) {
txnInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>(
getTxnInfo(),
getParentForChildren(),
isClean());
txnInfo_ = null;
}
return txnInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.BeginTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.BeginTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.BeginTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.BeginTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<BeginTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<BeginTxnRequest>() {
@java.lang.Override
public BeginTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BeginTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BeginTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeginTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.BeginTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @return Whether the dupTxnId field is set.
*/
boolean hasDupTxnId();
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @return The dupTxnId.
*/
long getDupTxnId();
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return Whether the txnStatus field is set.
*/
boolean hasTxnStatus();
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return The txnStatus.
*/
org.apache.doris.cloud.proto.Cloud.TxnStatusPB getTxnStatus();
}
/**
* Protobuf type {@code doris.cloud.BeginTxnResponse}
*/
public static final class BeginTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.BeginTxnResponse)
BeginTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeginTxnResponse.newBuilder() to construct.
private BeginTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BeginTxnResponse() {
txnStatus_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BeginTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginTxnResponse.class, org.apache.doris.cloud.proto.Cloud.BeginTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TXN_ID_FIELD_NUMBER = 2;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int DUP_TXN_ID_FIELD_NUMBER = 3;
private long dupTxnId_ = 0L;
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @return Whether the dupTxnId field is set.
*/
@java.lang.Override
public boolean hasDupTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @return The dupTxnId.
*/
@java.lang.Override
public long getDupTxnId() {
return dupTxnId_;
}
public static final int TXN_STATUS_FIELD_NUMBER = 4;
private int txnStatus_ = 0;
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return Whether the txnStatus field is set.
*/
@java.lang.Override public boolean hasTxnStatus() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return The txnStatus.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.TxnStatusPB getTxnStatus() {
org.apache.doris.cloud.proto.Cloud.TxnStatusPB result = org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(txnStatus_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnStatusPB.TXN_STATUS_UNKNOWN : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, dupTxnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(4, txnStatus_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, dupTxnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, txnStatus_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.BeginTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.BeginTxnResponse other = (org.apache.doris.cloud.proto.Cloud.BeginTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasDupTxnId() != other.hasDupTxnId()) return false;
if (hasDupTxnId()) {
if (getDupTxnId()
!= other.getDupTxnId()) return false;
}
if (hasTxnStatus() != other.hasTxnStatus()) return false;
if (hasTxnStatus()) {
if (txnStatus_ != other.txnStatus_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasDupTxnId()) {
hash = (37 * hash) + DUP_TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDupTxnId());
}
if (hasTxnStatus()) {
hash = (37 * hash) + TXN_STATUS_FIELD_NUMBER;
hash = (53 * hash) + txnStatus_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.BeginTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.BeginTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.BeginTxnResponse)
org.apache.doris.cloud.proto.Cloud.BeginTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginTxnResponse.class, org.apache.doris.cloud.proto.Cloud.BeginTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.BeginTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
txnId_ = 0L;
dupTxnId_ = 0L;
txnStatus_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.BeginTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.BeginTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.BeginTxnResponse result = new org.apache.doris.cloud.proto.Cloud.BeginTxnResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.BeginTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.dupTxnId_ = dupTxnId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.txnStatus_ = txnStatus_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.BeginTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.BeginTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.BeginTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.BeginTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasDupTxnId()) {
setDupTxnId(other.getDupTxnId());
}
if (other.hasTxnStatus()) {
setTxnStatus(other.getTxnStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
dupTxnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnStatusPB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
txnStatus_ = tmpRaw;
bitField0_ |= 0x00000008;
}
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
txnId_ = 0L;
onChanged();
return this;
}
private long dupTxnId_ ;
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @return Whether the dupTxnId field is set.
*/
@java.lang.Override
public boolean hasDupTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @return The dupTxnId.
*/
@java.lang.Override
public long getDupTxnId() {
return dupTxnId_;
}
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @param value The dupTxnId to set.
* @return This builder for chaining.
*/
public Builder setDupTxnId(long value) {
dupTxnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 dup_txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearDupTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
dupTxnId_ = 0L;
onChanged();
return this;
}
private int txnStatus_ = 0;
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return Whether the txnStatus field is set.
*/
@java.lang.Override public boolean hasTxnStatus() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return The txnStatus.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnStatusPB getTxnStatus() {
org.apache.doris.cloud.proto.Cloud.TxnStatusPB result = org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(txnStatus_);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnStatusPB.TXN_STATUS_UNKNOWN : result;
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @param value The txnStatus to set.
* @return This builder for chaining.
*/
public Builder setTxnStatus(org.apache.doris.cloud.proto.Cloud.TxnStatusPB value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
txnStatus_ = value.getNumber();
onChanged();
return this;
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTxnStatus() {
bitField0_ = (bitField0_ & ~0x00000008);
txnStatus_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.BeginTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.BeginTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.BeginTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.BeginTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.BeginTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<BeginTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<BeginTxnResponse>() {
@java.lang.Override
public BeginTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BeginTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BeginTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PrecommitTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.PrecommitTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
* @return Whether the commitAttachment field is set.
*/
boolean hasCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
* @return The commitAttachment.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder();
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @return Whether the precommitTimeoutMs field is set.
*/
boolean hasPrecommitTimeoutMs();
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @return The precommitTimeoutMs.
*/
long getPrecommitTimeoutMs();
}
/**
* Protobuf type {@code doris.cloud.PrecommitTxnRequest}
*/
public static final class PrecommitTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.PrecommitTxnRequest)
PrecommitTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use PrecommitTxnRequest.newBuilder() to construct.
private PrecommitTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PrecommitTxnRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PrecommitTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest.class, org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TXN_ID_FIELD_NUMBER = 3;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int COMMIT_ATTACHMENT_FIELD_NUMBER = 4;
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
* @return Whether the commitAttachment field is set.
*/
@java.lang.Override
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
* @return The commitAttachment.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
public static final int PRECOMMIT_TIMEOUT_MS_FIELD_NUMBER = 5;
private long precommitTimeoutMs_ = 0L;
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @return Whether the precommitTimeoutMs field is set.
*/
@java.lang.Override
public boolean hasPrecommitTimeoutMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @return The precommitTimeoutMs.
*/
@java.lang.Override
public long getPrecommitTimeoutMs() {
return precommitTimeoutMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getCommitAttachment());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, precommitTimeoutMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getCommitAttachment());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, precommitTimeoutMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest other = (org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasCommitAttachment() != other.hasCommitAttachment()) return false;
if (hasCommitAttachment()) {
if (!getCommitAttachment()
.equals(other.getCommitAttachment())) return false;
}
if (hasPrecommitTimeoutMs() != other.hasPrecommitTimeoutMs()) return false;
if (hasPrecommitTimeoutMs()) {
if (getPrecommitTimeoutMs()
!= other.getPrecommitTimeoutMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasCommitAttachment()) {
hash = (37 * hash) + COMMIT_ATTACHMENT_FIELD_NUMBER;
hash = (53 * hash) + getCommitAttachment().hashCode();
}
if (hasPrecommitTimeoutMs()) {
hash = (37 * hash) + PRECOMMIT_TIMEOUT_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPrecommitTimeoutMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.PrecommitTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.PrecommitTxnRequest)
org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest.class, org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCommitAttachmentFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
txnId_ = 0L;
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
precommitTimeoutMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest result = new org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.commitAttachment_ = commitAttachmentBuilder_ == null
? commitAttachment_
: commitAttachmentBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.precommitTimeoutMs_ = precommitTimeoutMs_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasCommitAttachment()) {
mergeCommitAttachment(other.getCommitAttachment());
}
if (other.hasPrecommitTimeoutMs()) {
setPrecommitTimeoutMs(other.getPrecommitTimeoutMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getCommitAttachmentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
precommitTimeoutMs_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
txnId_ = 0L;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder> commitAttachmentBuilder_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
* @return Whether the commitAttachment field is set.
*/
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
* @return The commitAttachment.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
if (commitAttachmentBuilder_ == null) {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
} else {
return commitAttachmentBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
public Builder setCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commitAttachment_ = value;
} else {
commitAttachmentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
public Builder setCommitAttachment(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder builderForValue) {
if (commitAttachmentBuilder_ == null) {
commitAttachment_ = builderForValue.build();
} else {
commitAttachmentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
public Builder mergeCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
commitAttachment_ != null &&
commitAttachment_ != org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance()) {
getCommitAttachmentBuilder().mergeFrom(value);
} else {
commitAttachment_ = value;
}
} else {
commitAttachmentBuilder_.mergeFrom(value);
}
if (commitAttachment_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
public Builder clearCommitAttachment() {
bitField0_ = (bitField0_ & ~0x00000008);
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder getCommitAttachmentBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getCommitAttachmentFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
if (commitAttachmentBuilder_ != null) {
return commitAttachmentBuilder_.getMessageOrBuilder();
} else {
return commitAttachment_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>
getCommitAttachmentFieldBuilder() {
if (commitAttachmentBuilder_ == null) {
commitAttachmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>(
getCommitAttachment(),
getParentForChildren(),
isClean());
commitAttachment_ = null;
}
return commitAttachmentBuilder_;
}
private long precommitTimeoutMs_ ;
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @return Whether the precommitTimeoutMs field is set.
*/
@java.lang.Override
public boolean hasPrecommitTimeoutMs() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @return The precommitTimeoutMs.
*/
@java.lang.Override
public long getPrecommitTimeoutMs() {
return precommitTimeoutMs_;
}
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @param value The precommitTimeoutMs to set.
* @return This builder for chaining.
*/
public Builder setPrecommitTimeoutMs(long value) {
precommitTimeoutMs_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 precommit_timeout_ms = 5;</code>
* @return This builder for chaining.
*/
public Builder clearPrecommitTimeoutMs() {
bitField0_ = (bitField0_ & ~0x00000010);
precommitTimeoutMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.PrecommitTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.PrecommitTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<PrecommitTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<PrecommitTxnRequest>() {
@java.lang.Override
public PrecommitTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<PrecommitTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PrecommitTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PrecommitTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.PrecommitTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
long getTxnId();
}
/**
* Protobuf type {@code doris.cloud.PrecommitTxnResponse}
*/
public static final class PrecommitTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.PrecommitTxnResponse)
PrecommitTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use PrecommitTxnResponse.newBuilder() to construct.
private PrecommitTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PrecommitTxnResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PrecommitTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse.class, org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TXN_ID_FIELD_NUMBER = 2;
private long txnId_ = 0L;
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, txnId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, txnId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse other = (org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.PrecommitTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.PrecommitTxnResponse)
org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse.class, org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
txnId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PrecommitTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse result = new org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private long txnId_ ;
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* TODO: There may be more fields TBD
* </pre>
*
* <code>optional int64 txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
txnId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.PrecommitTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.PrecommitTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<PrecommitTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<PrecommitTxnResponse>() {
@java.lang.Override
public PrecommitTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<PrecommitTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PrecommitTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PrecommitTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CommitTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CommitTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <code>optional bool is_2pc = 4;</code>
* @return Whether the is2pc field is set.
*/
boolean hasIs2Pc();
/**
* <code>optional bool is_2pc = 4;</code>
* @return The is2pc.
*/
boolean getIs2Pc();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
* @return Whether the commitAttachment field is set.
*/
boolean hasCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
* @return The commitAttachment.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder();
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @return A list containing the mowTableIds.
*/
java.util.List<java.lang.Long> getMowTableIdsList();
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @return The count of mowTableIds.
*/
int getMowTableIdsCount();
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @param index The index of the element to return.
* @return The mowTableIds at the given index.
*/
long getMowTableIds(int index);
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @return A list containing the baseTabletIds.
*/
java.util.List<java.lang.Long> getBaseTabletIdsList();
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @return The count of baseTabletIds.
*/
int getBaseTabletIdsCount();
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @param index The index of the element to return.
* @return The baseTabletIds at the given index.
*/
long getBaseTabletIds(int index);
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @return Whether the isTxnLoad field is set.
*/
boolean hasIsTxnLoad();
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @return The isTxnLoad.
*/
boolean getIsTxnLoad();
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.SubTxnInfo>
getSubTxnInfosList();
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
org.apache.doris.cloud.proto.Cloud.SubTxnInfo getSubTxnInfos(int index);
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
int getSubTxnInfosCount();
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder>
getSubTxnInfosOrBuilderList();
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder getSubTxnInfosOrBuilder(
int index);
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @return Whether the enableTxnLazyCommit field is set.
*/
boolean hasEnableTxnLazyCommit();
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @return The enableTxnLazyCommit.
*/
boolean getEnableTxnLazyCommit();
}
/**
* Protobuf type {@code doris.cloud.CommitTxnRequest}
*/
public static final class CommitTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CommitTxnRequest)
CommitTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CommitTxnRequest.newBuilder() to construct.
private CommitTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CommitTxnRequest() {
cloudUniqueId_ = "";
mowTableIds_ = emptyLongList();
baseTabletIds_ = emptyLongList();
subTxnInfos_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CommitTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CommitTxnRequest.class, org.apache.doris.cloud.proto.Cloud.CommitTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TXN_ID_FIELD_NUMBER = 3;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int IS_2PC_FIELD_NUMBER = 4;
private boolean is2Pc_ = false;
/**
* <code>optional bool is_2pc = 4;</code>
* @return Whether the is2pc field is set.
*/
@java.lang.Override
public boolean hasIs2Pc() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool is_2pc = 4;</code>
* @return The is2pc.
*/
@java.lang.Override
public boolean getIs2Pc() {
return is2Pc_;
}
public static final int COMMIT_ATTACHMENT_FIELD_NUMBER = 5;
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
* @return Whether the commitAttachment field is set.
*/
@java.lang.Override
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
* @return The commitAttachment.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
public static final int MOW_TABLE_IDS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList mowTableIds_ =
emptyLongList();
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @return A list containing the mowTableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getMowTableIdsList() {
return mowTableIds_;
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @return The count of mowTableIds.
*/
public int getMowTableIdsCount() {
return mowTableIds_.size();
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @param index The index of the element to return.
* @return The mowTableIds at the given index.
*/
public long getMowTableIds(int index) {
return mowTableIds_.getLong(index);
}
public static final int BASE_TABLET_IDS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList baseTabletIds_ =
emptyLongList();
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @return A list containing the baseTabletIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getBaseTabletIdsList() {
return baseTabletIds_;
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @return The count of baseTabletIds.
*/
public int getBaseTabletIdsCount() {
return baseTabletIds_.size();
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @param index The index of the element to return.
* @return The baseTabletIds at the given index.
*/
public long getBaseTabletIds(int index) {
return baseTabletIds_.getLong(index);
}
public static final int IS_TXN_LOAD_FIELD_NUMBER = 9;
private boolean isTxnLoad_ = false;
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @return Whether the isTxnLoad field is set.
*/
@java.lang.Override
public boolean hasIsTxnLoad() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @return The isTxnLoad.
*/
@java.lang.Override
public boolean getIsTxnLoad() {
return isTxnLoad_;
}
public static final int SUB_TXN_INFOS_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.SubTxnInfo> subTxnInfos_;
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.SubTxnInfo> getSubTxnInfosList() {
return subTxnInfos_;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder>
getSubTxnInfosOrBuilderList() {
return subTxnInfos_;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
@java.lang.Override
public int getSubTxnInfosCount() {
return subTxnInfos_.size();
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo getSubTxnInfos(int index) {
return subTxnInfos_.get(index);
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder getSubTxnInfosOrBuilder(
int index) {
return subTxnInfos_.get(index);
}
public static final int ENABLE_TXN_LAZY_COMMIT_FIELD_NUMBER = 11;
private boolean enableTxnLazyCommit_ = false;
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @return Whether the enableTxnLazyCommit field is set.
*/
@java.lang.Override
public boolean hasEnableTxnLazyCommit() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @return The enableTxnLazyCommit.
*/
@java.lang.Override
public boolean getEnableTxnLazyCommit() {
return enableTxnLazyCommit_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(4, is2Pc_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getCommitAttachment());
}
for (int i = 0; i < mowTableIds_.size(); i++) {
output.writeInt64(6, mowTableIds_.getLong(i));
}
for (int i = 0; i < baseTabletIds_.size(); i++) {
output.writeInt64(7, baseTabletIds_.getLong(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBool(9, isTxnLoad_);
}
for (int i = 0; i < subTxnInfos_.size(); i++) {
output.writeMessage(10, subTxnInfos_.get(i));
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeBool(11, enableTxnLazyCommit_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(4, is2Pc_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getCommitAttachment());
}
{
int dataSize = 0;
for (int i = 0; i < mowTableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(mowTableIds_.getLong(i));
}
size += dataSize;
size += 1 * getMowTableIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < baseTabletIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(baseTabletIds_.getLong(i));
}
size += dataSize;
size += 1 * getBaseTabletIdsList().size();
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, isTxnLoad_);
}
for (int i = 0; i < subTxnInfos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, subTxnInfos_.get(i));
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, enableTxnLazyCommit_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CommitTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CommitTxnRequest other = (org.apache.doris.cloud.proto.Cloud.CommitTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasIs2Pc() != other.hasIs2Pc()) return false;
if (hasIs2Pc()) {
if (getIs2Pc()
!= other.getIs2Pc()) return false;
}
if (hasCommitAttachment() != other.hasCommitAttachment()) return false;
if (hasCommitAttachment()) {
if (!getCommitAttachment()
.equals(other.getCommitAttachment())) return false;
}
if (!getMowTableIdsList()
.equals(other.getMowTableIdsList())) return false;
if (!getBaseTabletIdsList()
.equals(other.getBaseTabletIdsList())) return false;
if (hasIsTxnLoad() != other.hasIsTxnLoad()) return false;
if (hasIsTxnLoad()) {
if (getIsTxnLoad()
!= other.getIsTxnLoad()) return false;
}
if (!getSubTxnInfosList()
.equals(other.getSubTxnInfosList())) return false;
if (hasEnableTxnLazyCommit() != other.hasEnableTxnLazyCommit()) return false;
if (hasEnableTxnLazyCommit()) {
if (getEnableTxnLazyCommit()
!= other.getEnableTxnLazyCommit()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasIs2Pc()) {
hash = (37 * hash) + IS_2PC_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIs2Pc());
}
if (hasCommitAttachment()) {
hash = (37 * hash) + COMMIT_ATTACHMENT_FIELD_NUMBER;
hash = (53 * hash) + getCommitAttachment().hashCode();
}
if (getMowTableIdsCount() > 0) {
hash = (37 * hash) + MOW_TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getMowTableIdsList().hashCode();
}
if (getBaseTabletIdsCount() > 0) {
hash = (37 * hash) + BASE_TABLET_IDS_FIELD_NUMBER;
hash = (53 * hash) + getBaseTabletIdsList().hashCode();
}
if (hasIsTxnLoad()) {
hash = (37 * hash) + IS_TXN_LOAD_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTxnLoad());
}
if (getSubTxnInfosCount() > 0) {
hash = (37 * hash) + SUB_TXN_INFOS_FIELD_NUMBER;
hash = (53 * hash) + getSubTxnInfosList().hashCode();
}
if (hasEnableTxnLazyCommit()) {
hash = (37 * hash) + ENABLE_TXN_LAZY_COMMIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableTxnLazyCommit());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CommitTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CommitTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CommitTxnRequest)
org.apache.doris.cloud.proto.Cloud.CommitTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CommitTxnRequest.class, org.apache.doris.cloud.proto.Cloud.CommitTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CommitTxnRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCommitAttachmentFieldBuilder();
getSubTxnInfosFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
txnId_ = 0L;
is2Pc_ = false;
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
mowTableIds_ = emptyLongList();
baseTabletIds_ = emptyLongList();
isTxnLoad_ = false;
if (subTxnInfosBuilder_ == null) {
subTxnInfos_ = java.util.Collections.emptyList();
} else {
subTxnInfos_ = null;
subTxnInfosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
enableTxnLazyCommit_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CommitTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.CommitTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CommitTxnRequest result = new org.apache.doris.cloud.proto.Cloud.CommitTxnRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.CommitTxnRequest result) {
if (subTxnInfosBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
subTxnInfos_ = java.util.Collections.unmodifiableList(subTxnInfos_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.subTxnInfos_ = subTxnInfos_;
} else {
result.subTxnInfos_ = subTxnInfosBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CommitTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.is2Pc_ = is2Pc_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.commitAttachment_ = commitAttachmentBuilder_ == null
? commitAttachment_
: commitAttachmentBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
mowTableIds_.makeImmutable();
result.mowTableIds_ = mowTableIds_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
baseTabletIds_.makeImmutable();
result.baseTabletIds_ = baseTabletIds_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.isTxnLoad_ = isTxnLoad_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.enableTxnLazyCommit_ = enableTxnLazyCommit_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CommitTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CommitTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CommitTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CommitTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasIs2Pc()) {
setIs2Pc(other.getIs2Pc());
}
if (other.hasCommitAttachment()) {
mergeCommitAttachment(other.getCommitAttachment());
}
if (!other.mowTableIds_.isEmpty()) {
if (mowTableIds_.isEmpty()) {
mowTableIds_ = other.mowTableIds_;
mowTableIds_.makeImmutable();
bitField0_ |= 0x00000020;
} else {
ensureMowTableIdsIsMutable();
mowTableIds_.addAll(other.mowTableIds_);
}
onChanged();
}
if (!other.baseTabletIds_.isEmpty()) {
if (baseTabletIds_.isEmpty()) {
baseTabletIds_ = other.baseTabletIds_;
baseTabletIds_.makeImmutable();
bitField0_ |= 0x00000040;
} else {
ensureBaseTabletIdsIsMutable();
baseTabletIds_.addAll(other.baseTabletIds_);
}
onChanged();
}
if (other.hasIsTxnLoad()) {
setIsTxnLoad(other.getIsTxnLoad());
}
if (subTxnInfosBuilder_ == null) {
if (!other.subTxnInfos_.isEmpty()) {
if (subTxnInfos_.isEmpty()) {
subTxnInfos_ = other.subTxnInfos_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureSubTxnInfosIsMutable();
subTxnInfos_.addAll(other.subTxnInfos_);
}
onChanged();
}
} else {
if (!other.subTxnInfos_.isEmpty()) {
if (subTxnInfosBuilder_.isEmpty()) {
subTxnInfosBuilder_.dispose();
subTxnInfosBuilder_ = null;
subTxnInfos_ = other.subTxnInfos_;
bitField0_ = (bitField0_ & ~0x00000100);
subTxnInfosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSubTxnInfosFieldBuilder() : null;
} else {
subTxnInfosBuilder_.addAllMessages(other.subTxnInfos_);
}
}
}
if (other.hasEnableTxnLazyCommit()) {
setEnableTxnLazyCommit(other.getEnableTxnLazyCommit());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
is2Pc_ = input.readBool();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
input.readMessage(
getCommitAttachmentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
long v = input.readInt64();
ensureMowTableIdsIsMutable();
mowTableIds_.addLong(v);
break;
} // case 48
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureMowTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
mowTableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 50
case 56: {
long v = input.readInt64();
ensureBaseTabletIdsIsMutable();
baseTabletIds_.addLong(v);
break;
} // case 56
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureBaseTabletIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
baseTabletIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 58
case 72: {
isTxnLoad_ = input.readBool();
bitField0_ |= 0x00000080;
break;
} // case 72
case 82: {
org.apache.doris.cloud.proto.Cloud.SubTxnInfo m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.SubTxnInfo.PARSER,
extensionRegistry);
if (subTxnInfosBuilder_ == null) {
ensureSubTxnInfosIsMutable();
subTxnInfos_.add(m);
} else {
subTxnInfosBuilder_.addMessage(m);
}
break;
} // case 82
case 88: {
enableTxnLazyCommit_ = input.readBool();
bitField0_ |= 0x00000200;
break;
} // case 88
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
txnId_ = 0L;
onChanged();
return this;
}
private boolean is2Pc_ ;
/**
* <code>optional bool is_2pc = 4;</code>
* @return Whether the is2pc field is set.
*/
@java.lang.Override
public boolean hasIs2Pc() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool is_2pc = 4;</code>
* @return The is2pc.
*/
@java.lang.Override
public boolean getIs2Pc() {
return is2Pc_;
}
/**
* <code>optional bool is_2pc = 4;</code>
* @param value The is2pc to set.
* @return This builder for chaining.
*/
public Builder setIs2Pc(boolean value) {
is2Pc_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional bool is_2pc = 4;</code>
* @return This builder for chaining.
*/
public Builder clearIs2Pc() {
bitField0_ = (bitField0_ & ~0x00000008);
is2Pc_ = false;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder> commitAttachmentBuilder_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
* @return Whether the commitAttachment field is set.
*/
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
* @return The commitAttachment.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
if (commitAttachmentBuilder_ == null) {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
} else {
return commitAttachmentBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
public Builder setCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commitAttachment_ = value;
} else {
commitAttachmentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
public Builder setCommitAttachment(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder builderForValue) {
if (commitAttachmentBuilder_ == null) {
commitAttachment_ = builderForValue.build();
} else {
commitAttachmentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
public Builder mergeCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
commitAttachment_ != null &&
commitAttachment_ != org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance()) {
getCommitAttachmentBuilder().mergeFrom(value);
} else {
commitAttachment_ = value;
}
} else {
commitAttachmentBuilder_.mergeFrom(value);
}
if (commitAttachment_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
public Builder clearCommitAttachment() {
bitField0_ = (bitField0_ & ~0x00000010);
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder getCommitAttachmentBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getCommitAttachmentFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
if (commitAttachmentBuilder_ != null) {
return commitAttachmentBuilder_.getMessageOrBuilder();
} else {
return commitAttachment_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>
getCommitAttachmentFieldBuilder() {
if (commitAttachmentBuilder_ == null) {
commitAttachmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>(
getCommitAttachment(),
getParentForChildren(),
isClean());
commitAttachment_ = null;
}
return commitAttachmentBuilder_;
}
private com.google.protobuf.Internal.LongList mowTableIds_ = emptyLongList();
private void ensureMowTableIdsIsMutable() {
if (!mowTableIds_.isModifiable()) {
mowTableIds_ = makeMutableCopy(mowTableIds_);
}
bitField0_ |= 0x00000020;
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @return A list containing the mowTableIds.
*/
public java.util.List<java.lang.Long>
getMowTableIdsList() {
mowTableIds_.makeImmutable();
return mowTableIds_;
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @return The count of mowTableIds.
*/
public int getMowTableIdsCount() {
return mowTableIds_.size();
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @param index The index of the element to return.
* @return The mowTableIds at the given index.
*/
public long getMowTableIds(int index) {
return mowTableIds_.getLong(index);
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @param index The index to set the value at.
* @param value The mowTableIds to set.
* @return This builder for chaining.
*/
public Builder setMowTableIds(
int index, long value) {
ensureMowTableIdsIsMutable();
mowTableIds_.setLong(index, value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @param value The mowTableIds to add.
* @return This builder for chaining.
*/
public Builder addMowTableIds(long value) {
ensureMowTableIdsIsMutable();
mowTableIds_.addLong(value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @param values The mowTableIds to add.
* @return This builder for chaining.
*/
public Builder addAllMowTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureMowTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mowTableIds_);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* merge-on-write table ids
* </pre>
*
* <code>repeated int64 mow_table_ids = 6;</code>
* @return This builder for chaining.
*/
public Builder clearMowTableIds() {
mowTableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList baseTabletIds_ = emptyLongList();
private void ensureBaseTabletIdsIsMutable() {
if (!baseTabletIds_.isModifiable()) {
baseTabletIds_ = makeMutableCopy(baseTabletIds_);
}
bitField0_ |= 0x00000040;
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @return A list containing the baseTabletIds.
*/
public java.util.List<java.lang.Long>
getBaseTabletIdsList() {
baseTabletIds_.makeImmutable();
return baseTabletIds_;
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @return The count of baseTabletIds.
*/
public int getBaseTabletIdsCount() {
return baseTabletIds_.size();
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @param index The index of the element to return.
* @return The baseTabletIds at the given index.
*/
public long getBaseTabletIds(int index) {
return baseTabletIds_.getLong(index);
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @param index The index to set the value at.
* @param value The baseTabletIds to set.
* @return This builder for chaining.
*/
public Builder setBaseTabletIds(
int index, long value) {
ensureBaseTabletIdsIsMutable();
baseTabletIds_.setLong(index, value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @param value The baseTabletIds to add.
* @return This builder for chaining.
*/
public Builder addBaseTabletIds(long value) {
ensureBaseTabletIdsIsMutable();
baseTabletIds_.addLong(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @param values The baseTabletIds to add.
* @return This builder for chaining.
*/
public Builder addAllBaseTabletIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureBaseTabletIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, baseTabletIds_);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <pre>
* all tablet from base tables (excluding mv)
* </pre>
*
* <code>repeated int64 base_tablet_ids = 7;</code>
* @return This builder for chaining.
*/
public Builder clearBaseTabletIds() {
baseTabletIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
private boolean isTxnLoad_ ;
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @return Whether the isTxnLoad field is set.
*/
@java.lang.Override
public boolean hasIsTxnLoad() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @return The isTxnLoad.
*/
@java.lang.Override
public boolean getIsTxnLoad() {
return isTxnLoad_;
}
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @param value The isTxnLoad to set.
* @return This builder for chaining.
*/
public Builder setIsTxnLoad(boolean value) {
isTxnLoad_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <pre>
* for transaction load
* </pre>
*
* <code>optional bool is_txn_load = 9;</code>
* @return This builder for chaining.
*/
public Builder clearIsTxnLoad() {
bitField0_ = (bitField0_ & ~0x00000080);
isTxnLoad_ = false;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.SubTxnInfo> subTxnInfos_ =
java.util.Collections.emptyList();
private void ensureSubTxnInfosIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
subTxnInfos_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.SubTxnInfo>(subTxnInfos_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.SubTxnInfo, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder, org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder> subTxnInfosBuilder_;
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.SubTxnInfo> getSubTxnInfosList() {
if (subTxnInfosBuilder_ == null) {
return java.util.Collections.unmodifiableList(subTxnInfos_);
} else {
return subTxnInfosBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public int getSubTxnInfosCount() {
if (subTxnInfosBuilder_ == null) {
return subTxnInfos_.size();
} else {
return subTxnInfosBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo getSubTxnInfos(int index) {
if (subTxnInfosBuilder_ == null) {
return subTxnInfos_.get(index);
} else {
return subTxnInfosBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder setSubTxnInfos(
int index, org.apache.doris.cloud.proto.Cloud.SubTxnInfo value) {
if (subTxnInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubTxnInfosIsMutable();
subTxnInfos_.set(index, value);
onChanged();
} else {
subTxnInfosBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder setSubTxnInfos(
int index, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder builderForValue) {
if (subTxnInfosBuilder_ == null) {
ensureSubTxnInfosIsMutable();
subTxnInfos_.set(index, builderForValue.build());
onChanged();
} else {
subTxnInfosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder addSubTxnInfos(org.apache.doris.cloud.proto.Cloud.SubTxnInfo value) {
if (subTxnInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubTxnInfosIsMutable();
subTxnInfos_.add(value);
onChanged();
} else {
subTxnInfosBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder addSubTxnInfos(
int index, org.apache.doris.cloud.proto.Cloud.SubTxnInfo value) {
if (subTxnInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubTxnInfosIsMutable();
subTxnInfos_.add(index, value);
onChanged();
} else {
subTxnInfosBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder addSubTxnInfos(
org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder builderForValue) {
if (subTxnInfosBuilder_ == null) {
ensureSubTxnInfosIsMutable();
subTxnInfos_.add(builderForValue.build());
onChanged();
} else {
subTxnInfosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder addSubTxnInfos(
int index, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder builderForValue) {
if (subTxnInfosBuilder_ == null) {
ensureSubTxnInfosIsMutable();
subTxnInfos_.add(index, builderForValue.build());
onChanged();
} else {
subTxnInfosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder addAllSubTxnInfos(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.SubTxnInfo> values) {
if (subTxnInfosBuilder_ == null) {
ensureSubTxnInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subTxnInfos_);
onChanged();
} else {
subTxnInfosBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder clearSubTxnInfos() {
if (subTxnInfosBuilder_ == null) {
subTxnInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
subTxnInfosBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public Builder removeSubTxnInfos(int index) {
if (subTxnInfosBuilder_ == null) {
ensureSubTxnInfosIsMutable();
subTxnInfos_.remove(index);
onChanged();
} else {
subTxnInfosBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder getSubTxnInfosBuilder(
int index) {
return getSubTxnInfosFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder getSubTxnInfosOrBuilder(
int index) {
if (subTxnInfosBuilder_ == null) {
return subTxnInfos_.get(index); } else {
return subTxnInfosBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder>
getSubTxnInfosOrBuilderList() {
if (subTxnInfosBuilder_ != null) {
return subTxnInfosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subTxnInfos_);
}
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder addSubTxnInfosBuilder() {
return getSubTxnInfosFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.SubTxnInfo.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder addSubTxnInfosBuilder(
int index) {
return getSubTxnInfosFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.SubTxnInfo sub_txn_infos = 10;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder>
getSubTxnInfosBuilderList() {
return getSubTxnInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.SubTxnInfo, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder, org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder>
getSubTxnInfosFieldBuilder() {
if (subTxnInfosBuilder_ == null) {
subTxnInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.SubTxnInfo, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder, org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder>(
subTxnInfos_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
subTxnInfos_ = null;
}
return subTxnInfosBuilder_;
}
private boolean enableTxnLazyCommit_ ;
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @return Whether the enableTxnLazyCommit field is set.
*/
@java.lang.Override
public boolean hasEnableTxnLazyCommit() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @return The enableTxnLazyCommit.
*/
@java.lang.Override
public boolean getEnableTxnLazyCommit() {
return enableTxnLazyCommit_;
}
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @param value The enableTxnLazyCommit to set.
* @return This builder for chaining.
*/
public Builder setEnableTxnLazyCommit(boolean value) {
enableTxnLazyCommit_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional bool enable_txn_lazy_commit = 11;</code>
* @return This builder for chaining.
*/
public Builder clearEnableTxnLazyCommit() {
bitField0_ = (bitField0_ & ~0x00000200);
enableTxnLazyCommit_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CommitTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CommitTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.CommitTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CommitTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CommitTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<CommitTxnRequest>() {
@java.lang.Override
public CommitTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CommitTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CommitTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SubTxnInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.SubTxnInfo)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @return Whether the subTxnId field is set.
*/
boolean hasSubTxnId();
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @return The subTxnId.
*/
long getSubTxnId();
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @return A list containing the baseTabletIds.
*/
java.util.List<java.lang.Long> getBaseTabletIdsList();
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @return The count of baseTabletIds.
*/
int getBaseTabletIdsCount();
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @param index The index of the element to return.
* @return The baseTabletIds at the given index.
*/
long getBaseTabletIds(int index);
}
/**
* Protobuf type {@code doris.cloud.SubTxnInfo}
*/
public static final class SubTxnInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.SubTxnInfo)
SubTxnInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use SubTxnInfo.newBuilder() to construct.
private SubTxnInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private SubTxnInfo() {
baseTabletIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SubTxnInfo();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_SubTxnInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_SubTxnInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.SubTxnInfo.class, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder.class);
}
private int bitField0_;
public static final int SUB_TXN_ID_FIELD_NUMBER = 1;
private long subTxnId_ = 0L;
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @return Whether the subTxnId field is set.
*/
@java.lang.Override
public boolean hasSubTxnId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @return The subTxnId.
*/
@java.lang.Override
public long getSubTxnId() {
return subTxnId_;
}
public static final int TABLE_ID_FIELD_NUMBER = 2;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int BASE_TABLET_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList baseTabletIds_ =
emptyLongList();
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @return A list containing the baseTabletIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getBaseTabletIdsList() {
return baseTabletIds_;
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @return The count of baseTabletIds.
*/
public int getBaseTabletIdsCount() {
return baseTabletIds_.size();
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @param index The index of the element to return.
* @return The baseTabletIds at the given index.
*/
public long getBaseTabletIds(int index) {
return baseTabletIds_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, subTxnId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tableId_);
}
for (int i = 0; i < baseTabletIds_.size(); i++) {
output.writeInt64(3, baseTabletIds_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, subTxnId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tableId_);
}
{
int dataSize = 0;
for (int i = 0; i < baseTabletIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(baseTabletIds_.getLong(i));
}
size += dataSize;
size += 1 * getBaseTabletIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.SubTxnInfo)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.SubTxnInfo other = (org.apache.doris.cloud.proto.Cloud.SubTxnInfo) obj;
if (hasSubTxnId() != other.hasSubTxnId()) return false;
if (hasSubTxnId()) {
if (getSubTxnId()
!= other.getSubTxnId()) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (!getBaseTabletIdsList()
.equals(other.getBaseTabletIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSubTxnId()) {
hash = (37 * hash) + SUB_TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSubTxnId());
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (getBaseTabletIdsCount() > 0) {
hash = (37 * hash) + BASE_TABLET_IDS_FIELD_NUMBER;
hash = (53 * hash) + getBaseTabletIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.SubTxnInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.SubTxnInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.SubTxnInfo)
org.apache.doris.cloud.proto.Cloud.SubTxnInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_SubTxnInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_SubTxnInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.SubTxnInfo.class, org.apache.doris.cloud.proto.Cloud.SubTxnInfo.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.SubTxnInfo.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
subTxnId_ = 0L;
tableId_ = 0L;
baseTabletIds_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_SubTxnInfo_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.SubTxnInfo.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo build() {
org.apache.doris.cloud.proto.Cloud.SubTxnInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo buildPartial() {
org.apache.doris.cloud.proto.Cloud.SubTxnInfo result = new org.apache.doris.cloud.proto.Cloud.SubTxnInfo(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.SubTxnInfo result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.subTxnId_ = subTxnId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
baseTabletIds_.makeImmutable();
result.baseTabletIds_ = baseTabletIds_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.SubTxnInfo) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.SubTxnInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.SubTxnInfo other) {
if (other == org.apache.doris.cloud.proto.Cloud.SubTxnInfo.getDefaultInstance()) return this;
if (other.hasSubTxnId()) {
setSubTxnId(other.getSubTxnId());
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (!other.baseTabletIds_.isEmpty()) {
if (baseTabletIds_.isEmpty()) {
baseTabletIds_ = other.baseTabletIds_;
baseTabletIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureBaseTabletIdsIsMutable();
baseTabletIds_.addAll(other.baseTabletIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
subTxnId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
long v = input.readInt64();
ensureBaseTabletIdsIsMutable();
baseTabletIds_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureBaseTabletIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
baseTabletIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long subTxnId_ ;
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @return Whether the subTxnId field is set.
*/
@java.lang.Override
public boolean hasSubTxnId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @return The subTxnId.
*/
@java.lang.Override
public long getSubTxnId() {
return subTxnId_;
}
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @param value The subTxnId to set.
* @return This builder for chaining.
*/
public Builder setSubTxnId(long value) {
subTxnId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 sub_txn_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearSubTxnId() {
bitField0_ = (bitField0_ & ~0x00000001);
subTxnId_ = 0L;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 2;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000002);
tableId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList baseTabletIds_ = emptyLongList();
private void ensureBaseTabletIdsIsMutable() {
if (!baseTabletIds_.isModifiable()) {
baseTabletIds_ = makeMutableCopy(baseTabletIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @return A list containing the baseTabletIds.
*/
public java.util.List<java.lang.Long>
getBaseTabletIdsList() {
baseTabletIds_.makeImmutable();
return baseTabletIds_;
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @return The count of baseTabletIds.
*/
public int getBaseTabletIdsCount() {
return baseTabletIds_.size();
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @param index The index of the element to return.
* @return The baseTabletIds at the given index.
*/
public long getBaseTabletIds(int index) {
return baseTabletIds_.getLong(index);
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @param index The index to set the value at.
* @param value The baseTabletIds to set.
* @return This builder for chaining.
*/
public Builder setBaseTabletIds(
int index, long value) {
ensureBaseTabletIdsIsMutable();
baseTabletIds_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @param value The baseTabletIds to add.
* @return This builder for chaining.
*/
public Builder addBaseTabletIds(long value) {
ensureBaseTabletIdsIsMutable();
baseTabletIds_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @param values The baseTabletIds to add.
* @return This builder for chaining.
*/
public Builder addAllBaseTabletIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureBaseTabletIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, baseTabletIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 base_tablet_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearBaseTabletIds() {
baseTabletIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.SubTxnInfo)
}
// @@protoc_insertion_point(class_scope:doris.cloud.SubTxnInfo)
private static final org.apache.doris.cloud.proto.Cloud.SubTxnInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.SubTxnInfo();
}
public static org.apache.doris.cloud.proto.Cloud.SubTxnInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<SubTxnInfo>
PARSER = new com.google.protobuf.AbstractParser<SubTxnInfo>() {
@java.lang.Override
public SubTxnInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<SubTxnInfo> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<SubTxnInfo> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.SubTxnInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TableStatsPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.TableStatsPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional int64 updated_row_count = 2;</code>
* @return Whether the updatedRowCount field is set.
*/
boolean hasUpdatedRowCount();
/**
* <code>optional int64 updated_row_count = 2;</code>
* @return The updatedRowCount.
*/
long getUpdatedRowCount();
}
/**
* <pre>
* corresponding to TabletStats in meta_service.h and FrontendServiceImpl.java
* make sure update all of them when adding new fields
* </pre>
*
* Protobuf type {@code doris.cloud.TableStatsPB}
*/
public static final class TableStatsPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.TableStatsPB)
TableStatsPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use TableStatsPB.newBuilder() to construct.
private TableStatsPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private TableStatsPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TableStatsPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TableStatsPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TableStatsPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TableStatsPB.class, org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder.class);
}
private int bitField0_;
public static final int TABLE_ID_FIELD_NUMBER = 1;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int UPDATED_ROW_COUNT_FIELD_NUMBER = 2;
private long updatedRowCount_ = 0L;
/**
* <code>optional int64 updated_row_count = 2;</code>
* @return Whether the updatedRowCount field is set.
*/
@java.lang.Override
public boolean hasUpdatedRowCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 updated_row_count = 2;</code>
* @return The updatedRowCount.
*/
@java.lang.Override
public long getUpdatedRowCount() {
return updatedRowCount_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, tableId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, updatedRowCount_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, tableId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, updatedRowCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.TableStatsPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.TableStatsPB other = (org.apache.doris.cloud.proto.Cloud.TableStatsPB) obj;
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasUpdatedRowCount() != other.hasUpdatedRowCount()) return false;
if (hasUpdatedRowCount()) {
if (getUpdatedRowCount()
!= other.getUpdatedRowCount()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasUpdatedRowCount()) {
hash = (37 * hash) + UPDATED_ROW_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getUpdatedRowCount());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.TableStatsPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* <pre>
* corresponding to TabletStats in meta_service.h and FrontendServiceImpl.java
* make sure update all of them when adding new fields
* </pre>
*
* Protobuf type {@code doris.cloud.TableStatsPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.TableStatsPB)
org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TableStatsPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TableStatsPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.TableStatsPB.class, org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.TableStatsPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
tableId_ = 0L;
updatedRowCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_TableStatsPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TableStatsPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.TableStatsPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TableStatsPB build() {
org.apache.doris.cloud.proto.Cloud.TableStatsPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TableStatsPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.TableStatsPB result = new org.apache.doris.cloud.proto.Cloud.TableStatsPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.TableStatsPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.updatedRowCount_ = updatedRowCount_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.TableStatsPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.TableStatsPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.TableStatsPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.TableStatsPB.getDefaultInstance()) return this;
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasUpdatedRowCount()) {
setUpdatedRowCount(other.getUpdatedRowCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
updatedRowCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long tableId_ ;
/**
* <code>optional int64 table_id = 1;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 table_id = 1;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 1;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000001);
tableId_ = 0L;
onChanged();
return this;
}
private long updatedRowCount_ ;
/**
* <code>optional int64 updated_row_count = 2;</code>
* @return Whether the updatedRowCount field is set.
*/
@java.lang.Override
public boolean hasUpdatedRowCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 updated_row_count = 2;</code>
* @return The updatedRowCount.
*/
@java.lang.Override
public long getUpdatedRowCount() {
return updatedRowCount_;
}
/**
* <code>optional int64 updated_row_count = 2;</code>
* @param value The updatedRowCount to set.
* @return This builder for chaining.
*/
public Builder setUpdatedRowCount(long value) {
updatedRowCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 updated_row_count = 2;</code>
* @return This builder for chaining.
*/
public Builder clearUpdatedRowCount() {
bitField0_ = (bitField0_ & ~0x00000002);
updatedRowCount_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.TableStatsPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.TableStatsPB)
private static final org.apache.doris.cloud.proto.Cloud.TableStatsPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.TableStatsPB();
}
public static org.apache.doris.cloud.proto.Cloud.TableStatsPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<TableStatsPB>
PARSER = new com.google.protobuf.AbstractParser<TableStatsPB>() {
@java.lang.Override
public TableStatsPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<TableStatsPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<TableStatsPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TableStatsPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CommitTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CommitTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
boolean hasTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder();
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return A list containing the partitionIds.
*/
java.util.List<java.lang.Long> getPartitionIdsList();
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return The count of partitionIds.
*/
int getPartitionIdsCount();
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
long getPartitionIds(int index);
/**
* <code>repeated int64 versions = 5;</code>
* @return A list containing the versions.
*/
java.util.List<java.lang.Long> getVersionsList();
/**
* <code>repeated int64 versions = 5;</code>
* @return The count of versions.
*/
int getVersionsCount();
/**
* <code>repeated int64 versions = 5;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
long getVersions(int index);
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TableStatsPB>
getTableStatsList();
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
org.apache.doris.cloud.proto.Cloud.TableStatsPB getTableStats(int index);
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
int getTableStatsCount();
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder>
getTableStatsOrBuilderList();
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder getTableStatsOrBuilder(
int index);
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @return Whether the versionUpdateTimeMs field is set.
*/
boolean hasVersionUpdateTimeMs();
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @return The versionUpdateTimeMs.
*/
long getVersionUpdateTimeMs();
}
/**
* Protobuf type {@code doris.cloud.CommitTxnResponse}
*/
public static final class CommitTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CommitTxnResponse)
CommitTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CommitTxnResponse.newBuilder() to construct.
private CommitTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CommitTxnResponse() {
tableIds_ = emptyLongList();
partitionIds_ = emptyLongList();
versions_ = emptyLongList();
tableStats_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CommitTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CommitTxnResponse.class, org.apache.doris.cloud.proto.Cloud.CommitTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TXN_INFO_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
@java.lang.Override
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
public static final int TABLE_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int PARTITION_IDS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList partitionIds_ =
emptyLongList();
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return A list containing the partitionIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPartitionIdsList() {
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
public static final int VERSIONS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList versions_ =
emptyLongList();
/**
* <code>repeated int64 versions = 5;</code>
* @return A list containing the versions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getVersionsList() {
return versions_;
}
/**
* <code>repeated int64 versions = 5;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 5;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
public static final int TABLE_STATS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.TableStatsPB> tableStats_;
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TableStatsPB> getTableStatsList() {
return tableStats_;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder>
getTableStatsOrBuilderList() {
return tableStats_;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
@java.lang.Override
public int getTableStatsCount() {
return tableStats_.size();
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TableStatsPB getTableStats(int index) {
return tableStats_.get(index);
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder getTableStatsOrBuilder(
int index) {
return tableStats_.get(index);
}
public static final int VERSION_UPDATE_TIME_MS_FIELD_NUMBER = 7;
private long versionUpdateTimeMs_ = 0L;
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @return Whether the versionUpdateTimeMs field is set.
*/
@java.lang.Override
public boolean hasVersionUpdateTimeMs() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @return The versionUpdateTimeMs.
*/
@java.lang.Override
public long getVersionUpdateTimeMs() {
return versionUpdateTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTxnInfo());
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(3, tableIds_.getLong(i));
}
for (int i = 0; i < partitionIds_.size(); i++) {
output.writeInt64(4, partitionIds_.getLong(i));
}
for (int i = 0; i < versions_.size(); i++) {
output.writeInt64(5, versions_.getLong(i));
}
for (int i = 0; i < tableStats_.size(); i++) {
output.writeMessage(6, tableStats_.get(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(7, versionUpdateTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTxnInfo());
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < partitionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(partitionIds_.getLong(i));
}
size += dataSize;
size += 1 * getPartitionIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < versions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(versions_.getLong(i));
}
size += dataSize;
size += 1 * getVersionsList().size();
}
for (int i = 0; i < tableStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, tableStats_.get(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, versionUpdateTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CommitTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CommitTxnResponse other = (org.apache.doris.cloud.proto.Cloud.CommitTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTxnInfo() != other.hasTxnInfo()) return false;
if (hasTxnInfo()) {
if (!getTxnInfo()
.equals(other.getTxnInfo())) return false;
}
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (!getPartitionIdsList()
.equals(other.getPartitionIdsList())) return false;
if (!getVersionsList()
.equals(other.getVersionsList())) return false;
if (!getTableStatsList()
.equals(other.getTableStatsList())) return false;
if (hasVersionUpdateTimeMs() != other.hasVersionUpdateTimeMs()) return false;
if (hasVersionUpdateTimeMs()) {
if (getVersionUpdateTimeMs()
!= other.getVersionUpdateTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTxnInfo()) {
hash = (37 * hash) + TXN_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTxnInfo().hashCode();
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (getPartitionIdsCount() > 0) {
hash = (37 * hash) + PARTITION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionIdsList().hashCode();
}
if (getVersionsCount() > 0) {
hash = (37 * hash) + VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getVersionsList().hashCode();
}
if (getTableStatsCount() > 0) {
hash = (37 * hash) + TABLE_STATS_FIELD_NUMBER;
hash = (53 * hash) + getTableStatsList().hashCode();
}
if (hasVersionUpdateTimeMs()) {
hash = (37 * hash) + VERSION_UPDATE_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVersionUpdateTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CommitTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CommitTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CommitTxnResponse)
org.apache.doris.cloud.proto.Cloud.CommitTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CommitTxnResponse.class, org.apache.doris.cloud.proto.Cloud.CommitTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CommitTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getTxnInfoFieldBuilder();
getTableStatsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
tableIds_ = emptyLongList();
partitionIds_ = emptyLongList();
versions_ = emptyLongList();
if (tableStatsBuilder_ == null) {
tableStats_ = java.util.Collections.emptyList();
} else {
tableStats_ = null;
tableStatsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
versionUpdateTimeMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CommitTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CommitTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.CommitTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CommitTxnResponse result = new org.apache.doris.cloud.proto.Cloud.CommitTxnResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.CommitTxnResponse result) {
if (tableStatsBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0)) {
tableStats_ = java.util.Collections.unmodifiableList(tableStats_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.tableStats_ = tableStats_;
} else {
result.tableStats_ = tableStatsBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CommitTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnInfo_ = txnInfoBuilder_ == null
? txnInfo_
: txnInfoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
partitionIds_.makeImmutable();
result.partitionIds_ = partitionIds_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
versions_.makeImmutable();
result.versions_ = versions_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.versionUpdateTimeMs_ = versionUpdateTimeMs_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CommitTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CommitTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CommitTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CommitTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTxnInfo()) {
mergeTxnInfo(other.getTxnInfo());
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (!other.partitionIds_.isEmpty()) {
if (partitionIds_.isEmpty()) {
partitionIds_ = other.partitionIds_;
partitionIds_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensurePartitionIdsIsMutable();
partitionIds_.addAll(other.partitionIds_);
}
onChanged();
}
if (!other.versions_.isEmpty()) {
if (versions_.isEmpty()) {
versions_ = other.versions_;
versions_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureVersionsIsMutable();
versions_.addAll(other.versions_);
}
onChanged();
}
if (tableStatsBuilder_ == null) {
if (!other.tableStats_.isEmpty()) {
if (tableStats_.isEmpty()) {
tableStats_ = other.tableStats_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureTableStatsIsMutable();
tableStats_.addAll(other.tableStats_);
}
onChanged();
}
} else {
if (!other.tableStats_.isEmpty()) {
if (tableStatsBuilder_.isEmpty()) {
tableStatsBuilder_.dispose();
tableStatsBuilder_ = null;
tableStats_ = other.tableStats_;
bitField0_ = (bitField0_ & ~0x00000020);
tableStatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTableStatsFieldBuilder() : null;
} else {
tableStatsBuilder_.addAllMessages(other.tableStats_);
}
}
}
if (other.hasVersionUpdateTimeMs()) {
setVersionUpdateTimeMs(other.getVersionUpdateTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getTxnInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
long v = input.readInt64();
ensurePartitionIdsIsMutable();
partitionIds_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePartitionIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
partitionIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
long v = input.readInt64();
ensureVersionsIsMutable();
versions_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
versions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 42
case 50: {
org.apache.doris.cloud.proto.Cloud.TableStatsPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.TableStatsPB.PARSER,
extensionRegistry);
if (tableStatsBuilder_ == null) {
ensureTableStatsIsMutable();
tableStats_.add(m);
} else {
tableStatsBuilder_.addMessage(m);
}
break;
} // case 50
case 56: {
versionUpdateTimeMs_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder> txnInfoBuilder_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
if (txnInfoBuilder_ == null) {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
} else {
return txnInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
txnInfo_ = value;
} else {
txnInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (txnInfoBuilder_ == null) {
txnInfo_ = builderForValue.build();
} else {
txnInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder mergeTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
txnInfo_ != null &&
txnInfo_ != org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance()) {
getTxnInfoBuilder().mergeFrom(value);
} else {
txnInfo_ = value;
}
} else {
txnInfoBuilder_.mergeFrom(value);
}
if (txnInfo_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder clearTxnInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder getTxnInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTxnInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
if (txnInfoBuilder_ != null) {
return txnInfoBuilder_.getMessageOrBuilder();
} else {
return txnInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getTxnInfoFieldBuilder() {
if (txnInfoBuilder_ == null) {
txnInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>(
getTxnInfo(),
getParentForChildren(),
isClean());
txnInfo_ = null;
}
return txnInfoBuilder_;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* <tablet_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 table_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIds_ = emptyLongList();
private void ensurePartitionIdsIsMutable() {
if (!partitionIds_.isModifiable()) {
partitionIds_ = makeMutableCopy(partitionIds_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return A list containing the partitionIds.
*/
public java.util.List<java.lang.Long>
getPartitionIdsList() {
partitionIds_.makeImmutable();
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index to set the value at.
* @param value The partitionIds to set.
* @return This builder for chaining.
*/
public Builder setPartitionIds(
int index, long value) {
ensurePartitionIdsIsMutable();
partitionIds_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param value The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addPartitionIds(long value) {
ensurePartitionIdsIsMutable();
partitionIds_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param values The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePartitionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionIds_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionIds() {
partitionIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList versions_ = emptyLongList();
private void ensureVersionsIsMutable() {
if (!versions_.isModifiable()) {
versions_ = makeMutableCopy(versions_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated int64 versions = 5;</code>
* @return A list containing the versions.
*/
public java.util.List<java.lang.Long>
getVersionsList() {
versions_.makeImmutable();
return versions_;
}
/**
* <code>repeated int64 versions = 5;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 5;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
/**
* <code>repeated int64 versions = 5;</code>
* @param index The index to set the value at.
* @param value The versions to set.
* @return This builder for chaining.
*/
public Builder setVersions(
int index, long value) {
ensureVersionsIsMutable();
versions_.setLong(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 5;</code>
* @param value The versions to add.
* @return This builder for chaining.
*/
public Builder addVersions(long value) {
ensureVersionsIsMutable();
versions_.addLong(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 5;</code>
* @param values The versions to add.
* @return This builder for chaining.
*/
public Builder addAllVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, versions_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 5;</code>
* @return This builder for chaining.
*/
public Builder clearVersions() {
versions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.TableStatsPB> tableStats_ =
java.util.Collections.emptyList();
private void ensureTableStatsIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
tableStats_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.TableStatsPB>(tableStats_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TableStatsPB, org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder> tableStatsBuilder_;
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TableStatsPB> getTableStatsList() {
if (tableStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tableStats_);
} else {
return tableStatsBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public int getTableStatsCount() {
if (tableStatsBuilder_ == null) {
return tableStats_.size();
} else {
return tableStatsBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TableStatsPB getTableStats(int index) {
if (tableStatsBuilder_ == null) {
return tableStats_.get(index);
} else {
return tableStatsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder setTableStats(
int index, org.apache.doris.cloud.proto.Cloud.TableStatsPB value) {
if (tableStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableStatsIsMutable();
tableStats_.set(index, value);
onChanged();
} else {
tableStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder setTableStats(
int index, org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder builderForValue) {
if (tableStatsBuilder_ == null) {
ensureTableStatsIsMutable();
tableStats_.set(index, builderForValue.build());
onChanged();
} else {
tableStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder addTableStats(org.apache.doris.cloud.proto.Cloud.TableStatsPB value) {
if (tableStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableStatsIsMutable();
tableStats_.add(value);
onChanged();
} else {
tableStatsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder addTableStats(
int index, org.apache.doris.cloud.proto.Cloud.TableStatsPB value) {
if (tableStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTableStatsIsMutable();
tableStats_.add(index, value);
onChanged();
} else {
tableStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder addTableStats(
org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder builderForValue) {
if (tableStatsBuilder_ == null) {
ensureTableStatsIsMutable();
tableStats_.add(builderForValue.build());
onChanged();
} else {
tableStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder addTableStats(
int index, org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder builderForValue) {
if (tableStatsBuilder_ == null) {
ensureTableStatsIsMutable();
tableStats_.add(index, builderForValue.build());
onChanged();
} else {
tableStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder addAllTableStats(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TableStatsPB> values) {
if (tableStatsBuilder_ == null) {
ensureTableStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableStats_);
onChanged();
} else {
tableStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder clearTableStats() {
if (tableStatsBuilder_ == null) {
tableStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
tableStatsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public Builder removeTableStats(int index) {
if (tableStatsBuilder_ == null) {
ensureTableStatsIsMutable();
tableStats_.remove(index);
onChanged();
} else {
tableStatsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder getTableStatsBuilder(
int index) {
return getTableStatsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder getTableStatsOrBuilder(
int index) {
if (tableStatsBuilder_ == null) {
return tableStats_.get(index); } else {
return tableStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder>
getTableStatsOrBuilderList() {
if (tableStatsBuilder_ != null) {
return tableStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tableStats_);
}
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder addTableStatsBuilder() {
return getTableStatsFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.TableStatsPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder addTableStatsBuilder(
int index) {
return getTableStatsFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.TableStatsPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TableStatsPB table_stats = 6;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder>
getTableStatsBuilderList() {
return getTableStatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TableStatsPB, org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder>
getTableStatsFieldBuilder() {
if (tableStatsBuilder_ == null) {
tableStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TableStatsPB, org.apache.doris.cloud.proto.Cloud.TableStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TableStatsPBOrBuilder>(
tableStats_,
((bitField0_ & 0x00000020) != 0),
getParentForChildren(),
isClean());
tableStats_ = null;
}
return tableStatsBuilder_;
}
private long versionUpdateTimeMs_ ;
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @return Whether the versionUpdateTimeMs field is set.
*/
@java.lang.Override
public boolean hasVersionUpdateTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @return The versionUpdateTimeMs.
*/
@java.lang.Override
public long getVersionUpdateTimeMs() {
return versionUpdateTimeMs_;
}
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @param value The versionUpdateTimeMs to set.
* @return This builder for chaining.
*/
public Builder setVersionUpdateTimeMs(long value) {
versionUpdateTimeMs_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 version_update_time_ms = 7;</code>
* @return This builder for chaining.
*/
public Builder clearVersionUpdateTimeMs() {
bitField0_ = (bitField0_ & ~0x00000040);
versionUpdateTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CommitTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CommitTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.CommitTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CommitTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CommitTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CommitTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<CommitTxnResponse>() {
@java.lang.Override
public CommitTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CommitTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CommitTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CommitTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AbortTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AbortTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
boolean hasLabel();
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
java.lang.String getLabel();
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
/**
* <code>optional string reason = 5;</code>
* @return Whether the reason field is set.
*/
boolean hasReason();
/**
* <code>optional string reason = 5;</code>
* @return The reason.
*/
java.lang.String getReason();
/**
* <code>optional string reason = 5;</code>
* @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
* @return Whether the commitAttachment field is set.
*/
boolean hasCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
* @return The commitAttachment.
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment();
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AbortTxnRequest}
*/
public static final class AbortTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AbortTxnRequest)
AbortTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbortTxnRequest.newBuilder() to construct.
private AbortTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AbortTxnRequest() {
cloudUniqueId_ = "";
label_ = "";
reason_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbortTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnRequest.class, org.apache.doris.cloud.proto.Cloud.AbortTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TXN_ID_FIELD_NUMBER = 3;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int LABEL_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
}
}
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REASON_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object reason_ = "";
/**
* <code>optional string reason = 5;</code>
* @return Whether the reason field is set.
*/
@java.lang.Override
public boolean hasReason() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string reason = 5;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
}
}
/**
* <code>optional string reason = 5;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int COMMIT_ATTACHMENT_FIELD_NUMBER = 6;
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
* @return Whether the commitAttachment field is set.
*/
@java.lang.Override
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
* @return The commitAttachment.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, label_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, reason_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeMessage(6, getCommitAttachment());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, label_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, reason_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getCommitAttachment());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AbortTxnRequest other = (org.apache.doris.cloud.proto.Cloud.AbortTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasLabel() != other.hasLabel()) return false;
if (hasLabel()) {
if (!getLabel()
.equals(other.getLabel())) return false;
}
if (hasReason() != other.hasReason()) return false;
if (hasReason()) {
if (!getReason()
.equals(other.getReason())) return false;
}
if (hasCommitAttachment() != other.hasCommitAttachment()) return false;
if (hasCommitAttachment()) {
if (!getCommitAttachment()
.equals(other.getCommitAttachment())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasLabel()) {
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
}
if (hasReason()) {
hash = (37 * hash) + REASON_FIELD_NUMBER;
hash = (53 * hash) + getReason().hashCode();
}
if (hasCommitAttachment()) {
hash = (37 * hash) + COMMIT_ATTACHMENT_FIELD_NUMBER;
hash = (53 * hash) + getCommitAttachment().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AbortTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AbortTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AbortTxnRequest)
org.apache.doris.cloud.proto.Cloud.AbortTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnRequest.class, org.apache.doris.cloud.proto.Cloud.AbortTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AbortTxnRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCommitAttachmentFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
txnId_ = 0L;
label_ = "";
reason_ = "";
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AbortTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.AbortTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AbortTxnRequest result = new org.apache.doris.cloud.proto.Cloud.AbortTxnRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AbortTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.label_ = label_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.reason_ = reason_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.commitAttachment_ = commitAttachmentBuilder_ == null
? commitAttachment_
: commitAttachmentBuilder_.build();
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AbortTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AbortTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AbortTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasLabel()) {
label_ = other.label_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasReason()) {
reason_ = other.reason_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasCommitAttachment()) {
mergeCommitAttachment(other.getCommitAttachment());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
label_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
reason_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
input.readMessage(
getCommitAttachmentFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
txnId_ = 0L;
onChanged();
return this;
}
private java.lang.Object label_ = "";
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string label = 4;</code>
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string label = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string label = 4;</code>
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object reason_ = "";
/**
* <code>optional string reason = 5;</code>
* @return Whether the reason field is set.
*/
public boolean hasReason() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string reason = 5;</code>
* @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string reason = 5;</code>
* @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string reason = 5;</code>
* @param value The reason to set.
* @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string reason = 5;</code>
* @return This builder for chaining.
*/
public Builder clearReason() {
reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string reason = 5;</code>
* @param value The bytes for reason to set.
* @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB commitAttachment_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder> commitAttachmentBuilder_;
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
* @return Whether the commitAttachment field is set.
*/
public boolean hasCommitAttachment() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
* @return The commitAttachment.
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB getCommitAttachment() {
if (commitAttachmentBuilder_ == null) {
return commitAttachment_ == null ? org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
} else {
return commitAttachmentBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
public Builder setCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commitAttachment_ = value;
} else {
commitAttachmentBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
public Builder setCommitAttachment(
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder builderForValue) {
if (commitAttachmentBuilder_ == null) {
commitAttachment_ = builderForValue.build();
} else {
commitAttachmentBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
public Builder mergeCommitAttachment(org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB value) {
if (commitAttachmentBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
commitAttachment_ != null &&
commitAttachment_ != org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance()) {
getCommitAttachmentBuilder().mergeFrom(value);
} else {
commitAttachment_ = value;
}
} else {
commitAttachmentBuilder_.mergeFrom(value);
}
if (commitAttachment_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
public Builder clearCommitAttachment() {
bitField0_ = (bitField0_ & ~0x00000020);
commitAttachment_ = null;
if (commitAttachmentBuilder_ != null) {
commitAttachmentBuilder_.dispose();
commitAttachmentBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder getCommitAttachmentBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getCommitAttachmentFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder getCommitAttachmentOrBuilder() {
if (commitAttachmentBuilder_ != null) {
return commitAttachmentBuilder_.getMessageOrBuilder();
} else {
return commitAttachment_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.getDefaultInstance() : commitAttachment_;
}
}
/**
* <code>optional .doris.cloud.TxnCommitAttachmentPB commit_attachment = 6;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>
getCommitAttachmentFieldBuilder() {
if (commitAttachmentBuilder_ == null) {
commitAttachmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnCommitAttachmentPBOrBuilder>(
getCommitAttachment(),
getParentForChildren(),
isClean());
commitAttachment_ = null;
}
return commitAttachmentBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AbortTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AbortTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.AbortTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AbortTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AbortTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<AbortTxnRequest>() {
@java.lang.Override
public AbortTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AbortTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AbortTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AbortTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AbortTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
boolean hasTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AbortTxnResponse}
*/
public static final class AbortTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AbortTxnResponse)
AbortTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbortTxnResponse.newBuilder() to construct.
private AbortTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AbortTxnResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbortTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnResponse.class, org.apache.doris.cloud.proto.Cloud.AbortTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TXN_INFO_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
@java.lang.Override
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTxnInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTxnInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AbortTxnResponse other = (org.apache.doris.cloud.proto.Cloud.AbortTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTxnInfo() != other.hasTxnInfo()) return false;
if (hasTxnInfo()) {
if (!getTxnInfo()
.equals(other.getTxnInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTxnInfo()) {
hash = (37 * hash) + TXN_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTxnInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AbortTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AbortTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AbortTxnResponse)
org.apache.doris.cloud.proto.Cloud.AbortTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnResponse.class, org.apache.doris.cloud.proto.Cloud.AbortTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AbortTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getTxnInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AbortTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.AbortTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AbortTxnResponse result = new org.apache.doris.cloud.proto.Cloud.AbortTxnResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AbortTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnInfo_ = txnInfoBuilder_ == null
? txnInfo_
: txnInfoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AbortTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AbortTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AbortTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTxnInfo()) {
mergeTxnInfo(other.getTxnInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getTxnInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder> txnInfoBuilder_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
if (txnInfoBuilder_ == null) {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
} else {
return txnInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
txnInfo_ = value;
} else {
txnInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (txnInfoBuilder_ == null) {
txnInfo_ = builderForValue.build();
} else {
txnInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder mergeTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
txnInfo_ != null &&
txnInfo_ != org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance()) {
getTxnInfoBuilder().mergeFrom(value);
} else {
txnInfo_ = value;
}
} else {
txnInfoBuilder_.mergeFrom(value);
}
if (txnInfo_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder clearTxnInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder getTxnInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTxnInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
if (txnInfoBuilder_ != null) {
return txnInfoBuilder_.getMessageOrBuilder();
} else {
return txnInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getTxnInfoFieldBuilder() {
if (txnInfoBuilder_ == null) {
txnInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>(
getTxnInfo(),
getParentForChildren(),
isClean());
txnInfo_ = null;
}
return txnInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AbortTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AbortTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.AbortTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AbortTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AbortTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<AbortTxnResponse>() {
@java.lang.Override
public AbortTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AbortTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AbortTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
boolean hasLabel();
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
java.lang.String getLabel();
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
}
/**
* Protobuf type {@code doris.cloud.GetTxnRequest}
*/
public static final class GetTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTxnRequest)
GetTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTxnRequest.newBuilder() to construct.
private GetTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTxnRequest() {
cloudUniqueId_ = "";
label_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnRequest.class, org.apache.doris.cloud.proto.Cloud.GetTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TXN_ID_FIELD_NUMBER = 3;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int LABEL_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
}
}
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, label_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, txnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, label_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTxnRequest other = (org.apache.doris.cloud.proto.Cloud.GetTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasLabel() != other.hasLabel()) return false;
if (hasLabel()) {
if (!getLabel()
.equals(other.getLabel())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasLabel()) {
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTxnRequest)
org.apache.doris.cloud.proto.Cloud.GetTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnRequest.class, org.apache.doris.cloud.proto.Cloud.GetTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTxnRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
txnId_ = 0L;
label_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.GetTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTxnRequest result = new org.apache.doris.cloud.proto.Cloud.GetTxnRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.label_ = label_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasLabel()) {
label_ = other.label_;
bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
label_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 3;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
txnId_ = 0L;
onChanged();
return this;
}
private java.lang.Object label_ = "";
/**
* <code>optional string label = 4;</code>
* @return Whether the label field is set.
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string label = 4;</code>
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string label = 4;</code>
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string label = 4;</code>
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string label = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string label = 4;</code>
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<GetTxnRequest>() {
@java.lang.Override
public GetTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
boolean hasTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetTxnResponse}
*/
public static final class GetTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTxnResponse)
GetTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTxnResponse.newBuilder() to construct.
private GetTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTxnResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnResponse.class, org.apache.doris.cloud.proto.Cloud.GetTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TXN_INFO_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
@java.lang.Override
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTxnInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTxnInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTxnResponse other = (org.apache.doris.cloud.proto.Cloud.GetTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTxnInfo() != other.hasTxnInfo()) return false;
if (hasTxnInfo()) {
if (!getTxnInfo()
.equals(other.getTxnInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTxnInfo()) {
hash = (37 * hash) + TXN_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTxnInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTxnResponse)
org.apache.doris.cloud.proto.Cloud.GetTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnResponse.class, org.apache.doris.cloud.proto.Cloud.GetTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getTxnInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.GetTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTxnResponse result = new org.apache.doris.cloud.proto.Cloud.GetTxnResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnInfo_ = txnInfoBuilder_ == null
? txnInfo_
: txnInfoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTxnInfo()) {
mergeTxnInfo(other.getTxnInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getTxnInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder> txnInfoBuilder_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
if (txnInfoBuilder_ == null) {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
} else {
return txnInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
txnInfo_ = value;
} else {
txnInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (txnInfoBuilder_ == null) {
txnInfo_ = builderForValue.build();
} else {
txnInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder mergeTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
txnInfo_ != null &&
txnInfo_ != org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance()) {
getTxnInfoBuilder().mergeFrom(value);
} else {
txnInfo_ = value;
}
} else {
txnInfoBuilder_.mergeFrom(value);
}
if (txnInfo_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder clearTxnInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder getTxnInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTxnInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
if (txnInfoBuilder_ != null) {
return txnInfoBuilder_.getMessageOrBuilder();
} else {
return txnInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getTxnInfoFieldBuilder() {
if (txnInfoBuilder_ == null) {
txnInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>(
getTxnInfo(),
getParentForChildren(),
isClean());
txnInfo_ = null;
}
return txnInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<GetTxnResponse>() {
@java.lang.Override
public GetTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTxnIdRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTxnIdRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional string label = 3;</code>
* @return Whether the label field is set.
*/
boolean hasLabel();
/**
* <code>optional string label = 3;</code>
* @return The label.
*/
java.lang.String getLabel();
/**
* <code>optional string label = 3;</code>
* @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return A list containing the txnStatus.
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TxnStatusPB> getTxnStatusList();
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return The count of txnStatus.
*/
int getTxnStatusCount();
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @param index The index of the element to return.
* @return The txnStatus at the given index.
*/
org.apache.doris.cloud.proto.Cloud.TxnStatusPB getTxnStatus(int index);
}
/**
* Protobuf type {@code doris.cloud.GetTxnIdRequest}
*/
public static final class GetTxnIdRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTxnIdRequest)
GetTxnIdRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTxnIdRequest.newBuilder() to construct.
private GetTxnIdRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTxnIdRequest() {
cloudUniqueId_ = "";
label_ = "";
txnStatus_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTxnIdRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest.class, org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int LABEL_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* <code>optional string label = 3;</code>
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string label = 3;</code>
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
}
}
/**
* <code>optional string label = 3;</code>
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TXN_STATUS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List<java.lang.Integer> txnStatus_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, org.apache.doris.cloud.proto.Cloud.TxnStatusPB> txnStatus_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, org.apache.doris.cloud.proto.Cloud.TxnStatusPB>() {
public org.apache.doris.cloud.proto.Cloud.TxnStatusPB convert(java.lang.Integer from) {
org.apache.doris.cloud.proto.Cloud.TxnStatusPB result = org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(from);
return result == null ? org.apache.doris.cloud.proto.Cloud.TxnStatusPB.TXN_STATUS_UNKNOWN : result;
}
};
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return A list containing the txnStatus.
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TxnStatusPB> getTxnStatusList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, org.apache.doris.cloud.proto.Cloud.TxnStatusPB>(txnStatus_, txnStatus_converter_);
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return The count of txnStatus.
*/
@java.lang.Override
public int getTxnStatusCount() {
return txnStatus_.size();
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @param index The index of the element to return.
* @return The txnStatus at the given index.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnStatusPB getTxnStatus(int index) {
return txnStatus_converter_.convert(txnStatus_.get(index));
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, label_);
}
for (int i = 0; i < txnStatus_.size(); i++) {
output.writeEnum(4, txnStatus_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, label_);
}
{
int dataSize = 0;
for (int i = 0; i < txnStatus_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(txnStatus_.get(i));
}
size += dataSize;
size += 1 * txnStatus_.size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest other = (org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasLabel() != other.hasLabel()) return false;
if (hasLabel()) {
if (!getLabel()
.equals(other.getLabel())) return false;
}
if (!txnStatus_.equals(other.txnStatus_)) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasLabel()) {
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
}
if (getTxnStatusCount() > 0) {
hash = (37 * hash) + TXN_STATUS_FIELD_NUMBER;
hash = (53 * hash) + txnStatus_.hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTxnIdRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTxnIdRequest)
org.apache.doris.cloud.proto.Cloud.GetTxnIdRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest.class, org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
label_ = "";
txnStatus_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest build() {
org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest result = new org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest result) {
if (((bitField0_ & 0x00000008) != 0)) {
txnStatus_ = java.util.Collections.unmodifiableList(txnStatus_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.txnStatus_ = txnStatus_;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.label_ = label_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasLabel()) {
label_ = other.label_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.txnStatus_.isEmpty()) {
if (txnStatus_.isEmpty()) {
txnStatus_ = other.txnStatus_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTxnStatusIsMutable();
txnStatus_.addAll(other.txnStatus_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
label_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnStatusPB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
ensureTxnStatusIsMutable();
txnStatus_.add(tmpRaw);
}
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.TxnStatusPB tmpValue =
org.apache.doris.cloud.proto.Cloud.TxnStatusPB.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
ensureTxnStatusIsMutable();
txnStatus_.add(tmpRaw);
}
}
input.popLimit(oldLimit);
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private java.lang.Object label_ = "";
/**
* <code>optional string label = 3;</code>
* @return Whether the label field is set.
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string label = 3;</code>
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string label = 3;</code>
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string label = 3;</code>
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string label = 3;</code>
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string label = 3;</code>
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.util.List<java.lang.Integer> txnStatus_ =
java.util.Collections.emptyList();
private void ensureTxnStatusIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
txnStatus_ = new java.util.ArrayList<java.lang.Integer>(txnStatus_);
bitField0_ |= 0x00000008;
}
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return A list containing the txnStatus.
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TxnStatusPB> getTxnStatusList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, org.apache.doris.cloud.proto.Cloud.TxnStatusPB>(txnStatus_, txnStatus_converter_);
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return The count of txnStatus.
*/
public int getTxnStatusCount() {
return txnStatus_.size();
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @param index The index of the element to return.
* @return The txnStatus at the given index.
*/
public org.apache.doris.cloud.proto.Cloud.TxnStatusPB getTxnStatus(int index) {
return txnStatus_converter_.convert(txnStatus_.get(index));
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @param index The index to set the value at.
* @param value The txnStatus to set.
* @return This builder for chaining.
*/
public Builder setTxnStatus(
int index, org.apache.doris.cloud.proto.Cloud.TxnStatusPB value) {
if (value == null) {
throw new NullPointerException();
}
ensureTxnStatusIsMutable();
txnStatus_.set(index, value.getNumber());
onChanged();
return this;
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @param value The txnStatus to add.
* @return This builder for chaining.
*/
public Builder addTxnStatus(org.apache.doris.cloud.proto.Cloud.TxnStatusPB value) {
if (value == null) {
throw new NullPointerException();
}
ensureTxnStatusIsMutable();
txnStatus_.add(value.getNumber());
onChanged();
return this;
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @param values The txnStatus to add.
* @return This builder for chaining.
*/
public Builder addAllTxnStatus(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TxnStatusPB> values) {
ensureTxnStatusIsMutable();
for (org.apache.doris.cloud.proto.Cloud.TxnStatusPB value : values) {
txnStatus_.add(value.getNumber());
}
onChanged();
return this;
}
/**
* <code>repeated .doris.cloud.TxnStatusPB txn_status = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTxnStatus() {
txnStatus_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTxnIdRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTxnIdRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTxnIdRequest>
PARSER = new com.google.protobuf.AbstractParser<GetTxnIdRequest>() {
@java.lang.Override
public GetTxnIdRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTxnIdRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTxnIdRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTxnIdResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTxnIdResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
long getTxnId();
}
/**
* Protobuf type {@code doris.cloud.GetTxnIdResponse}
*/
public static final class GetTxnIdResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTxnIdResponse)
GetTxnIdResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTxnIdResponse.newBuilder() to construct.
private GetTxnIdResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTxnIdResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTxnIdResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse.class, org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TXN_ID_FIELD_NUMBER = 2;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, txnId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, txnId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse other = (org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTxnIdResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTxnIdResponse)
org.apache.doris.cloud.proto.Cloud.GetTxnIdResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse.class, org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
txnId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTxnIdResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse build() {
org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse result = new org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
txnId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTxnIdResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTxnIdResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTxnIdResponse>
PARSER = new com.google.protobuf.AbstractParser<GetTxnIdResponse>() {
@java.lang.Override
public GetTxnIdResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTxnIdResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTxnIdResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTxnIdResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeginSubTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.BeginSubTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @return Whether the subTxnNum field is set.
*/
boolean hasSubTxnNum();
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @return The subTxnNum.
*/
long getSubTxnNum();
/**
* <code>optional int64 db_id = 4;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 4;</code>
* @return The dbId.
*/
long getDbId();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return Whether the label field is set.
*/
boolean hasLabel();
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return The label.
*/
java.lang.String getLabel();
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return The bytes for label.
*/
com.google.protobuf.ByteString
getLabelBytes();
}
/**
* Protobuf type {@code doris.cloud.BeginSubTxnRequest}
*/
public static final class BeginSubTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.BeginSubTxnRequest)
BeginSubTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeginSubTxnRequest.newBuilder() to construct.
private BeginSubTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BeginSubTxnRequest() {
cloudUniqueId_ = "";
tableIds_ = emptyLongList();
label_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BeginSubTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest.class, org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TXN_ID_FIELD_NUMBER = 2;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int SUB_TXN_NUM_FIELD_NUMBER = 3;
private long subTxnNum_ = 0L;
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @return Whether the subTxnNum field is set.
*/
@java.lang.Override
public boolean hasSubTxnNum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @return The subTxnNum.
*/
@java.lang.Override
public long getSubTxnNum() {
return subTxnNum_;
}
public static final int DB_ID_FIELD_NUMBER = 4;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 4;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 db_id = 4;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TABLE_IDS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int LABEL_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object label_ = "";
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return Whether the label field is set.
*/
@java.lang.Override
public boolean hasLabel() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return The label.
*/
@java.lang.Override
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
}
}
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return The bytes for label.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, subTxnNum_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, dbId_);
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(5, tableIds_.getLong(i));
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, label_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, subTxnNum_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, dbId_);
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, label_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest other = (org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasSubTxnNum() != other.hasSubTxnNum()) return false;
if (hasSubTxnNum()) {
if (getSubTxnNum()
!= other.getSubTxnNum()) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (hasLabel() != other.hasLabel()) return false;
if (hasLabel()) {
if (!getLabel()
.equals(other.getLabel())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasSubTxnNum()) {
hash = (37 * hash) + SUB_TXN_NUM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSubTxnNum());
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (hasLabel()) {
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.BeginSubTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.BeginSubTxnRequest)
org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest.class, org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
txnId_ = 0L;
subTxnNum_ = 0L;
dbId_ = 0L;
tableIds_ = emptyLongList();
label_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest result = new org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.subTxnNum_ = subTxnNum_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.label_ = label_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasSubTxnNum()) {
setSubTxnNum(other.getSubTxnNum());
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (other.hasLabel()) {
label_ = other.label_;
bitField0_ |= 0x00000020;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
subTxnNum_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 42
case 50: {
label_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
txnId_ = 0L;
onChanged();
return this;
}
private long subTxnNum_ ;
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @return Whether the subTxnNum field is set.
*/
@java.lang.Override
public boolean hasSubTxnNum() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @return The subTxnNum.
*/
@java.lang.Override
public long getSubTxnNum() {
return subTxnNum_;
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @param value The subTxnNum to set.
* @return This builder for chaining.
*/
public Builder setSubTxnNum(long value) {
subTxnNum_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSubTxnNum() {
bitField0_ = (bitField0_ & ~0x00000004);
subTxnNum_ = 0L;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 4;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 db_id = 4;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 4;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000008);
dbId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000010;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private java.lang.Object label_ = "";
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return Whether the label field is set.
*/
public boolean hasLabel() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return The label.
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
label_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return The bytes for label.
*/
public com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @param value The label to set.
* @return This builder for chaining.
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @return This builder for chaining.
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <pre>
* a random label used to generate a sub_txn_id
* </pre>
*
* <code>optional string label = 6;</code>
* @param value The bytes for label to set.
* @return This builder for chaining.
*/
public Builder setLabelBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
label_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.BeginSubTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.BeginSubTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<BeginSubTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<BeginSubTxnRequest>() {
@java.lang.Override
public BeginSubTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BeginSubTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BeginSubTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeginSubTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.BeginSubTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @return Whether the subTxnId field is set.
*/
boolean hasSubTxnId();
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @return The subTxnId.
*/
long getSubTxnId();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
* @return Whether the txnInfo field is set.
*/
boolean hasTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
* @return The txnInfo.
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.BeginSubTxnResponse}
*/
public static final class BeginSubTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.BeginSubTxnResponse)
BeginSubTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeginSubTxnResponse.newBuilder() to construct.
private BeginSubTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BeginSubTxnResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BeginSubTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse.class, org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int SUB_TXN_ID_FIELD_NUMBER = 2;
private long subTxnId_ = 0L;
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @return Whether the subTxnId field is set.
*/
@java.lang.Override
public boolean hasSubTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @return The subTxnId.
*/
@java.lang.Override
public long getSubTxnId() {
return subTxnId_;
}
public static final int TXN_INFO_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
* @return Whether the txnInfo field is set.
*/
@java.lang.Override
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
* @return The txnInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, subTxnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getTxnInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, subTxnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTxnInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse other = (org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasSubTxnId() != other.hasSubTxnId()) return false;
if (hasSubTxnId()) {
if (getSubTxnId()
!= other.getSubTxnId()) return false;
}
if (hasTxnInfo() != other.hasTxnInfo()) return false;
if (hasTxnInfo()) {
if (!getTxnInfo()
.equals(other.getTxnInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasSubTxnId()) {
hash = (37 * hash) + SUB_TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSubTxnId());
}
if (hasTxnInfo()) {
hash = (37 * hash) + TXN_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTxnInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.BeginSubTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.BeginSubTxnResponse)
org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse.class, org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getTxnInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
subTxnId_ = 0L;
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginSubTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse result = new org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.subTxnId_ = subTxnId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.txnInfo_ = txnInfoBuilder_ == null
? txnInfo_
: txnInfoBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasSubTxnId()) {
setSubTxnId(other.getSubTxnId());
}
if (other.hasTxnInfo()) {
mergeTxnInfo(other.getTxnInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
subTxnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
input.readMessage(
getTxnInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private long subTxnId_ ;
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @return Whether the subTxnId field is set.
*/
@java.lang.Override
public boolean hasSubTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @return The subTxnId.
*/
@java.lang.Override
public long getSubTxnId() {
return subTxnId_;
}
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @param value The subTxnId to set.
* @return This builder for chaining.
*/
public Builder setSubTxnId(long value) {
subTxnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 sub_txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearSubTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
subTxnId_ = 0L;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder> txnInfoBuilder_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
* @return Whether the txnInfo field is set.
*/
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
* @return The txnInfo.
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
if (txnInfoBuilder_ == null) {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
} else {
return txnInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
public Builder setTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
txnInfo_ = value;
} else {
txnInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
public Builder setTxnInfo(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (txnInfoBuilder_ == null) {
txnInfo_ = builderForValue.build();
} else {
txnInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
public Builder mergeTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
txnInfo_ != null &&
txnInfo_ != org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance()) {
getTxnInfoBuilder().mergeFrom(value);
} else {
txnInfo_ = value;
}
} else {
txnInfoBuilder_.mergeFrom(value);
}
if (txnInfo_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
public Builder clearTxnInfo() {
bitField0_ = (bitField0_ & ~0x00000004);
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder getTxnInfoBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getTxnInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
if (txnInfoBuilder_ != null) {
return txnInfoBuilder_.getMessageOrBuilder();
} else {
return txnInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getTxnInfoFieldBuilder() {
if (txnInfoBuilder_ == null) {
txnInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>(
getTxnInfo(),
getParentForChildren(),
isClean());
txnInfo_ = null;
}
return txnInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.BeginSubTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.BeginSubTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<BeginSubTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<BeginSubTxnResponse>() {
@java.lang.Override
public BeginSubTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BeginSubTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BeginSubTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginSubTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AbortSubTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AbortSubTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @return Whether the subTxnId field is set.
*/
boolean hasSubTxnId();
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @return The subTxnId.
*/
long getSubTxnId();
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @return Whether the subTxnNum field is set.
*/
boolean hasSubTxnNum();
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @return The subTxnNum.
*/
long getSubTxnNum();
/**
* <code>optional int64 db_id = 5;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 5;</code>
* @return The dbId.
*/
long getDbId();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
}
/**
* Protobuf type {@code doris.cloud.AbortSubTxnRequest}
*/
public static final class AbortSubTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AbortSubTxnRequest)
AbortSubTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbortSubTxnRequest.newBuilder() to construct.
private AbortSubTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AbortSubTxnRequest() {
cloudUniqueId_ = "";
tableIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbortSubTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest.class, org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TXN_ID_FIELD_NUMBER = 2;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int SUB_TXN_ID_FIELD_NUMBER = 3;
private long subTxnId_ = 0L;
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @return Whether the subTxnId field is set.
*/
@java.lang.Override
public boolean hasSubTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @return The subTxnId.
*/
@java.lang.Override
public long getSubTxnId() {
return subTxnId_;
}
public static final int SUB_TXN_NUM_FIELD_NUMBER = 4;
private long subTxnNum_ = 0L;
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @return Whether the subTxnNum field is set.
*/
@java.lang.Override
public boolean hasSubTxnNum() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @return The subTxnNum.
*/
@java.lang.Override
public long getSubTxnNum() {
return subTxnNum_;
}
public static final int DB_ID_FIELD_NUMBER = 5;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 5;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 db_id = 5;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TABLE_IDS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, subTxnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, subTxnNum_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, dbId_);
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(6, tableIds_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, txnId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, subTxnId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, subTxnNum_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, dbId_);
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest other = (org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasSubTxnId() != other.hasSubTxnId()) return false;
if (hasSubTxnId()) {
if (getSubTxnId()
!= other.getSubTxnId()) return false;
}
if (hasSubTxnNum() != other.hasSubTxnNum()) return false;
if (hasSubTxnNum()) {
if (getSubTxnNum()
!= other.getSubTxnNum()) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasSubTxnId()) {
hash = (37 * hash) + SUB_TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSubTxnId());
}
if (hasSubTxnNum()) {
hash = (37 * hash) + SUB_TXN_NUM_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSubTxnNum());
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AbortSubTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AbortSubTxnRequest)
org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest.class, org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
txnId_ = 0L;
subTxnId_ = 0L;
subTxnNum_ = 0L;
dbId_ = 0L;
tableIds_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest result = new org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.subTxnId_ = subTxnId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.subTxnNum_ = subTxnNum_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasSubTxnId()) {
setSubTxnId(other.getSubTxnId());
}
if (other.hasSubTxnNum()) {
setSubTxnNum(other.getSubTxnNum());
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000020;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
subTxnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
subTxnNum_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 48
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 2;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
txnId_ = 0L;
onChanged();
return this;
}
private long subTxnId_ ;
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @return Whether the subTxnId field is set.
*/
@java.lang.Override
public boolean hasSubTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @return The subTxnId.
*/
@java.lang.Override
public long getSubTxnId() {
return subTxnId_;
}
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @param value The subTxnId to set.
* @return This builder for chaining.
*/
public Builder setSubTxnId(long value) {
subTxnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* used for log
* </pre>
*
* <code>optional int64 sub_txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSubTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
subTxnId_ = 0L;
onChanged();
return this;
}
private long subTxnNum_ ;
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @return Whether the subTxnNum field is set.
*/
@java.lang.Override
public boolean hasSubTxnNum() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @return The subTxnNum.
*/
@java.lang.Override
public long getSubTxnNum() {
return subTxnNum_;
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @param value The subTxnNum to set.
* @return This builder for chaining.
*/
public Builder setSubTxnNum(long value) {
subTxnNum_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <pre>
* all successful or failed sub txn except the first one
* </pre>
*
* <code>optional int64 sub_txn_num = 4;</code>
* @return This builder for chaining.
*/
public Builder clearSubTxnNum() {
bitField0_ = (bitField0_ & ~0x00000008);
subTxnNum_ = 0L;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 5;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 db_id = 5;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 5;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000010);
dbId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000020;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* set table_ids in txn_info
* </pre>
*
* <code>repeated int64 table_ids = 6;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AbortSubTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AbortSubTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AbortSubTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<AbortSubTxnRequest>() {
@java.lang.Override
public AbortSubTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AbortSubTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AbortSubTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AbortSubTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AbortSubTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
boolean hasTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo();
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AbortSubTxnResponse}
*/
public static final class AbortSubTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AbortSubTxnResponse)
AbortSubTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbortSubTxnResponse.newBuilder() to construct.
private AbortSubTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AbortSubTxnResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbortSubTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse.class, org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TXN_INFO_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
@java.lang.Override
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTxnInfo());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTxnInfo());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse other = (org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTxnInfo() != other.hasTxnInfo()) return false;
if (hasTxnInfo()) {
if (!getTxnInfo()
.equals(other.getTxnInfo())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTxnInfo()) {
hash = (37 * hash) + TXN_INFO_FIELD_NUMBER;
hash = (53 * hash) + getTxnInfo().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AbortSubTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AbortSubTxnResponse)
org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse.class, org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getTxnInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortSubTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse result = new org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.txnInfo_ = txnInfoBuilder_ == null
? txnInfo_
: txnInfoBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTxnInfo()) {
mergeTxnInfo(other.getTxnInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getTxnInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TxnInfoPB txnInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder> txnInfoBuilder_;
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return Whether the txnInfo field is set.
*/
public boolean hasTxnInfo() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
* @return The txnInfo.
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getTxnInfo() {
if (txnInfoBuilder_ == null) {
return txnInfo_ == null ? org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
} else {
return txnInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
txnInfo_ = value;
} else {
txnInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder setTxnInfo(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (txnInfoBuilder_ == null) {
txnInfo_ = builderForValue.build();
} else {
txnInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder mergeTxnInfo(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (txnInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
txnInfo_ != null &&
txnInfo_ != org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance()) {
getTxnInfoBuilder().mergeFrom(value);
} else {
txnInfo_ = value;
}
} else {
txnInfoBuilder_.mergeFrom(value);
}
if (txnInfo_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public Builder clearTxnInfo() {
bitField0_ = (bitField0_ & ~0x00000002);
txnInfo_ = null;
if (txnInfoBuilder_ != null) {
txnInfoBuilder_.dispose();
txnInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder getTxnInfoBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTxnInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getTxnInfoOrBuilder() {
if (txnInfoBuilder_ != null) {
return txnInfoBuilder_.getMessageOrBuilder();
} else {
return txnInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance() : txnInfo_;
}
}
/**
* <code>optional .doris.cloud.TxnInfoPB txn_info = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getTxnInfoFieldBuilder() {
if (txnInfoBuilder_ == null) {
txnInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>(
getTxnInfo(),
getParentForChildren(),
isClean());
txnInfo_ = null;
}
return txnInfoBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AbortSubTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AbortSubTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AbortSubTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<AbortSubTxnResponse>() {
@java.lang.Override
public AbortSubTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AbortSubTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AbortSubTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortSubTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCurrentMaxTxnRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetCurrentMaxTxnRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
}
/**
* Protobuf type {@code doris.cloud.GetCurrentMaxTxnRequest}
*/
public static final class GetCurrentMaxTxnRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetCurrentMaxTxnRequest)
GetCurrentMaxTxnRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCurrentMaxTxnRequest.newBuilder() to construct.
private GetCurrentMaxTxnRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetCurrentMaxTxnRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCurrentMaxTxnRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest.class, org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest other = (org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetCurrentMaxTxnRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetCurrentMaxTxnRequest)
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest.class, org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest build() {
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest result = new org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetCurrentMaxTxnRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetCurrentMaxTxnRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetCurrentMaxTxnRequest>
PARSER = new com.google.protobuf.AbstractParser<GetCurrentMaxTxnRequest>() {
@java.lang.Override
public GetCurrentMaxTxnRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetCurrentMaxTxnRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetCurrentMaxTxnRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCurrentMaxTxnResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetCurrentMaxTxnResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @return Whether the currentMaxTxnId field is set.
*/
boolean hasCurrentMaxTxnId();
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @return The currentMaxTxnId.
*/
long getCurrentMaxTxnId();
}
/**
* Protobuf type {@code doris.cloud.GetCurrentMaxTxnResponse}
*/
public static final class GetCurrentMaxTxnResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetCurrentMaxTxnResponse)
GetCurrentMaxTxnResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCurrentMaxTxnResponse.newBuilder() to construct.
private GetCurrentMaxTxnResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetCurrentMaxTxnResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCurrentMaxTxnResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse.class, org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int CURRENT_MAX_TXN_ID_FIELD_NUMBER = 2;
private long currentMaxTxnId_ = 0L;
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @return Whether the currentMaxTxnId field is set.
*/
@java.lang.Override
public boolean hasCurrentMaxTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @return The currentMaxTxnId.
*/
@java.lang.Override
public long getCurrentMaxTxnId() {
return currentMaxTxnId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, currentMaxTxnId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, currentMaxTxnId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse other = (org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasCurrentMaxTxnId() != other.hasCurrentMaxTxnId()) return false;
if (hasCurrentMaxTxnId()) {
if (getCurrentMaxTxnId()
!= other.getCurrentMaxTxnId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasCurrentMaxTxnId()) {
hash = (37 * hash) + CURRENT_MAX_TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCurrentMaxTxnId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetCurrentMaxTxnResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetCurrentMaxTxnResponse)
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse.class, org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
currentMaxTxnId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCurrentMaxTxnResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse build() {
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse result = new org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.currentMaxTxnId_ = currentMaxTxnId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasCurrentMaxTxnId()) {
setCurrentMaxTxnId(other.getCurrentMaxTxnId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
currentMaxTxnId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private long currentMaxTxnId_ ;
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @return Whether the currentMaxTxnId field is set.
*/
@java.lang.Override
public boolean hasCurrentMaxTxnId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @return The currentMaxTxnId.
*/
@java.lang.Override
public long getCurrentMaxTxnId() {
return currentMaxTxnId_;
}
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @param value The currentMaxTxnId to set.
* @return This builder for chaining.
*/
public Builder setCurrentMaxTxnId(long value) {
currentMaxTxnId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 current_max_txn_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCurrentMaxTxnId() {
bitField0_ = (bitField0_ & ~0x00000002);
currentMaxTxnId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetCurrentMaxTxnResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetCurrentMaxTxnResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetCurrentMaxTxnResponse>
PARSER = new com.google.protobuf.AbstractParser<GetCurrentMaxTxnResponse>() {
@java.lang.Override
public GetCurrentMaxTxnResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetCurrentMaxTxnResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetCurrentMaxTxnResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCurrentMaxTxnResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AbortTxnWithCoordinatorRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AbortTxnWithCoordinatorRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
boolean hasIp();
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
java.lang.String getIp();
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
com.google.protobuf.ByteString
getIpBytes();
/**
* <code>optional int64 id = 3;</code>
* @return Whether the id field is set.
*/
boolean hasId();
/**
* <code>optional int64 id = 3;</code>
* @return The id.
*/
long getId();
/**
* <code>optional int64 start_time = 4;</code>
* @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
* <code>optional int64 start_time = 4;</code>
* @return The startTime.
*/
long getStartTime();
}
/**
* Protobuf type {@code doris.cloud.AbortTxnWithCoordinatorRequest}
*/
public static final class AbortTxnWithCoordinatorRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AbortTxnWithCoordinatorRequest)
AbortTxnWithCoordinatorRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbortTxnWithCoordinatorRequest.newBuilder() to construct.
private AbortTxnWithCoordinatorRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AbortTxnWithCoordinatorRequest() {
cloudUniqueId_ = "";
ip_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbortTxnWithCoordinatorRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest.class, org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IP_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object ip_ = "";
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
@java.lang.Override
public boolean hasIp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
@java.lang.Override
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
}
}
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ID_FIELD_NUMBER = 3;
private long id_ = 0L;
/**
* <code>optional int64 id = 3;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 id = 3;</code>
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
public static final int START_TIME_FIELD_NUMBER = 4;
private long startTime_ = 0L;
/**
* <code>optional int64 start_time = 4;</code>
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 start_time = 4;</code>
* @return The startTime.
*/
@java.lang.Override
public long getStartTime() {
return startTime_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ip_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, id_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, startTime_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ip_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, id_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, startTime_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest other = (org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasIp() != other.hasIp()) return false;
if (hasIp()) {
if (!getIp()
.equals(other.getIp())) return false;
}
if (hasId() != other.hasId()) return false;
if (hasId()) {
if (getId()
!= other.getId()) return false;
}
if (hasStartTime() != other.hasStartTime()) return false;
if (hasStartTime()) {
if (getStartTime()
!= other.getStartTime()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasIp()) {
hash = (37 * hash) + IP_FIELD_NUMBER;
hash = (53 * hash) + getIp().hashCode();
}
if (hasId()) {
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getId());
}
if (hasStartTime()) {
hash = (37 * hash) + START_TIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTime());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AbortTxnWithCoordinatorRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AbortTxnWithCoordinatorRequest)
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest.class, org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
ip_ = "";
id_ = 0L;
startTime_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest build() {
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest result = new org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ip_ = ip_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.id_ = id_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.startTime_ = startTime_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasIp()) {
ip_ = other.ip_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasId()) {
setId(other.getId());
}
if (other.hasStartTime()) {
setStartTime(other.getStartTime());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ip_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
id_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
startTime_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object ip_ = "";
/**
* <code>optional string ip = 2;</code>
* @return Whether the ip field is set.
*/
public boolean hasIp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ip = 2;</code>
* @return The ip.
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ip_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ip = 2;</code>
* @return The bytes for ip.
*/
public com.google.protobuf.ByteString
getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ip = 2;</code>
* @param value The ip to set.
* @return This builder for chaining.
*/
public Builder setIp(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string ip = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIp() {
ip_ = getDefaultInstance().getIp();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string ip = 2;</code>
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
public Builder setIpBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ip_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long id_ ;
/**
* <code>optional int64 id = 3;</code>
* @return Whether the id field is set.
*/
@java.lang.Override
public boolean hasId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 id = 3;</code>
* @return The id.
*/
@java.lang.Override
public long getId() {
return id_;
}
/**
* <code>optional int64 id = 3;</code>
* @param value The id to set.
* @return This builder for chaining.
*/
public Builder setId(long value) {
id_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearId() {
bitField0_ = (bitField0_ & ~0x00000004);
id_ = 0L;
onChanged();
return this;
}
private long startTime_ ;
/**
* <code>optional int64 start_time = 4;</code>
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 start_time = 4;</code>
* @return The startTime.
*/
@java.lang.Override
public long getStartTime() {
return startTime_;
}
/**
* <code>optional int64 start_time = 4;</code>
* @param value The startTime to set.
* @return This builder for chaining.
*/
public Builder setStartTime(long value) {
startTime_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 start_time = 4;</code>
* @return This builder for chaining.
*/
public Builder clearStartTime() {
bitField0_ = (bitField0_ & ~0x00000008);
startTime_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AbortTxnWithCoordinatorRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AbortTxnWithCoordinatorRequest)
private static final org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AbortTxnWithCoordinatorRequest>
PARSER = new com.google.protobuf.AbstractParser<AbortTxnWithCoordinatorRequest>() {
@java.lang.Override
public AbortTxnWithCoordinatorRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AbortTxnWithCoordinatorRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AbortTxnWithCoordinatorRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AbortTxnWithCoordinatorResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AbortTxnWithCoordinatorResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AbortTxnWithCoordinatorResponse}
*/
public static final class AbortTxnWithCoordinatorResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AbortTxnWithCoordinatorResponse)
AbortTxnWithCoordinatorResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AbortTxnWithCoordinatorResponse.newBuilder() to construct.
private AbortTxnWithCoordinatorResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AbortTxnWithCoordinatorResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AbortTxnWithCoordinatorResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse.class, org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse other = (org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AbortTxnWithCoordinatorResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AbortTxnWithCoordinatorResponse)
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse.class, org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse build() {
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse result = new org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AbortTxnWithCoordinatorResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AbortTxnWithCoordinatorResponse)
private static final org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AbortTxnWithCoordinatorResponse>
PARSER = new com.google.protobuf.AbstractParser<AbortTxnWithCoordinatorResponse>() {
@java.lang.Override
public AbortTxnWithCoordinatorResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AbortTxnWithCoordinatorResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AbortTxnWithCoordinatorResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AbortTxnWithCoordinatorResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CheckTxnConflictRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CheckTxnConflictRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 end_txn_id = 3;</code>
* @return Whether the endTxnId field is set.
*/
boolean hasEndTxnId();
/**
* <code>optional int64 end_txn_id = 3;</code>
* @return The endTxnId.
*/
long getEndTxnId();
/**
* <code>repeated int64 table_ids = 4;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <code>repeated int64 table_ids = 4;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @return Whether the ignoreTimeoutTxn field is set.
*/
boolean hasIgnoreTimeoutTxn();
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @return The ignoreTimeoutTxn.
*/
boolean getIgnoreTimeoutTxn();
}
/**
* Protobuf type {@code doris.cloud.CheckTxnConflictRequest}
*/
public static final class CheckTxnConflictRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CheckTxnConflictRequest)
CheckTxnConflictRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckTxnConflictRequest.newBuilder() to construct.
private CheckTxnConflictRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckTxnConflictRequest() {
cloudUniqueId_ = "";
tableIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CheckTxnConflictRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest.class, org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int END_TXN_ID_FIELD_NUMBER = 3;
private long endTxnId_ = 0L;
/**
* <code>optional int64 end_txn_id = 3;</code>
* @return Whether the endTxnId field is set.
*/
@java.lang.Override
public boolean hasEndTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 end_txn_id = 3;</code>
* @return The endTxnId.
*/
@java.lang.Override
public long getEndTxnId() {
return endTxnId_;
}
public static final int TABLE_IDS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <code>repeated int64 table_ids = 4;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int IGNORE_TIMEOUT_TXN_FIELD_NUMBER = 5;
private boolean ignoreTimeoutTxn_ = false;
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @return Whether the ignoreTimeoutTxn field is set.
*/
@java.lang.Override
public boolean hasIgnoreTimeoutTxn() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @return The ignoreTimeoutTxn.
*/
@java.lang.Override
public boolean getIgnoreTimeoutTxn() {
return ignoreTimeoutTxn_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, endTxnId_);
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(4, tableIds_.getLong(i));
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(5, ignoreTimeoutTxn_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, endTxnId_);
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, ignoreTimeoutTxn_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest other = (org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasEndTxnId() != other.hasEndTxnId()) return false;
if (hasEndTxnId()) {
if (getEndTxnId()
!= other.getEndTxnId()) return false;
}
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (hasIgnoreTimeoutTxn() != other.hasIgnoreTimeoutTxn()) return false;
if (hasIgnoreTimeoutTxn()) {
if (getIgnoreTimeoutTxn()
!= other.getIgnoreTimeoutTxn()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasEndTxnId()) {
hash = (37 * hash) + END_TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndTxnId());
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (hasIgnoreTimeoutTxn()) {
hash = (37 * hash) + IGNORE_TIMEOUT_TXN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIgnoreTimeoutTxn());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CheckTxnConflictRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CheckTxnConflictRequest)
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest.class, org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
endTxnId_ = 0L;
tableIds_ = emptyLongList();
ignoreTimeoutTxn_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest build() {
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest result = new org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.endTxnId_ = endTxnId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.ignoreTimeoutTxn_ = ignoreTimeoutTxn_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasEndTxnId()) {
setEndTxnId(other.getEndTxnId());
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (other.hasIgnoreTimeoutTxn()) {
setIgnoreTimeoutTxn(other.getIgnoreTimeoutTxn());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
endTxnId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
ignoreTimeoutTxn_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long endTxnId_ ;
/**
* <code>optional int64 end_txn_id = 3;</code>
* @return Whether the endTxnId field is set.
*/
@java.lang.Override
public boolean hasEndTxnId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 end_txn_id = 3;</code>
* @return The endTxnId.
*/
@java.lang.Override
public long getEndTxnId() {
return endTxnId_;
}
/**
* <code>optional int64 end_txn_id = 3;</code>
* @param value The endTxnId to set.
* @return This builder for chaining.
*/
public Builder setEndTxnId(long value) {
endTxnId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 end_txn_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearEndTxnId() {
bitField0_ = (bitField0_ & ~0x00000004);
endTxnId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private boolean ignoreTimeoutTxn_ ;
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @return Whether the ignoreTimeoutTxn field is set.
*/
@java.lang.Override
public boolean hasIgnoreTimeoutTxn() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @return The ignoreTimeoutTxn.
*/
@java.lang.Override
public boolean getIgnoreTimeoutTxn() {
return ignoreTimeoutTxn_;
}
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @param value The ignoreTimeoutTxn to set.
* @return This builder for chaining.
*/
public Builder setIgnoreTimeoutTxn(boolean value) {
ignoreTimeoutTxn_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional bool ignore_timeout_txn = 5;</code>
* @return This builder for chaining.
*/
public Builder clearIgnoreTimeoutTxn() {
bitField0_ = (bitField0_ & ~0x00000010);
ignoreTimeoutTxn_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CheckTxnConflictRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CheckTxnConflictRequest)
private static final org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CheckTxnConflictRequest>
PARSER = new com.google.protobuf.AbstractParser<CheckTxnConflictRequest>() {
@java.lang.Override
public CheckTxnConflictRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CheckTxnConflictRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckTxnConflictRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CheckTxnConflictResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CheckTxnConflictResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional bool finished = 2;</code>
* @return Whether the finished field is set.
*/
boolean hasFinished();
/**
* <code>optional bool finished = 2;</code>
* @return The finished.
*/
boolean getFinished();
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TxnInfoPB>
getConflictTxnsList();
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPB getConflictTxns(int index);
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
int getConflictTxnsCount();
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getConflictTxnsOrBuilderList();
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getConflictTxnsOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.CheckTxnConflictResponse}
*/
public static final class CheckTxnConflictResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CheckTxnConflictResponse)
CheckTxnConflictResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckTxnConflictResponse.newBuilder() to construct.
private CheckTxnConflictResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckTxnConflictResponse() {
conflictTxns_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CheckTxnConflictResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse.class, org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int FINISHED_FIELD_NUMBER = 2;
private boolean finished_ = false;
/**
* <code>optional bool finished = 2;</code>
* @return Whether the finished field is set.
*/
@java.lang.Override
public boolean hasFinished() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional bool finished = 2;</code>
* @return The finished.
*/
@java.lang.Override
public boolean getFinished() {
return finished_;
}
public static final int CONFLICT_TXNS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.TxnInfoPB> conflictTxns_;
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TxnInfoPB> getConflictTxnsList() {
return conflictTxns_;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getConflictTxnsOrBuilderList() {
return conflictTxns_;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
@java.lang.Override
public int getConflictTxnsCount() {
return conflictTxns_.size();
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getConflictTxns(int index) {
return conflictTxns_.get(index);
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getConflictTxnsOrBuilder(
int index) {
return conflictTxns_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, finished_);
}
for (int i = 0; i < conflictTxns_.size(); i++) {
output.writeMessage(3, conflictTxns_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, finished_);
}
for (int i = 0; i < conflictTxns_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, conflictTxns_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse other = (org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasFinished() != other.hasFinished()) return false;
if (hasFinished()) {
if (getFinished()
!= other.getFinished()) return false;
}
if (!getConflictTxnsList()
.equals(other.getConflictTxnsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasFinished()) {
hash = (37 * hash) + FINISHED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getFinished());
}
if (getConflictTxnsCount() > 0) {
hash = (37 * hash) + CONFLICT_TXNS_FIELD_NUMBER;
hash = (53 * hash) + getConflictTxnsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CheckTxnConflictResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CheckTxnConflictResponse)
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse.class, org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getConflictTxnsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
finished_ = false;
if (conflictTxnsBuilder_ == null) {
conflictTxns_ = java.util.Collections.emptyList();
} else {
conflictTxns_ = null;
conflictTxnsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckTxnConflictResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse build() {
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse result = new org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse result) {
if (conflictTxnsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
conflictTxns_ = java.util.Collections.unmodifiableList(conflictTxns_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.conflictTxns_ = conflictTxns_;
} else {
result.conflictTxns_ = conflictTxnsBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.finished_ = finished_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasFinished()) {
setFinished(other.getFinished());
}
if (conflictTxnsBuilder_ == null) {
if (!other.conflictTxns_.isEmpty()) {
if (conflictTxns_.isEmpty()) {
conflictTxns_ = other.conflictTxns_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureConflictTxnsIsMutable();
conflictTxns_.addAll(other.conflictTxns_);
}
onChanged();
}
} else {
if (!other.conflictTxns_.isEmpty()) {
if (conflictTxnsBuilder_.isEmpty()) {
conflictTxnsBuilder_.dispose();
conflictTxnsBuilder_ = null;
conflictTxns_ = other.conflictTxns_;
bitField0_ = (bitField0_ & ~0x00000004);
conflictTxnsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getConflictTxnsFieldBuilder() : null;
} else {
conflictTxnsBuilder_.addAllMessages(other.conflictTxns_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
finished_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
org.apache.doris.cloud.proto.Cloud.TxnInfoPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.PARSER,
extensionRegistry);
if (conflictTxnsBuilder_ == null) {
ensureConflictTxnsIsMutable();
conflictTxns_.add(m);
} else {
conflictTxnsBuilder_.addMessage(m);
}
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private boolean finished_ ;
/**
* <code>optional bool finished = 2;</code>
* @return Whether the finished field is set.
*/
@java.lang.Override
public boolean hasFinished() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional bool finished = 2;</code>
* @return The finished.
*/
@java.lang.Override
public boolean getFinished() {
return finished_;
}
/**
* <code>optional bool finished = 2;</code>
* @param value The finished to set.
* @return This builder for chaining.
*/
public Builder setFinished(boolean value) {
finished_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional bool finished = 2;</code>
* @return This builder for chaining.
*/
public Builder clearFinished() {
bitField0_ = (bitField0_ & ~0x00000002);
finished_ = false;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.TxnInfoPB> conflictTxns_ =
java.util.Collections.emptyList();
private void ensureConflictTxnsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
conflictTxns_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.TxnInfoPB>(conflictTxns_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder> conflictTxnsBuilder_;
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TxnInfoPB> getConflictTxnsList() {
if (conflictTxnsBuilder_ == null) {
return java.util.Collections.unmodifiableList(conflictTxns_);
} else {
return conflictTxnsBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public int getConflictTxnsCount() {
if (conflictTxnsBuilder_ == null) {
return conflictTxns_.size();
} else {
return conflictTxnsBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB getConflictTxns(int index) {
if (conflictTxnsBuilder_ == null) {
return conflictTxns_.get(index);
} else {
return conflictTxnsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder setConflictTxns(
int index, org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (conflictTxnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConflictTxnsIsMutable();
conflictTxns_.set(index, value);
onChanged();
} else {
conflictTxnsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder setConflictTxns(
int index, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (conflictTxnsBuilder_ == null) {
ensureConflictTxnsIsMutable();
conflictTxns_.set(index, builderForValue.build());
onChanged();
} else {
conflictTxnsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder addConflictTxns(org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (conflictTxnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConflictTxnsIsMutable();
conflictTxns_.add(value);
onChanged();
} else {
conflictTxnsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder addConflictTxns(
int index, org.apache.doris.cloud.proto.Cloud.TxnInfoPB value) {
if (conflictTxnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureConflictTxnsIsMutable();
conflictTxns_.add(index, value);
onChanged();
} else {
conflictTxnsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder addConflictTxns(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (conflictTxnsBuilder_ == null) {
ensureConflictTxnsIsMutable();
conflictTxns_.add(builderForValue.build());
onChanged();
} else {
conflictTxnsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder addConflictTxns(
int index, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder builderForValue) {
if (conflictTxnsBuilder_ == null) {
ensureConflictTxnsIsMutable();
conflictTxns_.add(index, builderForValue.build());
onChanged();
} else {
conflictTxnsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder addAllConflictTxns(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TxnInfoPB> values) {
if (conflictTxnsBuilder_ == null) {
ensureConflictTxnsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, conflictTxns_);
onChanged();
} else {
conflictTxnsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder clearConflictTxns() {
if (conflictTxnsBuilder_ == null) {
conflictTxns_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
conflictTxnsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public Builder removeConflictTxns(int index) {
if (conflictTxnsBuilder_ == null) {
ensureConflictTxnsIsMutable();
conflictTxns_.remove(index);
onChanged();
} else {
conflictTxnsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder getConflictTxnsBuilder(
int index) {
return getConflictTxnsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder getConflictTxnsOrBuilder(
int index) {
if (conflictTxnsBuilder_ == null) {
return conflictTxns_.get(index); } else {
return conflictTxnsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getConflictTxnsOrBuilderList() {
if (conflictTxnsBuilder_ != null) {
return conflictTxnsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(conflictTxns_);
}
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder addConflictTxnsBuilder() {
return getConflictTxnsFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder addConflictTxnsBuilder(
int index) {
return getConflictTxnsFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TxnInfoPB conflict_txns = 3;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder>
getConflictTxnsBuilderList() {
return getConflictTxnsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>
getConflictTxnsFieldBuilder() {
if (conflictTxnsBuilder_ == null) {
conflictTxnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TxnInfoPB, org.apache.doris.cloud.proto.Cloud.TxnInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TxnInfoPBOrBuilder>(
conflictTxns_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
conflictTxns_ = null;
}
return conflictTxnsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CheckTxnConflictResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CheckTxnConflictResponse)
private static final org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CheckTxnConflictResponse>
PARSER = new com.google.protobuf.AbstractParser<CheckTxnConflictResponse>() {
@java.lang.Override
public CheckTxnConflictResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CheckTxnConflictResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckTxnConflictResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckTxnConflictResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CleanTxnLabelRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CleanTxnLabelRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>repeated string labels = 3;</code>
* @return A list containing the labels.
*/
java.util.List<java.lang.String>
getLabelsList();
/**
* <code>repeated string labels = 3;</code>
* @return The count of labels.
*/
int getLabelsCount();
/**
* <code>repeated string labels = 3;</code>
* @param index The index of the element to return.
* @return The labels at the given index.
*/
java.lang.String getLabels(int index);
/**
* <code>repeated string labels = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the labels at the given index.
*/
com.google.protobuf.ByteString
getLabelsBytes(int index);
}
/**
* Protobuf type {@code doris.cloud.CleanTxnLabelRequest}
*/
public static final class CleanTxnLabelRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CleanTxnLabelRequest)
CleanTxnLabelRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CleanTxnLabelRequest.newBuilder() to construct.
private CleanTxnLabelRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CleanTxnLabelRequest() {
cloudUniqueId_ = "";
labels_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CleanTxnLabelRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest.class, org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int LABELS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList labels_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string labels = 3;</code>
* @return A list containing the labels.
*/
public com.google.protobuf.ProtocolStringList
getLabelsList() {
return labels_;
}
/**
* <code>repeated string labels = 3;</code>
* @return The count of labels.
*/
public int getLabelsCount() {
return labels_.size();
}
/**
* <code>repeated string labels = 3;</code>
* @param index The index of the element to return.
* @return The labels at the given index.
*/
public java.lang.String getLabels(int index) {
return labels_.get(index);
}
/**
* <code>repeated string labels = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the labels at the given index.
*/
public com.google.protobuf.ByteString
getLabelsBytes(int index) {
return labels_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
for (int i = 0; i < labels_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, labels_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
{
int dataSize = 0;
for (int i = 0; i < labels_.size(); i++) {
dataSize += computeStringSizeNoTag(labels_.getRaw(i));
}
size += dataSize;
size += 1 * getLabelsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest other = (org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (!getLabelsList()
.equals(other.getLabelsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (getLabelsCount() > 0) {
hash = (37 * hash) + LABELS_FIELD_NUMBER;
hash = (53 * hash) + getLabelsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CleanTxnLabelRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CleanTxnLabelRequest)
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest.class, org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
labels_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest build() {
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest result = new org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
labels_.makeImmutable();
result.labels_ = labels_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (!other.labels_.isEmpty()) {
if (labels_.isEmpty()) {
labels_ = other.labels_;
bitField0_ |= 0x00000004;
} else {
ensureLabelsIsMutable();
labels_.addAll(other.labels_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureLabelsIsMutable();
labels_.add(bs);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList labels_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureLabelsIsMutable() {
if (!labels_.isModifiable()) {
labels_ = new com.google.protobuf.LazyStringArrayList(labels_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated string labels = 3;</code>
* @return A list containing the labels.
*/
public com.google.protobuf.ProtocolStringList
getLabelsList() {
labels_.makeImmutable();
return labels_;
}
/**
* <code>repeated string labels = 3;</code>
* @return The count of labels.
*/
public int getLabelsCount() {
return labels_.size();
}
/**
* <code>repeated string labels = 3;</code>
* @param index The index of the element to return.
* @return The labels at the given index.
*/
public java.lang.String getLabels(int index) {
return labels_.get(index);
}
/**
* <code>repeated string labels = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the labels at the given index.
*/
public com.google.protobuf.ByteString
getLabelsBytes(int index) {
return labels_.getByteString(index);
}
/**
* <code>repeated string labels = 3;</code>
* @param index The index to set the value at.
* @param value The labels to set.
* @return This builder for chaining.
*/
public Builder setLabels(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureLabelsIsMutable();
labels_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string labels = 3;</code>
* @param value The labels to add.
* @return This builder for chaining.
*/
public Builder addLabels(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureLabelsIsMutable();
labels_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string labels = 3;</code>
* @param values The labels to add.
* @return This builder for chaining.
*/
public Builder addAllLabels(
java.lang.Iterable<java.lang.String> values) {
ensureLabelsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, labels_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string labels = 3;</code>
* @return This builder for chaining.
*/
public Builder clearLabels() {
labels_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);;
onChanged();
return this;
}
/**
* <code>repeated string labels = 3;</code>
* @param value The bytes of the labels to add.
* @return This builder for chaining.
*/
public Builder addLabelsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureLabelsIsMutable();
labels_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CleanTxnLabelRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CleanTxnLabelRequest)
private static final org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CleanTxnLabelRequest>
PARSER = new com.google.protobuf.AbstractParser<CleanTxnLabelRequest>() {
@java.lang.Override
public CleanTxnLabelRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CleanTxnLabelRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CleanTxnLabelRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CleanTxnLabelResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CleanTxnLabelResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.CleanTxnLabelResponse}
*/
public static final class CleanTxnLabelResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CleanTxnLabelResponse)
CleanTxnLabelResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CleanTxnLabelResponse.newBuilder() to construct.
private CleanTxnLabelResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CleanTxnLabelResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CleanTxnLabelResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse.class, org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse other = (org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CleanTxnLabelResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CleanTxnLabelResponse)
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse.class, org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CleanTxnLabelResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse build() {
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse result = new org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CleanTxnLabelResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CleanTxnLabelResponse)
private static final org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CleanTxnLabelResponse>
PARSER = new com.google.protobuf.AbstractParser<CleanTxnLabelResponse>() {
@java.lang.Override
public CleanTxnLabelResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CleanTxnLabelResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CleanTxnLabelResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CleanTxnLabelResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetVersionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetVersionRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional int64 partition_id = 4;</code>
* @return Whether the partitionId field is set.
*/
boolean hasPartitionId();
/**
* <code>optional int64 partition_id = 4;</code>
* @return The partitionId.
*/
long getPartitionId();
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @return Whether the batchMode field is set.
*/
boolean hasBatchMode();
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @return The batchMode.
*/
boolean getBatchMode();
/**
* <code>repeated int64 db_ids = 6;</code>
* @return A list containing the dbIds.
*/
java.util.List<java.lang.Long> getDbIdsList();
/**
* <code>repeated int64 db_ids = 6;</code>
* @return The count of dbIds.
*/
int getDbIdsCount();
/**
* <code>repeated int64 db_ids = 6;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
long getDbIds(int index);
/**
* <code>repeated int64 table_ids = 7;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <code>repeated int64 table_ids = 7;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <code>repeated int64 table_ids = 7;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <code>repeated int64 partition_ids = 8;</code>
* @return A list containing the partitionIds.
*/
java.util.List<java.lang.Long> getPartitionIdsList();
/**
* <code>repeated int64 partition_ids = 8;</code>
* @return The count of partitionIds.
*/
int getPartitionIdsCount();
/**
* <code>repeated int64 partition_ids = 8;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
long getPartitionIds(int index);
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @return Whether the isTableVersion field is set.
*/
boolean hasIsTableVersion();
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @return The isTableVersion.
*/
boolean getIsTableVersion();
}
/**
* Protobuf type {@code doris.cloud.GetVersionRequest}
*/
public static final class GetVersionRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetVersionRequest)
GetVersionRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetVersionRequest.newBuilder() to construct.
private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetVersionRequest() {
cloudUniqueId_ = "";
dbIds_ = emptyLongList();
tableIds_ = emptyLongList();
partitionIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetVersionRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetVersionRequest.class, org.apache.doris.cloud.proto.Cloud.GetVersionRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int TABLE_ID_FIELD_NUMBER = 3;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int PARTITION_ID_FIELD_NUMBER = 4;
private long partitionId_ = 0L;
/**
* <code>optional int64 partition_id = 4;</code>
* @return Whether the partitionId field is set.
*/
@java.lang.Override
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 partition_id = 4;</code>
* @return The partitionId.
*/
@java.lang.Override
public long getPartitionId() {
return partitionId_;
}
public static final int BATCH_MODE_FIELD_NUMBER = 5;
private boolean batchMode_ = false;
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @return Whether the batchMode field is set.
*/
@java.lang.Override
public boolean hasBatchMode() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @return The batchMode.
*/
@java.lang.Override
public boolean getBatchMode() {
return batchMode_;
}
public static final int DB_IDS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList dbIds_ =
emptyLongList();
/**
* <code>repeated int64 db_ids = 6;</code>
* @return A list containing the dbIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getDbIdsList() {
return dbIds_;
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @return The count of dbIds.
*/
public int getDbIdsCount() {
return dbIds_.size();
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
public long getDbIds(int index) {
return dbIds_.getLong(index);
}
public static final int TABLE_IDS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <code>repeated int64 table_ids = 7;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int PARTITION_IDS_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList partitionIds_ =
emptyLongList();
/**
* <code>repeated int64 partition_ids = 8;</code>
* @return A list containing the partitionIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPartitionIdsList() {
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
public static final int IS_TABLE_VERSION_FIELD_NUMBER = 9;
private boolean isTableVersion_ = false;
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @return Whether the isTableVersion field is set.
*/
@java.lang.Override
public boolean hasIsTableVersion() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @return The isTableVersion.
*/
@java.lang.Override
public boolean getIsTableVersion() {
return isTableVersion_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, tableId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, partitionId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, batchMode_);
}
for (int i = 0; i < dbIds_.size(); i++) {
output.writeInt64(6, dbIds_.getLong(i));
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(7, tableIds_.getLong(i));
}
for (int i = 0; i < partitionIds_.size(); i++) {
output.writeInt64(8, partitionIds_.getLong(i));
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBool(9, isTableVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, tableId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, partitionId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, batchMode_);
}
{
int dataSize = 0;
for (int i = 0; i < dbIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(dbIds_.getLong(i));
}
size += dataSize;
size += 1 * getDbIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < partitionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(partitionIds_.getLong(i));
}
size += dataSize;
size += 1 * getPartitionIdsList().size();
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, isTableVersion_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetVersionRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetVersionRequest other = (org.apache.doris.cloud.proto.Cloud.GetVersionRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasPartitionId() != other.hasPartitionId()) return false;
if (hasPartitionId()) {
if (getPartitionId()
!= other.getPartitionId()) return false;
}
if (hasBatchMode() != other.hasBatchMode()) return false;
if (hasBatchMode()) {
if (getBatchMode()
!= other.getBatchMode()) return false;
}
if (!getDbIdsList()
.equals(other.getDbIdsList())) return false;
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (!getPartitionIdsList()
.equals(other.getPartitionIdsList())) return false;
if (hasIsTableVersion() != other.hasIsTableVersion()) return false;
if (hasIsTableVersion()) {
if (getIsTableVersion()
!= other.getIsTableVersion()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasPartitionId()) {
hash = (37 * hash) + PARTITION_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPartitionId());
}
if (hasBatchMode()) {
hash = (37 * hash) + BATCH_MODE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getBatchMode());
}
if (getDbIdsCount() > 0) {
hash = (37 * hash) + DB_IDS_FIELD_NUMBER;
hash = (53 * hash) + getDbIdsList().hashCode();
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (getPartitionIdsCount() > 0) {
hash = (37 * hash) + PARTITION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionIdsList().hashCode();
}
if (hasIsTableVersion()) {
hash = (37 * hash) + IS_TABLE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsTableVersion());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetVersionRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetVersionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetVersionRequest)
org.apache.doris.cloud.proto.Cloud.GetVersionRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetVersionRequest.class, org.apache.doris.cloud.proto.Cloud.GetVersionRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetVersionRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
tableId_ = 0L;
partitionId_ = 0L;
batchMode_ = false;
dbIds_ = emptyLongList();
tableIds_ = emptyLongList();
partitionIds_ = emptyLongList();
isTableVersion_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetVersionRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionRequest build() {
org.apache.doris.cloud.proto.Cloud.GetVersionRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetVersionRequest result = new org.apache.doris.cloud.proto.Cloud.GetVersionRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetVersionRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.partitionId_ = partitionId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.batchMode_ = batchMode_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
dbIds_.makeImmutable();
result.dbIds_ = dbIds_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
partitionIds_.makeImmutable();
result.partitionIds_ = partitionIds_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.isTableVersion_ = isTableVersion_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetVersionRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetVersionRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetVersionRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetVersionRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasPartitionId()) {
setPartitionId(other.getPartitionId());
}
if (other.hasBatchMode()) {
setBatchMode(other.getBatchMode());
}
if (!other.dbIds_.isEmpty()) {
if (dbIds_.isEmpty()) {
dbIds_ = other.dbIds_;
dbIds_.makeImmutable();
bitField0_ |= 0x00000020;
} else {
ensureDbIdsIsMutable();
dbIds_.addAll(other.dbIds_);
}
onChanged();
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000040;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (!other.partitionIds_.isEmpty()) {
if (partitionIds_.isEmpty()) {
partitionIds_ = other.partitionIds_;
partitionIds_.makeImmutable();
bitField0_ |= 0x00000080;
} else {
ensurePartitionIdsIsMutable();
partitionIds_.addAll(other.partitionIds_);
}
onChanged();
}
if (other.hasIsTableVersion()) {
setIsTableVersion(other.getIsTableVersion());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
partitionId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
batchMode_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
long v = input.readInt64();
ensureDbIdsIsMutable();
dbIds_.addLong(v);
break;
} // case 48
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureDbIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
dbIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 50
case 56: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 56
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 58
case 64: {
long v = input.readInt64();
ensurePartitionIdsIsMutable();
partitionIds_.addLong(v);
break;
} // case 64
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePartitionIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
partitionIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 66
case 72: {
isTableVersion_ = input.readBool();
bitField0_ |= 0x00000100;
break;
} // case 72
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 3;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000004);
tableId_ = 0L;
onChanged();
return this;
}
private long partitionId_ ;
/**
* <code>optional int64 partition_id = 4;</code>
* @return Whether the partitionId field is set.
*/
@java.lang.Override
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 partition_id = 4;</code>
* @return The partitionId.
*/
@java.lang.Override
public long getPartitionId() {
return partitionId_;
}
/**
* <code>optional int64 partition_id = 4;</code>
* @param value The partitionId to set.
* @return This builder for chaining.
*/
public Builder setPartitionId(long value) {
partitionId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 partition_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionId() {
bitField0_ = (bitField0_ & ~0x00000008);
partitionId_ = 0L;
onChanged();
return this;
}
private boolean batchMode_ ;
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @return Whether the batchMode field is set.
*/
@java.lang.Override
public boolean hasBatchMode() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @return The batchMode.
*/
@java.lang.Override
public boolean getBatchMode() {
return batchMode_;
}
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @param value The batchMode to set.
* @return This builder for chaining.
*/
public Builder setBatchMode(boolean value) {
batchMode_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* For batch get version.
* </pre>
*
* <code>optional bool batch_mode = 5;</code>
* @return This builder for chaining.
*/
public Builder clearBatchMode() {
bitField0_ = (bitField0_ & ~0x00000010);
batchMode_ = false;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList dbIds_ = emptyLongList();
private void ensureDbIdsIsMutable() {
if (!dbIds_.isModifiable()) {
dbIds_ = makeMutableCopy(dbIds_);
}
bitField0_ |= 0x00000020;
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @return A list containing the dbIds.
*/
public java.util.List<java.lang.Long>
getDbIdsList() {
dbIds_.makeImmutable();
return dbIds_;
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @return The count of dbIds.
*/
public int getDbIdsCount() {
return dbIds_.size();
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
public long getDbIds(int index) {
return dbIds_.getLong(index);
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @param index The index to set the value at.
* @param value The dbIds to set.
* @return This builder for chaining.
*/
public Builder setDbIds(
int index, long value) {
ensureDbIdsIsMutable();
dbIds_.setLong(index, value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @param value The dbIds to add.
* @return This builder for chaining.
*/
public Builder addDbIds(long value) {
ensureDbIdsIsMutable();
dbIds_.addLong(value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @param values The dbIds to add.
* @return This builder for chaining.
*/
public Builder addAllDbIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureDbIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dbIds_);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated int64 db_ids = 6;</code>
* @return This builder for chaining.
*/
public Builder clearDbIds() {
dbIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000040;
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 7;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIds_ = emptyLongList();
private void ensurePartitionIdsIsMutable() {
if (!partitionIds_.isModifiable()) {
partitionIds_ = makeMutableCopy(partitionIds_);
}
bitField0_ |= 0x00000080;
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @return A list containing the partitionIds.
*/
public java.util.List<java.lang.Long>
getPartitionIdsList() {
partitionIds_.makeImmutable();
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @param index The index to set the value at.
* @param value The partitionIds to set.
* @return This builder for chaining.
*/
public Builder setPartitionIds(
int index, long value) {
ensurePartitionIdsIsMutable();
partitionIds_.setLong(index, value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @param value The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addPartitionIds(long value) {
ensurePartitionIdsIsMutable();
partitionIds_.addLong(value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @param values The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePartitionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionIds_);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 8;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionIds() {
partitionIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
private boolean isTableVersion_ ;
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @return Whether the isTableVersion field is set.
*/
@java.lang.Override
public boolean hasIsTableVersion() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @return The isTableVersion.
*/
@java.lang.Override
public boolean getIsTableVersion() {
return isTableVersion_;
}
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @param value The isTableVersion to set.
* @return This builder for chaining.
*/
public Builder setIsTableVersion(boolean value) {
isTableVersion_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <pre>
* True if get table version
* </pre>
*
* <code>optional bool is_table_version = 9;</code>
* @return This builder for chaining.
*/
public Builder clearIsTableVersion() {
bitField0_ = (bitField0_ & ~0x00000100);
isTableVersion_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetVersionRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetVersionRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetVersionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetVersionRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetVersionRequest>
PARSER = new com.google.protobuf.AbstractParser<GetVersionRequest>() {
@java.lang.Override
public GetVersionRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetVersionRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetVersionRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetVersionResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetVersionResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional int64 version = 2;</code>
* @return Whether the version field is set.
*/
boolean hasVersion();
/**
* <code>optional int64 version = 2;</code>
* @return The version.
*/
long getVersion();
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @return A list containing the dbIds.
*/
java.util.List<java.lang.Long> getDbIdsList();
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @return The count of dbIds.
*/
int getDbIdsCount();
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
long getDbIds(int index);
/**
* <code>repeated int64 table_ids = 4;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <code>repeated int64 table_ids = 4;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <code>repeated int64 partition_ids = 5;</code>
* @return A list containing the partitionIds.
*/
java.util.List<java.lang.Long> getPartitionIdsList();
/**
* <code>repeated int64 partition_ids = 5;</code>
* @return The count of partitionIds.
*/
int getPartitionIdsCount();
/**
* <code>repeated int64 partition_ids = 5;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
long getPartitionIds(int index);
/**
* <code>repeated int64 versions = 6;</code>
* @return A list containing the versions.
*/
java.util.List<java.lang.Long> getVersionsList();
/**
* <code>repeated int64 versions = 6;</code>
* @return The count of versions.
*/
int getVersionsCount();
/**
* <code>repeated int64 versions = 6;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
long getVersions(int index);
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @return A list containing the versionUpdateTimeMs.
*/
java.util.List<java.lang.Long> getVersionUpdateTimeMsList();
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @return The count of versionUpdateTimeMs.
*/
int getVersionUpdateTimeMsCount();
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @param index The index of the element to return.
* @return The versionUpdateTimeMs at the given index.
*/
long getVersionUpdateTimeMs(int index);
}
/**
* Protobuf type {@code doris.cloud.GetVersionResponse}
*/
public static final class GetVersionResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetVersionResponse)
GetVersionResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetVersionResponse.newBuilder() to construct.
private GetVersionResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetVersionResponse() {
dbIds_ = emptyLongList();
tableIds_ = emptyLongList();
partitionIds_ = emptyLongList();
versions_ = emptyLongList();
versionUpdateTimeMs_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetVersionResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetVersionResponse.class, org.apache.doris.cloud.proto.Cloud.GetVersionResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int VERSION_FIELD_NUMBER = 2;
private long version_ = 0L;
/**
* <code>optional int64 version = 2;</code>
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 version = 2;</code>
* @return The version.
*/
@java.lang.Override
public long getVersion() {
return version_;
}
public static final int DB_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList dbIds_ =
emptyLongList();
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @return A list containing the dbIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getDbIdsList() {
return dbIds_;
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @return The count of dbIds.
*/
public int getDbIdsCount() {
return dbIds_.size();
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
public long getDbIds(int index) {
return dbIds_.getLong(index);
}
public static final int TABLE_IDS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <code>repeated int64 table_ids = 4;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int PARTITION_IDS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList partitionIds_ =
emptyLongList();
/**
* <code>repeated int64 partition_ids = 5;</code>
* @return A list containing the partitionIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPartitionIdsList() {
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
public static final int VERSIONS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList versions_ =
emptyLongList();
/**
* <code>repeated int64 versions = 6;</code>
* @return A list containing the versions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getVersionsList() {
return versions_;
}
/**
* <code>repeated int64 versions = 6;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 6;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
public static final int VERSION_UPDATE_TIME_MS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList versionUpdateTimeMs_ =
emptyLongList();
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @return A list containing the versionUpdateTimeMs.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getVersionUpdateTimeMsList() {
return versionUpdateTimeMs_;
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @return The count of versionUpdateTimeMs.
*/
public int getVersionUpdateTimeMsCount() {
return versionUpdateTimeMs_.size();
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @param index The index of the element to return.
* @return The versionUpdateTimeMs at the given index.
*/
public long getVersionUpdateTimeMs(int index) {
return versionUpdateTimeMs_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, version_);
}
for (int i = 0; i < dbIds_.size(); i++) {
output.writeInt64(3, dbIds_.getLong(i));
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(4, tableIds_.getLong(i));
}
for (int i = 0; i < partitionIds_.size(); i++) {
output.writeInt64(5, partitionIds_.getLong(i));
}
for (int i = 0; i < versions_.size(); i++) {
output.writeInt64(6, versions_.getLong(i));
}
for (int i = 0; i < versionUpdateTimeMs_.size(); i++) {
output.writeInt64(7, versionUpdateTimeMs_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, version_);
}
{
int dataSize = 0;
for (int i = 0; i < dbIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(dbIds_.getLong(i));
}
size += dataSize;
size += 1 * getDbIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < partitionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(partitionIds_.getLong(i));
}
size += dataSize;
size += 1 * getPartitionIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < versions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(versions_.getLong(i));
}
size += dataSize;
size += 1 * getVersionsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < versionUpdateTimeMs_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(versionUpdateTimeMs_.getLong(i));
}
size += dataSize;
size += 1 * getVersionUpdateTimeMsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetVersionResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetVersionResponse other = (org.apache.doris.cloud.proto.Cloud.GetVersionResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasVersion() != other.hasVersion()) return false;
if (hasVersion()) {
if (getVersion()
!= other.getVersion()) return false;
}
if (!getDbIdsList()
.equals(other.getDbIdsList())) return false;
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (!getPartitionIdsList()
.equals(other.getPartitionIdsList())) return false;
if (!getVersionsList()
.equals(other.getVersionsList())) return false;
if (!getVersionUpdateTimeMsList()
.equals(other.getVersionUpdateTimeMsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasVersion()) {
hash = (37 * hash) + VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getVersion());
}
if (getDbIdsCount() > 0) {
hash = (37 * hash) + DB_IDS_FIELD_NUMBER;
hash = (53 * hash) + getDbIdsList().hashCode();
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (getPartitionIdsCount() > 0) {
hash = (37 * hash) + PARTITION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionIdsList().hashCode();
}
if (getVersionsCount() > 0) {
hash = (37 * hash) + VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getVersionsList().hashCode();
}
if (getVersionUpdateTimeMsCount() > 0) {
hash = (37 * hash) + VERSION_UPDATE_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + getVersionUpdateTimeMsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetVersionResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetVersionResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetVersionResponse)
org.apache.doris.cloud.proto.Cloud.GetVersionResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetVersionResponse.class, org.apache.doris.cloud.proto.Cloud.GetVersionResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetVersionResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
version_ = 0L;
dbIds_ = emptyLongList();
tableIds_ = emptyLongList();
partitionIds_ = emptyLongList();
versions_ = emptyLongList();
versionUpdateTimeMs_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetVersionResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetVersionResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionResponse build() {
org.apache.doris.cloud.proto.Cloud.GetVersionResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetVersionResponse result = new org.apache.doris.cloud.proto.Cloud.GetVersionResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetVersionResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.version_ = version_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
dbIds_.makeImmutable();
result.dbIds_ = dbIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
partitionIds_.makeImmutable();
result.partitionIds_ = partitionIds_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
versions_.makeImmutable();
result.versions_ = versions_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
versionUpdateTimeMs_.makeImmutable();
result.versionUpdateTimeMs_ = versionUpdateTimeMs_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetVersionResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetVersionResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetVersionResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetVersionResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasVersion()) {
setVersion(other.getVersion());
}
if (!other.dbIds_.isEmpty()) {
if (dbIds_.isEmpty()) {
dbIds_ = other.dbIds_;
dbIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureDbIdsIsMutable();
dbIds_.addAll(other.dbIds_);
}
onChanged();
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (!other.partitionIds_.isEmpty()) {
if (partitionIds_.isEmpty()) {
partitionIds_ = other.partitionIds_;
partitionIds_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensurePartitionIdsIsMutable();
partitionIds_.addAll(other.partitionIds_);
}
onChanged();
}
if (!other.versions_.isEmpty()) {
if (versions_.isEmpty()) {
versions_ = other.versions_;
versions_.makeImmutable();
bitField0_ |= 0x00000020;
} else {
ensureVersionsIsMutable();
versions_.addAll(other.versions_);
}
onChanged();
}
if (!other.versionUpdateTimeMs_.isEmpty()) {
if (versionUpdateTimeMs_.isEmpty()) {
versionUpdateTimeMs_ = other.versionUpdateTimeMs_;
versionUpdateTimeMs_.makeImmutable();
bitField0_ |= 0x00000040;
} else {
ensureVersionUpdateTimeMsIsMutable();
versionUpdateTimeMs_.addAll(other.versionUpdateTimeMs_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
version_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
long v = input.readInt64();
ensureDbIdsIsMutable();
dbIds_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureDbIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
dbIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
long v = input.readInt64();
ensurePartitionIdsIsMutable();
partitionIds_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePartitionIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
partitionIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 42
case 48: {
long v = input.readInt64();
ensureVersionsIsMutable();
versions_.addLong(v);
break;
} // case 48
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
versions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 50
case 56: {
long v = input.readInt64();
ensureVersionUpdateTimeMsIsMutable();
versionUpdateTimeMs_.addLong(v);
break;
} // case 56
case 58: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureVersionUpdateTimeMsIsMutable();
while (input.getBytesUntilLimit() > 0) {
versionUpdateTimeMs_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private long version_ ;
/**
* <code>optional int64 version = 2;</code>
* @return Whether the version field is set.
*/
@java.lang.Override
public boolean hasVersion() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 version = 2;</code>
* @return The version.
*/
@java.lang.Override
public long getVersion() {
return version_;
}
/**
* <code>optional int64 version = 2;</code>
* @param value The version to set.
* @return This builder for chaining.
*/
public Builder setVersion(long value) {
version_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 version = 2;</code>
* @return This builder for chaining.
*/
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000002);
version_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList dbIds_ = emptyLongList();
private void ensureDbIdsIsMutable() {
if (!dbIds_.isModifiable()) {
dbIds_ = makeMutableCopy(dbIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @return A list containing the dbIds.
*/
public java.util.List<java.lang.Long>
getDbIdsList() {
dbIds_.makeImmutable();
return dbIds_;
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @return The count of dbIds.
*/
public int getDbIdsCount() {
return dbIds_.size();
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
public long getDbIds(int index) {
return dbIds_.getLong(index);
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @param index The index to set the value at.
* @param value The dbIds to set.
* @return This builder for chaining.
*/
public Builder setDbIds(
int index, long value) {
ensureDbIdsIsMutable();
dbIds_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @param value The dbIds to add.
* @return This builder for chaining.
*/
public Builder addDbIds(long value) {
ensureDbIdsIsMutable();
dbIds_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @param values The dbIds to add.
* @return This builder for chaining.
*/
public Builder addAllDbIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureDbIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dbIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* For batch get version.
* <db_id, table_id, partition_id> --> version
* </pre>
*
* <code>repeated int64 db_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearDbIds() {
dbIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIds_ = emptyLongList();
private void ensurePartitionIdsIsMutable() {
if (!partitionIds_.isModifiable()) {
partitionIds_ = makeMutableCopy(partitionIds_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @return A list containing the partitionIds.
*/
public java.util.List<java.lang.Long>
getPartitionIdsList() {
partitionIds_.makeImmutable();
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @param index The index to set the value at.
* @param value The partitionIds to set.
* @return This builder for chaining.
*/
public Builder setPartitionIds(
int index, long value) {
ensurePartitionIdsIsMutable();
partitionIds_.setLong(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @param value The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addPartitionIds(long value) {
ensurePartitionIdsIsMutable();
partitionIds_.addLong(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @param values The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePartitionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionIds_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 5;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionIds() {
partitionIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList versions_ = emptyLongList();
private void ensureVersionsIsMutable() {
if (!versions_.isModifiable()) {
versions_ = makeMutableCopy(versions_);
}
bitField0_ |= 0x00000020;
}
/**
* <code>repeated int64 versions = 6;</code>
* @return A list containing the versions.
*/
public java.util.List<java.lang.Long>
getVersionsList() {
versions_.makeImmutable();
return versions_;
}
/**
* <code>repeated int64 versions = 6;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 6;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
/**
* <code>repeated int64 versions = 6;</code>
* @param index The index to set the value at.
* @param value The versions to set.
* @return This builder for chaining.
*/
public Builder setVersions(
int index, long value) {
ensureVersionsIsMutable();
versions_.setLong(index, value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 6;</code>
* @param value The versions to add.
* @return This builder for chaining.
*/
public Builder addVersions(long value) {
ensureVersionsIsMutable();
versions_.addLong(value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 6;</code>
* @param values The versions to add.
* @return This builder for chaining.
*/
public Builder addAllVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, versions_);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 6;</code>
* @return This builder for chaining.
*/
public Builder clearVersions() {
versions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList versionUpdateTimeMs_ = emptyLongList();
private void ensureVersionUpdateTimeMsIsMutable() {
if (!versionUpdateTimeMs_.isModifiable()) {
versionUpdateTimeMs_ = makeMutableCopy(versionUpdateTimeMs_);
}
bitField0_ |= 0x00000040;
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @return A list containing the versionUpdateTimeMs.
*/
public java.util.List<java.lang.Long>
getVersionUpdateTimeMsList() {
versionUpdateTimeMs_.makeImmutable();
return versionUpdateTimeMs_;
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @return The count of versionUpdateTimeMs.
*/
public int getVersionUpdateTimeMsCount() {
return versionUpdateTimeMs_.size();
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @param index The index of the element to return.
* @return The versionUpdateTimeMs at the given index.
*/
public long getVersionUpdateTimeMs(int index) {
return versionUpdateTimeMs_.getLong(index);
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @param index The index to set the value at.
* @param value The versionUpdateTimeMs to set.
* @return This builder for chaining.
*/
public Builder setVersionUpdateTimeMs(
int index, long value) {
ensureVersionUpdateTimeMsIsMutable();
versionUpdateTimeMs_.setLong(index, value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @param value The versionUpdateTimeMs to add.
* @return This builder for chaining.
*/
public Builder addVersionUpdateTimeMs(long value) {
ensureVersionUpdateTimeMsIsMutable();
versionUpdateTimeMs_.addLong(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @param values The versionUpdateTimeMs to add.
* @return This builder for chaining.
*/
public Builder addAllVersionUpdateTimeMs(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureVersionUpdateTimeMsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, versionUpdateTimeMs_);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated int64 version_update_time_ms = 7;</code>
* @return This builder for chaining.
*/
public Builder clearVersionUpdateTimeMs() {
versionUpdateTimeMs_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetVersionResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetVersionResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetVersionResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetVersionResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetVersionResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetVersionResponse>
PARSER = new com.google.protobuf.AbstractParser<GetVersionResponse>() {
@java.lang.Override
public GetVersionResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetVersionResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetVersionResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetVersionResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetObjStoreInfoRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetObjStoreInfoRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
}
/**
* Protobuf type {@code doris.cloud.GetObjStoreInfoRequest}
*/
public static final class GetObjStoreInfoRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetObjStoreInfoRequest)
GetObjStoreInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetObjStoreInfoRequest.newBuilder() to construct.
private GetObjStoreInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetObjStoreInfoRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetObjStoreInfoRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest.class, org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest other = (org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetObjStoreInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetObjStoreInfoRequest)
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest.class, org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest build() {
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest result = new org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetObjStoreInfoRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetObjStoreInfoRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetObjStoreInfoRequest>
PARSER = new com.google.protobuf.AbstractParser<GetObjStoreInfoRequest>() {
@java.lang.Override
public GetObjStoreInfoRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetObjStoreInfoRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetObjStoreInfoRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterObjStoreInfoRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterObjStoreInfoRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
* @return Whether the obj field is set.
*/
boolean hasObj();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
* @return The obj.
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObj();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjOrBuilder();
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @return Whether the op field is set.
*/
boolean hasOp();
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @return The op.
*/
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation getOp();
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
* @return Whether the vault field is set.
*/
boolean hasVault();
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
* @return The vault.
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPB getVault();
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getVaultOrBuilder();
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @return Whether the setAsDefaultStorageVault field is set.
*/
boolean hasSetAsDefaultStorageVault();
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @return The setAsDefaultStorageVault.
*/
boolean getSetAsDefaultStorageVault();
}
/**
* Protobuf type {@code doris.cloud.AlterObjStoreInfoRequest}
*/
public static final class AlterObjStoreInfoRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterObjStoreInfoRequest)
AlterObjStoreInfoRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterObjStoreInfoRequest.newBuilder() to construct.
private AlterObjStoreInfoRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterObjStoreInfoRequest() {
cloudUniqueId_ = "";
op_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterObjStoreInfoRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.class, org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.AlterObjStoreInfoRequest.Operation}
*/
public enum Operation
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>UPDATE_AK_SK = 1;</code>
*/
UPDATE_AK_SK(1),
/**
* <code>ADD_OBJ_INFO = 2;</code>
*/
ADD_OBJ_INFO(2),
/**
* <code>LEGACY_UPDATE_AK_SK = 3;</code>
*/
LEGACY_UPDATE_AK_SK(3),
/**
* <code>ADD_HDFS_INFO = 100;</code>
*/
ADD_HDFS_INFO(100),
/**
* <code>DROP_HDFS_INFO = 101;</code>
*/
DROP_HDFS_INFO(101),
/**
* <code>ADD_BUILT_IN_VAULT = 102;</code>
*/
ADD_BUILT_IN_VAULT(102),
/**
* <code>ADD_S3_VAULT = 103;</code>
*/
ADD_S3_VAULT(103),
/**
* <code>DROP_S3_VAULT = 104;</code>
*/
DROP_S3_VAULT(104),
/**
* <code>ALTER_S3_VAULT = 105;</code>
*/
ALTER_S3_VAULT(105),
/**
* <code>ALTER_HDFS_VAULT = 106;</code>
*/
ALTER_HDFS_VAULT(106),
/**
* <code>SET_DEFAULT_VAULT = 200;</code>
*/
SET_DEFAULT_VAULT(200),
/**
* <code>UNSET_DEFAULT_VAULT = 201;</code>
*/
UNSET_DEFAULT_VAULT(201),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>UPDATE_AK_SK = 1;</code>
*/
public static final int UPDATE_AK_SK_VALUE = 1;
/**
* <code>ADD_OBJ_INFO = 2;</code>
*/
public static final int ADD_OBJ_INFO_VALUE = 2;
/**
* <code>LEGACY_UPDATE_AK_SK = 3;</code>
*/
public static final int LEGACY_UPDATE_AK_SK_VALUE = 3;
/**
* <code>ADD_HDFS_INFO = 100;</code>
*/
public static final int ADD_HDFS_INFO_VALUE = 100;
/**
* <code>DROP_HDFS_INFO = 101;</code>
*/
public static final int DROP_HDFS_INFO_VALUE = 101;
/**
* <code>ADD_BUILT_IN_VAULT = 102;</code>
*/
public static final int ADD_BUILT_IN_VAULT_VALUE = 102;
/**
* <code>ADD_S3_VAULT = 103;</code>
*/
public static final int ADD_S3_VAULT_VALUE = 103;
/**
* <code>DROP_S3_VAULT = 104;</code>
*/
public static final int DROP_S3_VAULT_VALUE = 104;
/**
* <code>ALTER_S3_VAULT = 105;</code>
*/
public static final int ALTER_S3_VAULT_VALUE = 105;
/**
* <code>ALTER_HDFS_VAULT = 106;</code>
*/
public static final int ALTER_HDFS_VAULT_VALUE = 106;
/**
* <code>SET_DEFAULT_VAULT = 200;</code>
*/
public static final int SET_DEFAULT_VAULT_VALUE = 200;
/**
* <code>UNSET_DEFAULT_VAULT = 201;</code>
*/
public static final int UNSET_DEFAULT_VAULT_VALUE = 201;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Operation valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Operation forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return UPDATE_AK_SK;
case 2: return ADD_OBJ_INFO;
case 3: return LEGACY_UPDATE_AK_SK;
case 100: return ADD_HDFS_INFO;
case 101: return DROP_HDFS_INFO;
case 102: return ADD_BUILT_IN_VAULT;
case 103: return ADD_S3_VAULT;
case 104: return DROP_S3_VAULT;
case 105: return ALTER_S3_VAULT;
case 106: return ALTER_HDFS_VAULT;
case 200: return SET_DEFAULT_VAULT;
case 201: return UNSET_DEFAULT_VAULT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Operation>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Operation> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Operation>() {
public Operation findValueByNumber(int number) {
return Operation.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.getDescriptor().getEnumTypes().get(0);
}
private static final Operation[] VALUES = values();
public static Operation valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Operation(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.AlterObjStoreInfoRequest.Operation)
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OBJ_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB obj_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
* @return Whether the obj field is set.
*/
@java.lang.Override
public boolean hasObj() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
* @return The obj.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObj() {
return obj_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : obj_;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjOrBuilder() {
return obj_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : obj_;
}
public static final int OP_FIELD_NUMBER = 3;
private int op_ = 0;
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @return The op.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation result = org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation.UNKNOWN : result;
}
public static final int VAULT_FIELD_NUMBER = 4;
private org.apache.doris.cloud.proto.Cloud.StorageVaultPB vault_;
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
* @return Whether the vault field is set.
*/
@java.lang.Override
public boolean hasVault() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
* @return The vault.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getVault() {
return vault_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getVaultOrBuilder() {
return vault_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
}
public static final int SET_AS_DEFAULT_STORAGE_VAULT_FIELD_NUMBER = 5;
private boolean setAsDefaultStorageVault_ = false;
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @return Whether the setAsDefaultStorageVault field is set.
*/
@java.lang.Override
public boolean hasSetAsDefaultStorageVault() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @return The setAsDefaultStorageVault.
*/
@java.lang.Override
public boolean getSetAsDefaultStorageVault() {
return setAsDefaultStorageVault_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasVault()) {
if (!getVault().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getObj());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(3, op_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getVault());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, setAsDefaultStorageVault_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getObj());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, op_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getVault());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, setAsDefaultStorageVault_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest other = (org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasObj() != other.hasObj()) return false;
if (hasObj()) {
if (!getObj()
.equals(other.getObj())) return false;
}
if (hasOp() != other.hasOp()) return false;
if (hasOp()) {
if (op_ != other.op_) return false;
}
if (hasVault() != other.hasVault()) return false;
if (hasVault()) {
if (!getVault()
.equals(other.getVault())) return false;
}
if (hasSetAsDefaultStorageVault() != other.hasSetAsDefaultStorageVault()) return false;
if (hasSetAsDefaultStorageVault()) {
if (getSetAsDefaultStorageVault()
!= other.getSetAsDefaultStorageVault()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasObj()) {
hash = (37 * hash) + OBJ_FIELD_NUMBER;
hash = (53 * hash) + getObj().hashCode();
}
if (hasOp()) {
hash = (37 * hash) + OP_FIELD_NUMBER;
hash = (53 * hash) + op_;
}
if (hasVault()) {
hash = (37 * hash) + VAULT_FIELD_NUMBER;
hash = (53 * hash) + getVault().hashCode();
}
if (hasSetAsDefaultStorageVault()) {
hash = (37 * hash) + SET_AS_DEFAULT_STORAGE_VAULT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSetAsDefaultStorageVault());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterObjStoreInfoRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterObjStoreInfoRequest)
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.class, org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getObjFieldBuilder();
getVaultFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
obj_ = null;
if (objBuilder_ != null) {
objBuilder_.dispose();
objBuilder_ = null;
}
op_ = 0;
vault_ = null;
if (vaultBuilder_ != null) {
vaultBuilder_.dispose();
vaultBuilder_ = null;
}
setAsDefaultStorageVault_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest build() {
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest result = new org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.obj_ = objBuilder_ == null
? obj_
: objBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.op_ = op_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.vault_ = vaultBuilder_ == null
? vault_
: vaultBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.setAsDefaultStorageVault_ = setAsDefaultStorageVault_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasObj()) {
mergeObj(other.getObj());
}
if (other.hasOp()) {
setOp(other.getOp());
}
if (other.hasVault()) {
mergeVault(other.getVault());
}
if (other.hasSetAsDefaultStorageVault()) {
setSetAsDefaultStorageVault(other.getSetAsDefaultStorageVault());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasVault()) {
if (!getVault().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getObjFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation tmpValue =
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
op_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
case 34: {
input.readMessage(
getVaultFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
setAsDefaultStorageVault_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB obj_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder> objBuilder_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
* @return Whether the obj field is set.
*/
public boolean hasObj() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
* @return The obj.
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObj() {
if (objBuilder_ == null) {
return obj_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : obj_;
} else {
return objBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
public Builder setObj(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
obj_ = value;
} else {
objBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
public Builder setObj(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objBuilder_ == null) {
obj_ = builderForValue.build();
} else {
objBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
public Builder mergeObj(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
obj_ != null &&
obj_ != org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance()) {
getObjBuilder().mergeFrom(value);
} else {
obj_ = value;
}
} else {
objBuilder_.mergeFrom(value);
}
if (obj_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
public Builder clearObj() {
bitField0_ = (bitField0_ & ~0x00000002);
obj_ = null;
if (objBuilder_ != null) {
objBuilder_.dispose();
objBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder getObjBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getObjFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjOrBuilder() {
if (objBuilder_ != null) {
return objBuilder_.getMessageOrBuilder();
} else {
return obj_ == null ?
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : obj_;
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjFieldBuilder() {
if (objBuilder_ == null) {
objBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>(
getObj(),
getParentForChildren(),
isClean());
obj_ = null;
}
return objBuilder_;
}
private int op_ = 0;
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @return The op.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation result = org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @param value The op to set.
* @return This builder for chaining.
*/
public Builder setOp(org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest.Operation value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
op_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.AlterObjStoreInfoRequest.Operation op = 3;</code>
* @return This builder for chaining.
*/
public Builder clearOp() {
bitField0_ = (bitField0_ & ~0x00000004);
op_ = 0;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.StorageVaultPB vault_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder> vaultBuilder_;
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
* @return Whether the vault field is set.
*/
public boolean hasVault() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
* @return The vault.
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getVault() {
if (vaultBuilder_ == null) {
return vault_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
} else {
return vaultBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
public Builder setVault(org.apache.doris.cloud.proto.Cloud.StorageVaultPB value) {
if (vaultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
vault_ = value;
} else {
vaultBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
public Builder setVault(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder builderForValue) {
if (vaultBuilder_ == null) {
vault_ = builderForValue.build();
} else {
vaultBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
public Builder mergeVault(org.apache.doris.cloud.proto.Cloud.StorageVaultPB value) {
if (vaultBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
vault_ != null &&
vault_ != org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance()) {
getVaultBuilder().mergeFrom(value);
} else {
vault_ = value;
}
} else {
vaultBuilder_.mergeFrom(value);
}
if (vault_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
public Builder clearVault() {
bitField0_ = (bitField0_ & ~0x00000008);
vault_ = null;
if (vaultBuilder_ != null) {
vaultBuilder_.dispose();
vaultBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder getVaultBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getVaultFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getVaultOrBuilder() {
if (vaultBuilder_ != null) {
return vaultBuilder_.getMessageOrBuilder();
} else {
return vault_ == null ?
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
}
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>
getVaultFieldBuilder() {
if (vaultBuilder_ == null) {
vaultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>(
getVault(),
getParentForChildren(),
isClean());
vault_ = null;
}
return vaultBuilder_;
}
private boolean setAsDefaultStorageVault_ ;
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @return Whether the setAsDefaultStorageVault field is set.
*/
@java.lang.Override
public boolean hasSetAsDefaultStorageVault() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @return The setAsDefaultStorageVault.
*/
@java.lang.Override
public boolean getSetAsDefaultStorageVault() {
return setAsDefaultStorageVault_;
}
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @param value The setAsDefaultStorageVault to set.
* @return This builder for chaining.
*/
public Builder setSetAsDefaultStorageVault(boolean value) {
setAsDefaultStorageVault_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional bool set_as_default_storage_vault = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSetAsDefaultStorageVault() {
bitField0_ = (bitField0_ & ~0x00000010);
setAsDefaultStorageVault_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterObjStoreInfoRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterObjStoreInfoRequest)
private static final org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterObjStoreInfoRequest>
PARSER = new com.google.protobuf.AbstractParser<AlterObjStoreInfoRequest>() {
@java.lang.Override
public AlterObjStoreInfoRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterObjStoreInfoRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterObjStoreInfoRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterObjStoreInfoResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterObjStoreInfoResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional string storage_vault_id = 2;</code>
* @return Whether the storageVaultId field is set.
*/
boolean hasStorageVaultId();
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The storageVaultId.
*/
java.lang.String getStorageVaultId();
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The bytes for storageVaultId.
*/
com.google.protobuf.ByteString
getStorageVaultIdBytes();
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @return Whether the defaultStorageVaultReplaced field is set.
*/
boolean hasDefaultStorageVaultReplaced();
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @return The defaultStorageVaultReplaced.
*/
boolean getDefaultStorageVaultReplaced();
}
/**
* Protobuf type {@code doris.cloud.AlterObjStoreInfoResponse}
*/
public static final class AlterObjStoreInfoResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterObjStoreInfoResponse)
AlterObjStoreInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterObjStoreInfoResponse.newBuilder() to construct.
private AlterObjStoreInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterObjStoreInfoResponse() {
storageVaultId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterObjStoreInfoResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse.class, org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int STORAGE_VAULT_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object storageVaultId_ = "";
/**
* <code>optional string storage_vault_id = 2;</code>
* @return Whether the storageVaultId field is set.
*/
@java.lang.Override
public boolean hasStorageVaultId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The storageVaultId.
*/
@java.lang.Override
public java.lang.String getStorageVaultId() {
java.lang.Object ref = storageVaultId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultId_ = s;
}
return s;
}
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The bytes for storageVaultId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStorageVaultIdBytes() {
java.lang.Object ref = storageVaultId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_STORAGE_VAULT_REPLACED_FIELD_NUMBER = 3;
private boolean defaultStorageVaultReplaced_ = false;
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @return Whether the defaultStorageVaultReplaced field is set.
*/
@java.lang.Override
public boolean hasDefaultStorageVaultReplaced() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @return The defaultStorageVaultReplaced.
*/
@java.lang.Override
public boolean getDefaultStorageVaultReplaced() {
return defaultStorageVaultReplaced_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, storageVaultId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, defaultStorageVaultReplaced_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, storageVaultId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, defaultStorageVaultReplaced_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse other = (org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasStorageVaultId() != other.hasStorageVaultId()) return false;
if (hasStorageVaultId()) {
if (!getStorageVaultId()
.equals(other.getStorageVaultId())) return false;
}
if (hasDefaultStorageVaultReplaced() != other.hasDefaultStorageVaultReplaced()) return false;
if (hasDefaultStorageVaultReplaced()) {
if (getDefaultStorageVaultReplaced()
!= other.getDefaultStorageVaultReplaced()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasStorageVaultId()) {
hash = (37 * hash) + STORAGE_VAULT_ID_FIELD_NUMBER;
hash = (53 * hash) + getStorageVaultId().hashCode();
}
if (hasDefaultStorageVaultReplaced()) {
hash = (37 * hash) + DEFAULT_STORAGE_VAULT_REPLACED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getDefaultStorageVaultReplaced());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterObjStoreInfoResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterObjStoreInfoResponse)
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse.class, org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
storageVaultId_ = "";
defaultStorageVaultReplaced_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterObjStoreInfoResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse build() {
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse result = new org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.storageVaultId_ = storageVaultId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.defaultStorageVaultReplaced_ = defaultStorageVaultReplaced_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasStorageVaultId()) {
storageVaultId_ = other.storageVaultId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasDefaultStorageVaultReplaced()) {
setDefaultStorageVaultReplaced(other.getDefaultStorageVaultReplaced());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
storageVaultId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
defaultStorageVaultReplaced_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.lang.Object storageVaultId_ = "";
/**
* <code>optional string storage_vault_id = 2;</code>
* @return Whether the storageVaultId field is set.
*/
public boolean hasStorageVaultId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The storageVaultId.
*/
public java.lang.String getStorageVaultId() {
java.lang.Object ref = storageVaultId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The bytes for storageVaultId.
*/
public com.google.protobuf.ByteString
getStorageVaultIdBytes() {
java.lang.Object ref = storageVaultId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @param value The storageVaultId to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
storageVaultId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStorageVaultId() {
storageVaultId_ = getDefaultInstance().getStorageVaultId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @param value The bytes for storageVaultId to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
storageVaultId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private boolean defaultStorageVaultReplaced_ ;
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @return Whether the defaultStorageVaultReplaced field is set.
*/
@java.lang.Override
public boolean hasDefaultStorageVaultReplaced() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @return The defaultStorageVaultReplaced.
*/
@java.lang.Override
public boolean getDefaultStorageVaultReplaced() {
return defaultStorageVaultReplaced_;
}
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @param value The defaultStorageVaultReplaced to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultReplaced(boolean value) {
defaultStorageVaultReplaced_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional bool default_storage_vault_replaced = 3;</code>
* @return This builder for chaining.
*/
public Builder clearDefaultStorageVaultReplaced() {
bitField0_ = (bitField0_ & ~0x00000004);
defaultStorageVaultReplaced_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterObjStoreInfoResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterObjStoreInfoResponse)
private static final org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterObjStoreInfoResponse>
PARSER = new com.google.protobuf.AbstractParser<AlterObjStoreInfoResponse>() {
@java.lang.Override
public AlterObjStoreInfoResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterObjStoreInfoResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterObjStoreInfoResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterObjStoreInfoResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateAkSkRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateAkSkRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.RamUserPB>
getInternalBucketUserList();
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getInternalBucketUser(int index);
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
int getInternalBucketUserCount();
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getInternalBucketUserOrBuilderList();
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getInternalBucketUserOrBuilder(
int index);
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return Whether the ramUser field is set.
*/
boolean hasRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return The ramUser.
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.UpdateAkSkRequest}
*/
public static final class UpdateAkSkRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateAkSkRequest)
UpdateAkSkRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateAkSkRequest.newBuilder() to construct.
private UpdateAkSkRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateAkSkRequest() {
instanceId_ = "";
internalBucketUser_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateAkSkRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INTERNAL_BUCKET_USER_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.RamUserPB> internalBucketUser_;
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.RamUserPB> getInternalBucketUserList() {
return internalBucketUser_;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getInternalBucketUserOrBuilderList() {
return internalBucketUser_;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
@java.lang.Override
public int getInternalBucketUserCount() {
return internalBucketUser_.size();
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getInternalBucketUser(int index) {
return internalBucketUser_.get(index);
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getInternalBucketUserOrBuilder(
int index) {
return internalBucketUser_.get(index);
}
public static final int RAM_USER_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return Whether the ramUser field is set.
*/
@java.lang.Override
public boolean hasRamUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return The ramUser.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
for (int i = 0; i < internalBucketUser_.size(); i++) {
output.writeMessage(2, internalBucketUser_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getRamUser());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
for (int i = 0; i < internalBucketUser_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, internalBucketUser_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRamUser());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest other = (org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (!getInternalBucketUserList()
.equals(other.getInternalBucketUserList())) return false;
if (hasRamUser() != other.hasRamUser()) return false;
if (hasRamUser()) {
if (!getRamUser()
.equals(other.getRamUser())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (getInternalBucketUserCount() > 0) {
hash = (37 * hash) + INTERNAL_BUCKET_USER_FIELD_NUMBER;
hash = (53 * hash) + getInternalBucketUserList().hashCode();
}
if (hasRamUser()) {
hash = (37 * hash) + RAM_USER_FIELD_NUMBER;
hash = (53 * hash) + getRamUser().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateAkSkRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateAkSkRequest)
org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getInternalBucketUserFieldBuilder();
getRamUserFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
if (internalBucketUserBuilder_ == null) {
internalBucketUser_ = java.util.Collections.emptyList();
} else {
internalBucketUser_ = null;
internalBucketUserBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest build() {
org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest result = new org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest result) {
if (internalBucketUserBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
internalBucketUser_ = java.util.Collections.unmodifiableList(internalBucketUser_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.internalBucketUser_ = internalBucketUser_;
} else {
result.internalBucketUser_ = internalBucketUserBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.ramUser_ = ramUserBuilder_ == null
? ramUser_
: ramUserBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (internalBucketUserBuilder_ == null) {
if (!other.internalBucketUser_.isEmpty()) {
if (internalBucketUser_.isEmpty()) {
internalBucketUser_ = other.internalBucketUser_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureInternalBucketUserIsMutable();
internalBucketUser_.addAll(other.internalBucketUser_);
}
onChanged();
}
} else {
if (!other.internalBucketUser_.isEmpty()) {
if (internalBucketUserBuilder_.isEmpty()) {
internalBucketUserBuilder_.dispose();
internalBucketUserBuilder_ = null;
internalBucketUser_ = other.internalBucketUser_;
bitField0_ = (bitField0_ & ~0x00000002);
internalBucketUserBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInternalBucketUserFieldBuilder() : null;
} else {
internalBucketUserBuilder_.addAllMessages(other.internalBucketUser_);
}
}
}
if (other.hasRamUser()) {
mergeRamUser(other.getRamUser());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.RamUserPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.RamUserPB.PARSER,
extensionRegistry);
if (internalBucketUserBuilder_ == null) {
ensureInternalBucketUserIsMutable();
internalBucketUser_.add(m);
} else {
internalBucketUserBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
input.readMessage(
getRamUserFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.RamUserPB> internalBucketUser_ =
java.util.Collections.emptyList();
private void ensureInternalBucketUserIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
internalBucketUser_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.RamUserPB>(internalBucketUser_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> internalBucketUserBuilder_;
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.RamUserPB> getInternalBucketUserList() {
if (internalBucketUserBuilder_ == null) {
return java.util.Collections.unmodifiableList(internalBucketUser_);
} else {
return internalBucketUserBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public int getInternalBucketUserCount() {
if (internalBucketUserBuilder_ == null) {
return internalBucketUser_.size();
} else {
return internalBucketUserBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getInternalBucketUser(int index) {
if (internalBucketUserBuilder_ == null) {
return internalBucketUser_.get(index);
} else {
return internalBucketUserBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder setInternalBucketUser(
int index, org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (internalBucketUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInternalBucketUserIsMutable();
internalBucketUser_.set(index, value);
onChanged();
} else {
internalBucketUserBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder setInternalBucketUser(
int index, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (internalBucketUserBuilder_ == null) {
ensureInternalBucketUserIsMutable();
internalBucketUser_.set(index, builderForValue.build());
onChanged();
} else {
internalBucketUserBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder addInternalBucketUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (internalBucketUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInternalBucketUserIsMutable();
internalBucketUser_.add(value);
onChanged();
} else {
internalBucketUserBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder addInternalBucketUser(
int index, org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (internalBucketUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureInternalBucketUserIsMutable();
internalBucketUser_.add(index, value);
onChanged();
} else {
internalBucketUserBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder addInternalBucketUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (internalBucketUserBuilder_ == null) {
ensureInternalBucketUserIsMutable();
internalBucketUser_.add(builderForValue.build());
onChanged();
} else {
internalBucketUserBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder addInternalBucketUser(
int index, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (internalBucketUserBuilder_ == null) {
ensureInternalBucketUserIsMutable();
internalBucketUser_.add(index, builderForValue.build());
onChanged();
} else {
internalBucketUserBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder addAllInternalBucketUser(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.RamUserPB> values) {
if (internalBucketUserBuilder_ == null) {
ensureInternalBucketUserIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, internalBucketUser_);
onChanged();
} else {
internalBucketUserBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder clearInternalBucketUser() {
if (internalBucketUserBuilder_ == null) {
internalBucketUser_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
internalBucketUserBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public Builder removeInternalBucketUser(int index) {
if (internalBucketUserBuilder_ == null) {
ensureInternalBucketUserIsMutable();
internalBucketUser_.remove(index);
onChanged();
} else {
internalBucketUserBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getInternalBucketUserBuilder(
int index) {
return getInternalBucketUserFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getInternalBucketUserOrBuilder(
int index) {
if (internalBucketUserBuilder_ == null) {
return internalBucketUser_.get(index); } else {
return internalBucketUserBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getInternalBucketUserOrBuilderList() {
if (internalBucketUserBuilder_ != null) {
return internalBucketUserBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(internalBucketUser_);
}
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder addInternalBucketUserBuilder() {
return getInternalBucketUserFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder addInternalBucketUserBuilder(
int index) {
return getInternalBucketUserFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.RamUserPB internal_bucket_user = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder>
getInternalBucketUserBuilderList() {
return getInternalBucketUserFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getInternalBucketUserFieldBuilder() {
if (internalBucketUserBuilder_ == null) {
internalBucketUserBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
internalBucketUser_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
internalBucketUser_ = null;
}
return internalBucketUserBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> ramUserBuilder_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return Whether the ramUser field is set.
*/
public boolean hasRamUser() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return The ramUser.
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
if (ramUserBuilder_ == null) {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
} else {
return ramUserBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder setRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ramUser_ = value;
} else {
ramUserBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder setRamUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (ramUserBuilder_ == null) {
ramUser_ = builderForValue.build();
} else {
ramUserBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder mergeRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
ramUser_ != null &&
ramUser_ != org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) {
getRamUserBuilder().mergeFrom(value);
} else {
ramUser_ = value;
}
} else {
ramUserBuilder_.mergeFrom(value);
}
if (ramUser_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder clearRamUser() {
bitField0_ = (bitField0_ & ~0x00000004);
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getRamUserBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getRamUserFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
if (ramUserBuilder_ != null) {
return ramUserBuilder_.getMessageOrBuilder();
} else {
return ramUser_ == null ?
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getRamUserFieldBuilder() {
if (ramUserBuilder_ == null) {
ramUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
getRamUser(),
getParentForChildren(),
isClean());
ramUser_ = null;
}
return ramUserBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateAkSkRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateAkSkRequest)
private static final org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateAkSkRequest>
PARSER = new com.google.protobuf.AbstractParser<UpdateAkSkRequest>() {
@java.lang.Override
public UpdateAkSkRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateAkSkRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateAkSkRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateAkSkResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateAkSkResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.UpdateAkSkResponse}
*/
public static final class UpdateAkSkResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateAkSkResponse)
UpdateAkSkResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateAkSkResponse.newBuilder() to construct.
private UpdateAkSkResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateAkSkResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateAkSkResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse other = (org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateAkSkResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateAkSkResponse)
org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateAkSkResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse build() {
org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse result = new org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateAkSkResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateAkSkResponse)
private static final org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateAkSkResponse>
PARSER = new com.google.protobuf.AbstractParser<UpdateAkSkResponse>() {
@java.lang.Override
public UpdateAkSkResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateAkSkResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateAkSkResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateAkSkResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetObjStoreInfoResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetObjStoreInfoResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB>
getObjInfoList();
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo(int index);
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
int getObjInfoCount();
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoOrBuilderList();
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder(
int index);
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.StorageVaultPB>
getStorageVaultList();
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPB getStorageVault(int index);
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
int getStorageVaultCount();
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>
getStorageVaultOrBuilderList();
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getStorageVaultOrBuilder(
int index);
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return Whether the defaultStorageVaultId field is set.
*/
boolean hasDefaultStorageVaultId();
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return The defaultStorageVaultId.
*/
java.lang.String getDefaultStorageVaultId();
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return The bytes for defaultStorageVaultId.
*/
com.google.protobuf.ByteString
getDefaultStorageVaultIdBytes();
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return Whether the defaultStorageVaultName field is set.
*/
boolean hasDefaultStorageVaultName();
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return The defaultStorageVaultName.
*/
java.lang.String getDefaultStorageVaultName();
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return The bytes for defaultStorageVaultName.
*/
com.google.protobuf.ByteString
getDefaultStorageVaultNameBytes();
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @return Whether the enableStorageVault field is set.
*/
boolean hasEnableStorageVault();
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @return The enableStorageVault.
*/
boolean getEnableStorageVault();
}
/**
* Protobuf type {@code doris.cloud.GetObjStoreInfoResponse}
*/
public static final class GetObjStoreInfoResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetObjStoreInfoResponse)
GetObjStoreInfoResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetObjStoreInfoResponse.newBuilder() to construct.
private GetObjStoreInfoResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetObjStoreInfoResponse() {
objInfo_ = java.util.Collections.emptyList();
storageVault_ = java.util.Collections.emptyList();
defaultStorageVaultId_ = "";
defaultStorageVaultName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetObjStoreInfoResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse.class, org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int OBJ_INFO_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> objInfo_;
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> getObjInfoList() {
return objInfo_;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoOrBuilderList() {
return objInfo_;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
@java.lang.Override
public int getObjInfoCount() {
return objInfo_.size();
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo(int index) {
return objInfo_.get(index);
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder(
int index) {
return objInfo_.get(index);
}
public static final int STORAGE_VAULT_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.StorageVaultPB> storageVault_;
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.StorageVaultPB> getStorageVaultList() {
return storageVault_;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>
getStorageVaultOrBuilderList() {
return storageVault_;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
@java.lang.Override
public int getStorageVaultCount() {
return storageVault_.size();
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getStorageVault(int index) {
return storageVault_.get(index);
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getStorageVaultOrBuilder(
int index) {
return storageVault_.get(index);
}
public static final int DEFAULT_STORAGE_VAULT_ID_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object defaultStorageVaultId_ = "";
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return Whether the defaultStorageVaultId field is set.
*/
@java.lang.Override
public boolean hasDefaultStorageVaultId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return The defaultStorageVaultId.
*/
@java.lang.Override
public java.lang.String getDefaultStorageVaultId() {
java.lang.Object ref = defaultStorageVaultId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultId_ = s;
}
return s;
}
}
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return The bytes for defaultStorageVaultId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultStorageVaultIdBytes() {
java.lang.Object ref = defaultStorageVaultId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_STORAGE_VAULT_NAME_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object defaultStorageVaultName_ = "";
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return Whether the defaultStorageVaultName field is set.
*/
@java.lang.Override
public boolean hasDefaultStorageVaultName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return The defaultStorageVaultName.
*/
@java.lang.Override
public java.lang.String getDefaultStorageVaultName() {
java.lang.Object ref = defaultStorageVaultName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultName_ = s;
}
return s;
}
}
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return The bytes for defaultStorageVaultName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDefaultStorageVaultNameBytes() {
java.lang.Object ref = defaultStorageVaultName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENABLE_STORAGE_VAULT_FIELD_NUMBER = 6;
private boolean enableStorageVault_ = false;
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @return Whether the enableStorageVault field is set.
*/
@java.lang.Override
public boolean hasEnableStorageVault() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @return The enableStorageVault.
*/
@java.lang.Override
public boolean getEnableStorageVault() {
return enableStorageVault_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getStorageVaultCount(); i++) {
if (!getStorageVault(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < objInfo_.size(); i++) {
output.writeMessage(2, objInfo_.get(i));
}
for (int i = 0; i < storageVault_.size(); i++) {
output.writeMessage(3, storageVault_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, defaultStorageVaultId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, defaultStorageVaultName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeBool(6, enableStorageVault_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < objInfo_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, objInfo_.get(i));
}
for (int i = 0; i < storageVault_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, storageVault_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, defaultStorageVaultId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, defaultStorageVaultName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, enableStorageVault_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse other = (org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getObjInfoList()
.equals(other.getObjInfoList())) return false;
if (!getStorageVaultList()
.equals(other.getStorageVaultList())) return false;
if (hasDefaultStorageVaultId() != other.hasDefaultStorageVaultId()) return false;
if (hasDefaultStorageVaultId()) {
if (!getDefaultStorageVaultId()
.equals(other.getDefaultStorageVaultId())) return false;
}
if (hasDefaultStorageVaultName() != other.hasDefaultStorageVaultName()) return false;
if (hasDefaultStorageVaultName()) {
if (!getDefaultStorageVaultName()
.equals(other.getDefaultStorageVaultName())) return false;
}
if (hasEnableStorageVault() != other.hasEnableStorageVault()) return false;
if (hasEnableStorageVault()) {
if (getEnableStorageVault()
!= other.getEnableStorageVault()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getObjInfoCount() > 0) {
hash = (37 * hash) + OBJ_INFO_FIELD_NUMBER;
hash = (53 * hash) + getObjInfoList().hashCode();
}
if (getStorageVaultCount() > 0) {
hash = (37 * hash) + STORAGE_VAULT_FIELD_NUMBER;
hash = (53 * hash) + getStorageVaultList().hashCode();
}
if (hasDefaultStorageVaultId()) {
hash = (37 * hash) + DEFAULT_STORAGE_VAULT_ID_FIELD_NUMBER;
hash = (53 * hash) + getDefaultStorageVaultId().hashCode();
}
if (hasDefaultStorageVaultName()) {
hash = (37 * hash) + DEFAULT_STORAGE_VAULT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDefaultStorageVaultName().hashCode();
}
if (hasEnableStorageVault()) {
hash = (37 * hash) + ENABLE_STORAGE_VAULT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableStorageVault());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetObjStoreInfoResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetObjStoreInfoResponse)
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse.class, org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getObjInfoFieldBuilder();
getStorageVaultFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (objInfoBuilder_ == null) {
objInfo_ = java.util.Collections.emptyList();
} else {
objInfo_ = null;
objInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (storageVaultBuilder_ == null) {
storageVault_ = java.util.Collections.emptyList();
} else {
storageVault_ = null;
storageVaultBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
defaultStorageVaultId_ = "";
defaultStorageVaultName_ = "";
enableStorageVault_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetObjStoreInfoResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse build() {
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse result = new org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse result) {
if (objInfoBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
objInfo_ = java.util.Collections.unmodifiableList(objInfo_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.objInfo_ = objInfo_;
} else {
result.objInfo_ = objInfoBuilder_.build();
}
if (storageVaultBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
storageVault_ = java.util.Collections.unmodifiableList(storageVault_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.storageVault_ = storageVault_;
} else {
result.storageVault_ = storageVaultBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.defaultStorageVaultId_ = defaultStorageVaultId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.defaultStorageVaultName_ = defaultStorageVaultName_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.enableStorageVault_ = enableStorageVault_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (objInfoBuilder_ == null) {
if (!other.objInfo_.isEmpty()) {
if (objInfo_.isEmpty()) {
objInfo_ = other.objInfo_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureObjInfoIsMutable();
objInfo_.addAll(other.objInfo_);
}
onChanged();
}
} else {
if (!other.objInfo_.isEmpty()) {
if (objInfoBuilder_.isEmpty()) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
objInfo_ = other.objInfo_;
bitField0_ = (bitField0_ & ~0x00000002);
objInfoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjInfoFieldBuilder() : null;
} else {
objInfoBuilder_.addAllMessages(other.objInfo_);
}
}
}
if (storageVaultBuilder_ == null) {
if (!other.storageVault_.isEmpty()) {
if (storageVault_.isEmpty()) {
storageVault_ = other.storageVault_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureStorageVaultIsMutable();
storageVault_.addAll(other.storageVault_);
}
onChanged();
}
} else {
if (!other.storageVault_.isEmpty()) {
if (storageVaultBuilder_.isEmpty()) {
storageVaultBuilder_.dispose();
storageVaultBuilder_ = null;
storageVault_ = other.storageVault_;
bitField0_ = (bitField0_ & ~0x00000004);
storageVaultBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStorageVaultFieldBuilder() : null;
} else {
storageVaultBuilder_.addAllMessages(other.storageVault_);
}
}
}
if (other.hasDefaultStorageVaultId()) {
defaultStorageVaultId_ = other.defaultStorageVaultId_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasDefaultStorageVaultName()) {
defaultStorageVaultName_ = other.defaultStorageVaultName_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasEnableStorageVault()) {
setEnableStorageVault(other.getEnableStorageVault());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
for (int i = 0; i < getStorageVaultCount(); i++) {
if (!getStorageVault(i).isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.PARSER,
extensionRegistry);
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.add(m);
} else {
objInfoBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
org.apache.doris.cloud.proto.Cloud.StorageVaultPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.PARSER,
extensionRegistry);
if (storageVaultBuilder_ == null) {
ensureStorageVaultIsMutable();
storageVault_.add(m);
} else {
storageVaultBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
defaultStorageVaultId_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
defaultStorageVaultName_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
enableStorageVault_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> objInfo_ =
java.util.Collections.emptyList();
private void ensureObjInfoIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
objInfo_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB>(objInfo_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder> objInfoBuilder_;
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> getObjInfoList() {
if (objInfoBuilder_ == null) {
return java.util.Collections.unmodifiableList(objInfo_);
} else {
return objInfoBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public int getObjInfoCount() {
if (objInfoBuilder_ == null) {
return objInfo_.size();
} else {
return objInfoBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo(int index) {
if (objInfoBuilder_ == null) {
return objInfo_.get(index);
} else {
return objInfoBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder setObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjInfoIsMutable();
objInfo_.set(index, value);
onChanged();
} else {
objInfoBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder setObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.set(index, builderForValue.build());
onChanged();
} else {
objInfoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder addObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjInfoIsMutable();
objInfo_.add(value);
onChanged();
} else {
objInfoBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder addObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjInfoIsMutable();
objInfo_.add(index, value);
onChanged();
} else {
objInfoBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder addObjInfo(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.add(builderForValue.build());
onChanged();
} else {
objInfoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder addObjInfo(
int index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.add(index, builderForValue.build());
onChanged();
} else {
objInfoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder addAllObjInfo(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB> values) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objInfo_);
onChanged();
} else {
objInfoBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder clearObjInfo() {
if (objInfoBuilder_ == null) {
objInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
objInfoBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public Builder removeObjInfo(int index) {
if (objInfoBuilder_ == null) {
ensureObjInfoIsMutable();
objInfo_.remove(index);
onChanged();
} else {
objInfoBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder getObjInfoBuilder(
int index) {
return getObjInfoFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder(
int index) {
if (objInfoBuilder_ == null) {
return objInfo_.get(index); } else {
return objInfoBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoOrBuilderList() {
if (objInfoBuilder_ != null) {
return objInfoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objInfo_);
}
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder addObjInfoBuilder() {
return getObjInfoFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder addObjInfoBuilder(
int index) {
return getObjInfoFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectStoreInfoPB obj_info = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder>
getObjInfoBuilderList() {
return getObjInfoFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoFieldBuilder() {
if (objInfoBuilder_ == null) {
objInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>(
objInfo_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
objInfo_ = null;
}
return objInfoBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.StorageVaultPB> storageVault_ =
java.util.Collections.emptyList();
private void ensureStorageVaultIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
storageVault_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.StorageVaultPB>(storageVault_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder> storageVaultBuilder_;
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.StorageVaultPB> getStorageVaultList() {
if (storageVaultBuilder_ == null) {
return java.util.Collections.unmodifiableList(storageVault_);
} else {
return storageVaultBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public int getStorageVaultCount() {
if (storageVaultBuilder_ == null) {
return storageVault_.size();
} else {
return storageVaultBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getStorageVault(int index) {
if (storageVaultBuilder_ == null) {
return storageVault_.get(index);
} else {
return storageVaultBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder setStorageVault(
int index, org.apache.doris.cloud.proto.Cloud.StorageVaultPB value) {
if (storageVaultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStorageVaultIsMutable();
storageVault_.set(index, value);
onChanged();
} else {
storageVaultBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder setStorageVault(
int index, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder builderForValue) {
if (storageVaultBuilder_ == null) {
ensureStorageVaultIsMutable();
storageVault_.set(index, builderForValue.build());
onChanged();
} else {
storageVaultBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder addStorageVault(org.apache.doris.cloud.proto.Cloud.StorageVaultPB value) {
if (storageVaultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStorageVaultIsMutable();
storageVault_.add(value);
onChanged();
} else {
storageVaultBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder addStorageVault(
int index, org.apache.doris.cloud.proto.Cloud.StorageVaultPB value) {
if (storageVaultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStorageVaultIsMutable();
storageVault_.add(index, value);
onChanged();
} else {
storageVaultBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder addStorageVault(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder builderForValue) {
if (storageVaultBuilder_ == null) {
ensureStorageVaultIsMutable();
storageVault_.add(builderForValue.build());
onChanged();
} else {
storageVaultBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder addStorageVault(
int index, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder builderForValue) {
if (storageVaultBuilder_ == null) {
ensureStorageVaultIsMutable();
storageVault_.add(index, builderForValue.build());
onChanged();
} else {
storageVaultBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder addAllStorageVault(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.StorageVaultPB> values) {
if (storageVaultBuilder_ == null) {
ensureStorageVaultIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, storageVault_);
onChanged();
} else {
storageVaultBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder clearStorageVault() {
if (storageVaultBuilder_ == null) {
storageVault_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
storageVaultBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public Builder removeStorageVault(int index) {
if (storageVaultBuilder_ == null) {
ensureStorageVaultIsMutable();
storageVault_.remove(index);
onChanged();
} else {
storageVaultBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder getStorageVaultBuilder(
int index) {
return getStorageVaultFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getStorageVaultOrBuilder(
int index) {
if (storageVaultBuilder_ == null) {
return storageVault_.get(index); } else {
return storageVaultBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>
getStorageVaultOrBuilderList() {
if (storageVaultBuilder_ != null) {
return storageVaultBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(storageVault_);
}
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder addStorageVaultBuilder() {
return getStorageVaultFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder addStorageVaultBuilder(
int index) {
return getStorageVaultFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.StorageVaultPB storage_vault = 3;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder>
getStorageVaultBuilderList() {
return getStorageVaultFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>
getStorageVaultFieldBuilder() {
if (storageVaultBuilder_ == null) {
storageVaultBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>(
storageVault_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
storageVault_ = null;
}
return storageVaultBuilder_;
}
private java.lang.Object defaultStorageVaultId_ = "";
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return Whether the defaultStorageVaultId field is set.
*/
public boolean hasDefaultStorageVaultId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return The defaultStorageVaultId.
*/
public java.lang.String getDefaultStorageVaultId() {
java.lang.Object ref = defaultStorageVaultId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return The bytes for defaultStorageVaultId.
*/
public com.google.protobuf.ByteString
getDefaultStorageVaultIdBytes() {
java.lang.Object ref = defaultStorageVaultId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @param value The defaultStorageVaultId to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDefaultStorageVaultId() {
defaultStorageVaultId_ = getDefaultInstance().getDefaultStorageVaultId();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_id = 4;</code>
* @param value The bytes for defaultStorageVaultId to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object defaultStorageVaultName_ = "";
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return Whether the defaultStorageVaultName field is set.
*/
public boolean hasDefaultStorageVaultName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return The defaultStorageVaultName.
*/
public java.lang.String getDefaultStorageVaultName() {
java.lang.Object ref = defaultStorageVaultName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
defaultStorageVaultName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return The bytes for defaultStorageVaultName.
*/
public com.google.protobuf.ByteString
getDefaultStorageVaultNameBytes() {
java.lang.Object ref = defaultStorageVaultName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultStorageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @param value The defaultStorageVaultName to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDefaultStorageVaultName() {
defaultStorageVaultName_ = getDefaultInstance().getDefaultStorageVaultName();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string default_storage_vault_name = 5;</code>
* @param value The bytes for defaultStorageVaultName to set.
* @return This builder for chaining.
*/
public Builder setDefaultStorageVaultNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
defaultStorageVaultName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private boolean enableStorageVault_ ;
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @return Whether the enableStorageVault field is set.
*/
@java.lang.Override
public boolean hasEnableStorageVault() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @return The enableStorageVault.
*/
@java.lang.Override
public boolean getEnableStorageVault() {
return enableStorageVault_;
}
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @param value The enableStorageVault to set.
* @return This builder for chaining.
*/
public Builder setEnableStorageVault(boolean value) {
enableStorageVault_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional bool enable_storage_vault = 6;</code>
* @return This builder for chaining.
*/
public Builder clearEnableStorageVault() {
bitField0_ = (bitField0_ & ~0x00000020);
enableStorageVault_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetObjStoreInfoResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetObjStoreInfoResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetObjStoreInfoResponse>
PARSER = new com.google.protobuf.AbstractParser<GetObjStoreInfoResponse>() {
@java.lang.Override
public GetObjStoreInfoResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetObjStoreInfoResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetObjStoreInfoResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetObjStoreInfoResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateTabletsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateTabletsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
java.util.List<org.apache.doris.proto.OlapFile.TabletMetaCloudPB>
getTabletMetasList();
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
org.apache.doris.proto.OlapFile.TabletMetaCloudPB getTabletMetas(int index);
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
int getTabletMetasCount();
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
java.util.List<? extends org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder>
getTabletMetasOrBuilderList();
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder getTabletMetasOrBuilder(
int index);
/**
* <code>optional string storage_vault_name = 3;</code>
* @return Whether the storageVaultName field is set.
*/
boolean hasStorageVaultName();
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The storageVaultName.
*/
java.lang.String getStorageVaultName();
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The bytes for storageVaultName.
*/
com.google.protobuf.ByteString
getStorageVaultNameBytes();
/**
* <code>optional int64 db_id = 4;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 4;</code>
* @return The dbId.
*/
long getDbId();
}
/**
* Protobuf type {@code doris.cloud.CreateTabletsRequest}
*/
public static final class CreateTabletsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateTabletsRequest)
CreateTabletsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateTabletsRequest.newBuilder() to construct.
private CreateTabletsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateTabletsRequest() {
cloudUniqueId_ = "";
tabletMetas_ = java.util.Collections.emptyList();
storageVaultName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateTabletsRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest.class, org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_METAS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.proto.OlapFile.TabletMetaCloudPB> tabletMetas_;
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.proto.OlapFile.TabletMetaCloudPB> getTabletMetasList() {
return tabletMetas_;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder>
getTabletMetasOrBuilderList() {
return tabletMetas_;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
@java.lang.Override
public int getTabletMetasCount() {
return tabletMetas_.size();
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB getTabletMetas(int index) {
return tabletMetas_.get(index);
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder getTabletMetasOrBuilder(
int index) {
return tabletMetas_.get(index);
}
public static final int STORAGE_VAULT_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object storageVaultName_ = "";
/**
* <code>optional string storage_vault_name = 3;</code>
* @return Whether the storageVaultName field is set.
*/
@java.lang.Override
public boolean hasStorageVaultName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The storageVaultName.
*/
@java.lang.Override
public java.lang.String getStorageVaultName() {
java.lang.Object ref = storageVaultName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultName_ = s;
}
return s;
}
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The bytes for storageVaultName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStorageVaultNameBytes() {
java.lang.Object ref = storageVaultName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 4;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 4;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 db_id = 4;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getTabletMetasCount(); i++) {
if (!getTabletMetas(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
for (int i = 0; i < tabletMetas_.size(); i++) {
output.writeMessage(2, tabletMetas_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, storageVaultName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(4, dbId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
for (int i = 0; i < tabletMetas_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, tabletMetas_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, storageVaultName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, dbId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest other = (org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getTabletMetasList()
.equals(other.getTabletMetasList())) return false;
if (hasStorageVaultName() != other.hasStorageVaultName()) return false;
if (hasStorageVaultName()) {
if (!getStorageVaultName()
.equals(other.getStorageVaultName())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (getTabletMetasCount() > 0) {
hash = (37 * hash) + TABLET_METAS_FIELD_NUMBER;
hash = (53 * hash) + getTabletMetasList().hashCode();
}
if (hasStorageVaultName()) {
hash = (37 * hash) + STORAGE_VAULT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getStorageVaultName().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateTabletsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateTabletsRequest)
org.apache.doris.cloud.proto.Cloud.CreateTabletsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest.class, org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
if (tabletMetasBuilder_ == null) {
tabletMetas_ = java.util.Collections.emptyList();
} else {
tabletMetas_ = null;
tabletMetasBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
storageVaultName_ = "";
dbId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest build() {
org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest result = new org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest result) {
if (tabletMetasBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
tabletMetas_ = java.util.Collections.unmodifiableList(tabletMetas_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tabletMetas_ = tabletMetas_;
} else {
result.tabletMetas_ = tabletMetasBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.storageVaultName_ = storageVaultName_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (tabletMetasBuilder_ == null) {
if (!other.tabletMetas_.isEmpty()) {
if (tabletMetas_.isEmpty()) {
tabletMetas_ = other.tabletMetas_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTabletMetasIsMutable();
tabletMetas_.addAll(other.tabletMetas_);
}
onChanged();
}
} else {
if (!other.tabletMetas_.isEmpty()) {
if (tabletMetasBuilder_.isEmpty()) {
tabletMetasBuilder_.dispose();
tabletMetasBuilder_ = null;
tabletMetas_ = other.tabletMetas_;
bitField0_ = (bitField0_ & ~0x00000002);
tabletMetasBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTabletMetasFieldBuilder() : null;
} else {
tabletMetasBuilder_.addAllMessages(other.tabletMetas_);
}
}
}
if (other.hasStorageVaultName()) {
storageVaultName_ = other.storageVaultName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
for (int i = 0; i < getTabletMetasCount(); i++) {
if (!getTabletMetas(i).isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.proto.OlapFile.TabletMetaCloudPB m =
input.readMessage(
org.apache.doris.proto.OlapFile.TabletMetaCloudPB.PARSER,
extensionRegistry);
if (tabletMetasBuilder_ == null) {
ensureTabletMetasIsMutable();
tabletMetas_.add(m);
} else {
tabletMetasBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
storageVaultName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List<org.apache.doris.proto.OlapFile.TabletMetaCloudPB> tabletMetas_ =
java.util.Collections.emptyList();
private void ensureTabletMetasIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
tabletMetas_ = new java.util.ArrayList<org.apache.doris.proto.OlapFile.TabletMetaCloudPB>(tabletMetas_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletMetaCloudPB, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder> tabletMetasBuilder_;
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public java.util.List<org.apache.doris.proto.OlapFile.TabletMetaCloudPB> getTabletMetasList() {
if (tabletMetasBuilder_ == null) {
return java.util.Collections.unmodifiableList(tabletMetas_);
} else {
return tabletMetasBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public int getTabletMetasCount() {
if (tabletMetasBuilder_ == null) {
return tabletMetas_.size();
} else {
return tabletMetasBuilder_.getCount();
}
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB getTabletMetas(int index) {
if (tabletMetasBuilder_ == null) {
return tabletMetas_.get(index);
} else {
return tabletMetasBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder setTabletMetas(
int index, org.apache.doris.proto.OlapFile.TabletMetaCloudPB value) {
if (tabletMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletMetasIsMutable();
tabletMetas_.set(index, value);
onChanged();
} else {
tabletMetasBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder setTabletMetas(
int index, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder builderForValue) {
if (tabletMetasBuilder_ == null) {
ensureTabletMetasIsMutable();
tabletMetas_.set(index, builderForValue.build());
onChanged();
} else {
tabletMetasBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder addTabletMetas(org.apache.doris.proto.OlapFile.TabletMetaCloudPB value) {
if (tabletMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletMetasIsMutable();
tabletMetas_.add(value);
onChanged();
} else {
tabletMetasBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder addTabletMetas(
int index, org.apache.doris.proto.OlapFile.TabletMetaCloudPB value) {
if (tabletMetasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletMetasIsMutable();
tabletMetas_.add(index, value);
onChanged();
} else {
tabletMetasBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder addTabletMetas(
org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder builderForValue) {
if (tabletMetasBuilder_ == null) {
ensureTabletMetasIsMutable();
tabletMetas_.add(builderForValue.build());
onChanged();
} else {
tabletMetasBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder addTabletMetas(
int index, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder builderForValue) {
if (tabletMetasBuilder_ == null) {
ensureTabletMetasIsMutable();
tabletMetas_.add(index, builderForValue.build());
onChanged();
} else {
tabletMetasBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder addAllTabletMetas(
java.lang.Iterable<? extends org.apache.doris.proto.OlapFile.TabletMetaCloudPB> values) {
if (tabletMetasBuilder_ == null) {
ensureTabletMetasIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tabletMetas_);
onChanged();
} else {
tabletMetasBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder clearTabletMetas() {
if (tabletMetasBuilder_ == null) {
tabletMetas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
tabletMetasBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public Builder removeTabletMetas(int index) {
if (tabletMetasBuilder_ == null) {
ensureTabletMetasIsMutable();
tabletMetas_.remove(index);
onChanged();
} else {
tabletMetasBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder getTabletMetasBuilder(
int index) {
return getTabletMetasFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder getTabletMetasOrBuilder(
int index) {
if (tabletMetasBuilder_ == null) {
return tabletMetas_.get(index); } else {
return tabletMetasBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public java.util.List<? extends org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder>
getTabletMetasOrBuilderList() {
if (tabletMetasBuilder_ != null) {
return tabletMetasBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tabletMetas_);
}
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder addTabletMetasBuilder() {
return getTabletMetasFieldBuilder().addBuilder(
org.apache.doris.proto.OlapFile.TabletMetaCloudPB.getDefaultInstance());
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder addTabletMetasBuilder(
int index) {
return getTabletMetasFieldBuilder().addBuilder(
index, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.getDefaultInstance());
}
/**
* <code>repeated .doris.TabletMetaCloudPB tablet_metas = 2;</code>
*/
public java.util.List<org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder>
getTabletMetasBuilderList() {
return getTabletMetasFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletMetaCloudPB, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder>
getTabletMetasFieldBuilder() {
if (tabletMetasBuilder_ == null) {
tabletMetasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletMetaCloudPB, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder>(
tabletMetas_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
tabletMetas_ = null;
}
return tabletMetasBuilder_;
}
private java.lang.Object storageVaultName_ = "";
/**
* <code>optional string storage_vault_name = 3;</code>
* @return Whether the storageVaultName field is set.
*/
public boolean hasStorageVaultName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The storageVaultName.
*/
public java.lang.String getStorageVaultName() {
java.lang.Object ref = storageVaultName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The bytes for storageVaultName.
*/
public com.google.protobuf.ByteString
getStorageVaultNameBytes() {
java.lang.Object ref = storageVaultName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @param value The storageVaultName to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
storageVaultName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearStorageVaultName() {
storageVaultName_ = getDefaultInstance().getStorageVaultName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @param value The bytes for storageVaultName to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
storageVaultName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 4;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 db_id = 4;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 4;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000008);
dbId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateTabletsRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateTabletsRequest)
private static final org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateTabletsRequest>
PARSER = new com.google.protobuf.AbstractParser<CreateTabletsRequest>() {
@java.lang.Override
public CreateTabletsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateTabletsRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateTabletsRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateTabletsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateTabletsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional string storage_vault_id = 2;</code>
* @return Whether the storageVaultId field is set.
*/
boolean hasStorageVaultId();
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The storageVaultId.
*/
java.lang.String getStorageVaultId();
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The bytes for storageVaultId.
*/
com.google.protobuf.ByteString
getStorageVaultIdBytes();
/**
* <code>optional string storage_vault_name = 3;</code>
* @return Whether the storageVaultName field is set.
*/
boolean hasStorageVaultName();
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The storageVaultName.
*/
java.lang.String getStorageVaultName();
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The bytes for storageVaultName.
*/
com.google.protobuf.ByteString
getStorageVaultNameBytes();
}
/**
* Protobuf type {@code doris.cloud.CreateTabletsResponse}
*/
public static final class CreateTabletsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateTabletsResponse)
CreateTabletsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateTabletsResponse.newBuilder() to construct.
private CreateTabletsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateTabletsResponse() {
storageVaultId_ = "";
storageVaultName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateTabletsResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse.class, org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int STORAGE_VAULT_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object storageVaultId_ = "";
/**
* <code>optional string storage_vault_id = 2;</code>
* @return Whether the storageVaultId field is set.
*/
@java.lang.Override
public boolean hasStorageVaultId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The storageVaultId.
*/
@java.lang.Override
public java.lang.String getStorageVaultId() {
java.lang.Object ref = storageVaultId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultId_ = s;
}
return s;
}
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The bytes for storageVaultId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStorageVaultIdBytes() {
java.lang.Object ref = storageVaultId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STORAGE_VAULT_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object storageVaultName_ = "";
/**
* <code>optional string storage_vault_name = 3;</code>
* @return Whether the storageVaultName field is set.
*/
@java.lang.Override
public boolean hasStorageVaultName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The storageVaultName.
*/
@java.lang.Override
public java.lang.String getStorageVaultName() {
java.lang.Object ref = storageVaultName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultName_ = s;
}
return s;
}
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The bytes for storageVaultName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStorageVaultNameBytes() {
java.lang.Object ref = storageVaultName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, storageVaultId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, storageVaultName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, storageVaultId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, storageVaultName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse other = (org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasStorageVaultId() != other.hasStorageVaultId()) return false;
if (hasStorageVaultId()) {
if (!getStorageVaultId()
.equals(other.getStorageVaultId())) return false;
}
if (hasStorageVaultName() != other.hasStorageVaultName()) return false;
if (hasStorageVaultName()) {
if (!getStorageVaultName()
.equals(other.getStorageVaultName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasStorageVaultId()) {
hash = (37 * hash) + STORAGE_VAULT_ID_FIELD_NUMBER;
hash = (53 * hash) + getStorageVaultId().hashCode();
}
if (hasStorageVaultName()) {
hash = (37 * hash) + STORAGE_VAULT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getStorageVaultName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateTabletsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateTabletsResponse)
org.apache.doris.cloud.proto.Cloud.CreateTabletsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse.class, org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
storageVaultId_ = "";
storageVaultName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateTabletsResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse build() {
org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse result = new org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.storageVaultId_ = storageVaultId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.storageVaultName_ = storageVaultName_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasStorageVaultId()) {
storageVaultId_ = other.storageVaultId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasStorageVaultName()) {
storageVaultName_ = other.storageVaultName_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
storageVaultId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
storageVaultName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.lang.Object storageVaultId_ = "";
/**
* <code>optional string storage_vault_id = 2;</code>
* @return Whether the storageVaultId field is set.
*/
public boolean hasStorageVaultId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The storageVaultId.
*/
public java.lang.String getStorageVaultId() {
java.lang.Object ref = storageVaultId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return The bytes for storageVaultId.
*/
public com.google.protobuf.ByteString
getStorageVaultIdBytes() {
java.lang.Object ref = storageVaultId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @param value The storageVaultId to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
storageVaultId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStorageVaultId() {
storageVaultId_ = getDefaultInstance().getStorageVaultId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string storage_vault_id = 2;</code>
* @param value The bytes for storageVaultId to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
storageVaultId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object storageVaultName_ = "";
/**
* <code>optional string storage_vault_name = 3;</code>
* @return Whether the storageVaultName field is set.
*/
public boolean hasStorageVaultName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The storageVaultName.
*/
public java.lang.String getStorageVaultName() {
java.lang.Object ref = storageVaultName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
storageVaultName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return The bytes for storageVaultName.
*/
public com.google.protobuf.ByteString
getStorageVaultNameBytes() {
java.lang.Object ref = storageVaultName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
storageVaultName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @param value The storageVaultName to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
storageVaultName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearStorageVaultName() {
storageVaultName_ = getDefaultInstance().getStorageVaultName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string storage_vault_name = 3;</code>
* @param value The bytes for storageVaultName to set.
* @return This builder for chaining.
*/
public Builder setStorageVaultNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
storageVaultName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateTabletsResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateTabletsResponse)
private static final org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateTabletsResponse>
PARSER = new com.google.protobuf.AbstractParser<CreateTabletsResponse>() {
@java.lang.Override
public CreateTabletsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateTabletsResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateTabletsResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateTabletsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateTabletRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateTabletRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB>
getTabletMetaInfosList();
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB getTabletMetaInfos(int index);
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
int getTabletMetaInfosCount();
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder>
getTabletMetaInfosOrBuilderList();
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder getTabletMetaInfosOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletRequest}
*/
public static final class UpdateTabletRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateTabletRequest)
UpdateTabletRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateTabletRequest.newBuilder() to construct.
private UpdateTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateTabletRequest() {
cloudUniqueId_ = "";
tabletMetaInfos_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateTabletRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_META_INFOS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB> tabletMetaInfos_;
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB> getTabletMetaInfosList() {
return tabletMetaInfos_;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder>
getTabletMetaInfosOrBuilderList() {
return tabletMetaInfos_;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
@java.lang.Override
public int getTabletMetaInfosCount() {
return tabletMetaInfos_.size();
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB getTabletMetaInfos(int index) {
return tabletMetaInfos_.get(index);
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder getTabletMetaInfosOrBuilder(
int index) {
return tabletMetaInfos_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
for (int i = 0; i < tabletMetaInfos_.size(); i++) {
output.writeMessage(2, tabletMetaInfos_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
for (int i = 0; i < tabletMetaInfos_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, tabletMetaInfos_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest other = (org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getTabletMetaInfosList()
.equals(other.getTabletMetaInfosList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (getTabletMetaInfosCount() > 0) {
hash = (37 * hash) + TABLET_META_INFOS_FIELD_NUMBER;
hash = (53 * hash) + getTabletMetaInfosList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateTabletRequest)
org.apache.doris.cloud.proto.Cloud.UpdateTabletRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
if (tabletMetaInfosBuilder_ == null) {
tabletMetaInfos_ = java.util.Collections.emptyList();
} else {
tabletMetaInfos_ = null;
tabletMetaInfosBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest build() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest result = new org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest result) {
if (tabletMetaInfosBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
tabletMetaInfos_ = java.util.Collections.unmodifiableList(tabletMetaInfos_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tabletMetaInfos_ = tabletMetaInfos_;
} else {
result.tabletMetaInfos_ = tabletMetaInfosBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (tabletMetaInfosBuilder_ == null) {
if (!other.tabletMetaInfos_.isEmpty()) {
if (tabletMetaInfos_.isEmpty()) {
tabletMetaInfos_ = other.tabletMetaInfos_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.addAll(other.tabletMetaInfos_);
}
onChanged();
}
} else {
if (!other.tabletMetaInfos_.isEmpty()) {
if (tabletMetaInfosBuilder_.isEmpty()) {
tabletMetaInfosBuilder_.dispose();
tabletMetaInfosBuilder_ = null;
tabletMetaInfos_ = other.tabletMetaInfos_;
bitField0_ = (bitField0_ & ~0x00000002);
tabletMetaInfosBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTabletMetaInfosFieldBuilder() : null;
} else {
tabletMetaInfosBuilder_.addAllMessages(other.tabletMetaInfos_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.PARSER,
extensionRegistry);
if (tabletMetaInfosBuilder_ == null) {
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.add(m);
} else {
tabletMetaInfosBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB> tabletMetaInfos_ =
java.util.Collections.emptyList();
private void ensureTabletMetaInfosIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
tabletMetaInfos_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB>(tabletMetaInfos_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder> tabletMetaInfosBuilder_;
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB> getTabletMetaInfosList() {
if (tabletMetaInfosBuilder_ == null) {
return java.util.Collections.unmodifiableList(tabletMetaInfos_);
} else {
return tabletMetaInfosBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public int getTabletMetaInfosCount() {
if (tabletMetaInfosBuilder_ == null) {
return tabletMetaInfos_.size();
} else {
return tabletMetaInfosBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB getTabletMetaInfos(int index) {
if (tabletMetaInfosBuilder_ == null) {
return tabletMetaInfos_.get(index);
} else {
return tabletMetaInfosBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder setTabletMetaInfos(
int index, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB value) {
if (tabletMetaInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.set(index, value);
onChanged();
} else {
tabletMetaInfosBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder setTabletMetaInfos(
int index, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder builderForValue) {
if (tabletMetaInfosBuilder_ == null) {
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.set(index, builderForValue.build());
onChanged();
} else {
tabletMetaInfosBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder addTabletMetaInfos(org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB value) {
if (tabletMetaInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.add(value);
onChanged();
} else {
tabletMetaInfosBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder addTabletMetaInfos(
int index, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB value) {
if (tabletMetaInfosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.add(index, value);
onChanged();
} else {
tabletMetaInfosBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder addTabletMetaInfos(
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder builderForValue) {
if (tabletMetaInfosBuilder_ == null) {
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.add(builderForValue.build());
onChanged();
} else {
tabletMetaInfosBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder addTabletMetaInfos(
int index, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder builderForValue) {
if (tabletMetaInfosBuilder_ == null) {
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.add(index, builderForValue.build());
onChanged();
} else {
tabletMetaInfosBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder addAllTabletMetaInfos(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB> values) {
if (tabletMetaInfosBuilder_ == null) {
ensureTabletMetaInfosIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tabletMetaInfos_);
onChanged();
} else {
tabletMetaInfosBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder clearTabletMetaInfos() {
if (tabletMetaInfosBuilder_ == null) {
tabletMetaInfos_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
tabletMetaInfosBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public Builder removeTabletMetaInfos(int index) {
if (tabletMetaInfosBuilder_ == null) {
ensureTabletMetaInfosIsMutable();
tabletMetaInfos_.remove(index);
onChanged();
} else {
tabletMetaInfosBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder getTabletMetaInfosBuilder(
int index) {
return getTabletMetaInfosFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder getTabletMetaInfosOrBuilder(
int index) {
if (tabletMetaInfosBuilder_ == null) {
return tabletMetaInfos_.get(index); } else {
return tabletMetaInfosBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder>
getTabletMetaInfosOrBuilderList() {
if (tabletMetaInfosBuilder_ != null) {
return tabletMetaInfosBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tabletMetaInfos_);
}
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder addTabletMetaInfosBuilder() {
return getTabletMetaInfosFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder addTabletMetaInfosBuilder(
int index) {
return getTabletMetaInfosFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletMetaInfoPB tablet_meta_infos = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder>
getTabletMetaInfosBuilderList() {
return getTabletMetaInfosFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder>
getTabletMetaInfosFieldBuilder() {
if (tabletMetaInfosBuilder_ == null) {
tabletMetaInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletMetaInfoPBOrBuilder>(
tabletMetaInfos_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
tabletMetaInfos_ = null;
}
return tabletMetaInfosBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateTabletRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateTabletRequest)
private static final org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateTabletRequest>
PARSER = new com.google.protobuf.AbstractParser<UpdateTabletRequest>() {
@java.lang.Override
public UpdateTabletRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateTabletRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateTabletRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateTabletResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateTabletResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletResponse}
*/
public static final class UpdateTabletResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateTabletResponse)
UpdateTabletResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateTabletResponse.newBuilder() to construct.
private UpdateTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateTabletResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateTabletResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse other = (org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateTabletResponse)
org.apache.doris.cloud.proto.Cloud.UpdateTabletResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse build() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse result = new org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateTabletResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateTabletResponse)
private static final org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateTabletResponse>
PARSER = new com.google.protobuf.AbstractParser<UpdateTabletResponse>() {
@java.lang.Override
public UpdateTabletResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateTabletResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateTabletResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateTabletSchemaRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateTabletSchemaRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
long getTabletId();
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
* @return Whether the tabletSchema field is set.
*/
boolean hasTabletSchema();
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
* @return The tabletSchema.
*/
org.apache.doris.proto.OlapFile.TabletSchemaCloudPB getTabletSchema();
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
org.apache.doris.proto.OlapFile.TabletSchemaCloudPBOrBuilder getTabletSchemaOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletSchemaRequest}
*/
public static final class UpdateTabletSchemaRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateTabletSchemaRequest)
UpdateTabletSchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateTabletSchemaRequest.newBuilder() to construct.
private UpdateTabletSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateTabletSchemaRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateTabletSchemaRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_ID_FIELD_NUMBER = 2;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
public static final int TABLET_SCHEMA_FIELD_NUMBER = 3;
private org.apache.doris.proto.OlapFile.TabletSchemaCloudPB tabletSchema_;
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
* @return Whether the tabletSchema field is set.
*/
@java.lang.Override
public boolean hasTabletSchema() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
* @return The tabletSchema.
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.TabletSchemaCloudPB getTabletSchema() {
return tabletSchema_ == null ? org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.getDefaultInstance() : tabletSchema_;
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.TabletSchemaCloudPBOrBuilder getTabletSchemaOrBuilder() {
return tabletSchema_ == null ? org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.getDefaultInstance() : tabletSchema_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasTabletSchema()) {
if (!getTabletSchema().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tabletId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getTabletSchema());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tabletId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTabletSchema());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest other = (org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (hasTabletSchema() != other.hasTabletSchema()) return false;
if (hasTabletSchema()) {
if (!getTabletSchema()
.equals(other.getTabletSchema())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
if (hasTabletSchema()) {
hash = (37 * hash) + TABLET_SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + getTabletSchema().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletSchemaRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateTabletSchemaRequest)
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTabletSchemaFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tabletId_ = 0L;
tabletSchema_ = null;
if (tabletSchemaBuilder_ != null) {
tabletSchemaBuilder_.dispose();
tabletSchemaBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest build() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest result = new org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tabletSchema_ = tabletSchemaBuilder_ == null
? tabletSchema_
: tabletSchemaBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
if (other.hasTabletSchema()) {
mergeTabletSchema(other.getTabletSchema());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasTabletSchema()) {
if (!getTabletSchema().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
input.readMessage(
getTabletSchemaFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000002);
tabletId_ = 0L;
onChanged();
return this;
}
private org.apache.doris.proto.OlapFile.TabletSchemaCloudPB tabletSchema_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletSchemaCloudPB, org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletSchemaCloudPBOrBuilder> tabletSchemaBuilder_;
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
* @return Whether the tabletSchema field is set.
*/
public boolean hasTabletSchema() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
* @return The tabletSchema.
*/
public org.apache.doris.proto.OlapFile.TabletSchemaCloudPB getTabletSchema() {
if (tabletSchemaBuilder_ == null) {
return tabletSchema_ == null ? org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.getDefaultInstance() : tabletSchema_;
} else {
return tabletSchemaBuilder_.getMessage();
}
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
public Builder setTabletSchema(org.apache.doris.proto.OlapFile.TabletSchemaCloudPB value) {
if (tabletSchemaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tabletSchema_ = value;
} else {
tabletSchemaBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
public Builder setTabletSchema(
org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.Builder builderForValue) {
if (tabletSchemaBuilder_ == null) {
tabletSchema_ = builderForValue.build();
} else {
tabletSchemaBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
public Builder mergeTabletSchema(org.apache.doris.proto.OlapFile.TabletSchemaCloudPB value) {
if (tabletSchemaBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
tabletSchema_ != null &&
tabletSchema_ != org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.getDefaultInstance()) {
getTabletSchemaBuilder().mergeFrom(value);
} else {
tabletSchema_ = value;
}
} else {
tabletSchemaBuilder_.mergeFrom(value);
}
if (tabletSchema_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
public Builder clearTabletSchema() {
bitField0_ = (bitField0_ & ~0x00000004);
tabletSchema_ = null;
if (tabletSchemaBuilder_ != null) {
tabletSchemaBuilder_.dispose();
tabletSchemaBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
public org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.Builder getTabletSchemaBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getTabletSchemaFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
public org.apache.doris.proto.OlapFile.TabletSchemaCloudPBOrBuilder getTabletSchemaOrBuilder() {
if (tabletSchemaBuilder_ != null) {
return tabletSchemaBuilder_.getMessageOrBuilder();
} else {
return tabletSchema_ == null ?
org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.getDefaultInstance() : tabletSchema_;
}
}
/**
* <code>optional .doris.TabletSchemaCloudPB tablet_schema = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletSchemaCloudPB, org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletSchemaCloudPBOrBuilder>
getTabletSchemaFieldBuilder() {
if (tabletSchemaBuilder_ == null) {
tabletSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletSchemaCloudPB, org.apache.doris.proto.OlapFile.TabletSchemaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletSchemaCloudPBOrBuilder>(
getTabletSchema(),
getParentForChildren(),
isClean());
tabletSchema_ = null;
}
return tabletSchemaBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateTabletSchemaRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateTabletSchemaRequest)
private static final org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateTabletSchemaRequest>
PARSER = new com.google.protobuf.AbstractParser<UpdateTabletSchemaRequest>() {
@java.lang.Override
public UpdateTabletSchemaRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateTabletSchemaRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateTabletSchemaRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateTabletSchemaResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateTabletSchemaResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletSchemaResponse}
*/
public static final class UpdateTabletSchemaResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateTabletSchemaResponse)
UpdateTabletSchemaResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateTabletSchemaResponse.newBuilder() to construct.
private UpdateTabletSchemaResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateTabletSchemaResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateTabletSchemaResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse other = (org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateTabletSchemaResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateTabletSchemaResponse)
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateTabletSchemaResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse build() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse result = new org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateTabletSchemaResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateTabletSchemaResponse)
private static final org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateTabletSchemaResponse>
PARSER = new com.google.protobuf.AbstractParser<UpdateTabletSchemaResponse>() {
@java.lang.Override
public UpdateTabletSchemaResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateTabletSchemaResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateTabletSchemaResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateTabletSchemaResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropTabletRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.DropTabletRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
long getTabletId();
}
/**
* Protobuf type {@code doris.cloud.DropTabletRequest}
*/
public static final class DropTabletRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.DropTabletRequest)
DropTabletRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropTabletRequest.newBuilder() to construct.
private DropTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DropTabletRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropTabletRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropTabletRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropTabletRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DropTabletRequest.class, org.apache.doris.cloud.proto.Cloud.DropTabletRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_ID_FIELD_NUMBER = 2;
private long tabletId_ = 0L;
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tabletId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tabletId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.DropTabletRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.DropTabletRequest other = (org.apache.doris.cloud.proto.Cloud.DropTabletRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.DropTabletRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.DropTabletRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.DropTabletRequest)
org.apache.doris.cloud.proto.Cloud.DropTabletRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropTabletRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropTabletRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DropTabletRequest.class, org.apache.doris.cloud.proto.Cloud.DropTabletRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.DropTabletRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tabletId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropTabletRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropTabletRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.DropTabletRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropTabletRequest build() {
org.apache.doris.cloud.proto.Cloud.DropTabletRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropTabletRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.DropTabletRequest result = new org.apache.doris.cloud.proto.Cloud.DropTabletRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.DropTabletRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.DropTabletRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.DropTabletRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.DropTabletRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.DropTabletRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000002);
tabletId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.DropTabletRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.DropTabletRequest)
private static final org.apache.doris.cloud.proto.Cloud.DropTabletRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.DropTabletRequest();
}
public static org.apache.doris.cloud.proto.Cloud.DropTabletRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<DropTabletRequest>
PARSER = new com.google.protobuf.AbstractParser<DropTabletRequest>() {
@java.lang.Override
public DropTabletRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<DropTabletRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DropTabletRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropTabletRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTabletRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTabletRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
long getTabletId();
}
/**
* Protobuf type {@code doris.cloud.GetTabletRequest}
*/
public static final class GetTabletRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTabletRequest)
GetTabletRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTabletRequest.newBuilder() to construct.
private GetTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTabletRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTabletRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletRequest.class, org.apache.doris.cloud.proto.Cloud.GetTabletRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_ID_FIELD_NUMBER = 2;
private long tabletId_ = 0L;
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tabletId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tabletId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTabletRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTabletRequest other = (org.apache.doris.cloud.proto.Cloud.GetTabletRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTabletRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTabletRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTabletRequest)
org.apache.doris.cloud.proto.Cloud.GetTabletRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletRequest.class, org.apache.doris.cloud.proto.Cloud.GetTabletRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTabletRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tabletId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTabletRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletRequest build() {
org.apache.doris.cloud.proto.Cloud.GetTabletRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTabletRequest result = new org.apache.doris.cloud.proto.Cloud.GetTabletRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTabletRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTabletRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTabletRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTabletRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTabletRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* TODO: There are more fields TBD
* </pre>
*
* <code>optional int64 tablet_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000002);
tabletId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTabletRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTabletRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetTabletRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTabletRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTabletRequest>
PARSER = new com.google.protobuf.AbstractParser<GetTabletRequest>() {
@java.lang.Override
public GetTabletRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTabletRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTabletRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTabletResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTabletResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
* @return Whether the tabletMeta field is set.
*/
boolean hasTabletMeta();
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
* @return The tabletMeta.
*/
org.apache.doris.proto.OlapFile.TabletMetaCloudPB getTabletMeta();
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder getTabletMetaOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetTabletResponse}
*/
public static final class GetTabletResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTabletResponse)
GetTabletResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTabletResponse.newBuilder() to construct.
private GetTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTabletResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTabletResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletResponse.class, org.apache.doris.cloud.proto.Cloud.GetTabletResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TABLET_META_FIELD_NUMBER = 2;
private org.apache.doris.proto.OlapFile.TabletMetaCloudPB tabletMeta_;
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
* @return Whether the tabletMeta field is set.
*/
@java.lang.Override
public boolean hasTabletMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
* @return The tabletMeta.
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB getTabletMeta() {
return tabletMeta_ == null ? org.apache.doris.proto.OlapFile.TabletMetaCloudPB.getDefaultInstance() : tabletMeta_;
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder getTabletMetaOrBuilder() {
return tabletMeta_ == null ? org.apache.doris.proto.OlapFile.TabletMetaCloudPB.getDefaultInstance() : tabletMeta_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasTabletMeta()) {
if (!getTabletMeta().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getTabletMeta());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTabletMeta());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTabletResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTabletResponse other = (org.apache.doris.cloud.proto.Cloud.GetTabletResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasTabletMeta() != other.hasTabletMeta()) return false;
if (hasTabletMeta()) {
if (!getTabletMeta()
.equals(other.getTabletMeta())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasTabletMeta()) {
hash = (37 * hash) + TABLET_META_FIELD_NUMBER;
hash = (53 * hash) + getTabletMeta().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTabletResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTabletResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTabletResponse)
org.apache.doris.cloud.proto.Cloud.GetTabletResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletResponse.class, org.apache.doris.cloud.proto.Cloud.GetTabletResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTabletResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getTabletMetaFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
tabletMeta_ = null;
if (tabletMetaBuilder_ != null) {
tabletMetaBuilder_.dispose();
tabletMetaBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTabletResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletResponse build() {
org.apache.doris.cloud.proto.Cloud.GetTabletResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTabletResponse result = new org.apache.doris.cloud.proto.Cloud.GetTabletResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTabletResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tabletMeta_ = tabletMetaBuilder_ == null
? tabletMeta_
: tabletMetaBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTabletResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTabletResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTabletResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTabletResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasTabletMeta()) {
mergeTabletMeta(other.getTabletMeta());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasTabletMeta()) {
if (!getTabletMeta().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getTabletMetaFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.proto.OlapFile.TabletMetaCloudPB tabletMeta_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletMetaCloudPB, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder> tabletMetaBuilder_;
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
* @return Whether the tabletMeta field is set.
*/
public boolean hasTabletMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
* @return The tabletMeta.
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB getTabletMeta() {
if (tabletMetaBuilder_ == null) {
return tabletMeta_ == null ? org.apache.doris.proto.OlapFile.TabletMetaCloudPB.getDefaultInstance() : tabletMeta_;
} else {
return tabletMetaBuilder_.getMessage();
}
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
public Builder setTabletMeta(org.apache.doris.proto.OlapFile.TabletMetaCloudPB value) {
if (tabletMetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
tabletMeta_ = value;
} else {
tabletMetaBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
public Builder setTabletMeta(
org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder builderForValue) {
if (tabletMetaBuilder_ == null) {
tabletMeta_ = builderForValue.build();
} else {
tabletMetaBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
public Builder mergeTabletMeta(org.apache.doris.proto.OlapFile.TabletMetaCloudPB value) {
if (tabletMetaBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
tabletMeta_ != null &&
tabletMeta_ != org.apache.doris.proto.OlapFile.TabletMetaCloudPB.getDefaultInstance()) {
getTabletMetaBuilder().mergeFrom(value);
} else {
tabletMeta_ = value;
}
} else {
tabletMetaBuilder_.mergeFrom(value);
}
if (tabletMeta_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
public Builder clearTabletMeta() {
bitField0_ = (bitField0_ & ~0x00000002);
tabletMeta_ = null;
if (tabletMetaBuilder_ != null) {
tabletMetaBuilder_.dispose();
tabletMetaBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder getTabletMetaBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getTabletMetaFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder getTabletMetaOrBuilder() {
if (tabletMetaBuilder_ != null) {
return tabletMetaBuilder_.getMessageOrBuilder();
} else {
return tabletMeta_ == null ?
org.apache.doris.proto.OlapFile.TabletMetaCloudPB.getDefaultInstance() : tabletMeta_;
}
}
/**
* <code>optional .doris.TabletMetaCloudPB tablet_meta = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletMetaCloudPB, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder>
getTabletMetaFieldBuilder() {
if (tabletMetaBuilder_ == null) {
tabletMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.TabletMetaCloudPB, org.apache.doris.proto.OlapFile.TabletMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.TabletMetaCloudPBOrBuilder>(
getTabletMeta(),
getParentForChildren(),
isClean());
tabletMeta_ = null;
}
return tabletMetaBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTabletResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTabletResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetTabletResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTabletResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTabletResponse>
PARSER = new com.google.protobuf.AbstractParser<GetTabletResponse>() {
@java.lang.Override
public GetTabletResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTabletResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTabletResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateRowsetRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateRowsetRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
* @return Whether the rowsetMeta field is set.
*/
boolean hasRowsetMeta();
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
* @return The rowsetMeta.
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta();
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder();
/**
* <code>optional bool temporary = 3;</code>
* @return Whether the temporary field is set.
*/
boolean hasTemporary();
/**
* <code>optional bool temporary = 3;</code>
* @return The temporary.
*/
boolean getTemporary();
/**
* <code>optional int64 txn_id = 4;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 4;</code>
* @return The txnId.
*/
long getTxnId();
}
/**
* Protobuf type {@code doris.cloud.CreateRowsetRequest}
*/
public static final class CreateRowsetRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateRowsetRequest)
CreateRowsetRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateRowsetRequest.newBuilder() to construct.
private CreateRowsetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateRowsetRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateRowsetRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest.class, org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ROWSET_META_FIELD_NUMBER = 2;
private org.apache.doris.proto.OlapFile.RowsetMetaCloudPB rowsetMeta_;
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
* @return Whether the rowsetMeta field is set.
*/
@java.lang.Override
public boolean hasRowsetMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
* @return The rowsetMeta.
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta() {
return rowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder() {
return rowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
}
public static final int TEMPORARY_FIELD_NUMBER = 3;
private boolean temporary_ = false;
/**
* <code>optional bool temporary = 3;</code>
* @return Whether the temporary field is set.
*/
@java.lang.Override
public boolean hasTemporary() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional bool temporary = 3;</code>
* @return The temporary.
*/
@java.lang.Override
public boolean getTemporary() {
return temporary_;
}
public static final int TXN_ID_FIELD_NUMBER = 4;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 4;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 txn_id = 4;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasRowsetMeta()) {
if (!getRowsetMeta().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getRowsetMeta());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, temporary_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, txnId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRowsetMeta());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, temporary_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, txnId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest other = (org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasRowsetMeta() != other.hasRowsetMeta()) return false;
if (hasRowsetMeta()) {
if (!getRowsetMeta()
.equals(other.getRowsetMeta())) return false;
}
if (hasTemporary() != other.hasTemporary()) return false;
if (hasTemporary()) {
if (getTemporary()
!= other.getTemporary()) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasRowsetMeta()) {
hash = (37 * hash) + ROWSET_META_FIELD_NUMBER;
hash = (53 * hash) + getRowsetMeta().hashCode();
}
if (hasTemporary()) {
hash = (37 * hash) + TEMPORARY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getTemporary());
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateRowsetRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateRowsetRequest)
org.apache.doris.cloud.proto.Cloud.CreateRowsetRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest.class, org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRowsetMetaFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
rowsetMeta_ = null;
if (rowsetMetaBuilder_ != null) {
rowsetMetaBuilder_.dispose();
rowsetMetaBuilder_ = null;
}
temporary_ = false;
txnId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest build() {
org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest result = new org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.rowsetMeta_ = rowsetMetaBuilder_ == null
? rowsetMeta_
: rowsetMetaBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.temporary_ = temporary_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000008;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasRowsetMeta()) {
mergeRowsetMeta(other.getRowsetMeta());
}
if (other.hasTemporary()) {
setTemporary(other.getTemporary());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasRowsetMeta()) {
if (!getRowsetMeta().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getRowsetMetaFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
temporary_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
txnId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.proto.OlapFile.RowsetMetaCloudPB rowsetMeta_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder> rowsetMetaBuilder_;
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
* @return Whether the rowsetMeta field is set.
*/
public boolean hasRowsetMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
* @return The rowsetMeta.
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta() {
if (rowsetMetaBuilder_ == null) {
return rowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
} else {
return rowsetMetaBuilder_.getMessage();
}
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder setRowsetMeta(org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (rowsetMetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
rowsetMeta_ = value;
} else {
rowsetMetaBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder setRowsetMeta(
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder builderForValue) {
if (rowsetMetaBuilder_ == null) {
rowsetMeta_ = builderForValue.build();
} else {
rowsetMetaBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder mergeRowsetMeta(org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (rowsetMetaBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
rowsetMeta_ != null &&
rowsetMeta_ != org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance()) {
getRowsetMetaBuilder().mergeFrom(value);
} else {
rowsetMeta_ = value;
}
} else {
rowsetMetaBuilder_.mergeFrom(value);
}
if (rowsetMeta_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder clearRowsetMeta() {
bitField0_ = (bitField0_ & ~0x00000002);
rowsetMeta_ = null;
if (rowsetMetaBuilder_ != null) {
rowsetMetaBuilder_.dispose();
rowsetMetaBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder getRowsetMetaBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getRowsetMetaFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder() {
if (rowsetMetaBuilder_ != null) {
return rowsetMetaBuilder_.getMessageOrBuilder();
} else {
return rowsetMeta_ == null ?
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : rowsetMeta_;
}
}
/**
* <code>optional .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>
getRowsetMetaFieldBuilder() {
if (rowsetMetaBuilder_ == null) {
rowsetMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>(
getRowsetMeta(),
getParentForChildren(),
isClean());
rowsetMeta_ = null;
}
return rowsetMetaBuilder_;
}
private boolean temporary_ ;
/**
* <code>optional bool temporary = 3;</code>
* @return Whether the temporary field is set.
*/
@java.lang.Override
public boolean hasTemporary() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional bool temporary = 3;</code>
* @return The temporary.
*/
@java.lang.Override
public boolean getTemporary() {
return temporary_;
}
/**
* <code>optional bool temporary = 3;</code>
* @param value The temporary to set.
* @return This builder for chaining.
*/
public Builder setTemporary(boolean value) {
temporary_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional bool temporary = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTemporary() {
bitField0_ = (bitField0_ & ~0x00000004);
temporary_ = false;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 4;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 txn_id = 4;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 4;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00000008);
txnId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateRowsetRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateRowsetRequest)
private static final org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateRowsetRequest>
PARSER = new com.google.protobuf.AbstractParser<CreateRowsetRequest>() {
@java.lang.Override
public CreateRowsetRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateRowsetRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateRowsetRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateRowsetResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateRowsetResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
* @return Whether the existedRowsetMeta field is set.
*/
boolean hasExistedRowsetMeta();
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
* @return The existedRowsetMeta.
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getExistedRowsetMeta();
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getExistedRowsetMetaOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.CreateRowsetResponse}
*/
public static final class CreateRowsetResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateRowsetResponse)
CreateRowsetResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateRowsetResponse.newBuilder() to construct.
private CreateRowsetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateRowsetResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateRowsetResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse.class, org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int EXISTED_ROWSET_META_FIELD_NUMBER = 2;
private org.apache.doris.proto.OlapFile.RowsetMetaCloudPB existedRowsetMeta_;
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
* @return Whether the existedRowsetMeta field is set.
*/
@java.lang.Override
public boolean hasExistedRowsetMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
* @return The existedRowsetMeta.
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getExistedRowsetMeta() {
return existedRowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : existedRowsetMeta_;
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getExistedRowsetMetaOrBuilder() {
return existedRowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : existedRowsetMeta_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasExistedRowsetMeta()) {
if (!getExistedRowsetMeta().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getExistedRowsetMeta());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getExistedRowsetMeta());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse other = (org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasExistedRowsetMeta() != other.hasExistedRowsetMeta()) return false;
if (hasExistedRowsetMeta()) {
if (!getExistedRowsetMeta()
.equals(other.getExistedRowsetMeta())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasExistedRowsetMeta()) {
hash = (37 * hash) + EXISTED_ROWSET_META_FIELD_NUMBER;
hash = (53 * hash) + getExistedRowsetMeta().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateRowsetResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateRowsetResponse)
org.apache.doris.cloud.proto.Cloud.CreateRowsetResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse.class, org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getExistedRowsetMetaFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
existedRowsetMeta_ = null;
if (existedRowsetMetaBuilder_ != null) {
existedRowsetMetaBuilder_.dispose();
existedRowsetMetaBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateRowsetResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse build() {
org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse result = new org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.existedRowsetMeta_ = existedRowsetMetaBuilder_ == null
? existedRowsetMeta_
: existedRowsetMetaBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasExistedRowsetMeta()) {
mergeExistedRowsetMeta(other.getExistedRowsetMeta());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasExistedRowsetMeta()) {
if (!getExistedRowsetMeta().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getExistedRowsetMetaFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.proto.OlapFile.RowsetMetaCloudPB existedRowsetMeta_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder> existedRowsetMetaBuilder_;
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
* @return Whether the existedRowsetMeta field is set.
*/
public boolean hasExistedRowsetMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
* @return The existedRowsetMeta.
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getExistedRowsetMeta() {
if (existedRowsetMetaBuilder_ == null) {
return existedRowsetMeta_ == null ? org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : existedRowsetMeta_;
} else {
return existedRowsetMetaBuilder_.getMessage();
}
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
public Builder setExistedRowsetMeta(org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (existedRowsetMetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
existedRowsetMeta_ = value;
} else {
existedRowsetMetaBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
public Builder setExistedRowsetMeta(
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder builderForValue) {
if (existedRowsetMetaBuilder_ == null) {
existedRowsetMeta_ = builderForValue.build();
} else {
existedRowsetMetaBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
public Builder mergeExistedRowsetMeta(org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (existedRowsetMetaBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
existedRowsetMeta_ != null &&
existedRowsetMeta_ != org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance()) {
getExistedRowsetMetaBuilder().mergeFrom(value);
} else {
existedRowsetMeta_ = value;
}
} else {
existedRowsetMetaBuilder_.mergeFrom(value);
}
if (existedRowsetMeta_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
public Builder clearExistedRowsetMeta() {
bitField0_ = (bitField0_ & ~0x00000002);
existedRowsetMeta_ = null;
if (existedRowsetMetaBuilder_ != null) {
existedRowsetMetaBuilder_.dispose();
existedRowsetMetaBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder getExistedRowsetMetaBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getExistedRowsetMetaFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getExistedRowsetMetaOrBuilder() {
if (existedRowsetMetaBuilder_ != null) {
return existedRowsetMetaBuilder_.getMessageOrBuilder();
} else {
return existedRowsetMeta_ == null ?
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance() : existedRowsetMeta_;
}
}
/**
* <code>optional .doris.RowsetMetaCloudPB existed_rowset_meta = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>
getExistedRowsetMetaFieldBuilder() {
if (existedRowsetMetaBuilder_ == null) {
existedRowsetMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>(
getExistedRowsetMeta(),
getParentForChildren(),
isClean());
existedRowsetMeta_ = null;
}
return existedRowsetMetaBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateRowsetResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateRowsetResponse)
private static final org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateRowsetResponse>
PARSER = new com.google.protobuf.AbstractParser<CreateRowsetResponse>() {
@java.lang.Override
public CreateRowsetResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateRowsetResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateRowsetResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateRowsetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRowsetRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetRowsetRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
* @return Whether the idx field is set.
*/
boolean hasIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
* @return The idx.
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder();
/**
* <code>optional int64 start_version = 3;</code>
* @return Whether the startVersion field is set.
*/
boolean hasStartVersion();
/**
* <code>optional int64 start_version = 3;</code>
* @return The startVersion.
*/
long getStartVersion();
/**
* <code>optional int64 end_version = 4;</code>
* @return Whether the endVersion field is set.
*/
boolean hasEndVersion();
/**
* <code>optional int64 end_version = 4;</code>
* @return The endVersion.
*/
long getEndVersion();
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @return Whether the baseCompactionCnt field is set.
*/
boolean hasBaseCompactionCnt();
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @return The baseCompactionCnt.
*/
long getBaseCompactionCnt();
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
boolean hasCumulativeCompactionCnt();
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @return The cumulativeCompactionCnt.
*/
long getCumulativeCompactionCnt();
/**
* <code>optional int64 cumulative_point = 7;</code>
* @return Whether the cumulativePoint field is set.
*/
boolean hasCumulativePoint();
/**
* <code>optional int64 cumulative_point = 7;</code>
* @return The cumulativePoint.
*/
long getCumulativePoint();
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @return Whether the schemaOp field is set.
*/
boolean hasSchemaOp();
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @return The schemaOp.
*/
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp getSchemaOp();
}
/**
* Protobuf type {@code doris.cloud.GetRowsetRequest}
*/
public static final class GetRowsetRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetRowsetRequest)
GetRowsetRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRowsetRequest.newBuilder() to construct.
private GetRowsetRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetRowsetRequest() {
cloudUniqueId_ = "";
schemaOp_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetRowsetRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.class, org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.GetRowsetRequest.SchemaOp}
*/
public enum SchemaOp
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <pre>
* fill rowset schema with SchemaCloudDictionary value
* </pre>
*
* <code>FILL_WITH_DICT = 0;</code>
*/
FILL_WITH_DICT(0),
/**
* <pre>
* not use dict value in MS, return SchemaCloudDictionary directly
* </pre>
*
* <code>RETURN_DICT = 1;</code>
*/
RETURN_DICT(1),
/**
* <pre>
* not read dict info, use local cached SchemaCloudDictionary instead
* </pre>
*
* <code>NO_DICT = 2;</code>
*/
NO_DICT(2),
;
/**
* <pre>
* fill rowset schema with SchemaCloudDictionary value
* </pre>
*
* <code>FILL_WITH_DICT = 0;</code>
*/
public static final int FILL_WITH_DICT_VALUE = 0;
/**
* <pre>
* not use dict value in MS, return SchemaCloudDictionary directly
* </pre>
*
* <code>RETURN_DICT = 1;</code>
*/
public static final int RETURN_DICT_VALUE = 1;
/**
* <pre>
* not read dict info, use local cached SchemaCloudDictionary instead
* </pre>
*
* <code>NO_DICT = 2;</code>
*/
public static final int NO_DICT_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SchemaOp valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static SchemaOp forNumber(int value) {
switch (value) {
case 0: return FILL_WITH_DICT;
case 1: return RETURN_DICT;
case 2: return NO_DICT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<SchemaOp>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SchemaOp> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<SchemaOp>() {
public SchemaOp findValueByNumber(int number) {
return SchemaOp.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.getDescriptor().getEnumTypes().get(0);
}
private static final SchemaOp[] VALUES = values();
public static SchemaOp valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private SchemaOp(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.GetRowsetRequest.SchemaOp)
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IDX_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
* @return Whether the idx field is set.
*/
@java.lang.Override
public boolean hasIdx() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
* @return The idx.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
public static final int START_VERSION_FIELD_NUMBER = 3;
private long startVersion_ = 0L;
/**
* <code>optional int64 start_version = 3;</code>
* @return Whether the startVersion field is set.
*/
@java.lang.Override
public boolean hasStartVersion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 start_version = 3;</code>
* @return The startVersion.
*/
@java.lang.Override
public long getStartVersion() {
return startVersion_;
}
public static final int END_VERSION_FIELD_NUMBER = 4;
private long endVersion_ = 0L;
/**
* <code>optional int64 end_version = 4;</code>
* @return Whether the endVersion field is set.
*/
@java.lang.Override
public boolean hasEndVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 end_version = 4;</code>
* @return The endVersion.
*/
@java.lang.Override
public long getEndVersion() {
return endVersion_;
}
public static final int BASE_COMPACTION_CNT_FIELD_NUMBER = 5;
private long baseCompactionCnt_ = 0L;
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
public static final int CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER = 6;
private long cumulativeCompactionCnt_ = 0L;
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
public static final int CUMULATIVE_POINT_FIELD_NUMBER = 7;
private long cumulativePoint_ = 0L;
/**
* <code>optional int64 cumulative_point = 7;</code>
* @return Whether the cumulativePoint field is set.
*/
@java.lang.Override
public boolean hasCumulativePoint() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 cumulative_point = 7;</code>
* @return The cumulativePoint.
*/
@java.lang.Override
public long getCumulativePoint() {
return cumulativePoint_;
}
public static final int SCHEMA_OP_FIELD_NUMBER = 8;
private int schemaOp_ = 0;
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @return Whether the schemaOp field is set.
*/
@java.lang.Override public boolean hasSchemaOp() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @return The schemaOp.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp getSchemaOp() {
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp result = org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp.forNumber(schemaOp_);
return result == null ? org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp.FILL_WITH_DICT : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getIdx());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, startVersion_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, endVersion_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, baseCompactionCnt_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, cumulativePoint_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeEnum(8, schemaOp_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getIdx());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, startVersion_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, endVersion_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, baseCompactionCnt_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, cumulativePoint_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(8, schemaOp_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetRowsetRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest other = (org.apache.doris.cloud.proto.Cloud.GetRowsetRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasIdx() != other.hasIdx()) return false;
if (hasIdx()) {
if (!getIdx()
.equals(other.getIdx())) return false;
}
if (hasStartVersion() != other.hasStartVersion()) return false;
if (hasStartVersion()) {
if (getStartVersion()
!= other.getStartVersion()) return false;
}
if (hasEndVersion() != other.hasEndVersion()) return false;
if (hasEndVersion()) {
if (getEndVersion()
!= other.getEndVersion()) return false;
}
if (hasBaseCompactionCnt() != other.hasBaseCompactionCnt()) return false;
if (hasBaseCompactionCnt()) {
if (getBaseCompactionCnt()
!= other.getBaseCompactionCnt()) return false;
}
if (hasCumulativeCompactionCnt() != other.hasCumulativeCompactionCnt()) return false;
if (hasCumulativeCompactionCnt()) {
if (getCumulativeCompactionCnt()
!= other.getCumulativeCompactionCnt()) return false;
}
if (hasCumulativePoint() != other.hasCumulativePoint()) return false;
if (hasCumulativePoint()) {
if (getCumulativePoint()
!= other.getCumulativePoint()) return false;
}
if (hasSchemaOp() != other.hasSchemaOp()) return false;
if (hasSchemaOp()) {
if (schemaOp_ != other.schemaOp_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasIdx()) {
hash = (37 * hash) + IDX_FIELD_NUMBER;
hash = (53 * hash) + getIdx().hashCode();
}
if (hasStartVersion()) {
hash = (37 * hash) + START_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartVersion());
}
if (hasEndVersion()) {
hash = (37 * hash) + END_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndVersion());
}
if (hasBaseCompactionCnt()) {
hash = (37 * hash) + BASE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBaseCompactionCnt());
}
if (hasCumulativeCompactionCnt()) {
hash = (37 * hash) + CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCumulativeCompactionCnt());
}
if (hasCumulativePoint()) {
hash = (37 * hash) + CUMULATIVE_POINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCumulativePoint());
}
if (hasSchemaOp()) {
hash = (37 * hash) + SCHEMA_OP_FIELD_NUMBER;
hash = (53 * hash) + schemaOp_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetRowsetRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetRowsetRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetRowsetRequest)
org.apache.doris.cloud.proto.Cloud.GetRowsetRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.class, org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getIdxFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
startVersion_ = 0L;
endVersion_ = 0L;
baseCompactionCnt_ = 0L;
cumulativeCompactionCnt_ = 0L;
cumulativePoint_ = 0L;
schemaOp_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetRequest build() {
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest result = new org.apache.doris.cloud.proto.Cloud.GetRowsetRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetRowsetRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.idx_ = idxBuilder_ == null
? idx_
: idxBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.startVersion_ = startVersion_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.endVersion_ = endVersion_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.baseCompactionCnt_ = baseCompactionCnt_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.cumulativeCompactionCnt_ = cumulativeCompactionCnt_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.cumulativePoint_ = cumulativePoint_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.schemaOp_ = schemaOp_;
to_bitField0_ |= 0x00000080;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetRowsetRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetRowsetRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetRowsetRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasIdx()) {
mergeIdx(other.getIdx());
}
if (other.hasStartVersion()) {
setStartVersion(other.getStartVersion());
}
if (other.hasEndVersion()) {
setEndVersion(other.getEndVersion());
}
if (other.hasBaseCompactionCnt()) {
setBaseCompactionCnt(other.getBaseCompactionCnt());
}
if (other.hasCumulativeCompactionCnt()) {
setCumulativeCompactionCnt(other.getCumulativeCompactionCnt());
}
if (other.hasCumulativePoint()) {
setCumulativePoint(other.getCumulativePoint());
}
if (other.hasSchemaOp()) {
setSchemaOp(other.getSchemaOp());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getIdxFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
startVersion_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
endVersion_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
baseCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
cumulativeCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
cumulativePoint_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp tmpValue =
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(8, tmpRaw);
} else {
schemaOp_ = tmpRaw;
bitField0_ |= 0x00000080;
}
break;
} // case 64
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> idxBuilder_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
* @return Whether the idx field is set.
*/
public boolean hasIdx() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
* @return The idx.
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
if (idxBuilder_ == null) {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
} else {
return idxBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
public Builder setIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
idx_ = value;
} else {
idxBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
public Builder setIdx(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (idxBuilder_ == null) {
idx_ = builderForValue.build();
} else {
idxBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
public Builder mergeIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
idx_ != null &&
idx_ != org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance()) {
getIdxBuilder().mergeFrom(value);
} else {
idx_ = value;
}
} else {
idxBuilder_.mergeFrom(value);
}
if (idx_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
public Builder clearIdx() {
bitField0_ = (bitField0_ & ~0x00000002);
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getIdxBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getIdxFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
if (idxBuilder_ != null) {
return idxBuilder_.getMessageOrBuilder();
} else {
return idx_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getIdxFieldBuilder() {
if (idxBuilder_ == null) {
idxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
getIdx(),
getParentForChildren(),
isClean());
idx_ = null;
}
return idxBuilder_;
}
private long startVersion_ ;
/**
* <code>optional int64 start_version = 3;</code>
* @return Whether the startVersion field is set.
*/
@java.lang.Override
public boolean hasStartVersion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 start_version = 3;</code>
* @return The startVersion.
*/
@java.lang.Override
public long getStartVersion() {
return startVersion_;
}
/**
* <code>optional int64 start_version = 3;</code>
* @param value The startVersion to set.
* @return This builder for chaining.
*/
public Builder setStartVersion(long value) {
startVersion_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 start_version = 3;</code>
* @return This builder for chaining.
*/
public Builder clearStartVersion() {
bitField0_ = (bitField0_ & ~0x00000004);
startVersion_ = 0L;
onChanged();
return this;
}
private long endVersion_ ;
/**
* <code>optional int64 end_version = 4;</code>
* @return Whether the endVersion field is set.
*/
@java.lang.Override
public boolean hasEndVersion() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 end_version = 4;</code>
* @return The endVersion.
*/
@java.lang.Override
public long getEndVersion() {
return endVersion_;
}
/**
* <code>optional int64 end_version = 4;</code>
* @param value The endVersion to set.
* @return This builder for chaining.
*/
public Builder setEndVersion(long value) {
endVersion_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 end_version = 4;</code>
* @return This builder for chaining.
*/
public Builder clearEndVersion() {
bitField0_ = (bitField0_ & ~0x00000008);
endVersion_ = 0L;
onChanged();
return this;
}
private long baseCompactionCnt_ ;
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @param value The baseCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setBaseCompactionCnt(long value) {
baseCompactionCnt_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 base_compaction_cnt = 5;</code>
* @return This builder for chaining.
*/
public Builder clearBaseCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00000010);
baseCompactionCnt_ = 0L;
onChanged();
return this;
}
private long cumulativeCompactionCnt_ ;
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @param value The cumulativeCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setCumulativeCompactionCnt(long value) {
cumulativeCompactionCnt_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 cumulative_compaction_cnt = 6;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativeCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00000020);
cumulativeCompactionCnt_ = 0L;
onChanged();
return this;
}
private long cumulativePoint_ ;
/**
* <code>optional int64 cumulative_point = 7;</code>
* @return Whether the cumulativePoint field is set.
*/
@java.lang.Override
public boolean hasCumulativePoint() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 cumulative_point = 7;</code>
* @return The cumulativePoint.
*/
@java.lang.Override
public long getCumulativePoint() {
return cumulativePoint_;
}
/**
* <code>optional int64 cumulative_point = 7;</code>
* @param value The cumulativePoint to set.
* @return This builder for chaining.
*/
public Builder setCumulativePoint(long value) {
cumulativePoint_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 cumulative_point = 7;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativePoint() {
bitField0_ = (bitField0_ & ~0x00000040);
cumulativePoint_ = 0L;
onChanged();
return this;
}
private int schemaOp_ = 0;
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @return Whether the schemaOp field is set.
*/
@java.lang.Override public boolean hasSchemaOp() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @return The schemaOp.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp getSchemaOp() {
org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp result = org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp.forNumber(schemaOp_);
return result == null ? org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp.FILL_WITH_DICT : result;
}
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @param value The schemaOp to set.
* @return This builder for chaining.
*/
public Builder setSchemaOp(org.apache.doris.cloud.proto.Cloud.GetRowsetRequest.SchemaOp value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
schemaOp_ = value.getNumber();
onChanged();
return this;
}
/**
* <pre>
* returned schema format on rowset schema, used in variant type directly.
* for compability reason we use FILL_WITH_DICT as default
* </pre>
*
* <code>optional .doris.cloud.GetRowsetRequest.SchemaOp schema_op = 8 [default = FILL_WITH_DICT];</code>
* @return This builder for chaining.
*/
public Builder clearSchemaOp() {
bitField0_ = (bitField0_ & ~0x00000080);
schemaOp_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetRowsetRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetRowsetRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetRowsetRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetRowsetRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetRowsetRequest>
PARSER = new com.google.protobuf.AbstractParser<GetRowsetRequest>() {
@java.lang.Override
public GetRowsetRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetRowsetRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetRowsetRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRowsetResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetRowsetResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
java.util.List<org.apache.doris.proto.OlapFile.RowsetMetaCloudPB>
getRowsetMetaList();
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta(int index);
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
int getRowsetMetaCount();
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
java.util.List<? extends org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>
getRowsetMetaOrBuilderList();
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder(
int index);
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
* @return Whether the stats field is set.
*/
boolean hasStats();
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
* @return The stats.
*/
org.apache.doris.cloud.proto.Cloud.TabletStatsPB getStats();
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getStatsOrBuilder();
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
* @return Whether the schemaDict field is set.
*/
boolean hasSchemaDict();
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
* @return The schemaDict.
*/
org.apache.doris.proto.OlapFile.SchemaCloudDictionary getSchemaDict();
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder getSchemaDictOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetRowsetResponse}
*/
public static final class GetRowsetResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetRowsetResponse)
GetRowsetResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRowsetResponse.newBuilder() to construct.
private GetRowsetResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetRowsetResponse() {
rowsetMeta_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetRowsetResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRowsetResponse.class, org.apache.doris.cloud.proto.Cloud.GetRowsetResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int ROWSET_META_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.proto.OlapFile.RowsetMetaCloudPB> rowsetMeta_;
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.proto.OlapFile.RowsetMetaCloudPB> getRowsetMetaList() {
return rowsetMeta_;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>
getRowsetMetaOrBuilderList() {
return rowsetMeta_;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
@java.lang.Override
public int getRowsetMetaCount() {
return rowsetMeta_.size();
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta(int index) {
return rowsetMeta_.get(index);
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder(
int index) {
return rowsetMeta_.get(index);
}
public static final int STATS_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.TabletStatsPB stats_;
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
* @return Whether the stats field is set.
*/
@java.lang.Override
public boolean hasStats() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
* @return The stats.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getStats() {
return stats_ == null ? org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getStatsOrBuilder() {
return stats_ == null ? org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
}
public static final int SCHEMA_DICT_FIELD_NUMBER = 4;
private org.apache.doris.proto.OlapFile.SchemaCloudDictionary schemaDict_;
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
* @return Whether the schemaDict field is set.
*/
@java.lang.Override
public boolean hasSchemaDict() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
* @return The schemaDict.
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.SchemaCloudDictionary getSchemaDict() {
return schemaDict_ == null ? org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder getSchemaDictOrBuilder() {
return schemaDict_ == null ? org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
for (int i = 0; i < getRowsetMetaCount(); i++) {
if (!getRowsetMeta(i).isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
if (hasSchemaDict()) {
if (!getSchemaDict().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < rowsetMeta_.size(); i++) {
output.writeMessage(2, rowsetMeta_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getStats());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(4, getSchemaDict());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < rowsetMeta_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, rowsetMeta_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getStats());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getSchemaDict());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetRowsetResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetRowsetResponse other = (org.apache.doris.cloud.proto.Cloud.GetRowsetResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getRowsetMetaList()
.equals(other.getRowsetMetaList())) return false;
if (hasStats() != other.hasStats()) return false;
if (hasStats()) {
if (!getStats()
.equals(other.getStats())) return false;
}
if (hasSchemaDict() != other.hasSchemaDict()) return false;
if (hasSchemaDict()) {
if (!getSchemaDict()
.equals(other.getSchemaDict())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getRowsetMetaCount() > 0) {
hash = (37 * hash) + ROWSET_META_FIELD_NUMBER;
hash = (53 * hash) + getRowsetMetaList().hashCode();
}
if (hasStats()) {
hash = (37 * hash) + STATS_FIELD_NUMBER;
hash = (53 * hash) + getStats().hashCode();
}
if (hasSchemaDict()) {
hash = (37 * hash) + SCHEMA_DICT_FIELD_NUMBER;
hash = (53 * hash) + getSchemaDict().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetRowsetResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetRowsetResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetRowsetResponse)
org.apache.doris.cloud.proto.Cloud.GetRowsetResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRowsetResponse.class, org.apache.doris.cloud.proto.Cloud.GetRowsetResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetRowsetResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getRowsetMetaFieldBuilder();
getStatsFieldBuilder();
getSchemaDictFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (rowsetMetaBuilder_ == null) {
rowsetMeta_ = java.util.Collections.emptyList();
} else {
rowsetMeta_ = null;
rowsetMetaBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
stats_ = null;
if (statsBuilder_ != null) {
statsBuilder_.dispose();
statsBuilder_ = null;
}
schemaDict_ = null;
if (schemaDictBuilder_ != null) {
schemaDictBuilder_.dispose();
schemaDictBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRowsetResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetRowsetResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetResponse build() {
org.apache.doris.cloud.proto.Cloud.GetRowsetResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetRowsetResponse result = new org.apache.doris.cloud.proto.Cloud.GetRowsetResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetRowsetResponse result) {
if (rowsetMetaBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
rowsetMeta_ = java.util.Collections.unmodifiableList(rowsetMeta_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.rowsetMeta_ = rowsetMeta_;
} else {
result.rowsetMeta_ = rowsetMetaBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetRowsetResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.stats_ = statsBuilder_ == null
? stats_
: statsBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.schemaDict_ = schemaDictBuilder_ == null
? schemaDict_
: schemaDictBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetRowsetResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetRowsetResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetRowsetResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetRowsetResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (rowsetMetaBuilder_ == null) {
if (!other.rowsetMeta_.isEmpty()) {
if (rowsetMeta_.isEmpty()) {
rowsetMeta_ = other.rowsetMeta_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureRowsetMetaIsMutable();
rowsetMeta_.addAll(other.rowsetMeta_);
}
onChanged();
}
} else {
if (!other.rowsetMeta_.isEmpty()) {
if (rowsetMetaBuilder_.isEmpty()) {
rowsetMetaBuilder_.dispose();
rowsetMetaBuilder_ = null;
rowsetMeta_ = other.rowsetMeta_;
bitField0_ = (bitField0_ & ~0x00000002);
rowsetMetaBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRowsetMetaFieldBuilder() : null;
} else {
rowsetMetaBuilder_.addAllMessages(other.rowsetMeta_);
}
}
}
if (other.hasStats()) {
mergeStats(other.getStats());
}
if (other.hasSchemaDict()) {
mergeSchemaDict(other.getSchemaDict());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
for (int i = 0; i < getRowsetMetaCount(); i++) {
if (!getRowsetMeta(i).isInitialized()) {
return false;
}
}
if (hasSchemaDict()) {
if (!getSchemaDict().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB m =
input.readMessage(
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.PARSER,
extensionRegistry);
if (rowsetMetaBuilder_ == null) {
ensureRowsetMetaIsMutable();
rowsetMeta_.add(m);
} else {
rowsetMetaBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
input.readMessage(
getStatsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getSchemaDictFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.proto.OlapFile.RowsetMetaCloudPB> rowsetMeta_ =
java.util.Collections.emptyList();
private void ensureRowsetMetaIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
rowsetMeta_ = new java.util.ArrayList<org.apache.doris.proto.OlapFile.RowsetMetaCloudPB>(rowsetMeta_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder> rowsetMetaBuilder_;
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public java.util.List<org.apache.doris.proto.OlapFile.RowsetMetaCloudPB> getRowsetMetaList() {
if (rowsetMetaBuilder_ == null) {
return java.util.Collections.unmodifiableList(rowsetMeta_);
} else {
return rowsetMetaBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public int getRowsetMetaCount() {
if (rowsetMetaBuilder_ == null) {
return rowsetMeta_.size();
} else {
return rowsetMetaBuilder_.getCount();
}
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB getRowsetMeta(int index) {
if (rowsetMetaBuilder_ == null) {
return rowsetMeta_.get(index);
} else {
return rowsetMetaBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder setRowsetMeta(
int index, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (rowsetMetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRowsetMetaIsMutable();
rowsetMeta_.set(index, value);
onChanged();
} else {
rowsetMetaBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder setRowsetMeta(
int index, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder builderForValue) {
if (rowsetMetaBuilder_ == null) {
ensureRowsetMetaIsMutable();
rowsetMeta_.set(index, builderForValue.build());
onChanged();
} else {
rowsetMetaBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder addRowsetMeta(org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (rowsetMetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRowsetMetaIsMutable();
rowsetMeta_.add(value);
onChanged();
} else {
rowsetMetaBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder addRowsetMeta(
int index, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB value) {
if (rowsetMetaBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRowsetMetaIsMutable();
rowsetMeta_.add(index, value);
onChanged();
} else {
rowsetMetaBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder addRowsetMeta(
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder builderForValue) {
if (rowsetMetaBuilder_ == null) {
ensureRowsetMetaIsMutable();
rowsetMeta_.add(builderForValue.build());
onChanged();
} else {
rowsetMetaBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder addRowsetMeta(
int index, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder builderForValue) {
if (rowsetMetaBuilder_ == null) {
ensureRowsetMetaIsMutable();
rowsetMeta_.add(index, builderForValue.build());
onChanged();
} else {
rowsetMetaBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder addAllRowsetMeta(
java.lang.Iterable<? extends org.apache.doris.proto.OlapFile.RowsetMetaCloudPB> values) {
if (rowsetMetaBuilder_ == null) {
ensureRowsetMetaIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rowsetMeta_);
onChanged();
} else {
rowsetMetaBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder clearRowsetMeta() {
if (rowsetMetaBuilder_ == null) {
rowsetMeta_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
rowsetMetaBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public Builder removeRowsetMeta(int index) {
if (rowsetMetaBuilder_ == null) {
ensureRowsetMetaIsMutable();
rowsetMeta_.remove(index);
onChanged();
} else {
rowsetMetaBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder getRowsetMetaBuilder(
int index) {
return getRowsetMetaFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder getRowsetMetaOrBuilder(
int index) {
if (rowsetMetaBuilder_ == null) {
return rowsetMeta_.get(index); } else {
return rowsetMetaBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public java.util.List<? extends org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>
getRowsetMetaOrBuilderList() {
if (rowsetMetaBuilder_ != null) {
return rowsetMetaBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rowsetMeta_);
}
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder addRowsetMetaBuilder() {
return getRowsetMetaFieldBuilder().addBuilder(
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance());
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder addRowsetMetaBuilder(
int index) {
return getRowsetMetaFieldBuilder().addBuilder(
index, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.getDefaultInstance());
}
/**
* <code>repeated .doris.RowsetMetaCloudPB rowset_meta = 2;</code>
*/
public java.util.List<org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder>
getRowsetMetaBuilderList() {
return getRowsetMetaFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>
getRowsetMetaFieldBuilder() {
if (rowsetMetaBuilder_ == null) {
rowsetMetaBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.proto.OlapFile.RowsetMetaCloudPB, org.apache.doris.proto.OlapFile.RowsetMetaCloudPB.Builder, org.apache.doris.proto.OlapFile.RowsetMetaCloudPBOrBuilder>(
rowsetMeta_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
rowsetMeta_ = null;
}
return rowsetMetaBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TabletStatsPB stats_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder> statsBuilder_;
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
* @return Whether the stats field is set.
*/
public boolean hasStats() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
* @return The stats.
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getStats() {
if (statsBuilder_ == null) {
return stats_ == null ? org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
} else {
return statsBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
public Builder setStats(org.apache.doris.cloud.proto.Cloud.TabletStatsPB value) {
if (statsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stats_ = value;
} else {
statsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
public Builder setStats(
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder builderForValue) {
if (statsBuilder_ == null) {
stats_ = builderForValue.build();
} else {
statsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
public Builder mergeStats(org.apache.doris.cloud.proto.Cloud.TabletStatsPB value) {
if (statsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
stats_ != null &&
stats_ != org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance()) {
getStatsBuilder().mergeFrom(value);
} else {
stats_ = value;
}
} else {
statsBuilder_.mergeFrom(value);
}
if (stats_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
public Builder clearStats() {
bitField0_ = (bitField0_ & ~0x00000004);
stats_ = null;
if (statsBuilder_ != null) {
statsBuilder_.dispose();
statsBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder getStatsBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getStatsFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getStatsOrBuilder() {
if (statsBuilder_ != null) {
return statsBuilder_.getMessageOrBuilder();
} else {
return stats_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
}
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>
getStatsFieldBuilder() {
if (statsBuilder_ == null) {
statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>(
getStats(),
getParentForChildren(),
isClean());
stats_ = null;
}
return statsBuilder_;
}
private org.apache.doris.proto.OlapFile.SchemaCloudDictionary schemaDict_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.SchemaCloudDictionary, org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder, org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder> schemaDictBuilder_;
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
* @return Whether the schemaDict field is set.
*/
public boolean hasSchemaDict() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
* @return The schemaDict.
*/
public org.apache.doris.proto.OlapFile.SchemaCloudDictionary getSchemaDict() {
if (schemaDictBuilder_ == null) {
return schemaDict_ == null ? org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
} else {
return schemaDictBuilder_.getMessage();
}
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
public Builder setSchemaDict(org.apache.doris.proto.OlapFile.SchemaCloudDictionary value) {
if (schemaDictBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
schemaDict_ = value;
} else {
schemaDictBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
public Builder setSchemaDict(
org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder builderForValue) {
if (schemaDictBuilder_ == null) {
schemaDict_ = builderForValue.build();
} else {
schemaDictBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
public Builder mergeSchemaDict(org.apache.doris.proto.OlapFile.SchemaCloudDictionary value) {
if (schemaDictBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
schemaDict_ != null &&
schemaDict_ != org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance()) {
getSchemaDictBuilder().mergeFrom(value);
} else {
schemaDict_ = value;
}
} else {
schemaDictBuilder_.mergeFrom(value);
}
if (schemaDict_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
public Builder clearSchemaDict() {
bitField0_ = (bitField0_ & ~0x00000008);
schemaDict_ = null;
if (schemaDictBuilder_ != null) {
schemaDictBuilder_.dispose();
schemaDictBuilder_ = null;
}
onChanged();
return this;
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
public org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder getSchemaDictBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getSchemaDictFieldBuilder().getBuilder();
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
public org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder getSchemaDictOrBuilder() {
if (schemaDictBuilder_ != null) {
return schemaDictBuilder_.getMessageOrBuilder();
} else {
return schemaDict_ == null ?
org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
}
}
/**
* <pre>
* Return dict value if SchemaOp is RETURN_DICT
* </pre>
*
* <code>optional .doris.SchemaCloudDictionary schema_dict = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.SchemaCloudDictionary, org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder, org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder>
getSchemaDictFieldBuilder() {
if (schemaDictBuilder_ == null) {
schemaDictBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.SchemaCloudDictionary, org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder, org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder>(
getSchemaDict(),
getParentForChildren(),
isClean());
schemaDict_ = null;
}
return schemaDictBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetRowsetResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetRowsetResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetRowsetResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetRowsetResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetRowsetResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetRowsetResponse>
PARSER = new com.google.protobuf.AbstractParser<GetRowsetResponse>() {
@java.lang.Override
public GetRowsetResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetRowsetResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetRowsetResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRowsetResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetSchemaDictRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetSchemaDictRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 index_id = 2;</code>
* @return Whether the indexId field is set.
*/
boolean hasIndexId();
/**
* <code>optional int64 index_id = 2;</code>
* @return The indexId.
*/
long getIndexId();
}
/**
* Protobuf type {@code doris.cloud.GetSchemaDictRequest}
*/
public static final class GetSchemaDictRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetSchemaDictRequest)
GetSchemaDictRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetSchemaDictRequest.newBuilder() to construct.
private GetSchemaDictRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetSchemaDictRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetSchemaDictRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest.class, org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INDEX_ID_FIELD_NUMBER = 2;
private long indexId_ = 0L;
/**
* <code>optional int64 index_id = 2;</code>
* @return Whether the indexId field is set.
*/
@java.lang.Override
public boolean hasIndexId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 index_id = 2;</code>
* @return The indexId.
*/
@java.lang.Override
public long getIndexId() {
return indexId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, indexId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, indexId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest other = (org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasIndexId() != other.hasIndexId()) return false;
if (hasIndexId()) {
if (getIndexId()
!= other.getIndexId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasIndexId()) {
hash = (37 * hash) + INDEX_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getIndexId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetSchemaDictRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetSchemaDictRequest)
org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest.class, org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
indexId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest build() {
org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest result = new org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.indexId_ = indexId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasIndexId()) {
setIndexId(other.getIndexId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
indexId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long indexId_ ;
/**
* <code>optional int64 index_id = 2;</code>
* @return Whether the indexId field is set.
*/
@java.lang.Override
public boolean hasIndexId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 index_id = 2;</code>
* @return The indexId.
*/
@java.lang.Override
public long getIndexId() {
return indexId_;
}
/**
* <code>optional int64 index_id = 2;</code>
* @param value The indexId to set.
* @return This builder for chaining.
*/
public Builder setIndexId(long value) {
indexId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 index_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIndexId() {
bitField0_ = (bitField0_ & ~0x00000002);
indexId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetSchemaDictRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetSchemaDictRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetSchemaDictRequest>
PARSER = new com.google.protobuf.AbstractParser<GetSchemaDictRequest>() {
@java.lang.Override
public GetSchemaDictRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetSchemaDictRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetSchemaDictRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetSchemaDictResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetSchemaDictResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
* @return Whether the schemaDict field is set.
*/
boolean hasSchemaDict();
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
* @return The schemaDict.
*/
org.apache.doris.proto.OlapFile.SchemaCloudDictionary getSchemaDict();
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder getSchemaDictOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetSchemaDictResponse}
*/
public static final class GetSchemaDictResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetSchemaDictResponse)
GetSchemaDictResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetSchemaDictResponse.newBuilder() to construct.
private GetSchemaDictResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetSchemaDictResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetSchemaDictResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse.class, org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int SCHEMA_DICT_FIELD_NUMBER = 2;
private org.apache.doris.proto.OlapFile.SchemaCloudDictionary schemaDict_;
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
* @return Whether the schemaDict field is set.
*/
@java.lang.Override
public boolean hasSchemaDict() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
* @return The schemaDict.
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.SchemaCloudDictionary getSchemaDict() {
return schemaDict_ == null ? org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
@java.lang.Override
public org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder getSchemaDictOrBuilder() {
return schemaDict_ == null ? org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasSchemaDict()) {
if (!getSchemaDict().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getSchemaDict());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSchemaDict());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse other = (org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasSchemaDict() != other.hasSchemaDict()) return false;
if (hasSchemaDict()) {
if (!getSchemaDict()
.equals(other.getSchemaDict())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasSchemaDict()) {
hash = (37 * hash) + SCHEMA_DICT_FIELD_NUMBER;
hash = (53 * hash) + getSchemaDict().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetSchemaDictResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetSchemaDictResponse)
org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse.class, org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getSchemaDictFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
schemaDict_ = null;
if (schemaDictBuilder_ != null) {
schemaDictBuilder_.dispose();
schemaDictBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetSchemaDictResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse build() {
org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse result = new org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.schemaDict_ = schemaDictBuilder_ == null
? schemaDict_
: schemaDictBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasSchemaDict()) {
mergeSchemaDict(other.getSchemaDict());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasSchemaDict()) {
if (!getSchemaDict().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getSchemaDictFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.proto.OlapFile.SchemaCloudDictionary schemaDict_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.SchemaCloudDictionary, org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder, org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder> schemaDictBuilder_;
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
* @return Whether the schemaDict field is set.
*/
public boolean hasSchemaDict() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
* @return The schemaDict.
*/
public org.apache.doris.proto.OlapFile.SchemaCloudDictionary getSchemaDict() {
if (schemaDictBuilder_ == null) {
return schemaDict_ == null ? org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
} else {
return schemaDictBuilder_.getMessage();
}
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
public Builder setSchemaDict(org.apache.doris.proto.OlapFile.SchemaCloudDictionary value) {
if (schemaDictBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
schemaDict_ = value;
} else {
schemaDictBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
public Builder setSchemaDict(
org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder builderForValue) {
if (schemaDictBuilder_ == null) {
schemaDict_ = builderForValue.build();
} else {
schemaDictBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
public Builder mergeSchemaDict(org.apache.doris.proto.OlapFile.SchemaCloudDictionary value) {
if (schemaDictBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
schemaDict_ != null &&
schemaDict_ != org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance()) {
getSchemaDictBuilder().mergeFrom(value);
} else {
schemaDict_ = value;
}
} else {
schemaDictBuilder_.mergeFrom(value);
}
if (schemaDict_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
public Builder clearSchemaDict() {
bitField0_ = (bitField0_ & ~0x00000002);
schemaDict_ = null;
if (schemaDictBuilder_ != null) {
schemaDictBuilder_.dispose();
schemaDictBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
public org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder getSchemaDictBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getSchemaDictFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
public org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder getSchemaDictOrBuilder() {
if (schemaDictBuilder_ != null) {
return schemaDictBuilder_.getMessageOrBuilder();
} else {
return schemaDict_ == null ?
org.apache.doris.proto.OlapFile.SchemaCloudDictionary.getDefaultInstance() : schemaDict_;
}
}
/**
* <code>optional .doris.SchemaCloudDictionary schema_dict = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.SchemaCloudDictionary, org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder, org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder>
getSchemaDictFieldBuilder() {
if (schemaDictBuilder_ == null) {
schemaDictBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.proto.OlapFile.SchemaCloudDictionary, org.apache.doris.proto.OlapFile.SchemaCloudDictionary.Builder, org.apache.doris.proto.OlapFile.SchemaCloudDictionaryOrBuilder>(
getSchemaDict(),
getParentForChildren(),
isClean());
schemaDict_ = null;
}
return schemaDictBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetSchemaDictResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetSchemaDictResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetSchemaDictResponse>
PARSER = new com.google.protobuf.AbstractParser<GetSchemaDictResponse>() {
@java.lang.Override
public GetSchemaDictResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetSchemaDictResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetSchemaDictResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetSchemaDictResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IndexRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.IndexRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>repeated int64 index_ids = 2;</code>
* @return A list containing the indexIds.
*/
java.util.List<java.lang.Long> getIndexIdsList();
/**
* <code>repeated int64 index_ids = 2;</code>
* @return The count of indexIds.
*/
int getIndexIdsCount();
/**
* <code>repeated int64 index_ids = 2;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
long getIndexIds(int index);
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <code>optional int64 db_id = 5;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 5;</code>
* @return The dbId.
*/
long getDbId();
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @return Whether the isNewTable field is set.
*/
boolean hasIsNewTable();
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @return The isNewTable.
*/
boolean getIsNewTable();
}
/**
* Protobuf type {@code doris.cloud.IndexRequest}
*/
public static final class IndexRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.IndexRequest)
IndexRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use IndexRequest.newBuilder() to construct.
private IndexRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private IndexRequest() {
cloudUniqueId_ = "";
indexIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IndexRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.IndexRequest.class, org.apache.doris.cloud.proto.Cloud.IndexRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INDEX_IDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList indexIds_ =
emptyLongList();
/**
* <code>repeated int64 index_ids = 2;</code>
* @return A list containing the indexIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getIndexIdsList() {
return indexIds_;
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @return The count of indexIds.
*/
public int getIndexIdsCount() {
return indexIds_.size();
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
public long getIndexIds(int index) {
return indexIds_.getLong(index);
}
public static final int TABLE_ID_FIELD_NUMBER = 3;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int EXPIRATION_FIELD_NUMBER = 4;
private long expiration_ = 0L;
/**
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int DB_ID_FIELD_NUMBER = 5;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 5;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 db_id = 5;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int IS_NEW_TABLE_FIELD_NUMBER = 6;
private boolean isNewTable_ = false;
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @return Whether the isNewTable field is set.
*/
@java.lang.Override
public boolean hasIsNewTable() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @return The isNewTable.
*/
@java.lang.Override
public boolean getIsNewTable() {
return isNewTable_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
for (int i = 0; i < indexIds_.size(); i++) {
output.writeInt64(2, indexIds_.getLong(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(4, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(5, dbId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(6, isNewTable_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
{
int dataSize = 0;
for (int i = 0; i < indexIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(indexIds_.getLong(i));
}
size += dataSize;
size += 1 * getIndexIdsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, dbId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, isNewTable_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.IndexRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.IndexRequest other = (org.apache.doris.cloud.proto.Cloud.IndexRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getIndexIdsList()
.equals(other.getIndexIdsList())) return false;
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasIsNewTable() != other.hasIsNewTable()) return false;
if (hasIsNewTable()) {
if (getIsNewTable()
!= other.getIsNewTable()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (getIndexIdsCount() > 0) {
hash = (37 * hash) + INDEX_IDS_FIELD_NUMBER;
hash = (53 * hash) + getIndexIdsList().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasIsNewTable()) {
hash = (37 * hash) + IS_NEW_TABLE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsNewTable());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.IndexRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.IndexRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.IndexRequest)
org.apache.doris.cloud.proto.Cloud.IndexRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.IndexRequest.class, org.apache.doris.cloud.proto.Cloud.IndexRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.IndexRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
indexIds_ = emptyLongList();
tableId_ = 0L;
expiration_ = 0L;
dbId_ = 0L;
isNewTable_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.IndexRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexRequest build() {
org.apache.doris.cloud.proto.Cloud.IndexRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.IndexRequest result = new org.apache.doris.cloud.proto.Cloud.IndexRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.IndexRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
indexIds_.makeImmutable();
result.indexIds_ = indexIds_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.isNewTable_ = isNewTable_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.IndexRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.IndexRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.IndexRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.IndexRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.indexIds_.isEmpty()) {
if (indexIds_.isEmpty()) {
indexIds_ = other.indexIds_;
indexIds_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensureIndexIdsIsMutable();
indexIds_.addAll(other.indexIds_);
}
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasIsNewTable()) {
setIsNewTable(other.getIsNewTable());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
long v = input.readInt64();
ensureIndexIdsIsMutable();
indexIds_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureIndexIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
indexIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
case 24: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
isNewTable_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList indexIds_ = emptyLongList();
private void ensureIndexIdsIsMutable() {
if (!indexIds_.isModifiable()) {
indexIds_ = makeMutableCopy(indexIds_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @return A list containing the indexIds.
*/
public java.util.List<java.lang.Long>
getIndexIdsList() {
indexIds_.makeImmutable();
return indexIds_;
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @return The count of indexIds.
*/
public int getIndexIdsCount() {
return indexIds_.size();
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
public long getIndexIds(int index) {
return indexIds_.getLong(index);
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @param index The index to set the value at.
* @param value The indexIds to set.
* @return This builder for chaining.
*/
public Builder setIndexIds(
int index, long value) {
ensureIndexIdsIsMutable();
indexIds_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @param value The indexIds to add.
* @return This builder for chaining.
*/
public Builder addIndexIds(long value) {
ensureIndexIdsIsMutable();
indexIds_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @param values The indexIds to add.
* @return This builder for chaining.
*/
public Builder addAllIndexIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureIndexIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, indexIds_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 2;</code>
* @return This builder for chaining.
*/
public Builder clearIndexIds() {
indexIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 3;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000004);
tableId_ = 0L;
onChanged();
return this;
}
private long expiration_ ;
/**
* <code>optional int64 expiration = 4;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 expiration = 4;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <code>optional int64 expiration = 4;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 expiration = 4;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000008);
expiration_ = 0L;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 5;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 db_id = 5;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 5;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000010);
dbId_ = 0L;
onChanged();
return this;
}
private boolean isNewTable_ ;
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @return Whether the isNewTable field is set.
*/
@java.lang.Override
public boolean hasIsNewTable() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @return The isNewTable.
*/
@java.lang.Override
public boolean getIsNewTable() {
return isNewTable_;
}
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @param value The isNewTable to set.
* @return This builder for chaining.
*/
public Builder setIsNewTable(boolean value) {
isNewTable_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <pre>
* For table version
* </pre>
*
* <code>optional bool is_new_table = 6;</code>
* @return This builder for chaining.
*/
public Builder clearIsNewTable() {
bitField0_ = (bitField0_ & ~0x00000020);
isNewTable_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.IndexRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.IndexRequest)
private static final org.apache.doris.cloud.proto.Cloud.IndexRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.IndexRequest();
}
public static org.apache.doris.cloud.proto.Cloud.IndexRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<IndexRequest>
PARSER = new com.google.protobuf.AbstractParser<IndexRequest>() {
@java.lang.Override
public IndexRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<IndexRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<IndexRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface IndexResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.IndexResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.IndexResponse}
*/
public static final class IndexResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.IndexResponse)
IndexResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use IndexResponse.newBuilder() to construct.
private IndexResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private IndexResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IndexResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.IndexResponse.class, org.apache.doris.cloud.proto.Cloud.IndexResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.IndexResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.IndexResponse other = (org.apache.doris.cloud.proto.Cloud.IndexResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.IndexResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.IndexResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.IndexResponse)
org.apache.doris.cloud.proto.Cloud.IndexResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.IndexResponse.class, org.apache.doris.cloud.proto.Cloud.IndexResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.IndexResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_IndexResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.IndexResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexResponse build() {
org.apache.doris.cloud.proto.Cloud.IndexResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.IndexResponse result = new org.apache.doris.cloud.proto.Cloud.IndexResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.IndexResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.IndexResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.IndexResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.IndexResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.IndexResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.IndexResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.IndexResponse)
private static final org.apache.doris.cloud.proto.Cloud.IndexResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.IndexResponse();
}
public static org.apache.doris.cloud.proto.Cloud.IndexResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<IndexResponse>
PARSER = new com.google.protobuf.AbstractParser<IndexResponse>() {
@java.lang.Override
public IndexResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<IndexResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<IndexResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.IndexResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PartitionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.PartitionRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>repeated int64 partition_ids = 2;</code>
* @return A list containing the partitionIds.
*/
java.util.List<java.lang.Long> getPartitionIdsList();
/**
* <code>repeated int64 partition_ids = 2;</code>
* @return The count of partitionIds.
*/
int getPartitionIdsCount();
/**
* <code>repeated int64 partition_ids = 2;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
long getPartitionIds(int index);
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>repeated int64 index_ids = 4;</code>
* @return A list containing the indexIds.
*/
java.util.List<java.lang.Long> getIndexIdsList();
/**
* <code>repeated int64 index_ids = 4;</code>
* @return The count of indexIds.
*/
int getIndexIdsCount();
/**
* <code>repeated int64 index_ids = 4;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
long getIndexIds(int index);
/**
* <code>optional int64 expiration = 5;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <code>optional int64 expiration = 5;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <code>optional int64 db_id = 6;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 6;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional bool need_update_table_version = 7;</code>
* @return Whether the needUpdateTableVersion field is set.
*/
boolean hasNeedUpdateTableVersion();
/**
* <code>optional bool need_update_table_version = 7;</code>
* @return The needUpdateTableVersion.
*/
boolean getNeedUpdateTableVersion();
}
/**
* Protobuf type {@code doris.cloud.PartitionRequest}
*/
public static final class PartitionRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.PartitionRequest)
PartitionRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use PartitionRequest.newBuilder() to construct.
private PartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PartitionRequest() {
cloudUniqueId_ = "";
partitionIds_ = emptyLongList();
indexIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PartitionRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PartitionRequest.class, org.apache.doris.cloud.proto.Cloud.PartitionRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PARTITION_IDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList partitionIds_ =
emptyLongList();
/**
* <code>repeated int64 partition_ids = 2;</code>
* @return A list containing the partitionIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPartitionIdsList() {
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
public static final int TABLE_ID_FIELD_NUMBER = 3;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int INDEX_IDS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList indexIds_ =
emptyLongList();
/**
* <code>repeated int64 index_ids = 4;</code>
* @return A list containing the indexIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getIndexIdsList() {
return indexIds_;
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @return The count of indexIds.
*/
public int getIndexIdsCount() {
return indexIds_.size();
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
public long getIndexIds(int index) {
return indexIds_.getLong(index);
}
public static final int EXPIRATION_FIELD_NUMBER = 5;
private long expiration_ = 0L;
/**
* <code>optional int64 expiration = 5;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 expiration = 5;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int DB_ID_FIELD_NUMBER = 6;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 6;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 db_id = 6;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int NEED_UPDATE_TABLE_VERSION_FIELD_NUMBER = 7;
private boolean needUpdateTableVersion_ = false;
/**
* <code>optional bool need_update_table_version = 7;</code>
* @return Whether the needUpdateTableVersion field is set.
*/
@java.lang.Override
public boolean hasNeedUpdateTableVersion() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional bool need_update_table_version = 7;</code>
* @return The needUpdateTableVersion.
*/
@java.lang.Override
public boolean getNeedUpdateTableVersion() {
return needUpdateTableVersion_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
for (int i = 0; i < partitionIds_.size(); i++) {
output.writeInt64(2, partitionIds_.getLong(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, tableId_);
}
for (int i = 0; i < indexIds_.size(); i++) {
output.writeInt64(4, indexIds_.getLong(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(5, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(6, dbId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(7, needUpdateTableVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
{
int dataSize = 0;
for (int i = 0; i < partitionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(partitionIds_.getLong(i));
}
size += dataSize;
size += 1 * getPartitionIdsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, tableId_);
}
{
int dataSize = 0;
for (int i = 0; i < indexIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(indexIds_.getLong(i));
}
size += dataSize;
size += 1 * getIndexIdsList().size();
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, expiration_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, dbId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, needUpdateTableVersion_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.PartitionRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.PartitionRequest other = (org.apache.doris.cloud.proto.Cloud.PartitionRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getPartitionIdsList()
.equals(other.getPartitionIdsList())) return false;
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (!getIndexIdsList()
.equals(other.getIndexIdsList())) return false;
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasNeedUpdateTableVersion() != other.hasNeedUpdateTableVersion()) return false;
if (hasNeedUpdateTableVersion()) {
if (getNeedUpdateTableVersion()
!= other.getNeedUpdateTableVersion()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (getPartitionIdsCount() > 0) {
hash = (37 * hash) + PARTITION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionIdsList().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (getIndexIdsCount() > 0) {
hash = (37 * hash) + INDEX_IDS_FIELD_NUMBER;
hash = (53 * hash) + getIndexIdsList().hashCode();
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasNeedUpdateTableVersion()) {
hash = (37 * hash) + NEED_UPDATE_TABLE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getNeedUpdateTableVersion());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.PartitionRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.PartitionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.PartitionRequest)
org.apache.doris.cloud.proto.Cloud.PartitionRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PartitionRequest.class, org.apache.doris.cloud.proto.Cloud.PartitionRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.PartitionRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
partitionIds_ = emptyLongList();
tableId_ = 0L;
indexIds_ = emptyLongList();
expiration_ = 0L;
dbId_ = 0L;
needUpdateTableVersion_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.PartitionRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionRequest build() {
org.apache.doris.cloud.proto.Cloud.PartitionRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.PartitionRequest result = new org.apache.doris.cloud.proto.Cloud.PartitionRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.PartitionRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
partitionIds_.makeImmutable();
result.partitionIds_ = partitionIds_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
indexIds_.makeImmutable();
result.indexIds_ = indexIds_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.needUpdateTableVersion_ = needUpdateTableVersion_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.PartitionRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.PartitionRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.PartitionRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.PartitionRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.partitionIds_.isEmpty()) {
if (partitionIds_.isEmpty()) {
partitionIds_ = other.partitionIds_;
partitionIds_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensurePartitionIdsIsMutable();
partitionIds_.addAll(other.partitionIds_);
}
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (!other.indexIds_.isEmpty()) {
if (indexIds_.isEmpty()) {
indexIds_ = other.indexIds_;
indexIds_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureIndexIdsIsMutable();
indexIds_.addAll(other.indexIds_);
}
onChanged();
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasNeedUpdateTableVersion()) {
setNeedUpdateTableVersion(other.getNeedUpdateTableVersion());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
long v = input.readInt64();
ensurePartitionIdsIsMutable();
partitionIds_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePartitionIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
partitionIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
case 24: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
long v = input.readInt64();
ensureIndexIdsIsMutable();
indexIds_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureIndexIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
indexIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
needUpdateTableVersion_ = input.readBool();
bitField0_ |= 0x00000040;
break;
} // case 56
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIds_ = emptyLongList();
private void ensurePartitionIdsIsMutable() {
if (!partitionIds_.isModifiable()) {
partitionIds_ = makeMutableCopy(partitionIds_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @return A list containing the partitionIds.
*/
public java.util.List<java.lang.Long>
getPartitionIdsList() {
partitionIds_.makeImmutable();
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @param index The index to set the value at.
* @param value The partitionIds to set.
* @return This builder for chaining.
*/
public Builder setPartitionIds(
int index, long value) {
ensurePartitionIdsIsMutable();
partitionIds_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @param value The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addPartitionIds(long value) {
ensurePartitionIdsIsMutable();
partitionIds_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @param values The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePartitionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionIds_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 2;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionIds() {
partitionIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 3;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000004);
tableId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList indexIds_ = emptyLongList();
private void ensureIndexIdsIsMutable() {
if (!indexIds_.isModifiable()) {
indexIds_ = makeMutableCopy(indexIds_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @return A list containing the indexIds.
*/
public java.util.List<java.lang.Long>
getIndexIdsList() {
indexIds_.makeImmutable();
return indexIds_;
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @return The count of indexIds.
*/
public int getIndexIdsCount() {
return indexIds_.size();
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
public long getIndexIds(int index) {
return indexIds_.getLong(index);
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @param index The index to set the value at.
* @param value The indexIds to set.
* @return This builder for chaining.
*/
public Builder setIndexIds(
int index, long value) {
ensureIndexIdsIsMutable();
indexIds_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @param value The indexIds to add.
* @return This builder for chaining.
*/
public Builder addIndexIds(long value) {
ensureIndexIdsIsMutable();
indexIds_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @param values The indexIds to add.
* @return This builder for chaining.
*/
public Builder addAllIndexIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureIndexIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, indexIds_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 4;</code>
* @return This builder for chaining.
*/
public Builder clearIndexIds() {
indexIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private long expiration_ ;
/**
* <code>optional int64 expiration = 5;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 expiration = 5;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <code>optional int64 expiration = 5;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 expiration = 5;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000010);
expiration_ = 0L;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 6;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 db_id = 6;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 6;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 6;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000020);
dbId_ = 0L;
onChanged();
return this;
}
private boolean needUpdateTableVersion_ ;
/**
* <code>optional bool need_update_table_version = 7;</code>
* @return Whether the needUpdateTableVersion field is set.
*/
@java.lang.Override
public boolean hasNeedUpdateTableVersion() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional bool need_update_table_version = 7;</code>
* @return The needUpdateTableVersion.
*/
@java.lang.Override
public boolean getNeedUpdateTableVersion() {
return needUpdateTableVersion_;
}
/**
* <code>optional bool need_update_table_version = 7;</code>
* @param value The needUpdateTableVersion to set.
* @return This builder for chaining.
*/
public Builder setNeedUpdateTableVersion(boolean value) {
needUpdateTableVersion_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional bool need_update_table_version = 7;</code>
* @return This builder for chaining.
*/
public Builder clearNeedUpdateTableVersion() {
bitField0_ = (bitField0_ & ~0x00000040);
needUpdateTableVersion_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.PartitionRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.PartitionRequest)
private static final org.apache.doris.cloud.proto.Cloud.PartitionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.PartitionRequest();
}
public static org.apache.doris.cloud.proto.Cloud.PartitionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<PartitionRequest>
PARSER = new com.google.protobuf.AbstractParser<PartitionRequest>() {
@java.lang.Override
public PartitionRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<PartitionRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PartitionRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PartitionResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.PartitionResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.PartitionResponse}
*/
public static final class PartitionResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.PartitionResponse)
PartitionResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use PartitionResponse.newBuilder() to construct.
private PartitionResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PartitionResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PartitionResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PartitionResponse.class, org.apache.doris.cloud.proto.Cloud.PartitionResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.PartitionResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.PartitionResponse other = (org.apache.doris.cloud.proto.Cloud.PartitionResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.PartitionResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.PartitionResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.PartitionResponse)
org.apache.doris.cloud.proto.Cloud.PartitionResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PartitionResponse.class, org.apache.doris.cloud.proto.Cloud.PartitionResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.PartitionResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PartitionResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.PartitionResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionResponse build() {
org.apache.doris.cloud.proto.Cloud.PartitionResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.PartitionResponse result = new org.apache.doris.cloud.proto.Cloud.PartitionResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.PartitionResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.PartitionResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.PartitionResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.PartitionResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.PartitionResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.PartitionResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.PartitionResponse)
private static final org.apache.doris.cloud.proto.Cloud.PartitionResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.PartitionResponse();
}
public static org.apache.doris.cloud.proto.Cloud.PartitionResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<PartitionResponse>
PARSER = new com.google.protobuf.AbstractParser<PartitionResponse>() {
@java.lang.Override
public PartitionResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<PartitionResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PartitionResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PartitionResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MetaServiceResponseStatusOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.MetaServiceResponseStatus)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @return Whether the code field is set.
*/
boolean hasCode();
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @return The code.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceCode getCode();
/**
* <code>optional string msg = 2;</code>
* @return Whether the msg field is set.
*/
boolean hasMsg();
/**
* <code>optional string msg = 2;</code>
* @return The msg.
*/
java.lang.String getMsg();
/**
* <code>optional string msg = 2;</code>
* @return The bytes for msg.
*/
com.google.protobuf.ByteString
getMsgBytes();
}
/**
* Protobuf type {@code doris.cloud.MetaServiceResponseStatus}
*/
public static final class MetaServiceResponseStatus extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.MetaServiceResponseStatus)
MetaServiceResponseStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetaServiceResponseStatus.newBuilder() to construct.
private MetaServiceResponseStatus(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private MetaServiceResponseStatus() {
code_ = 0;
msg_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MetaServiceResponseStatus();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceResponseStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceResponseStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.class, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder.class);
}
private int bitField0_;
public static final int CODE_FIELD_NUMBER = 1;
private int code_ = 0;
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @return Whether the code field is set.
*/
@java.lang.Override public boolean hasCode() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @return The code.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.MetaServiceCode getCode() {
org.apache.doris.cloud.proto.Cloud.MetaServiceCode result = org.apache.doris.cloud.proto.Cloud.MetaServiceCode.forNumber(code_);
return result == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceCode.OK : result;
}
public static final int MSG_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object msg_ = "";
/**
* <code>optional string msg = 2;</code>
* @return Whether the msg field is set.
*/
@java.lang.Override
public boolean hasMsg() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string msg = 2;</code>
* @return The msg.
*/
@java.lang.Override
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
msg_ = s;
}
return s;
}
}
/**
* <code>optional string msg = 2;</code>
* @return The bytes for msg.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(1, code_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, msg_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, code_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, msg_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus other = (org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus) obj;
if (hasCode() != other.hasCode()) return false;
if (hasCode()) {
if (code_ != other.code_) return false;
}
if (hasMsg() != other.hasMsg()) return false;
if (hasMsg()) {
if (!getMsg()
.equals(other.getMsg())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCode()) {
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + code_;
}
if (hasMsg()) {
hash = (37 * hash) + MSG_FIELD_NUMBER;
hash = (53 * hash) + getMsg().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.MetaServiceResponseStatus}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.MetaServiceResponseStatus)
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceResponseStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceResponseStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.class, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
code_ = 0;
msg_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceResponseStatus_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus build() {
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus buildPartial() {
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus result = new org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.code_ = code_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.msg_ = msg_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus other) {
if (other == org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) return this;
if (other.hasCode()) {
setCode(other.getCode());
}
if (other.hasMsg()) {
msg_ = other.msg_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.MetaServiceCode tmpValue =
org.apache.doris.cloud.proto.Cloud.MetaServiceCode.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(1, tmpRaw);
} else {
code_ = tmpRaw;
bitField0_ |= 0x00000001;
}
break;
} // case 8
case 18: {
msg_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int code_ = 0;
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @return Whether the code field is set.
*/
@java.lang.Override public boolean hasCode() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @return The code.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceCode getCode() {
org.apache.doris.cloud.proto.Cloud.MetaServiceCode result = org.apache.doris.cloud.proto.Cloud.MetaServiceCode.forNumber(code_);
return result == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceCode.OK : result;
}
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @param value The code to set.
* @return This builder for chaining.
*/
public Builder setCode(org.apache.doris.cloud.proto.Cloud.MetaServiceCode value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
code_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceCode code = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCode() {
bitField0_ = (bitField0_ & ~0x00000001);
code_ = 0;
onChanged();
return this;
}
private java.lang.Object msg_ = "";
/**
* <code>optional string msg = 2;</code>
* @return Whether the msg field is set.
*/
public boolean hasMsg() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string msg = 2;</code>
* @return The msg.
*/
public java.lang.String getMsg() {
java.lang.Object ref = msg_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
msg_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string msg = 2;</code>
* @return The bytes for msg.
*/
public com.google.protobuf.ByteString
getMsgBytes() {
java.lang.Object ref = msg_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
msg_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string msg = 2;</code>
* @param value The msg to set.
* @return This builder for chaining.
*/
public Builder setMsg(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
msg_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string msg = 2;</code>
* @return This builder for chaining.
*/
public Builder clearMsg() {
msg_ = getDefaultInstance().getMsg();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string msg = 2;</code>
* @param value The bytes for msg to set.
* @return This builder for chaining.
*/
public Builder setMsgBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
msg_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.MetaServiceResponseStatus)
}
// @@protoc_insertion_point(class_scope:doris.cloud.MetaServiceResponseStatus)
private static final org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus();
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<MetaServiceResponseStatus>
PARSER = new com.google.protobuf.AbstractParser<MetaServiceResponseStatus>() {
@java.lang.Override
public MetaServiceResponseStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<MetaServiceResponseStatus> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MetaServiceResponseStatus> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MetaServiceHttpRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.MetaServiceHttpRequest)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code doris.cloud.MetaServiceHttpRequest}
*/
public static final class MetaServiceHttpRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.MetaServiceHttpRequest)
MetaServiceHttpRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetaServiceHttpRequest.newBuilder() to construct.
private MetaServiceHttpRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private MetaServiceHttpRequest() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MetaServiceHttpRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest.class, org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest other = (org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.MetaServiceHttpRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.MetaServiceHttpRequest)
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest.class, org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest build() {
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest result = new org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.MetaServiceHttpRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.MetaServiceHttpRequest)
private static final org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest();
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<MetaServiceHttpRequest>
PARSER = new com.google.protobuf.AbstractParser<MetaServiceHttpRequest>() {
@java.lang.Override
public MetaServiceHttpRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<MetaServiceHttpRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MetaServiceHttpRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MetaServiceHttpResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.MetaServiceHttpResponse)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code doris.cloud.MetaServiceHttpResponse}
*/
public static final class MetaServiceHttpResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.MetaServiceHttpResponse)
MetaServiceHttpResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetaServiceHttpResponse.newBuilder() to construct.
private MetaServiceHttpResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private MetaServiceHttpResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MetaServiceHttpResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse.class, org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse other = (org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.MetaServiceHttpResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.MetaServiceHttpResponse)
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse.class, org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MetaServiceHttpResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse build() {
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse result = new org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.MetaServiceHttpResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.MetaServiceHttpResponse)
private static final org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse();
}
public static org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<MetaServiceHttpResponse>
PARSER = new com.google.protobuf.AbstractParser<MetaServiceHttpResponse>() {
@java.lang.Override
public MetaServiceHttpResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<MetaServiceHttpResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MetaServiceHttpResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceHttpResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateInstanceRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateInstanceRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional string user_id = 2;</code>
* @return Whether the userId field is set.
*/
boolean hasUserId();
/**
* <code>optional string user_id = 2;</code>
* @return The userId.
*/
java.lang.String getUserId();
/**
* <code>optional string user_id = 2;</code>
* @return The bytes for userId.
*/
com.google.protobuf.ByteString
getUserIdBytes();
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return Whether the objInfo field is set.
*/
boolean hasObjInfo();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return The objInfo.
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo();
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
* @return Whether the ramUser field is set.
*/
boolean hasRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
* @return The ramUser.
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder();
/**
* <code>optional bool sse_enabled = 6;</code>
* @return Whether the sseEnabled field is set.
*/
boolean hasSseEnabled();
/**
* <code>optional bool sse_enabled = 6;</code>
* @return The sseEnabled.
*/
boolean getSseEnabled();
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
* @return Whether the vault field is set.
*/
boolean hasVault();
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
* @return The vault.
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPB getVault();
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getVaultOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.CreateInstanceRequest}
*/
public static final class CreateInstanceRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateInstanceRequest)
CreateInstanceRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateInstanceRequest.newBuilder() to construct.
private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateInstanceRequest() {
instanceId_ = "";
userId_ = "";
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateInstanceRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int USER_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 2;</code>
* @return Whether the userId field is set.
*/
@java.lang.Override
public boolean hasUserId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string user_id = 2;</code>
* @return The userId.
*/
@java.lang.Override
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
}
}
/**
* <code>optional string user_id = 2;</code>
* @return The bytes for userId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OBJ_INFO_FIELD_NUMBER = 4;
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB objInfo_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return Whether the objInfo field is set.
*/
@java.lang.Override
public boolean hasObjInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return The objInfo.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo() {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder() {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
public static final int RAM_USER_FIELD_NUMBER = 5;
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
* @return Whether the ramUser field is set.
*/
@java.lang.Override
public boolean hasRamUser() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
* @return The ramUser.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
public static final int SSE_ENABLED_FIELD_NUMBER = 6;
private boolean sseEnabled_ = false;
/**
* <code>optional bool sse_enabled = 6;</code>
* @return Whether the sseEnabled field is set.
*/
@java.lang.Override
public boolean hasSseEnabled() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional bool sse_enabled = 6;</code>
* @return The sseEnabled.
*/
@java.lang.Override
public boolean getSseEnabled() {
return sseEnabled_;
}
public static final int VAULT_FIELD_NUMBER = 7;
private org.apache.doris.cloud.proto.Cloud.StorageVaultPB vault_;
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
* @return Whether the vault field is set.
*/
@java.lang.Override
public boolean hasVault() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
* @return The vault.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getVault() {
return vault_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getVaultOrBuilder() {
return vault_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
if (hasVault()) {
if (!getVault().isInitialized()) {
memoizedIsInitialized = 0;
return false;
}
}
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getObjInfo());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(5, getRamUser());
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBool(6, sseEnabled_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeMessage(7, getVault());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getObjInfo());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getRamUser());
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, sseEnabled_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getVault());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest other = (org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasUserId() != other.hasUserId()) return false;
if (hasUserId()) {
if (!getUserId()
.equals(other.getUserId())) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (hasObjInfo() != other.hasObjInfo()) return false;
if (hasObjInfo()) {
if (!getObjInfo()
.equals(other.getObjInfo())) return false;
}
if (hasRamUser() != other.hasRamUser()) return false;
if (hasRamUser()) {
if (!getRamUser()
.equals(other.getRamUser())) return false;
}
if (hasSseEnabled() != other.hasSseEnabled()) return false;
if (hasSseEnabled()) {
if (getSseEnabled()
!= other.getSseEnabled()) return false;
}
if (hasVault() != other.hasVault()) return false;
if (hasVault()) {
if (!getVault()
.equals(other.getVault())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasUserId()) {
hash = (37 * hash) + USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getUserId().hashCode();
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasObjInfo()) {
hash = (37 * hash) + OBJ_INFO_FIELD_NUMBER;
hash = (53 * hash) + getObjInfo().hashCode();
}
if (hasRamUser()) {
hash = (37 * hash) + RAM_USER_FIELD_NUMBER;
hash = (53 * hash) + getRamUser().hashCode();
}
if (hasSseEnabled()) {
hash = (37 * hash) + SSE_ENABLED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getSseEnabled());
}
if (hasVault()) {
hash = (37 * hash) + VAULT_FIELD_NUMBER;
hash = (53 * hash) + getVault().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateInstanceRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateInstanceRequest)
org.apache.doris.cloud.proto.Cloud.CreateInstanceRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getObjInfoFieldBuilder();
getRamUserFieldBuilder();
getVaultFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
userId_ = "";
name_ = "";
objInfo_ = null;
if (objInfoBuilder_ != null) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
}
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
sseEnabled_ = false;
vault_ = null;
if (vaultBuilder_ != null) {
vaultBuilder_.dispose();
vaultBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest build() {
org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest result = new org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.userId_ = userId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.objInfo_ = objInfoBuilder_ == null
? objInfo_
: objInfoBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.ramUser_ = ramUserBuilder_ == null
? ramUser_
: ramUserBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.sseEnabled_ = sseEnabled_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.vault_ = vaultBuilder_ == null
? vault_
: vaultBuilder_.build();
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasUserId()) {
userId_ = other.userId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasObjInfo()) {
mergeObjInfo(other.getObjInfo());
}
if (other.hasRamUser()) {
mergeRamUser(other.getRamUser());
}
if (other.hasSseEnabled()) {
setSseEnabled(other.getSseEnabled());
}
if (other.hasVault()) {
mergeVault(other.getVault());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
if (hasVault()) {
if (!getVault().isInitialized()) {
return false;
}
}
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
userId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
name_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
input.readMessage(
getObjInfoFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
input.readMessage(
getRamUserFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
sseEnabled_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
input.readMessage(
getVaultFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000040;
break;
} // case 58
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object userId_ = "";
/**
* <code>optional string user_id = 2;</code>
* @return Whether the userId field is set.
*/
public boolean hasUserId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string user_id = 2;</code>
* @return The userId.
*/
public java.lang.String getUserId() {
java.lang.Object ref = userId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
userId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string user_id = 2;</code>
* @return The bytes for userId.
*/
public com.google.protobuf.ByteString
getUserIdBytes() {
java.lang.Object ref = userId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
userId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string user_id = 2;</code>
* @param value The userId to set.
* @return This builder for chaining.
*/
public Builder setUserId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string user_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearUserId() {
userId_ = getDefaultInstance().getUserId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string user_id = 2;</code>
* @param value The bytes for userId to set.
* @return This builder for chaining.
*/
public Builder setUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
userId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <pre>
* Alias
* </pre>
*
* <code>optional string name = 3;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB objInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder> objInfoBuilder_;
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return Whether the objInfo field is set.
*/
public boolean hasObjInfo() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
* @return The objInfo.
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB getObjInfo() {
if (objInfoBuilder_ == null) {
return objInfo_ == null ? org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
} else {
return objInfoBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder setObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
objInfo_ = value;
} else {
objInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder setObjInfo(
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder builderForValue) {
if (objInfoBuilder_ == null) {
objInfo_ = builderForValue.build();
} else {
objInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder mergeObjInfo(org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB value) {
if (objInfoBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
objInfo_ != null &&
objInfo_ != org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance()) {
getObjInfoBuilder().mergeFrom(value);
} else {
objInfo_ = value;
}
} else {
objInfoBuilder_.mergeFrom(value);
}
if (objInfo_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public Builder clearObjInfo() {
bitField0_ = (bitField0_ & ~0x00000008);
objInfo_ = null;
if (objInfoBuilder_ != null) {
objInfoBuilder_.dispose();
objInfoBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder getObjInfoBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getObjInfoFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder getObjInfoOrBuilder() {
if (objInfoBuilder_ != null) {
return objInfoBuilder_.getMessageOrBuilder();
} else {
return objInfo_ == null ?
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.getDefaultInstance() : objInfo_;
}
}
/**
* <code>optional .doris.cloud.ObjectStoreInfoPB obj_info = 4;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>
getObjInfoFieldBuilder() {
if (objInfoBuilder_ == null) {
objInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectStoreInfoPBOrBuilder>(
getObjInfo(),
getParentForChildren(),
isClean());
objInfo_ = null;
}
return objInfoBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> ramUserBuilder_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
* @return Whether the ramUser field is set.
*/
public boolean hasRamUser() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
* @return The ramUser.
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
if (ramUserBuilder_ == null) {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
} else {
return ramUserBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
public Builder setRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ramUser_ = value;
} else {
ramUserBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
public Builder setRamUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (ramUserBuilder_ == null) {
ramUser_ = builderForValue.build();
} else {
ramUserBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
public Builder mergeRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
ramUser_ != null &&
ramUser_ != org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) {
getRamUserBuilder().mergeFrom(value);
} else {
ramUser_ = value;
}
} else {
ramUserBuilder_.mergeFrom(value);
}
if (ramUser_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
public Builder clearRamUser() {
bitField0_ = (bitField0_ & ~0x00000010);
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getRamUserBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getRamUserFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
if (ramUserBuilder_ != null) {
return ramUserBuilder_.getMessageOrBuilder();
} else {
return ramUser_ == null ?
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 5;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getRamUserFieldBuilder() {
if (ramUserBuilder_ == null) {
ramUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
getRamUser(),
getParentForChildren(),
isClean());
ramUser_ = null;
}
return ramUserBuilder_;
}
private boolean sseEnabled_ ;
/**
* <code>optional bool sse_enabled = 6;</code>
* @return Whether the sseEnabled field is set.
*/
@java.lang.Override
public boolean hasSseEnabled() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional bool sse_enabled = 6;</code>
* @return The sseEnabled.
*/
@java.lang.Override
public boolean getSseEnabled() {
return sseEnabled_;
}
/**
* <code>optional bool sse_enabled = 6;</code>
* @param value The sseEnabled to set.
* @return This builder for chaining.
*/
public Builder setSseEnabled(boolean value) {
sseEnabled_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional bool sse_enabled = 6;</code>
* @return This builder for chaining.
*/
public Builder clearSseEnabled() {
bitField0_ = (bitField0_ & ~0x00000020);
sseEnabled_ = false;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.StorageVaultPB vault_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder> vaultBuilder_;
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
* @return Whether the vault field is set.
*/
public boolean hasVault() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
* @return The vault.
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB getVault() {
if (vaultBuilder_ == null) {
return vault_ == null ? org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
} else {
return vaultBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
public Builder setVault(org.apache.doris.cloud.proto.Cloud.StorageVaultPB value) {
if (vaultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
vault_ = value;
} else {
vaultBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
public Builder setVault(
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder builderForValue) {
if (vaultBuilder_ == null) {
vault_ = builderForValue.build();
} else {
vaultBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
public Builder mergeVault(org.apache.doris.cloud.proto.Cloud.StorageVaultPB value) {
if (vaultBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
vault_ != null &&
vault_ != org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance()) {
getVaultBuilder().mergeFrom(value);
} else {
vault_ = value;
}
} else {
vaultBuilder_.mergeFrom(value);
}
if (vault_ != null) {
bitField0_ |= 0x00000040;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
public Builder clearVault() {
bitField0_ = (bitField0_ & ~0x00000040);
vault_ = null;
if (vaultBuilder_ != null) {
vaultBuilder_.dispose();
vaultBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder getVaultBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getVaultFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder getVaultOrBuilder() {
if (vaultBuilder_ != null) {
return vaultBuilder_.getMessageOrBuilder();
} else {
return vault_ == null ?
org.apache.doris.cloud.proto.Cloud.StorageVaultPB.getDefaultInstance() : vault_;
}
}
/**
* <code>optional .doris.cloud.StorageVaultPB vault = 7;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>
getVaultFieldBuilder() {
if (vaultBuilder_ == null) {
vaultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StorageVaultPB, org.apache.doris.cloud.proto.Cloud.StorageVaultPB.Builder, org.apache.doris.cloud.proto.Cloud.StorageVaultPBOrBuilder>(
getVault(),
getParentForChildren(),
isClean());
vault_ = null;
}
return vaultBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateInstanceRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateInstanceRequest)
private static final org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateInstanceRequest>
PARSER = new com.google.protobuf.AbstractParser<CreateInstanceRequest>() {
@java.lang.Override
public CreateInstanceRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateInstanceRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateInstanceRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateInstanceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateInstanceResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.CreateInstanceResponse}
*/
public static final class CreateInstanceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateInstanceResponse)
CreateInstanceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateInstanceResponse.newBuilder() to construct.
private CreateInstanceResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateInstanceResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateInstanceResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse other = (org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateInstanceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateInstanceResponse)
org.apache.doris.cloud.proto.Cloud.CreateInstanceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateInstanceResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse build() {
org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse result = new org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateInstanceResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateInstanceResponse)
private static final org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateInstanceResponse>
PARSER = new com.google.protobuf.AbstractParser<CreateInstanceResponse>() {
@java.lang.Override
public CreateInstanceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateInstanceResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateInstanceResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateInstanceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterInstanceRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterInstanceRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @return Whether the op field is set.
*/
boolean hasOp();
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @return The op.
*/
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation getOp();
/**
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
boolean hasName();
/**
* <code>optional string name = 3;</code>
* @return The name.
*/
java.lang.String getName();
/**
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
}
/**
* Protobuf type {@code doris.cloud.AlterInstanceRequest}
*/
public static final class AlterInstanceRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterInstanceRequest)
AlterInstanceRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterInstanceRequest.newBuilder() to construct.
private AlterInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterInstanceRequest() {
instanceId_ = "";
op_ = 0;
name_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterInstanceRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.AlterInstanceRequest.Operation}
*/
public enum Operation
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>DROP = 1;</code>
*/
DROP(1),
/**
* <code>REFRESH = 2;</code>
*/
REFRESH(2),
/**
* <code>RENAME = 3;</code>
*/
RENAME(3),
/**
* <code>ENABLE_SSE = 4;</code>
*/
ENABLE_SSE(4),
/**
* <code>DISABLE_SSE = 5;</code>
*/
DISABLE_SSE(5),
/**
* <code>SET_OVERDUE = 6;</code>
*/
SET_OVERDUE(6),
/**
* <code>SET_NORMAL = 7;</code>
*/
SET_NORMAL(7),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>DROP = 1;</code>
*/
public static final int DROP_VALUE = 1;
/**
* <code>REFRESH = 2;</code>
*/
public static final int REFRESH_VALUE = 2;
/**
* <code>RENAME = 3;</code>
*/
public static final int RENAME_VALUE = 3;
/**
* <code>ENABLE_SSE = 4;</code>
*/
public static final int ENABLE_SSE_VALUE = 4;
/**
* <code>DISABLE_SSE = 5;</code>
*/
public static final int DISABLE_SSE_VALUE = 5;
/**
* <code>SET_OVERDUE = 6;</code>
*/
public static final int SET_OVERDUE_VALUE = 6;
/**
* <code>SET_NORMAL = 7;</code>
*/
public static final int SET_NORMAL_VALUE = 7;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Operation valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Operation forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return DROP;
case 2: return REFRESH;
case 3: return RENAME;
case 4: return ENABLE_SSE;
case 5: return DISABLE_SSE;
case 6: return SET_OVERDUE;
case 7: return SET_NORMAL;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Operation>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Operation> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Operation>() {
public Operation findValueByNumber(int number) {
return Operation.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.getDescriptor().getEnumTypes().get(0);
}
private static final Operation[] VALUES = values();
public static Operation valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Operation(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.AlterInstanceRequest.Operation)
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OP_FIELD_NUMBER = 2;
private int op_ = 0;
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @return The op.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation result = org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation.UNKNOWN : result;
}
public static final int NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object name_ = "";
/**
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
@java.lang.Override
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string name = 3;</code>
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(2, op_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, op_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest other = (org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasOp() != other.hasOp()) return false;
if (hasOp()) {
if (op_ != other.op_) return false;
}
if (hasName() != other.hasName()) return false;
if (hasName()) {
if (!getName()
.equals(other.getName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasOp()) {
hash = (37 * hash) + OP_FIELD_NUMBER;
hash = (53 * hash) + op_;
}
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterInstanceRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterInstanceRequest)
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
op_ = 0;
name_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest build() {
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest result = new org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.op_ = op_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.name_ = name_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasOp()) {
setOp(other.getOp());
}
if (other.hasName()) {
name_ = other.name_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation tmpValue =
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(2, tmpRaw);
} else {
op_ = tmpRaw;
bitField0_ |= 0x00000002;
}
break;
} // case 16
case 26: {
name_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int op_ = 0;
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @return The op.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation result = org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @param value The op to set.
* @return This builder for chaining.
*/
public Builder setOp(org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest.Operation value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
op_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.AlterInstanceRequest.Operation op = 2;</code>
* @return This builder for chaining.
*/
public Builder clearOp() {
bitField0_ = (bitField0_ & ~0x00000002);
op_ = 0;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* <code>optional string name = 3;</code>
* @return Whether the name field is set.
*/
public boolean hasName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string name = 3;</code>
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string name = 3;</code>
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string name = 3;</code>
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string name = 3;</code>
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
name_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterInstanceRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterInstanceRequest)
private static final org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterInstanceRequest>
PARSER = new com.google.protobuf.AbstractParser<AlterInstanceRequest>() {
@java.lang.Override
public AlterInstanceRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterInstanceRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterInstanceRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterInstanceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterInstanceResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AlterInstanceResponse}
*/
public static final class AlterInstanceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterInstanceResponse)
AlterInstanceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterInstanceResponse.newBuilder() to construct.
private AlterInstanceResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterInstanceResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterInstanceResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse other = (org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterInstanceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterInstanceResponse)
org.apache.doris.cloud.proto.Cloud.AlterInstanceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterInstanceResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse build() {
org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse result = new org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterInstanceResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterInstanceResponse)
private static final org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterInstanceResponse>
PARSER = new com.google.protobuf.AbstractParser<AlterInstanceResponse>() {
@java.lang.Override
public AlterInstanceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterInstanceResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterInstanceResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterInstanceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetInstanceRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetInstanceRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
}
/**
* Protobuf type {@code doris.cloud.GetInstanceRequest}
*/
public static final class GetInstanceRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetInstanceRequest)
GetInstanceRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetInstanceRequest.newBuilder() to construct.
private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetInstanceRequest() {
instanceId_ = "";
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetInstanceRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.GetInstanceRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cloudUniqueId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cloudUniqueId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetInstanceRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetInstanceRequest other = (org.apache.doris.cloud.proto.Cloud.GetInstanceRequest) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetInstanceRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetInstanceRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetInstanceRequest)
org.apache.doris.cloud.proto.Cloud.GetInstanceRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.GetInstanceRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetInstanceRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
cloudUniqueId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetInstanceRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceRequest build() {
org.apache.doris.cloud.proto.Cloud.GetInstanceRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetInstanceRequest result = new org.apache.doris.cloud.proto.Cloud.GetInstanceRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetInstanceRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetInstanceRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetInstanceRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetInstanceRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetInstanceRequest.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetInstanceRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetInstanceRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetInstanceRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetInstanceRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetInstanceRequest>
PARSER = new com.google.protobuf.AbstractParser<GetInstanceRequest>() {
@java.lang.Override
public GetInstanceRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetInstanceRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetInstanceRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetInstanceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetInstanceResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
* @return Whether the instance field is set.
*/
boolean hasInstance();
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
* @return The instance.
*/
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB getInstance();
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.InstanceInfoPBOrBuilder getInstanceOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetInstanceResponse}
*/
public static final class GetInstanceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetInstanceResponse)
GetInstanceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetInstanceResponse.newBuilder() to construct.
private GetInstanceResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetInstanceResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetInstanceResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.GetInstanceResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int INSTANCE_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.InstanceInfoPB instance_;
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
* @return Whether the instance field is set.
*/
@java.lang.Override
public boolean hasInstance() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
* @return The instance.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB getInstance() {
return instance_ == null ? org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDefaultInstance() : instance_;
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPBOrBuilder getInstanceOrBuilder() {
return instance_ == null ? org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDefaultInstance() : instance_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getInstance());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getInstance());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetInstanceResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetInstanceResponse other = (org.apache.doris.cloud.proto.Cloud.GetInstanceResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasInstance() != other.hasInstance()) return false;
if (hasInstance()) {
if (!getInstance()
.equals(other.getInstance())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasInstance()) {
hash = (37 * hash) + INSTANCE_FIELD_NUMBER;
hash = (53 * hash) + getInstance().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetInstanceResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetInstanceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetInstanceResponse)
org.apache.doris.cloud.proto.Cloud.GetInstanceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.GetInstanceResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetInstanceResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getInstanceFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
instance_ = null;
if (instanceBuilder_ != null) {
instanceBuilder_.dispose();
instanceBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetInstanceResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetInstanceResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceResponse build() {
org.apache.doris.cloud.proto.Cloud.GetInstanceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetInstanceResponse result = new org.apache.doris.cloud.proto.Cloud.GetInstanceResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetInstanceResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.instance_ = instanceBuilder_ == null
? instance_
: instanceBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetInstanceResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetInstanceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetInstanceResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetInstanceResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasInstance()) {
mergeInstance(other.getInstance());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getInstanceFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.InstanceInfoPB instance_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB, org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.InstanceInfoPBOrBuilder> instanceBuilder_;
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
* @return Whether the instance field is set.
*/
public boolean hasInstance() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
* @return The instance.
*/
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB getInstance() {
if (instanceBuilder_ == null) {
return instance_ == null ? org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDefaultInstance() : instance_;
} else {
return instanceBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
public Builder setInstance(org.apache.doris.cloud.proto.Cloud.InstanceInfoPB value) {
if (instanceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
instance_ = value;
} else {
instanceBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
public Builder setInstance(
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Builder builderForValue) {
if (instanceBuilder_ == null) {
instance_ = builderForValue.build();
} else {
instanceBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
public Builder mergeInstance(org.apache.doris.cloud.proto.Cloud.InstanceInfoPB value) {
if (instanceBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
instance_ != null &&
instance_ != org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDefaultInstance()) {
getInstanceBuilder().mergeFrom(value);
} else {
instance_ = value;
}
} else {
instanceBuilder_.mergeFrom(value);
}
if (instance_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
public Builder clearInstance() {
bitField0_ = (bitField0_ & ~0x00000002);
instance_ = null;
if (instanceBuilder_ != null) {
instanceBuilder_.dispose();
instanceBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Builder getInstanceBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getInstanceFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.InstanceInfoPBOrBuilder getInstanceOrBuilder() {
if (instanceBuilder_ != null) {
return instanceBuilder_.getMessageOrBuilder();
} else {
return instance_ == null ?
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.getDefaultInstance() : instance_;
}
}
/**
* <code>optional .doris.cloud.InstanceInfoPB instance = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB, org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.InstanceInfoPBOrBuilder>
getInstanceFieldBuilder() {
if (instanceBuilder_ == null) {
instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.InstanceInfoPB, org.apache.doris.cloud.proto.Cloud.InstanceInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.InstanceInfoPBOrBuilder>(
getInstance(),
getParentForChildren(),
isClean());
instance_ = null;
}
return instanceBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetInstanceResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetInstanceResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetInstanceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetInstanceResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetInstanceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetInstanceResponse>
PARSER = new com.google.protobuf.AbstractParser<GetInstanceResponse>() {
@java.lang.Override
public GetInstanceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetInstanceResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetInstanceResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetInstanceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterClusterRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterClusterRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
* @return Whether the cluster field is set.
*/
boolean hasCluster();
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
* @return The cluster.
*/
org.apache.doris.cloud.proto.Cloud.ClusterPB getCluster();
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClusterOrBuilder();
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @return Whether the op field is set.
*/
boolean hasOp();
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @return The op.
*/
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation getOp();
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @return Whether the replaceIfExistingEmptyTargetCluster field is set.
*/
boolean hasReplaceIfExistingEmptyTargetCluster();
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @return The replaceIfExistingEmptyTargetCluster.
*/
boolean getReplaceIfExistingEmptyTargetCluster();
}
/**
* Protobuf type {@code doris.cloud.AlterClusterRequest}
*/
public static final class AlterClusterRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterClusterRequest)
AlterClusterRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterClusterRequest.newBuilder() to construct.
private AlterClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterClusterRequest() {
instanceId_ = "";
cloudUniqueId_ = "";
op_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterClusterRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.class, org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.AlterClusterRequest.Operation}
*/
public enum Operation
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>ADD_CLUSTER = 1;</code>
*/
ADD_CLUSTER(1),
/**
* <code>DROP_CLUSTER = 2;</code>
*/
DROP_CLUSTER(2),
/**
* <code>ADD_NODE = 3;</code>
*/
ADD_NODE(3),
/**
* <code>DROP_NODE = 4;</code>
*/
DROP_NODE(4),
/**
* <code>RENAME_CLUSTER = 5;</code>
*/
RENAME_CLUSTER(5),
/**
* <pre>
* just for update cluster's mysql_user_name
* </pre>
*
* <code>UPDATE_CLUSTER_MYSQL_USER_NAME = 6;</code>
*/
UPDATE_CLUSTER_MYSQL_USER_NAME(6),
/**
* <code>DECOMMISSION_NODE = 7;</code>
*/
DECOMMISSION_NODE(7),
/**
* <code>NOTIFY_DECOMMISSIONED = 8;</code>
*/
NOTIFY_DECOMMISSIONED(8),
/**
* <code>UPDATE_CLUSTER_ENDPOINT = 9;</code>
*/
UPDATE_CLUSTER_ENDPOINT(9),
/**
* <code>SET_CLUSTER_STATUS = 10;</code>
*/
SET_CLUSTER_STATUS(10),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>ADD_CLUSTER = 1;</code>
*/
public static final int ADD_CLUSTER_VALUE = 1;
/**
* <code>DROP_CLUSTER = 2;</code>
*/
public static final int DROP_CLUSTER_VALUE = 2;
/**
* <code>ADD_NODE = 3;</code>
*/
public static final int ADD_NODE_VALUE = 3;
/**
* <code>DROP_NODE = 4;</code>
*/
public static final int DROP_NODE_VALUE = 4;
/**
* <code>RENAME_CLUSTER = 5;</code>
*/
public static final int RENAME_CLUSTER_VALUE = 5;
/**
* <pre>
* just for update cluster's mysql_user_name
* </pre>
*
* <code>UPDATE_CLUSTER_MYSQL_USER_NAME = 6;</code>
*/
public static final int UPDATE_CLUSTER_MYSQL_USER_NAME_VALUE = 6;
/**
* <code>DECOMMISSION_NODE = 7;</code>
*/
public static final int DECOMMISSION_NODE_VALUE = 7;
/**
* <code>NOTIFY_DECOMMISSIONED = 8;</code>
*/
public static final int NOTIFY_DECOMMISSIONED_VALUE = 8;
/**
* <code>UPDATE_CLUSTER_ENDPOINT = 9;</code>
*/
public static final int UPDATE_CLUSTER_ENDPOINT_VALUE = 9;
/**
* <code>SET_CLUSTER_STATUS = 10;</code>
*/
public static final int SET_CLUSTER_STATUS_VALUE = 10;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Operation valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Operation forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return ADD_CLUSTER;
case 2: return DROP_CLUSTER;
case 3: return ADD_NODE;
case 4: return DROP_NODE;
case 5: return RENAME_CLUSTER;
case 6: return UPDATE_CLUSTER_MYSQL_USER_NAME;
case 7: return DECOMMISSION_NODE;
case 8: return NOTIFY_DECOMMISSIONED;
case 9: return UPDATE_CLUSTER_ENDPOINT;
case 10: return SET_CLUSTER_STATUS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Operation>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Operation> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Operation>() {
public Operation findValueByNumber(int number) {
return Operation.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.getDescriptor().getEnumTypes().get(0);
}
private static final Operation[] VALUES = values();
public static Operation valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Operation(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.AlterClusterRequest.Operation)
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.ClusterPB cluster_;
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
* @return Whether the cluster field is set.
*/
@java.lang.Override
public boolean hasCluster() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
* @return The cluster.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB getCluster() {
return cluster_ == null ? org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance() : cluster_;
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClusterOrBuilder() {
return cluster_ == null ? org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance() : cluster_;
}
public static final int OP_FIELD_NUMBER = 4;
private int op_ = 0;
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @return The op.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation result = org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation.UNKNOWN : result;
}
public static final int REPLACE_IF_EXISTING_EMPTY_TARGET_CLUSTER_FIELD_NUMBER = 5;
private boolean replaceIfExistingEmptyTargetCluster_ = false;
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @return Whether the replaceIfExistingEmptyTargetCluster field is set.
*/
@java.lang.Override
public boolean hasReplaceIfExistingEmptyTargetCluster() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @return The replaceIfExistingEmptyTargetCluster.
*/
@java.lang.Override
public boolean getReplaceIfExistingEmptyTargetCluster() {
return replaceIfExistingEmptyTargetCluster_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cloudUniqueId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getCluster());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(4, op_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, replaceIfExistingEmptyTargetCluster_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cloudUniqueId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCluster());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, op_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, replaceIfExistingEmptyTargetCluster_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterClusterRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest other = (org.apache.doris.cloud.proto.Cloud.AlterClusterRequest) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasCluster() != other.hasCluster()) return false;
if (hasCluster()) {
if (!getCluster()
.equals(other.getCluster())) return false;
}
if (hasOp() != other.hasOp()) return false;
if (hasOp()) {
if (op_ != other.op_) return false;
}
if (hasReplaceIfExistingEmptyTargetCluster() != other.hasReplaceIfExistingEmptyTargetCluster()) return false;
if (hasReplaceIfExistingEmptyTargetCluster()) {
if (getReplaceIfExistingEmptyTargetCluster()
!= other.getReplaceIfExistingEmptyTargetCluster()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasCluster()) {
hash = (37 * hash) + CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getCluster().hashCode();
}
if (hasOp()) {
hash = (37 * hash) + OP_FIELD_NUMBER;
hash = (53 * hash) + op_;
}
if (hasReplaceIfExistingEmptyTargetCluster()) {
hash = (37 * hash) + REPLACE_IF_EXISTING_EMPTY_TARGET_CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getReplaceIfExistingEmptyTargetCluster());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterClusterRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterClusterRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterClusterRequest)
org.apache.doris.cloud.proto.Cloud.AlterClusterRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.class, org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getClusterFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
cloudUniqueId_ = "";
cluster_ = null;
if (clusterBuilder_ != null) {
clusterBuilder_.dispose();
clusterBuilder_ = null;
}
op_ = 0;
replaceIfExistingEmptyTargetCluster_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterRequest build() {
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest result = new org.apache.doris.cloud.proto.Cloud.AlterClusterRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterClusterRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.cluster_ = clusterBuilder_ == null
? cluster_
: clusterBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.op_ = op_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.replaceIfExistingEmptyTargetCluster_ = replaceIfExistingEmptyTargetCluster_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterClusterRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterClusterRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterClusterRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasCluster()) {
mergeCluster(other.getCluster());
}
if (other.hasOp()) {
setOp(other.getOp());
}
if (other.hasReplaceIfExistingEmptyTargetCluster()) {
setReplaceIfExistingEmptyTargetCluster(other.getReplaceIfExistingEmptyTargetCluster());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getClusterFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation tmpValue =
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
op_ = tmpRaw;
bitField0_ |= 0x00000008;
}
break;
} // case 32
case 40: {
replaceIfExistingEmptyTargetCluster_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 2;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.ClusterPB cluster_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder> clusterBuilder_;
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
* @return Whether the cluster field is set.
*/
public boolean hasCluster() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
* @return The cluster.
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB getCluster() {
if (clusterBuilder_ == null) {
return cluster_ == null ? org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance() : cluster_;
} else {
return clusterBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
public Builder setCluster(org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clusterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cluster_ = value;
} else {
clusterBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
public Builder setCluster(
org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clusterBuilder_ == null) {
cluster_ = builderForValue.build();
} else {
clusterBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
public Builder mergeCluster(org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clusterBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
cluster_ != null &&
cluster_ != org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance()) {
getClusterBuilder().mergeFrom(value);
} else {
cluster_ = value;
}
} else {
clusterBuilder_.mergeFrom(value);
}
if (cluster_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
public Builder clearCluster() {
bitField0_ = (bitField0_ & ~0x00000004);
cluster_ = null;
if (clusterBuilder_ != null) {
clusterBuilder_.dispose();
clusterBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder getClusterBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getClusterFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClusterOrBuilder() {
if (clusterBuilder_ != null) {
return clusterBuilder_.getMessageOrBuilder();
} else {
return cluster_ == null ?
org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance() : cluster_;
}
}
/**
* <code>optional .doris.cloud.ClusterPB cluster = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClusterFieldBuilder() {
if (clusterBuilder_ == null) {
clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>(
getCluster(),
getParentForChildren(),
isClean());
cluster_ = null;
}
return clusterBuilder_;
}
private int op_ = 0;
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @return The op.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation result = org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @param value The op to set.
* @return This builder for chaining.
*/
public Builder setOp(org.apache.doris.cloud.proto.Cloud.AlterClusterRequest.Operation value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
op_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.AlterClusterRequest.Operation op = 4;</code>
* @return This builder for chaining.
*/
public Builder clearOp() {
bitField0_ = (bitField0_ & ~0x00000008);
op_ = 0;
onChanged();
return this;
}
private boolean replaceIfExistingEmptyTargetCluster_ ;
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @return Whether the replaceIfExistingEmptyTargetCluster field is set.
*/
@java.lang.Override
public boolean hasReplaceIfExistingEmptyTargetCluster() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @return The replaceIfExistingEmptyTargetCluster.
*/
@java.lang.Override
public boolean getReplaceIfExistingEmptyTargetCluster() {
return replaceIfExistingEmptyTargetCluster_;
}
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @param value The replaceIfExistingEmptyTargetCluster to set.
* @return This builder for chaining.
*/
public Builder setReplaceIfExistingEmptyTargetCluster(boolean value) {
replaceIfExistingEmptyTargetCluster_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* for SQL mode rename cluster, rename to cluster name eq instance empty cluster name, need drop empty cluster
* </pre>
*
* <code>optional bool replace_if_existing_empty_target_cluster = 5;</code>
* @return This builder for chaining.
*/
public Builder clearReplaceIfExistingEmptyTargetCluster() {
bitField0_ = (bitField0_ & ~0x00000010);
replaceIfExistingEmptyTargetCluster_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterClusterRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterClusterRequest)
private static final org.apache.doris.cloud.proto.Cloud.AlterClusterRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterClusterRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterClusterRequest>
PARSER = new com.google.protobuf.AbstractParser<AlterClusterRequest>() {
@java.lang.Override
public AlterClusterRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterClusterRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterClusterRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterClusterResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterClusterResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AlterClusterResponse}
*/
public static final class AlterClusterResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterClusterResponse)
AlterClusterResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterClusterResponse.newBuilder() to construct.
private AlterClusterResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterClusterResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterClusterResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterClusterResponse.class, org.apache.doris.cloud.proto.Cloud.AlterClusterResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterClusterResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterClusterResponse other = (org.apache.doris.cloud.proto.Cloud.AlterClusterResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterClusterResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterClusterResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterClusterResponse)
org.apache.doris.cloud.proto.Cloud.AlterClusterResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterClusterResponse.class, org.apache.doris.cloud.proto.Cloud.AlterClusterResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterClusterResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterClusterResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterClusterResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterResponse build() {
org.apache.doris.cloud.proto.Cloud.AlterClusterResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterClusterResponse result = new org.apache.doris.cloud.proto.Cloud.AlterClusterResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterClusterResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterClusterResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterClusterResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterClusterResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterClusterResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterClusterResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterClusterResponse)
private static final org.apache.doris.cloud.proto.Cloud.AlterClusterResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterClusterResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AlterClusterResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterClusterResponse>
PARSER = new com.google.protobuf.AbstractParser<AlterClusterResponse>() {
@java.lang.Override
public AlterClusterResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterClusterResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterClusterResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterClusterResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetClusterRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetClusterRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string cluster_id = 3;</code>
* @return Whether the clusterId field is set.
*/
boolean hasClusterId();
/**
* <code>optional string cluster_id = 3;</code>
* @return The clusterId.
*/
java.lang.String getClusterId();
/**
* <code>optional string cluster_id = 3;</code>
* @return The bytes for clusterId.
*/
com.google.protobuf.ByteString
getClusterIdBytes();
/**
* <code>optional string cluster_name = 4;</code>
* @return Whether the clusterName field is set.
*/
boolean hasClusterName();
/**
* <code>optional string cluster_name = 4;</code>
* @return The clusterName.
*/
java.lang.String getClusterName();
/**
* <code>optional string cluster_name = 4;</code>
* @return The bytes for clusterName.
*/
com.google.protobuf.ByteString
getClusterNameBytes();
/**
* <code>optional string mysql_user_name = 5;</code>
* @return Whether the mysqlUserName field is set.
*/
boolean hasMysqlUserName();
/**
* <code>optional string mysql_user_name = 5;</code>
* @return The mysqlUserName.
*/
java.lang.String getMysqlUserName();
/**
* <code>optional string mysql_user_name = 5;</code>
* @return The bytes for mysqlUserName.
*/
com.google.protobuf.ByteString
getMysqlUserNameBytes();
}
/**
* Protobuf type {@code doris.cloud.GetClusterRequest}
*/
public static final class GetClusterRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetClusterRequest)
GetClusterRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetClusterRequest.newBuilder() to construct.
private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetClusterRequest() {
instanceId_ = "";
cloudUniqueId_ = "";
clusterId_ = "";
clusterName_ = "";
mysqlUserName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetClusterRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterRequest.class, org.apache.doris.cloud.proto.Cloud.GetClusterRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_ID_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object clusterId_ = "";
/**
* <code>optional string cluster_id = 3;</code>
* @return Whether the clusterId field is set.
*/
@java.lang.Override
public boolean hasClusterId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string cluster_id = 3;</code>
* @return The clusterId.
*/
@java.lang.Override
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterId_ = s;
}
return s;
}
}
/**
* <code>optional string cluster_id = 3;</code>
* @return The bytes for clusterId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_NAME_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object clusterName_ = "";
/**
* <code>optional string cluster_name = 4;</code>
* @return Whether the clusterName field is set.
*/
@java.lang.Override
public boolean hasClusterName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string cluster_name = 4;</code>
* @return The clusterName.
*/
@java.lang.Override
public java.lang.String getClusterName() {
java.lang.Object ref = clusterName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterName_ = s;
}
return s;
}
}
/**
* <code>optional string cluster_name = 4;</code>
* @return The bytes for clusterName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClusterNameBytes() {
java.lang.Object ref = clusterName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MYSQL_USER_NAME_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object mysqlUserName_ = "";
/**
* <code>optional string mysql_user_name = 5;</code>
* @return Whether the mysqlUserName field is set.
*/
@java.lang.Override
public boolean hasMysqlUserName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string mysql_user_name = 5;</code>
* @return The mysqlUserName.
*/
@java.lang.Override
public java.lang.String getMysqlUserName() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserName_ = s;
}
return s;
}
}
/**
* <code>optional string mysql_user_name = 5;</code>
* @return The bytes for mysqlUserName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMysqlUserNameBytes() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cloudUniqueId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, clusterId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, clusterName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mysqlUserName_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cloudUniqueId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, clusterId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, clusterName_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mysqlUserName_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetClusterRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetClusterRequest other = (org.apache.doris.cloud.proto.Cloud.GetClusterRequest) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasClusterId() != other.hasClusterId()) return false;
if (hasClusterId()) {
if (!getClusterId()
.equals(other.getClusterId())) return false;
}
if (hasClusterName() != other.hasClusterName()) return false;
if (hasClusterName()) {
if (!getClusterName()
.equals(other.getClusterName())) return false;
}
if (hasMysqlUserName() != other.hasMysqlUserName()) return false;
if (hasMysqlUserName()) {
if (!getMysqlUserName()
.equals(other.getMysqlUserName())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasClusterId()) {
hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getClusterId().hashCode();
}
if (hasClusterName()) {
hash = (37 * hash) + CLUSTER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClusterName().hashCode();
}
if (hasMysqlUserName()) {
hash = (37 * hash) + MYSQL_USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserName().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetClusterRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetClusterRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetClusterRequest)
org.apache.doris.cloud.proto.Cloud.GetClusterRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterRequest.class, org.apache.doris.cloud.proto.Cloud.GetClusterRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetClusterRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
cloudUniqueId_ = "";
clusterId_ = "";
clusterName_ = "";
mysqlUserName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetClusterRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterRequest build() {
org.apache.doris.cloud.proto.Cloud.GetClusterRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetClusterRequest result = new org.apache.doris.cloud.proto.Cloud.GetClusterRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetClusterRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.clusterId_ = clusterId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.clusterName_ = clusterName_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.mysqlUserName_ = mysqlUserName_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetClusterRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetClusterRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetClusterRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetClusterRequest.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasClusterId()) {
clusterId_ = other.clusterId_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasClusterName()) {
clusterName_ = other.clusterName_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasMysqlUserName()) {
mysqlUserName_ = other.mysqlUserName_;
bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
clusterId_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
clusterName_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
mysqlUserName_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 2;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object clusterId_ = "";
/**
* <code>optional string cluster_id = 3;</code>
* @return Whether the clusterId field is set.
*/
public boolean hasClusterId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string cluster_id = 3;</code>
* @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cluster_id = 3;</code>
* @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cluster_id = 3;</code>
* @param value The clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
clusterId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string cluster_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearClusterId() {
clusterId_ = getDefaultInstance().getClusterId();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string cluster_id = 3;</code>
* @param value The bytes for clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
clusterId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object clusterName_ = "";
/**
* <code>optional string cluster_name = 4;</code>
* @return Whether the clusterName field is set.
*/
public boolean hasClusterName() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string cluster_name = 4;</code>
* @return The clusterName.
*/
public java.lang.String getClusterName() {
java.lang.Object ref = clusterName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
clusterName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cluster_name = 4;</code>
* @return The bytes for clusterName.
*/
public com.google.protobuf.ByteString
getClusterNameBytes() {
java.lang.Object ref = clusterName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cluster_name = 4;</code>
* @param value The clusterName to set.
* @return This builder for chaining.
*/
public Builder setClusterName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
clusterName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string cluster_name = 4;</code>
* @return This builder for chaining.
*/
public Builder clearClusterName() {
clusterName_ = getDefaultInstance().getClusterName();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string cluster_name = 4;</code>
* @param value The bytes for clusterName to set.
* @return This builder for chaining.
*/
public Builder setClusterNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
clusterName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object mysqlUserName_ = "";
/**
* <code>optional string mysql_user_name = 5;</code>
* @return Whether the mysqlUserName field is set.
*/
public boolean hasMysqlUserName() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string mysql_user_name = 5;</code>
* @return The mysqlUserName.
*/
public java.lang.String getMysqlUserName() {
java.lang.Object ref = mysqlUserName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string mysql_user_name = 5;</code>
* @return The bytes for mysqlUserName.
*/
public com.google.protobuf.ByteString
getMysqlUserNameBytes() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string mysql_user_name = 5;</code>
* @param value The mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string mysql_user_name = 5;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserName() {
mysqlUserName_ = getDefaultInstance().getMysqlUserName();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string mysql_user_name = 5;</code>
* @param value The bytes for mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserName_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetClusterRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetClusterRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetClusterRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetClusterRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetClusterRequest>
PARSER = new com.google.protobuf.AbstractParser<GetClusterRequest>() {
@java.lang.Override
public GetClusterRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetClusterRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetClusterRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetClusterStatusRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetClusterStatusRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @return A list containing the instanceIds.
*/
java.util.List<java.lang.String>
getInstanceIdsList();
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @return The count of instanceIds.
*/
int getInstanceIdsCount();
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the element to return.
* @return The instanceIds at the given index.
*/
java.lang.String getInstanceIds(int index);
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the instanceIds at the given index.
*/
com.google.protobuf.ByteString
getInstanceIdsBytes(int index);
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @return A list containing the cloudUniqueIds.
*/
java.util.List<java.lang.String>
getCloudUniqueIdsList();
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @return The count of cloudUniqueIds.
*/
int getCloudUniqueIdsCount();
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param index The index of the element to return.
* @return The cloudUniqueIds at the given index.
*/
java.lang.String getCloudUniqueIds(int index);
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the cloudUniqueIds at the given index.
*/
com.google.protobuf.ByteString
getCloudUniqueIdsBytes(int index);
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.ClusterStatus getStatus();
}
/**
* Protobuf type {@code doris.cloud.GetClusterStatusRequest}
*/
public static final class GetClusterStatusRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetClusterStatusRequest)
GetClusterStatusRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetClusterStatusRequest.newBuilder() to construct.
private GetClusterStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetClusterStatusRequest() {
instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
cloudUniqueIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
status_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetClusterStatusRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest.class, org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @return A list containing the instanceIds.
*/
public com.google.protobuf.ProtocolStringList
getInstanceIdsList() {
return instanceIds_;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @return The count of instanceIds.
*/
public int getInstanceIdsCount() {
return instanceIds_.size();
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the element to return.
* @return The instanceIds at the given index.
*/
public java.lang.String getInstanceIds(int index) {
return instanceIds_.get(index);
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the instanceIds at the given index.
*/
public com.google.protobuf.ByteString
getInstanceIdsBytes(int index) {
return instanceIds_.getByteString(index);
}
public static final int CLOUD_UNIQUE_IDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList cloudUniqueIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @return A list containing the cloudUniqueIds.
*/
public com.google.protobuf.ProtocolStringList
getCloudUniqueIdsList() {
return cloudUniqueIds_;
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @return The count of cloudUniqueIds.
*/
public int getCloudUniqueIdsCount() {
return cloudUniqueIds_.size();
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param index The index of the element to return.
* @return The cloudUniqueIds at the given index.
*/
public java.lang.String getCloudUniqueIds(int index) {
return cloudUniqueIds_.get(index);
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the cloudUniqueIds at the given index.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdsBytes(int index) {
return cloudUniqueIds_.getByteString(index);
}
public static final int STATUS_FIELD_NUMBER = 3;
private int status_ = 0;
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @return The status.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.ClusterStatus getStatus() {
org.apache.doris.cloud.proto.Cloud.ClusterStatus result = org.apache.doris.cloud.proto.Cloud.ClusterStatus.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ClusterStatus.UNKNOWN : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < instanceIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceIds_.getRaw(i));
}
for (int i = 0; i < cloudUniqueIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cloudUniqueIds_.getRaw(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeEnum(3, status_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < instanceIds_.size(); i++) {
dataSize += computeStringSizeNoTag(instanceIds_.getRaw(i));
}
size += dataSize;
size += 1 * getInstanceIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < cloudUniqueIds_.size(); i++) {
dataSize += computeStringSizeNoTag(cloudUniqueIds_.getRaw(i));
}
size += dataSize;
size += 1 * getCloudUniqueIdsList().size();
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, status_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest other = (org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest) obj;
if (!getInstanceIdsList()
.equals(other.getInstanceIdsList())) return false;
if (!getCloudUniqueIdsList()
.equals(other.getCloudUniqueIdsList())) return false;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (status_ != other.status_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getInstanceIdsCount() > 0) {
hash = (37 * hash) + INSTANCE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getInstanceIdsList().hashCode();
}
if (getCloudUniqueIdsCount() > 0) {
hash = (37 * hash) + CLOUD_UNIQUE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueIdsList().hashCode();
}
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetClusterStatusRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetClusterStatusRequest)
org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest.class, org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
cloudUniqueIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
status_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest build() {
org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest result = new org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
instanceIds_.makeImmutable();
result.instanceIds_ = instanceIds_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
cloudUniqueIds_.makeImmutable();
result.cloudUniqueIds_ = cloudUniqueIds_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.status_ = status_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest.getDefaultInstance()) return this;
if (!other.instanceIds_.isEmpty()) {
if (instanceIds_.isEmpty()) {
instanceIds_ = other.instanceIds_;
bitField0_ |= 0x00000001;
} else {
ensureInstanceIdsIsMutable();
instanceIds_.addAll(other.instanceIds_);
}
onChanged();
}
if (!other.cloudUniqueIds_.isEmpty()) {
if (cloudUniqueIds_.isEmpty()) {
cloudUniqueIds_ = other.cloudUniqueIds_;
bitField0_ |= 0x00000002;
} else {
ensureCloudUniqueIdsIsMutable();
cloudUniqueIds_.addAll(other.cloudUniqueIds_);
}
onChanged();
}
if (other.hasStatus()) {
setStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureInstanceIdsIsMutable();
instanceIds_.add(bs);
break;
} // case 10
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureCloudUniqueIdsIsMutable();
cloudUniqueIds_.add(bs);
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.ClusterStatus tmpValue =
org.apache.doris.cloud.proto.Cloud.ClusterStatus.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
status_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureInstanceIdsIsMutable() {
if (!instanceIds_.isModifiable()) {
instanceIds_ = new com.google.protobuf.LazyStringArrayList(instanceIds_);
}
bitField0_ |= 0x00000001;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @return A list containing the instanceIds.
*/
public com.google.protobuf.ProtocolStringList
getInstanceIdsList() {
instanceIds_.makeImmutable();
return instanceIds_;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @return The count of instanceIds.
*/
public int getInstanceIdsCount() {
return instanceIds_.size();
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the element to return.
* @return The instanceIds at the given index.
*/
public java.lang.String getInstanceIds(int index) {
return instanceIds_.get(index);
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the instanceIds at the given index.
*/
public com.google.protobuf.ByteString
getInstanceIdsBytes(int index) {
return instanceIds_.getByteString(index);
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param index The index to set the value at.
* @param value The instanceIds to set.
* @return This builder for chaining.
*/
public Builder setInstanceIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureInstanceIdsIsMutable();
instanceIds_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param value The instanceIds to add.
* @return This builder for chaining.
*/
public Builder addInstanceIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureInstanceIdsIsMutable();
instanceIds_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param values The instanceIds to add.
* @return This builder for chaining.
*/
public Builder addAllInstanceIds(
java.lang.Iterable<java.lang.String> values) {
ensureInstanceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, instanceIds_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceIds() {
instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);;
onChanged();
return this;
}
/**
* <pre>
* Redundant field
* </pre>
*
* <code>repeated string instance_ids = 1;</code>
* @param value The bytes of the instanceIds to add.
* @return This builder for chaining.
*/
public Builder addInstanceIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureInstanceIdsIsMutable();
instanceIds_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList cloudUniqueIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureCloudUniqueIdsIsMutable() {
if (!cloudUniqueIds_.isModifiable()) {
cloudUniqueIds_ = new com.google.protobuf.LazyStringArrayList(cloudUniqueIds_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @return A list containing the cloudUniqueIds.
*/
public com.google.protobuf.ProtocolStringList
getCloudUniqueIdsList() {
cloudUniqueIds_.makeImmutable();
return cloudUniqueIds_;
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @return The count of cloudUniqueIds.
*/
public int getCloudUniqueIdsCount() {
return cloudUniqueIds_.size();
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param index The index of the element to return.
* @return The cloudUniqueIds at the given index.
*/
public java.lang.String getCloudUniqueIds(int index) {
return cloudUniqueIds_.get(index);
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the cloudUniqueIds at the given index.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdsBytes(int index) {
return cloudUniqueIds_.getByteString(index);
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param index The index to set the value at.
* @param value The cloudUniqueIds to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureCloudUniqueIdsIsMutable();
cloudUniqueIds_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param value The cloudUniqueIds to add.
* @return This builder for chaining.
*/
public Builder addCloudUniqueIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureCloudUniqueIdsIsMutable();
cloudUniqueIds_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param values The cloudUniqueIds to add.
* @return This builder for chaining.
*/
public Builder addAllCloudUniqueIds(
java.lang.Iterable<java.lang.String> values) {
ensureCloudUniqueIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, cloudUniqueIds_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueIds() {
cloudUniqueIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
onChanged();
return this;
}
/**
* <code>repeated string cloud_unique_ids = 2;</code>
* @param value The bytes of the cloudUniqueIds to add.
* @return This builder for chaining.
*/
public Builder addCloudUniqueIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureCloudUniqueIdsIsMutable();
cloudUniqueIds_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int status_ = 0;
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @return Whether the status field is set.
*/
@java.lang.Override public boolean hasStatus() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterStatus getStatus() {
org.apache.doris.cloud.proto.Cloud.ClusterStatus result = org.apache.doris.cloud.proto.Cloud.ClusterStatus.forNumber(status_);
return result == null ? org.apache.doris.cloud.proto.Cloud.ClusterStatus.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.ClusterStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
status_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.ClusterStatus status = 3;</code>
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000004);
status_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetClusterStatusRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetClusterStatusRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetClusterStatusRequest>
PARSER = new com.google.protobuf.AbstractParser<GetClusterStatusRequest>() {
@java.lang.Override
public GetClusterStatusRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetClusterStatusRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetClusterStatusRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetClusterStatusResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetClusterStatusResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail>
getDetailsList();
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail getDetails(int index);
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
int getDetailsCount();
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder>
getDetailsOrBuilderList();
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder getDetailsOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.GetClusterStatusResponse}
*/
public static final class GetClusterStatusResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetClusterStatusResponse)
GetClusterStatusResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetClusterStatusResponse.newBuilder() to construct.
private GetClusterStatusResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetClusterStatusResponse() {
details_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetClusterStatusResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.class, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.Builder.class);
}
public interface GetClusterStatusResponseDetailOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB>
getClustersList();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ClusterPB getClusters(int index);
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
int getClustersCount();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersOrBuilderList();
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClustersOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail}
*/
public static final class GetClusterStatusResponseDetail extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail)
GetClusterStatusResponseDetailOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetClusterStatusResponseDetail.newBuilder() to construct.
private GetClusterStatusResponseDetail(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetClusterStatusResponseDetail() {
instanceId_ = "";
clusters_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetClusterStatusResponseDetail();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.class, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTERS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> clusters_;
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> getClustersList() {
return clusters_;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersOrBuilderList() {
return clusters_;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
@java.lang.Override
public int getClustersCount() {
return clusters_.size();
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB getClusters(int index) {
return clusters_.get(index);
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClustersOrBuilder(
int index) {
return clusters_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
for (int i = 0; i < clusters_.size(); i++) {
output.writeMessage(2, clusters_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
for (int i = 0; i < clusters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, clusters_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail other = (org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (!getClustersList()
.equals(other.getClustersList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (getClustersCount() > 0) {
hash = (37 * hash) + CLUSTERS_FIELD_NUMBER;
hash = (53 * hash) + getClustersList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail)
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.class, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
if (clustersBuilder_ == null) {
clusters_ = java.util.Collections.emptyList();
} else {
clusters_ = null;
clustersBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail build() {
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail result = new org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail result) {
if (clustersBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
clusters_ = java.util.Collections.unmodifiableList(clusters_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.clusters_ = clusters_;
} else {
result.clusters_ = clustersBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (clustersBuilder_ == null) {
if (!other.clusters_.isEmpty()) {
if (clusters_.isEmpty()) {
clusters_ = other.clusters_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureClustersIsMutable();
clusters_.addAll(other.clusters_);
}
onChanged();
}
} else {
if (!other.clusters_.isEmpty()) {
if (clustersBuilder_.isEmpty()) {
clustersBuilder_.dispose();
clustersBuilder_ = null;
clusters_ = other.clusters_;
bitField0_ = (bitField0_ & ~0x00000002);
clustersBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getClustersFieldBuilder() : null;
} else {
clustersBuilder_.addAllMessages(other.clusters_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.ClusterPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ClusterPB.PARSER,
extensionRegistry);
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.add(m);
} else {
clustersBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> clusters_ =
java.util.Collections.emptyList();
private void ensureClustersIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
clusters_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ClusterPB>(clusters_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder> clustersBuilder_;
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> getClustersList() {
if (clustersBuilder_ == null) {
return java.util.Collections.unmodifiableList(clusters_);
} else {
return clustersBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public int getClustersCount() {
if (clustersBuilder_ == null) {
return clusters_.size();
} else {
return clustersBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB getClusters(int index) {
if (clustersBuilder_ == null) {
return clusters_.get(index);
} else {
return clustersBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder setClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClustersIsMutable();
clusters_.set(index, value);
onChanged();
} else {
clustersBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder setClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.set(index, builderForValue.build());
onChanged();
} else {
clustersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder addClusters(org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClustersIsMutable();
clusters_.add(value);
onChanged();
} else {
clustersBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder addClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clustersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClustersIsMutable();
clusters_.add(index, value);
onChanged();
} else {
clustersBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder addClusters(
org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.add(builderForValue.build());
onChanged();
} else {
clustersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder addClusters(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.add(index, builderForValue.build());
onChanged();
} else {
clustersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder addAllClusters(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ClusterPB> values) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, clusters_);
onChanged();
} else {
clustersBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder clearClusters() {
if (clustersBuilder_ == null) {
clusters_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
clustersBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public Builder removeClusters(int index) {
if (clustersBuilder_ == null) {
ensureClustersIsMutable();
clusters_.remove(index);
onChanged();
} else {
clustersBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder getClustersBuilder(
int index) {
return getClustersFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClustersOrBuilder(
int index) {
if (clustersBuilder_ == null) {
return clusters_.get(index); } else {
return clustersBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersOrBuilderList() {
if (clustersBuilder_ != null) {
return clustersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(clusters_);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder addClustersBuilder() {
return getClustersFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder addClustersBuilder(
int index) {
return getClustersFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ClusterPB clusters = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder>
getClustersBuilderList() {
return getClustersFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClustersFieldBuilder() {
if (clustersBuilder_ == null) {
clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>(
clusters_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
clusters_ = null;
}
return clustersBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail)
private static final org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail();
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetClusterStatusResponseDetail>
PARSER = new com.google.protobuf.AbstractParser<GetClusterStatusResponseDetail>() {
@java.lang.Override
public GetClusterStatusResponseDetail parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetClusterStatusResponseDetail> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetClusterStatusResponseDetail> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int DETAILS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail> details_;
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail> getDetailsList() {
return details_;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder>
getDetailsOrBuilderList() {
return details_;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
@java.lang.Override
public int getDetailsCount() {
return details_.size();
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail getDetails(int index) {
return details_.get(index);
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder getDetailsOrBuilder(
int index) {
return details_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < details_.size(); i++) {
output.writeMessage(2, details_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < details_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, details_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse other = (org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getDetailsList()
.equals(other.getDetailsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getDetailsCount() > 0) {
hash = (37 * hash) + DETAILS_FIELD_NUMBER;
hash = (53 * hash) + getDetailsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetClusterStatusResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetClusterStatusResponse)
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.class, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getDetailsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (detailsBuilder_ == null) {
details_ = java.util.Collections.emptyList();
} else {
details_ = null;
detailsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterStatusResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse build() {
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse result = new org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse result) {
if (detailsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
details_ = java.util.Collections.unmodifiableList(details_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.details_ = details_;
} else {
result.details_ = detailsBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (detailsBuilder_ == null) {
if (!other.details_.isEmpty()) {
if (details_.isEmpty()) {
details_ = other.details_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDetailsIsMutable();
details_.addAll(other.details_);
}
onChanged();
}
} else {
if (!other.details_.isEmpty()) {
if (detailsBuilder_.isEmpty()) {
detailsBuilder_.dispose();
detailsBuilder_ = null;
details_ = other.details_;
bitField0_ = (bitField0_ & ~0x00000002);
detailsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDetailsFieldBuilder() : null;
} else {
detailsBuilder_.addAllMessages(other.details_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.PARSER,
extensionRegistry);
if (detailsBuilder_ == null) {
ensureDetailsIsMutable();
details_.add(m);
} else {
detailsBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail> details_ =
java.util.Collections.emptyList();
private void ensureDetailsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
details_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail>(details_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder> detailsBuilder_;
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail> getDetailsList() {
if (detailsBuilder_ == null) {
return java.util.Collections.unmodifiableList(details_);
} else {
return detailsBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public int getDetailsCount() {
if (detailsBuilder_ == null) {
return details_.size();
} else {
return detailsBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail getDetails(int index) {
if (detailsBuilder_ == null) {
return details_.get(index);
} else {
return detailsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder setDetails(
int index, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail value) {
if (detailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDetailsIsMutable();
details_.set(index, value);
onChanged();
} else {
detailsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder setDetails(
int index, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder builderForValue) {
if (detailsBuilder_ == null) {
ensureDetailsIsMutable();
details_.set(index, builderForValue.build());
onChanged();
} else {
detailsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder addDetails(org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail value) {
if (detailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDetailsIsMutable();
details_.add(value);
onChanged();
} else {
detailsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder addDetails(
int index, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail value) {
if (detailsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDetailsIsMutable();
details_.add(index, value);
onChanged();
} else {
detailsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder addDetails(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder builderForValue) {
if (detailsBuilder_ == null) {
ensureDetailsIsMutable();
details_.add(builderForValue.build());
onChanged();
} else {
detailsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder addDetails(
int index, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder builderForValue) {
if (detailsBuilder_ == null) {
ensureDetailsIsMutable();
details_.add(index, builderForValue.build());
onChanged();
} else {
detailsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder addAllDetails(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail> values) {
if (detailsBuilder_ == null) {
ensureDetailsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, details_);
onChanged();
} else {
detailsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder clearDetails() {
if (detailsBuilder_ == null) {
details_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
detailsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public Builder removeDetails(int index) {
if (detailsBuilder_ == null) {
ensureDetailsIsMutable();
details_.remove(index);
onChanged();
} else {
detailsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder getDetailsBuilder(
int index) {
return getDetailsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder getDetailsOrBuilder(
int index) {
if (detailsBuilder_ == null) {
return details_.get(index); } else {
return detailsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder>
getDetailsOrBuilderList() {
if (detailsBuilder_ != null) {
return detailsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(details_);
}
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder addDetailsBuilder() {
return getDetailsFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder addDetailsBuilder(
int index) {
return getDetailsFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail details = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder>
getDetailsBuilderList() {
return getDetailsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder>
getDetailsFieldBuilder() {
if (detailsBuilder_ == null) {
detailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetail.Builder, org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse.GetClusterStatusResponseDetailOrBuilder>(
details_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
details_ = null;
}
return detailsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetClusterStatusResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetClusterStatusResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetClusterStatusResponse>
PARSER = new com.google.protobuf.AbstractParser<GetClusterStatusResponse>() {
@java.lang.Override
public GetClusterStatusResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetClusterStatusResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetClusterStatusResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterStatusResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetClusterResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetClusterResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB>
getClusterList();
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ClusterPB getCluster(int index);
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
int getClusterCount();
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClusterOrBuilderList();
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClusterOrBuilder(
int index);
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @return Whether the enableStorageVault field is set.
*/
boolean hasEnableStorageVault();
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @return The enableStorageVault.
*/
boolean getEnableStorageVault();
}
/**
* Protobuf type {@code doris.cloud.GetClusterResponse}
*/
public static final class GetClusterResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetClusterResponse)
GetClusterResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetClusterResponse.newBuilder() to construct.
private GetClusterResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetClusterResponse() {
cluster_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetClusterResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterResponse.class, org.apache.doris.cloud.proto.Cloud.GetClusterResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int CLUSTER_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> cluster_;
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> getClusterList() {
return cluster_;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClusterOrBuilderList() {
return cluster_;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
@java.lang.Override
public int getClusterCount() {
return cluster_.size();
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPB getCluster(int index) {
return cluster_.get(index);
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClusterOrBuilder(
int index) {
return cluster_.get(index);
}
public static final int ENABLE_STORAGE_VAULT_FIELD_NUMBER = 3;
private boolean enableStorageVault_ = false;
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @return Whether the enableStorageVault field is set.
*/
@java.lang.Override
public boolean hasEnableStorageVault() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @return The enableStorageVault.
*/
@java.lang.Override
public boolean getEnableStorageVault() {
return enableStorageVault_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < cluster_.size(); i++) {
output.writeMessage(2, cluster_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(3, enableStorageVault_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < cluster_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, cluster_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, enableStorageVault_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetClusterResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetClusterResponse other = (org.apache.doris.cloud.proto.Cloud.GetClusterResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getClusterList()
.equals(other.getClusterList())) return false;
if (hasEnableStorageVault() != other.hasEnableStorageVault()) return false;
if (hasEnableStorageVault()) {
if (getEnableStorageVault()
!= other.getEnableStorageVault()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getClusterCount() > 0) {
hash = (37 * hash) + CLUSTER_FIELD_NUMBER;
hash = (53 * hash) + getClusterList().hashCode();
}
if (hasEnableStorageVault()) {
hash = (37 * hash) + ENABLE_STORAGE_VAULT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableStorageVault());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetClusterResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetClusterResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetClusterResponse)
org.apache.doris.cloud.proto.Cloud.GetClusterResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetClusterResponse.class, org.apache.doris.cloud.proto.Cloud.GetClusterResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetClusterResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getClusterFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (clusterBuilder_ == null) {
cluster_ = java.util.Collections.emptyList();
} else {
cluster_ = null;
clusterBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
enableStorageVault_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetClusterResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetClusterResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterResponse build() {
org.apache.doris.cloud.proto.Cloud.GetClusterResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetClusterResponse result = new org.apache.doris.cloud.proto.Cloud.GetClusterResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetClusterResponse result) {
if (clusterBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
cluster_ = java.util.Collections.unmodifiableList(cluster_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.cluster_ = cluster_;
} else {
result.cluster_ = clusterBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetClusterResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.enableStorageVault_ = enableStorageVault_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetClusterResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetClusterResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetClusterResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetClusterResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (clusterBuilder_ == null) {
if (!other.cluster_.isEmpty()) {
if (cluster_.isEmpty()) {
cluster_ = other.cluster_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureClusterIsMutable();
cluster_.addAll(other.cluster_);
}
onChanged();
}
} else {
if (!other.cluster_.isEmpty()) {
if (clusterBuilder_.isEmpty()) {
clusterBuilder_.dispose();
clusterBuilder_ = null;
cluster_ = other.cluster_;
bitField0_ = (bitField0_ & ~0x00000002);
clusterBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getClusterFieldBuilder() : null;
} else {
clusterBuilder_.addAllMessages(other.cluster_);
}
}
}
if (other.hasEnableStorageVault()) {
setEnableStorageVault(other.getEnableStorageVault());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.ClusterPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ClusterPB.PARSER,
extensionRegistry);
if (clusterBuilder_ == null) {
ensureClusterIsMutable();
cluster_.add(m);
} else {
clusterBuilder_.addMessage(m);
}
break;
} // case 18
case 24: {
enableStorageVault_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> cluster_ =
java.util.Collections.emptyList();
private void ensureClusterIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
cluster_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ClusterPB>(cluster_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder> clusterBuilder_;
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB> getClusterList() {
if (clusterBuilder_ == null) {
return java.util.Collections.unmodifiableList(cluster_);
} else {
return clusterBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public int getClusterCount() {
if (clusterBuilder_ == null) {
return cluster_.size();
} else {
return clusterBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB getCluster(int index) {
if (clusterBuilder_ == null) {
return cluster_.get(index);
} else {
return clusterBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder setCluster(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clusterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClusterIsMutable();
cluster_.set(index, value);
onChanged();
} else {
clusterBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder setCluster(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clusterBuilder_ == null) {
ensureClusterIsMutable();
cluster_.set(index, builderForValue.build());
onChanged();
} else {
clusterBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder addCluster(org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clusterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClusterIsMutable();
cluster_.add(value);
onChanged();
} else {
clusterBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder addCluster(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB value) {
if (clusterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureClusterIsMutable();
cluster_.add(index, value);
onChanged();
} else {
clusterBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder addCluster(
org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clusterBuilder_ == null) {
ensureClusterIsMutable();
cluster_.add(builderForValue.build());
onChanged();
} else {
clusterBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder addCluster(
int index, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder builderForValue) {
if (clusterBuilder_ == null) {
ensureClusterIsMutable();
cluster_.add(index, builderForValue.build());
onChanged();
} else {
clusterBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder addAllCluster(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ClusterPB> values) {
if (clusterBuilder_ == null) {
ensureClusterIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, cluster_);
onChanged();
} else {
clusterBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder clearCluster() {
if (clusterBuilder_ == null) {
cluster_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
clusterBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public Builder removeCluster(int index) {
if (clusterBuilder_ == null) {
ensureClusterIsMutable();
cluster_.remove(index);
onChanged();
} else {
clusterBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder getClusterBuilder(
int index) {
return getClusterFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder getClusterOrBuilder(
int index) {
if (clusterBuilder_ == null) {
return cluster_.get(index); } else {
return clusterBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClusterOrBuilderList() {
if (clusterBuilder_ != null) {
return clusterBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(cluster_);
}
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder addClusterBuilder() {
return getClusterFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder addClusterBuilder(
int index) {
return getClusterFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ClusterPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ClusterPB cluster = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder>
getClusterBuilderList() {
return getClusterFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>
getClusterFieldBuilder() {
if (clusterBuilder_ == null) {
clusterBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ClusterPB, org.apache.doris.cloud.proto.Cloud.ClusterPB.Builder, org.apache.doris.cloud.proto.Cloud.ClusterPBOrBuilder>(
cluster_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
cluster_ = null;
}
return clusterBuilder_;
}
private boolean enableStorageVault_ ;
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @return Whether the enableStorageVault field is set.
*/
@java.lang.Override
public boolean hasEnableStorageVault() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @return The enableStorageVault.
*/
@java.lang.Override
public boolean getEnableStorageVault() {
return enableStorageVault_;
}
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @param value The enableStorageVault to set.
* @return This builder for chaining.
*/
public Builder setEnableStorageVault(boolean value) {
enableStorageVault_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional bool enable_storage_vault = 3;</code>
* @return This builder for chaining.
*/
public Builder clearEnableStorageVault() {
bitField0_ = (bitField0_ & ~0x00000004);
enableStorageVault_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetClusterResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetClusterResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetClusterResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetClusterResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetClusterResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetClusterResponse>
PARSER = new com.google.protobuf.AbstractParser<GetClusterResponse>() {
@java.lang.Override
public GetClusterResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetClusterResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetClusterResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetClusterResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTabletStatsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTabletStatsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB>
getTabletIdxList();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIdx(int index);
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
int getTabletIdxCount();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIdxOrBuilderList();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIdxOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.GetTabletStatsRequest}
*/
public static final class GetTabletStatsRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTabletStatsRequest)
GetTabletStatsRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTabletStatsRequest.newBuilder() to construct.
private GetTabletStatsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTabletStatsRequest() {
cloudUniqueId_ = "";
tabletIdx_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTabletStatsRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest.class, org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_IDX_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> tabletIdx_;
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> getTabletIdxList() {
return tabletIdx_;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIdxOrBuilderList() {
return tabletIdx_;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
@java.lang.Override
public int getTabletIdxCount() {
return tabletIdx_.size();
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIdx(int index) {
return tabletIdx_.get(index);
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIdxOrBuilder(
int index) {
return tabletIdx_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
for (int i = 0; i < tabletIdx_.size(); i++) {
output.writeMessage(2, tabletIdx_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
for (int i = 0; i < tabletIdx_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, tabletIdx_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest other = (org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getTabletIdxList()
.equals(other.getTabletIdxList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (getTabletIdxCount() > 0) {
hash = (37 * hash) + TABLET_IDX_FIELD_NUMBER;
hash = (53 * hash) + getTabletIdxList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTabletStatsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTabletStatsRequest)
org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest.class, org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
if (tabletIdxBuilder_ == null) {
tabletIdx_ = java.util.Collections.emptyList();
} else {
tabletIdx_ = null;
tabletIdxBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest build() {
org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest result = new org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest result) {
if (tabletIdxBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
tabletIdx_ = java.util.Collections.unmodifiableList(tabletIdx_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tabletIdx_ = tabletIdx_;
} else {
result.tabletIdx_ = tabletIdxBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (tabletIdxBuilder_ == null) {
if (!other.tabletIdx_.isEmpty()) {
if (tabletIdx_.isEmpty()) {
tabletIdx_ = other.tabletIdx_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTabletIdxIsMutable();
tabletIdx_.addAll(other.tabletIdx_);
}
onChanged();
}
} else {
if (!other.tabletIdx_.isEmpty()) {
if (tabletIdxBuilder_.isEmpty()) {
tabletIdxBuilder_.dispose();
tabletIdxBuilder_ = null;
tabletIdx_ = other.tabletIdx_;
bitField0_ = (bitField0_ & ~0x00000002);
tabletIdxBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTabletIdxFieldBuilder() : null;
} else {
tabletIdxBuilder_.addAllMessages(other.tabletIdx_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.TabletIndexPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.PARSER,
extensionRegistry);
if (tabletIdxBuilder_ == null) {
ensureTabletIdxIsMutable();
tabletIdx_.add(m);
} else {
tabletIdxBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> tabletIdx_ =
java.util.Collections.emptyList();
private void ensureTabletIdxIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
tabletIdx_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.TabletIndexPB>(tabletIdx_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> tabletIdxBuilder_;
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> getTabletIdxList() {
if (tabletIdxBuilder_ == null) {
return java.util.Collections.unmodifiableList(tabletIdx_);
} else {
return tabletIdxBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public int getTabletIdxCount() {
if (tabletIdxBuilder_ == null) {
return tabletIdx_.size();
} else {
return tabletIdxBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIdx(int index) {
if (tabletIdxBuilder_ == null) {
return tabletIdx_.get(index);
} else {
return tabletIdxBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder setTabletIdx(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIdxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletIdxIsMutable();
tabletIdx_.set(index, value);
onChanged();
} else {
tabletIdxBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder setTabletIdx(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (tabletIdxBuilder_ == null) {
ensureTabletIdxIsMutable();
tabletIdx_.set(index, builderForValue.build());
onChanged();
} else {
tabletIdxBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder addTabletIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIdxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletIdxIsMutable();
tabletIdx_.add(value);
onChanged();
} else {
tabletIdxBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder addTabletIdx(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIdxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletIdxIsMutable();
tabletIdx_.add(index, value);
onChanged();
} else {
tabletIdxBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder addTabletIdx(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (tabletIdxBuilder_ == null) {
ensureTabletIdxIsMutable();
tabletIdx_.add(builderForValue.build());
onChanged();
} else {
tabletIdxBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder addTabletIdx(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (tabletIdxBuilder_ == null) {
ensureTabletIdxIsMutable();
tabletIdx_.add(index, builderForValue.build());
onChanged();
} else {
tabletIdxBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder addAllTabletIdx(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPB> values) {
if (tabletIdxBuilder_ == null) {
ensureTabletIdxIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tabletIdx_);
onChanged();
} else {
tabletIdxBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder clearTabletIdx() {
if (tabletIdxBuilder_ == null) {
tabletIdx_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
tabletIdxBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public Builder removeTabletIdx(int index) {
if (tabletIdxBuilder_ == null) {
ensureTabletIdxIsMutable();
tabletIdx_.remove(index);
onChanged();
} else {
tabletIdxBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getTabletIdxBuilder(
int index) {
return getTabletIdxFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIdxOrBuilder(
int index) {
if (tabletIdxBuilder_ == null) {
return tabletIdx_.get(index); } else {
return tabletIdxBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIdxOrBuilderList() {
if (tabletIdxBuilder_ != null) {
return tabletIdxBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tabletIdx_);
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder addTabletIdxBuilder() {
return getTabletIdxFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder addTabletIdxBuilder(
int index) {
return getTabletIdxFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_idx = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder>
getTabletIdxBuilderList() {
return getTabletIdxFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIdxFieldBuilder() {
if (tabletIdxBuilder_ == null) {
tabletIdxBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
tabletIdx_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
tabletIdx_ = null;
}
return tabletIdxBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTabletStatsRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTabletStatsRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTabletStatsRequest>
PARSER = new com.google.protobuf.AbstractParser<GetTabletStatsRequest>() {
@java.lang.Override
public GetTabletStatsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTabletStatsRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTabletStatsRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetTabletStatsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetTabletStatsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TabletStatsPB>
getTabletStatsList();
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletStatsPB getTabletStats(int index);
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
int getTabletStatsCount();
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>
getTabletStatsOrBuilderList();
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getTabletStatsOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.GetTabletStatsResponse}
*/
public static final class GetTabletStatsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetTabletStatsResponse)
GetTabletStatsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetTabletStatsResponse.newBuilder() to construct.
private GetTabletStatsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetTabletStatsResponse() {
tabletStats_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetTabletStatsResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse.class, org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int TABLET_STATS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletStatsPB> tabletStats_;
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletStatsPB> getTabletStatsList() {
return tabletStats_;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>
getTabletStatsOrBuilderList() {
return tabletStats_;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
@java.lang.Override
public int getTabletStatsCount() {
return tabletStats_.size();
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getTabletStats(int index) {
return tabletStats_.get(index);
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getTabletStatsOrBuilder(
int index) {
return tabletStats_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < tabletStats_.size(); i++) {
output.writeMessage(2, tabletStats_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < tabletStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, tabletStats_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse other = (org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getTabletStatsList()
.equals(other.getTabletStatsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getTabletStatsCount() > 0) {
hash = (37 * hash) + TABLET_STATS_FIELD_NUMBER;
hash = (53 * hash) + getTabletStatsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetTabletStatsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetTabletStatsResponse)
org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse.class, org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getTabletStatsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (tabletStatsBuilder_ == null) {
tabletStats_ = java.util.Collections.emptyList();
} else {
tabletStats_ = null;
tabletStatsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetTabletStatsResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse build() {
org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse result = new org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse result) {
if (tabletStatsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
tabletStats_ = java.util.Collections.unmodifiableList(tabletStats_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tabletStats_ = tabletStats_;
} else {
result.tabletStats_ = tabletStatsBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (tabletStatsBuilder_ == null) {
if (!other.tabletStats_.isEmpty()) {
if (tabletStats_.isEmpty()) {
tabletStats_ = other.tabletStats_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTabletStatsIsMutable();
tabletStats_.addAll(other.tabletStats_);
}
onChanged();
}
} else {
if (!other.tabletStats_.isEmpty()) {
if (tabletStatsBuilder_.isEmpty()) {
tabletStatsBuilder_.dispose();
tabletStatsBuilder_ = null;
tabletStats_ = other.tabletStats_;
bitField0_ = (bitField0_ & ~0x00000002);
tabletStatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTabletStatsFieldBuilder() : null;
} else {
tabletStatsBuilder_.addAllMessages(other.tabletStats_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.TabletStatsPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.PARSER,
extensionRegistry);
if (tabletStatsBuilder_ == null) {
ensureTabletStatsIsMutable();
tabletStats_.add(m);
} else {
tabletStatsBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletStatsPB> tabletStats_ =
java.util.Collections.emptyList();
private void ensureTabletStatsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
tabletStats_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.TabletStatsPB>(tabletStats_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder> tabletStatsBuilder_;
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletStatsPB> getTabletStatsList() {
if (tabletStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(tabletStats_);
} else {
return tabletStatsBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public int getTabletStatsCount() {
if (tabletStatsBuilder_ == null) {
return tabletStats_.size();
} else {
return tabletStatsBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getTabletStats(int index) {
if (tabletStatsBuilder_ == null) {
return tabletStats_.get(index);
} else {
return tabletStatsBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder setTabletStats(
int index, org.apache.doris.cloud.proto.Cloud.TabletStatsPB value) {
if (tabletStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletStatsIsMutable();
tabletStats_.set(index, value);
onChanged();
} else {
tabletStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder setTabletStats(
int index, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder builderForValue) {
if (tabletStatsBuilder_ == null) {
ensureTabletStatsIsMutable();
tabletStats_.set(index, builderForValue.build());
onChanged();
} else {
tabletStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder addTabletStats(org.apache.doris.cloud.proto.Cloud.TabletStatsPB value) {
if (tabletStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletStatsIsMutable();
tabletStats_.add(value);
onChanged();
} else {
tabletStatsBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder addTabletStats(
int index, org.apache.doris.cloud.proto.Cloud.TabletStatsPB value) {
if (tabletStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletStatsIsMutable();
tabletStats_.add(index, value);
onChanged();
} else {
tabletStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder addTabletStats(
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder builderForValue) {
if (tabletStatsBuilder_ == null) {
ensureTabletStatsIsMutable();
tabletStats_.add(builderForValue.build());
onChanged();
} else {
tabletStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder addTabletStats(
int index, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder builderForValue) {
if (tabletStatsBuilder_ == null) {
ensureTabletStatsIsMutable();
tabletStats_.add(index, builderForValue.build());
onChanged();
} else {
tabletStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder addAllTabletStats(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TabletStatsPB> values) {
if (tabletStatsBuilder_ == null) {
ensureTabletStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tabletStats_);
onChanged();
} else {
tabletStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder clearTabletStats() {
if (tabletStatsBuilder_ == null) {
tabletStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
tabletStatsBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public Builder removeTabletStats(int index) {
if (tabletStatsBuilder_ == null) {
ensureTabletStatsIsMutable();
tabletStats_.remove(index);
onChanged();
} else {
tabletStatsBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder getTabletStatsBuilder(
int index) {
return getTabletStatsFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getTabletStatsOrBuilder(
int index) {
if (tabletStatsBuilder_ == null) {
return tabletStats_.get(index); } else {
return tabletStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>
getTabletStatsOrBuilderList() {
if (tabletStatsBuilder_ != null) {
return tabletStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tabletStats_);
}
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder addTabletStatsBuilder() {
return getTabletStatsFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder addTabletStatsBuilder(
int index) {
return getTabletStatsFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletStatsPB tablet_stats = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder>
getTabletStatsBuilderList() {
return getTabletStatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>
getTabletStatsFieldBuilder() {
if (tabletStatsBuilder_ == null) {
tabletStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>(
tabletStats_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
tabletStats_ = null;
}
return tabletStatsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetTabletStatsResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetTabletStatsResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetTabletStatsResponse>
PARSER = new com.google.protobuf.AbstractParser<GetTabletStatsResponse>() {
@java.lang.Override
public GetTabletStatsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetTabletStatsResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetTabletStatsResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetTabletStatsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateStageRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateStageRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
* @return Whether the stage field is set.
*/
boolean hasStage();
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
* @return The stage.
*/
org.apache.doris.cloud.proto.Cloud.StagePB getStage();
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.CreateStageRequest}
*/
public static final class CreateStageRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateStageRequest)
CreateStageRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateStageRequest.newBuilder() to construct.
private CreateStageRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateStageRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateStageRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateStageRequest.class, org.apache.doris.cloud.proto.Cloud.CreateStageRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.StagePB stage_;
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
* @return Whether the stage field is set.
*/
@java.lang.Override
public boolean hasStage() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
* @return The stage.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB getStage() {
return stage_ == null ? org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder() {
return stage_ == null ? org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getStage());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStage());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateStageRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateStageRequest other = (org.apache.doris.cloud.proto.Cloud.CreateStageRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStage() != other.hasStage()) return false;
if (hasStage()) {
if (!getStage()
.equals(other.getStage())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStage()) {
hash = (37 * hash) + STAGE_FIELD_NUMBER;
hash = (53 * hash) + getStage().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateStageRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateStageRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateStageRequest)
org.apache.doris.cloud.proto.Cloud.CreateStageRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateStageRequest.class, org.apache.doris.cloud.proto.Cloud.CreateStageRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateStageRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStageFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stage_ = null;
if (stageBuilder_ != null) {
stageBuilder_.dispose();
stageBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateStageRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageRequest build() {
org.apache.doris.cloud.proto.Cloud.CreateStageRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateStageRequest result = new org.apache.doris.cloud.proto.Cloud.CreateStageRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateStageRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stage_ = stageBuilder_ == null
? stage_
: stageBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateStageRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateStageRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateStageRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateStageRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStage()) {
mergeStage(other.getStage());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getStageFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.StagePB stage_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder> stageBuilder_;
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
* @return Whether the stage field is set.
*/
public boolean hasStage() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
* @return The stage.
*/
public org.apache.doris.cloud.proto.Cloud.StagePB getStage() {
if (stageBuilder_ == null) {
return stage_ == null ? org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
} else {
return stageBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
public Builder setStage(org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stage_ = value;
} else {
stageBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
public Builder setStage(
org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stageBuilder_ == null) {
stage_ = builderForValue.build();
} else {
stageBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
public Builder mergeStage(org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stageBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
stage_ != null &&
stage_ != org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance()) {
getStageBuilder().mergeFrom(value);
} else {
stage_ = value;
}
} else {
stageBuilder_.mergeFrom(value);
}
if (stage_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
public Builder clearStage() {
bitField0_ = (bitField0_ & ~0x00000002);
stage_ = null;
if (stageBuilder_ != null) {
stageBuilder_.dispose();
stageBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder getStageBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getStageFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder() {
if (stageBuilder_ != null) {
return stageBuilder_.getMessageOrBuilder();
} else {
return stage_ == null ?
org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance() : stage_;
}
}
/**
* <code>optional .doris.cloud.StagePB stage = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStageFieldBuilder() {
if (stageBuilder_ == null) {
stageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>(
getStage(),
getParentForChildren(),
isClean());
stage_ = null;
}
return stageBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateStageRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateStageRequest)
private static final org.apache.doris.cloud.proto.Cloud.CreateStageRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateStageRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateStageRequest>
PARSER = new com.google.protobuf.AbstractParser<CreateStageRequest>() {
@java.lang.Override
public CreateStageRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateStageRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateStageRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CreateStageResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CreateStageResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.CreateStageResponse}
*/
public static final class CreateStageResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CreateStageResponse)
CreateStageResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CreateStageResponse.newBuilder() to construct.
private CreateStageResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CreateStageResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CreateStageResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateStageResponse.class, org.apache.doris.cloud.proto.Cloud.CreateStageResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CreateStageResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CreateStageResponse other = (org.apache.doris.cloud.proto.Cloud.CreateStageResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CreateStageResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CreateStageResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CreateStageResponse)
org.apache.doris.cloud.proto.Cloud.CreateStageResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CreateStageResponse.class, org.apache.doris.cloud.proto.Cloud.CreateStageResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CreateStageResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CreateStageResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CreateStageResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageResponse build() {
org.apache.doris.cloud.proto.Cloud.CreateStageResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CreateStageResponse result = new org.apache.doris.cloud.proto.Cloud.CreateStageResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CreateStageResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CreateStageResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CreateStageResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CreateStageResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CreateStageResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CreateStageResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CreateStageResponse)
private static final org.apache.doris.cloud.proto.Cloud.CreateStageResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CreateStageResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CreateStageResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CreateStageResponse>
PARSER = new com.google.protobuf.AbstractParser<CreateStageResponse>() {
@java.lang.Override
public CreateStageResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CreateStageResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CreateStageResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CreateStageResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetStageRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetStageRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string stage_name = 2;</code>
* @return Whether the stageName field is set.
*/
boolean hasStageName();
/**
* <code>optional string stage_name = 2;</code>
* @return The stageName.
*/
java.lang.String getStageName();
/**
* <code>optional string stage_name = 2;</code>
* @return The bytes for stageName.
*/
com.google.protobuf.ByteString
getStageNameBytes();
/**
* <code>optional string mysql_user_name = 3;</code>
* @return Whether the mysqlUserName field is set.
*/
boolean hasMysqlUserName();
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The mysqlUserName.
*/
java.lang.String getMysqlUserName();
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The bytes for mysqlUserName.
*/
com.google.protobuf.ByteString
getMysqlUserNameBytes();
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return The type.
*/
org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType();
/**
* <code>optional string mysql_user_id = 5;</code>
* @return Whether the mysqlUserId field is set.
*/
boolean hasMysqlUserId();
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The mysqlUserId.
*/
java.lang.String getMysqlUserId();
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The bytes for mysqlUserId.
*/
com.google.protobuf.ByteString
getMysqlUserIdBytes();
}
/**
* Protobuf type {@code doris.cloud.GetStageRequest}
*/
public static final class GetStageRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetStageRequest)
GetStageRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetStageRequest.newBuilder() to construct.
private GetStageRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetStageRequest() {
cloudUniqueId_ = "";
stageName_ = "";
mysqlUserName_ = "";
type_ = 0;
mysqlUserId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetStageRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetStageRequest.class, org.apache.doris.cloud.proto.Cloud.GetStageRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object stageName_ = "";
/**
* <code>optional string stage_name = 2;</code>
* @return Whether the stageName field is set.
*/
@java.lang.Override
public boolean hasStageName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_name = 2;</code>
* @return The stageName.
*/
@java.lang.Override
public java.lang.String getStageName() {
java.lang.Object ref = stageName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageName_ = s;
}
return s;
}
}
/**
* <code>optional string stage_name = 2;</code>
* @return The bytes for stageName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageNameBytes() {
java.lang.Object ref = stageName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MYSQL_USER_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object mysqlUserName_ = "";
/**
* <code>optional string mysql_user_name = 3;</code>
* @return Whether the mysqlUserName field is set.
*/
@java.lang.Override
public boolean hasMysqlUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The mysqlUserName.
*/
@java.lang.Override
public java.lang.String getMysqlUserName() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserName_ = s;
}
return s;
}
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The bytes for mysqlUserName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMysqlUserNameBytes() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 4;
private int type_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return The type.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
public static final int MYSQL_USER_ID_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object mysqlUserId_ = "";
/**
* <code>optional string mysql_user_id = 5;</code>
* @return Whether the mysqlUserId field is set.
*/
@java.lang.Override
public boolean hasMysqlUserId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The mysqlUserId.
*/
@java.lang.Override
public java.lang.String getMysqlUserId() {
java.lang.Object ref = mysqlUserId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserId_ = s;
}
return s;
}
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The bytes for mysqlUserId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMysqlUserIdBytes() {
java.lang.Object ref = mysqlUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stageName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, mysqlUserName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mysqlUserId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stageName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mysqlUserName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mysqlUserId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetStageRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetStageRequest other = (org.apache.doris.cloud.proto.Cloud.GetStageRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStageName() != other.hasStageName()) return false;
if (hasStageName()) {
if (!getStageName()
.equals(other.getStageName())) return false;
}
if (hasMysqlUserName() != other.hasMysqlUserName()) return false;
if (hasMysqlUserName()) {
if (!getMysqlUserName()
.equals(other.getMysqlUserName())) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasMysqlUserId() != other.hasMysqlUserId()) return false;
if (hasMysqlUserId()) {
if (!getMysqlUserId()
.equals(other.getMysqlUserId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStageName()) {
hash = (37 * hash) + STAGE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getStageName().hashCode();
}
if (hasMysqlUserName()) {
hash = (37 * hash) + MYSQL_USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserName().hashCode();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasMysqlUserId()) {
hash = (37 * hash) + MYSQL_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetStageRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetStageRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetStageRequest)
org.apache.doris.cloud.proto.Cloud.GetStageRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetStageRequest.class, org.apache.doris.cloud.proto.Cloud.GetStageRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetStageRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stageName_ = "";
mysqlUserName_ = "";
type_ = 0;
mysqlUserId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetStageRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageRequest build() {
org.apache.doris.cloud.proto.Cloud.GetStageRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetStageRequest result = new org.apache.doris.cloud.proto.Cloud.GetStageRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetStageRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stageName_ = stageName_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.mysqlUserName_ = mysqlUserName_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.mysqlUserId_ = mysqlUserId_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetStageRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetStageRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetStageRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetStageRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStageName()) {
stageName_ = other.stageName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasMysqlUserName()) {
mysqlUserName_ = other.mysqlUserName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasMysqlUserId()) {
mysqlUserId_ = other.mysqlUserId_;
bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
stageName_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
mysqlUserName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.StagePB.StageType tmpValue =
org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
type_ = tmpRaw;
bitField0_ |= 0x00000008;
}
break;
} // case 32
case 42: {
mysqlUserId_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object stageName_ = "";
/**
* <code>optional string stage_name = 2;</code>
* @return Whether the stageName field is set.
*/
public boolean hasStageName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_name = 2;</code>
* @return The stageName.
*/
public java.lang.String getStageName() {
java.lang.Object ref = stageName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_name = 2;</code>
* @return The bytes for stageName.
*/
public com.google.protobuf.ByteString
getStageNameBytes() {
java.lang.Object ref = stageName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_name = 2;</code>
* @param value The stageName to set.
* @return This builder for chaining.
*/
public Builder setStageName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string stage_name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStageName() {
stageName_ = getDefaultInstance().getStageName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string stage_name = 2;</code>
* @param value The bytes for stageName to set.
* @return This builder for chaining.
*/
public Builder setStageNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object mysqlUserName_ = "";
/**
* <code>optional string mysql_user_name = 3;</code>
* @return Whether the mysqlUserName field is set.
*/
public boolean hasMysqlUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The mysqlUserName.
*/
public java.lang.String getMysqlUserName() {
java.lang.Object ref = mysqlUserName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The bytes for mysqlUserName.
*/
public com.google.protobuf.ByteString
getMysqlUserNameBytes() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @param value The mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserName() {
mysqlUserName_ = getDefaultInstance().getMysqlUserName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @param value The bytes for mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private int type_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return The type.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.doris.cloud.proto.Cloud.StagePB.StageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = 0;
onChanged();
return this;
}
private java.lang.Object mysqlUserId_ = "";
/**
* <code>optional string mysql_user_id = 5;</code>
* @return Whether the mysqlUserId field is set.
*/
public boolean hasMysqlUserId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The mysqlUserId.
*/
public java.lang.String getMysqlUserId() {
java.lang.Object ref = mysqlUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The bytes for mysqlUserId.
*/
public com.google.protobuf.ByteString
getMysqlUserIdBytes() {
java.lang.Object ref = mysqlUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @param value The mysqlUserId to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserId() {
mysqlUserId_ = getDefaultInstance().getMysqlUserId();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @param value The bytes for mysqlUserId to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetStageRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetStageRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetStageRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetStageRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetStageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetStageRequest>
PARSER = new com.google.protobuf.AbstractParser<GetStageRequest>() {
@java.lang.Override
public GetStageRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetStageRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetStageRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetStageResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetStageResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB>
getStageList();
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.StagePB getStage(int index);
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
int getStageCount();
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStageOrBuilderList();
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.GetStageResponse}
*/
public static final class GetStageResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetStageResponse)
GetStageResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetStageResponse.newBuilder() to construct.
private GetStageResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetStageResponse() {
stage_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetStageResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetStageResponse.class, org.apache.doris.cloud.proto.Cloud.GetStageResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int STAGE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> stage_;
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> getStageList() {
return stage_;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStageOrBuilderList() {
return stage_;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
@java.lang.Override
public int getStageCount() {
return stage_.size();
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB getStage(int index) {
return stage_.get(index);
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder(
int index) {
return stage_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < stage_.size(); i++) {
output.writeMessage(2, stage_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < stage_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, stage_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetStageResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetStageResponse other = (org.apache.doris.cloud.proto.Cloud.GetStageResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getStageList()
.equals(other.getStageList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getStageCount() > 0) {
hash = (37 * hash) + STAGE_FIELD_NUMBER;
hash = (53 * hash) + getStageList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetStageResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetStageResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetStageResponse)
org.apache.doris.cloud.proto.Cloud.GetStageResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetStageResponse.class, org.apache.doris.cloud.proto.Cloud.GetStageResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetStageResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getStageFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (stageBuilder_ == null) {
stage_ = java.util.Collections.emptyList();
} else {
stage_ = null;
stageBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetStageResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetStageResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageResponse build() {
org.apache.doris.cloud.proto.Cloud.GetStageResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetStageResponse result = new org.apache.doris.cloud.proto.Cloud.GetStageResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetStageResponse result) {
if (stageBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
stage_ = java.util.Collections.unmodifiableList(stage_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.stage_ = stage_;
} else {
result.stage_ = stageBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetStageResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetStageResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetStageResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetStageResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetStageResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (stageBuilder_ == null) {
if (!other.stage_.isEmpty()) {
if (stage_.isEmpty()) {
stage_ = other.stage_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureStageIsMutable();
stage_.addAll(other.stage_);
}
onChanged();
}
} else {
if (!other.stage_.isEmpty()) {
if (stageBuilder_.isEmpty()) {
stageBuilder_.dispose();
stageBuilder_ = null;
stage_ = other.stage_;
bitField0_ = (bitField0_ & ~0x00000002);
stageBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStageFieldBuilder() : null;
} else {
stageBuilder_.addAllMessages(other.stage_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.StagePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.StagePB.PARSER,
extensionRegistry);
if (stageBuilder_ == null) {
ensureStageIsMutable();
stage_.add(m);
} else {
stageBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> stage_ =
java.util.Collections.emptyList();
private void ensureStageIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
stage_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.StagePB>(stage_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder> stageBuilder_;
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB> getStageList() {
if (stageBuilder_ == null) {
return java.util.Collections.unmodifiableList(stage_);
} else {
return stageBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public int getStageCount() {
if (stageBuilder_ == null) {
return stage_.size();
} else {
return stageBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB getStage(int index) {
if (stageBuilder_ == null) {
return stage_.get(index);
} else {
return stageBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder setStage(
int index, org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStageIsMutable();
stage_.set(index, value);
onChanged();
} else {
stageBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder setStage(
int index, org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stageBuilder_ == null) {
ensureStageIsMutable();
stage_.set(index, builderForValue.build());
onChanged();
} else {
stageBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder addStage(org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStageIsMutable();
stage_.add(value);
onChanged();
} else {
stageBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder addStage(
int index, org.apache.doris.cloud.proto.Cloud.StagePB value) {
if (stageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStageIsMutable();
stage_.add(index, value);
onChanged();
} else {
stageBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder addStage(
org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stageBuilder_ == null) {
ensureStageIsMutable();
stage_.add(builderForValue.build());
onChanged();
} else {
stageBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder addStage(
int index, org.apache.doris.cloud.proto.Cloud.StagePB.Builder builderForValue) {
if (stageBuilder_ == null) {
ensureStageIsMutable();
stage_.add(index, builderForValue.build());
onChanged();
} else {
stageBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder addAllStage(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.StagePB> values) {
if (stageBuilder_ == null) {
ensureStageIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stage_);
onChanged();
} else {
stageBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder clearStage() {
if (stageBuilder_ == null) {
stage_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
stageBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public Builder removeStage(int index) {
if (stageBuilder_ == null) {
ensureStageIsMutable();
stage_.remove(index);
onChanged();
} else {
stageBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder getStageBuilder(
int index) {
return getStageFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder getStageOrBuilder(
int index) {
if (stageBuilder_ == null) {
return stage_.get(index); } else {
return stageBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStageOrBuilderList() {
if (stageBuilder_ != null) {
return stageBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stage_);
}
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder addStageBuilder() {
return getStageFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.StagePB.Builder addStageBuilder(
int index) {
return getStageFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.StagePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.StagePB stage = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.StagePB.Builder>
getStageBuilderList() {
return getStageFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>
getStageFieldBuilder() {
if (stageBuilder_ == null) {
stageBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.StagePB, org.apache.doris.cloud.proto.Cloud.StagePB.Builder, org.apache.doris.cloud.proto.Cloud.StagePBOrBuilder>(
stage_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
stage_ = null;
}
return stageBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetStageResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetStageResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetStageResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetStageResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetStageResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetStageResponse>
PARSER = new com.google.protobuf.AbstractParser<GetStageResponse>() {
@java.lang.Override
public GetStageResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetStageResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetStageResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetStageResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropStageRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.DropStageRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string stage_name = 2;</code>
* @return Whether the stageName field is set.
*/
boolean hasStageName();
/**
* <code>optional string stage_name = 2;</code>
* @return The stageName.
*/
java.lang.String getStageName();
/**
* <code>optional string stage_name = 2;</code>
* @return The bytes for stageName.
*/
com.google.protobuf.ByteString
getStageNameBytes();
/**
* <code>optional string mysql_user_name = 3;</code>
* @return Whether the mysqlUserName field is set.
*/
boolean hasMysqlUserName();
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The mysqlUserName.
*/
java.lang.String getMysqlUserName();
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The bytes for mysqlUserName.
*/
com.google.protobuf.ByteString
getMysqlUserNameBytes();
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return Whether the type field is set.
*/
boolean hasType();
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return The type.
*/
org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType();
/**
* <code>optional string mysql_user_id = 5;</code>
* @return Whether the mysqlUserId field is set.
*/
boolean hasMysqlUserId();
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The mysqlUserId.
*/
java.lang.String getMysqlUserId();
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The bytes for mysqlUserId.
*/
com.google.protobuf.ByteString
getMysqlUserIdBytes();
/**
* <code>optional string reason = 6;</code>
* @return Whether the reason field is set.
*/
boolean hasReason();
/**
* <code>optional string reason = 6;</code>
* @return The reason.
*/
java.lang.String getReason();
/**
* <code>optional string reason = 6;</code>
* @return The bytes for reason.
*/
com.google.protobuf.ByteString
getReasonBytes();
}
/**
* Protobuf type {@code doris.cloud.DropStageRequest}
*/
public static final class DropStageRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.DropStageRequest)
DropStageRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropStageRequest.newBuilder() to construct.
private DropStageRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DropStageRequest() {
cloudUniqueId_ = "";
stageName_ = "";
mysqlUserName_ = "";
type_ = 0;
mysqlUserId_ = "";
reason_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropStageRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DropStageRequest.class, org.apache.doris.cloud.proto.Cloud.DropStageRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object stageName_ = "";
/**
* <code>optional string stage_name = 2;</code>
* @return Whether the stageName field is set.
*/
@java.lang.Override
public boolean hasStageName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_name = 2;</code>
* @return The stageName.
*/
@java.lang.Override
public java.lang.String getStageName() {
java.lang.Object ref = stageName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageName_ = s;
}
return s;
}
}
/**
* <code>optional string stage_name = 2;</code>
* @return The bytes for stageName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageNameBytes() {
java.lang.Object ref = stageName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MYSQL_USER_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object mysqlUserName_ = "";
/**
* <code>optional string mysql_user_name = 3;</code>
* @return Whether the mysqlUserName field is set.
*/
@java.lang.Override
public boolean hasMysqlUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The mysqlUserName.
*/
@java.lang.Override
public java.lang.String getMysqlUserName() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserName_ = s;
}
return s;
}
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The bytes for mysqlUserName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMysqlUserNameBytes() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 4;
private int type_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return The type.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
public static final int MYSQL_USER_ID_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object mysqlUserId_ = "";
/**
* <code>optional string mysql_user_id = 5;</code>
* @return Whether the mysqlUserId field is set.
*/
@java.lang.Override
public boolean hasMysqlUserId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The mysqlUserId.
*/
@java.lang.Override
public java.lang.String getMysqlUserId() {
java.lang.Object ref = mysqlUserId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserId_ = s;
}
return s;
}
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The bytes for mysqlUserId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMysqlUserIdBytes() {
java.lang.Object ref = mysqlUserId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REASON_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
private volatile java.lang.Object reason_ = "";
/**
* <code>optional string reason = 6;</code>
* @return Whether the reason field is set.
*/
@java.lang.Override
public boolean hasReason() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string reason = 6;</code>
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
}
}
/**
* <code>optional string reason = 6;</code>
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stageName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, mysqlUserName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeEnum(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, mysqlUserId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, reason_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stageName_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, mysqlUserName_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, type_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, mysqlUserId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, reason_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.DropStageRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.DropStageRequest other = (org.apache.doris.cloud.proto.Cloud.DropStageRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStageName() != other.hasStageName()) return false;
if (hasStageName()) {
if (!getStageName()
.equals(other.getStageName())) return false;
}
if (hasMysqlUserName() != other.hasMysqlUserName()) return false;
if (hasMysqlUserName()) {
if (!getMysqlUserName()
.equals(other.getMysqlUserName())) return false;
}
if (hasType() != other.hasType()) return false;
if (hasType()) {
if (type_ != other.type_) return false;
}
if (hasMysqlUserId() != other.hasMysqlUserId()) return false;
if (hasMysqlUserId()) {
if (!getMysqlUserId()
.equals(other.getMysqlUserId())) return false;
}
if (hasReason() != other.hasReason()) return false;
if (hasReason()) {
if (!getReason()
.equals(other.getReason())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStageName()) {
hash = (37 * hash) + STAGE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getStageName().hashCode();
}
if (hasMysqlUserName()) {
hash = (37 * hash) + MYSQL_USER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserName().hashCode();
}
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + type_;
}
if (hasMysqlUserId()) {
hash = (37 * hash) + MYSQL_USER_ID_FIELD_NUMBER;
hash = (53 * hash) + getMysqlUserId().hashCode();
}
if (hasReason()) {
hash = (37 * hash) + REASON_FIELD_NUMBER;
hash = (53 * hash) + getReason().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.DropStageRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.DropStageRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.DropStageRequest)
org.apache.doris.cloud.proto.Cloud.DropStageRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DropStageRequest.class, org.apache.doris.cloud.proto.Cloud.DropStageRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.DropStageRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stageName_ = "";
mysqlUserName_ = "";
type_ = 0;
mysqlUserId_ = "";
reason_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.DropStageRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageRequest build() {
org.apache.doris.cloud.proto.Cloud.DropStageRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.DropStageRequest result = new org.apache.doris.cloud.proto.Cloud.DropStageRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.DropStageRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stageName_ = stageName_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.mysqlUserName_ = mysqlUserName_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.type_ = type_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.mysqlUserId_ = mysqlUserId_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.reason_ = reason_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.DropStageRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.DropStageRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.DropStageRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.DropStageRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStageName()) {
stageName_ = other.stageName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasMysqlUserName()) {
mysqlUserName_ = other.mysqlUserName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasType()) {
setType(other.getType());
}
if (other.hasMysqlUserId()) {
mysqlUserId_ = other.mysqlUserId_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasReason()) {
reason_ = other.reason_;
bitField0_ |= 0x00000020;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
stageName_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
mysqlUserName_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.StagePB.StageType tmpValue =
org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(4, tmpRaw);
} else {
type_ = tmpRaw;
bitField0_ |= 0x00000008;
}
break;
} // case 32
case 42: {
mysqlUserId_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 50: {
reason_ = input.readBytes();
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object stageName_ = "";
/**
* <code>optional string stage_name = 2;</code>
* @return Whether the stageName field is set.
*/
public boolean hasStageName() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_name = 2;</code>
* @return The stageName.
*/
public java.lang.String getStageName() {
java.lang.Object ref = stageName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_name = 2;</code>
* @return The bytes for stageName.
*/
public com.google.protobuf.ByteString
getStageNameBytes() {
java.lang.Object ref = stageName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_name = 2;</code>
* @param value The stageName to set.
* @return This builder for chaining.
*/
public Builder setStageName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string stage_name = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStageName() {
stageName_ = getDefaultInstance().getStageName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string stage_name = 2;</code>
* @param value The bytes for stageName to set.
* @return This builder for chaining.
*/
public Builder setStageNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object mysqlUserName_ = "";
/**
* <code>optional string mysql_user_name = 3;</code>
* @return Whether the mysqlUserName field is set.
*/
public boolean hasMysqlUserName() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The mysqlUserName.
*/
public java.lang.String getMysqlUserName() {
java.lang.Object ref = mysqlUserName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserName_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return The bytes for mysqlUserName.
*/
public com.google.protobuf.ByteString
getMysqlUserNameBytes() {
java.lang.Object ref = mysqlUserName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @param value The mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserName() {
mysqlUserName_ = getDefaultInstance().getMysqlUserName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string mysql_user_name = 3;</code>
* @param value The bytes for mysqlUserName to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private int type_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return Whether the type field is set.
*/
@java.lang.Override public boolean hasType() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return The type.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(type_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(org.apache.doris.cloud.proto.Cloud.StagePB.StageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
type_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB.StageType type = 4;</code>
* @return This builder for chaining.
*/
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = 0;
onChanged();
return this;
}
private java.lang.Object mysqlUserId_ = "";
/**
* <code>optional string mysql_user_id = 5;</code>
* @return Whether the mysqlUserId field is set.
*/
public boolean hasMysqlUserId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The mysqlUserId.
*/
public java.lang.String getMysqlUserId() {
java.lang.Object ref = mysqlUserId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
mysqlUserId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return The bytes for mysqlUserId.
*/
public com.google.protobuf.ByteString
getMysqlUserIdBytes() {
java.lang.Object ref = mysqlUserId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mysqlUserId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @param value The mysqlUserId to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearMysqlUserId() {
mysqlUserId_ = getDefaultInstance().getMysqlUserId();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string mysql_user_id = 5;</code>
* @param value The bytes for mysqlUserId to set.
* @return This builder for chaining.
*/
public Builder setMysqlUserIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
mysqlUserId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private java.lang.Object reason_ = "";
/**
* <code>optional string reason = 6;</code>
* @return Whether the reason field is set.
*/
public boolean hasReason() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional string reason = 6;</code>
* @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
reason_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string reason = 6;</code>
* @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string reason = 6;</code>
* @param value The reason to set.
* @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional string reason = 6;</code>
* @return This builder for chaining.
*/
public Builder clearReason() {
reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
/**
* <code>optional string reason = 6;</code>
* @param value The bytes for reason to set.
* @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.DropStageRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.DropStageRequest)
private static final org.apache.doris.cloud.proto.Cloud.DropStageRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.DropStageRequest();
}
public static org.apache.doris.cloud.proto.Cloud.DropStageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<DropStageRequest>
PARSER = new com.google.protobuf.AbstractParser<DropStageRequest>() {
@java.lang.Override
public DropStageRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<DropStageRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DropStageRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DropStageResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.DropStageResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.DropStageResponse}
*/
public static final class DropStageResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.DropStageResponse)
DropStageResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use DropStageResponse.newBuilder() to construct.
private DropStageResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DropStageResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DropStageResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DropStageResponse.class, org.apache.doris.cloud.proto.Cloud.DropStageResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.DropStageResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.DropStageResponse other = (org.apache.doris.cloud.proto.Cloud.DropStageResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.DropStageResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.DropStageResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.DropStageResponse)
org.apache.doris.cloud.proto.Cloud.DropStageResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DropStageResponse.class, org.apache.doris.cloud.proto.Cloud.DropStageResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.DropStageResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DropStageResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.DropStageResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageResponse build() {
org.apache.doris.cloud.proto.Cloud.DropStageResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.DropStageResponse result = new org.apache.doris.cloud.proto.Cloud.DropStageResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.DropStageResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.DropStageResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.DropStageResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.DropStageResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.DropStageResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.DropStageResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.DropStageResponse)
private static final org.apache.doris.cloud.proto.Cloud.DropStageResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.DropStageResponse();
}
public static org.apache.doris.cloud.proto.Cloud.DropStageResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<DropStageResponse>
PARSER = new com.google.protobuf.AbstractParser<DropStageResponse>() {
@java.lang.Override
public DropStageResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<DropStageResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DropStageResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DropStageResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetIamRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetIamRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
}
/**
* Protobuf type {@code doris.cloud.GetIamRequest}
*/
public static final class GetIamRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetIamRequest)
GetIamRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetIamRequest.newBuilder() to construct.
private GetIamRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetIamRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetIamRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetIamRequest.class, org.apache.doris.cloud.proto.Cloud.GetIamRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetIamRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetIamRequest other = (org.apache.doris.cloud.proto.Cloud.GetIamRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetIamRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetIamRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetIamRequest)
org.apache.doris.cloud.proto.Cloud.GetIamRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetIamRequest.class, org.apache.doris.cloud.proto.Cloud.GetIamRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetIamRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetIamRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamRequest build() {
org.apache.doris.cloud.proto.Cloud.GetIamRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetIamRequest result = new org.apache.doris.cloud.proto.Cloud.GetIamRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetIamRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetIamRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetIamRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetIamRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetIamRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetIamRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetIamRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetIamRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetIamRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetIamRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetIamRequest>
PARSER = new com.google.protobuf.AbstractParser<GetIamRequest>() {
@java.lang.Override
public GetIamRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetIamRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetIamRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetIamResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetIamResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
* @return Whether the iamUser field is set.
*/
boolean hasIamUser();
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
* @return The iamUser.
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getIamUser();
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getIamUserOrBuilder();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return Whether the ramUser field is set.
*/
boolean hasRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return The ramUser.
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetIamResponse}
*/
public static final class GetIamResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetIamResponse)
GetIamResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetIamResponse.newBuilder() to construct.
private GetIamResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetIamResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetIamResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetIamResponse.class, org.apache.doris.cloud.proto.Cloud.GetIamResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int IAM_USER_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.RamUserPB iamUser_;
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
* @return Whether the iamUser field is set.
*/
@java.lang.Override
public boolean hasIamUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
* @return The iamUser.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getIamUser() {
return iamUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getIamUserOrBuilder() {
return iamUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
}
public static final int RAM_USER_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return Whether the ramUser field is set.
*/
@java.lang.Override
public boolean hasRamUser() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return The ramUser.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getIamUser());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getRamUser());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getIamUser());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getRamUser());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetIamResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetIamResponse other = (org.apache.doris.cloud.proto.Cloud.GetIamResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasIamUser() != other.hasIamUser()) return false;
if (hasIamUser()) {
if (!getIamUser()
.equals(other.getIamUser())) return false;
}
if (hasRamUser() != other.hasRamUser()) return false;
if (hasRamUser()) {
if (!getRamUser()
.equals(other.getRamUser())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasIamUser()) {
hash = (37 * hash) + IAM_USER_FIELD_NUMBER;
hash = (53 * hash) + getIamUser().hashCode();
}
if (hasRamUser()) {
hash = (37 * hash) + RAM_USER_FIELD_NUMBER;
hash = (53 * hash) + getRamUser().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetIamResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetIamResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetIamResponse)
org.apache.doris.cloud.proto.Cloud.GetIamResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetIamResponse.class, org.apache.doris.cloud.proto.Cloud.GetIamResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetIamResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getIamUserFieldBuilder();
getRamUserFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
iamUser_ = null;
if (iamUserBuilder_ != null) {
iamUserBuilder_.dispose();
iamUserBuilder_ = null;
}
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetIamResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetIamResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamResponse build() {
org.apache.doris.cloud.proto.Cloud.GetIamResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetIamResponse result = new org.apache.doris.cloud.proto.Cloud.GetIamResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetIamResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.iamUser_ = iamUserBuilder_ == null
? iamUser_
: iamUserBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.ramUser_ = ramUserBuilder_ == null
? ramUser_
: ramUserBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetIamResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetIamResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetIamResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetIamResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasIamUser()) {
mergeIamUser(other.getIamUser());
}
if (other.hasRamUser()) {
mergeRamUser(other.getRamUser());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getIamUserFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getRamUserFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.RamUserPB iamUser_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> iamUserBuilder_;
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
* @return Whether the iamUser field is set.
*/
public boolean hasIamUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
* @return The iamUser.
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getIamUser() {
if (iamUserBuilder_ == null) {
return iamUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
} else {
return iamUserBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
public Builder setIamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (iamUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
iamUser_ = value;
} else {
iamUserBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
public Builder setIamUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (iamUserBuilder_ == null) {
iamUser_ = builderForValue.build();
} else {
iamUserBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
public Builder mergeIamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (iamUserBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
iamUser_ != null &&
iamUser_ != org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) {
getIamUserBuilder().mergeFrom(value);
} else {
iamUser_ = value;
}
} else {
iamUserBuilder_.mergeFrom(value);
}
if (iamUser_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
public Builder clearIamUser() {
bitField0_ = (bitField0_ & ~0x00000002);
iamUser_ = null;
if (iamUserBuilder_ != null) {
iamUserBuilder_.dispose();
iamUserBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getIamUserBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getIamUserFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getIamUserOrBuilder() {
if (iamUserBuilder_ != null) {
return iamUserBuilder_.getMessageOrBuilder();
} else {
return iamUser_ == null ?
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : iamUser_;
}
}
/**
* <code>optional .doris.cloud.RamUserPB iam_user = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getIamUserFieldBuilder() {
if (iamUserBuilder_ == null) {
iamUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
getIamUser(),
getParentForChildren(),
isClean());
iamUser_ = null;
}
return iamUserBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> ramUserBuilder_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return Whether the ramUser field is set.
*/
public boolean hasRamUser() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
* @return The ramUser.
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
if (ramUserBuilder_ == null) {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
} else {
return ramUserBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder setRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ramUser_ = value;
} else {
ramUserBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder setRamUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (ramUserBuilder_ == null) {
ramUser_ = builderForValue.build();
} else {
ramUserBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder mergeRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
ramUser_ != null &&
ramUser_ != org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) {
getRamUserBuilder().mergeFrom(value);
} else {
ramUser_ = value;
}
} else {
ramUserBuilder_.mergeFrom(value);
}
if (ramUser_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public Builder clearRamUser() {
bitField0_ = (bitField0_ & ~0x00000004);
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getRamUserBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getRamUserFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
if (ramUserBuilder_ != null) {
return ramUserBuilder_.getMessageOrBuilder();
} else {
return ramUser_ == null ?
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getRamUserFieldBuilder() {
if (ramUserBuilder_ == null) {
ramUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
getRamUser(),
getParentForChildren(),
isClean());
ramUser_ = null;
}
return ramUserBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetIamResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetIamResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetIamResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetIamResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetIamResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetIamResponse>
PARSER = new com.google.protobuf.AbstractParser<GetIamResponse>() {
@java.lang.Override
public GetIamResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetIamResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetIamResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetIamResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterIamRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterIamRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string account_id = 1;</code>
* @return Whether the accountId field is set.
*/
boolean hasAccountId();
/**
* <code>optional string account_id = 1;</code>
* @return The accountId.
*/
java.lang.String getAccountId();
/**
* <code>optional string account_id = 1;</code>
* @return The bytes for accountId.
*/
com.google.protobuf.ByteString
getAccountIdBytes();
/**
* <code>optional string ak = 2;</code>
* @return Whether the ak field is set.
*/
boolean hasAk();
/**
* <code>optional string ak = 2;</code>
* @return The ak.
*/
java.lang.String getAk();
/**
* <code>optional string ak = 2;</code>
* @return The bytes for ak.
*/
com.google.protobuf.ByteString
getAkBytes();
/**
* <code>optional string sk = 3;</code>
* @return Whether the sk field is set.
*/
boolean hasSk();
/**
* <code>optional string sk = 3;</code>
* @return The sk.
*/
java.lang.String getSk();
/**
* <code>optional string sk = 3;</code>
* @return The bytes for sk.
*/
com.google.protobuf.ByteString
getSkBytes();
}
/**
* Protobuf type {@code doris.cloud.AlterIamRequest}
*/
public static final class AlterIamRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterIamRequest)
AlterIamRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterIamRequest.newBuilder() to construct.
private AlterIamRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterIamRequest() {
accountId_ = "";
ak_ = "";
sk_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterIamRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterIamRequest.class, org.apache.doris.cloud.proto.Cloud.AlterIamRequest.Builder.class);
}
private int bitField0_;
public static final int ACCOUNT_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object accountId_ = "";
/**
* <code>optional string account_id = 1;</code>
* @return Whether the accountId field is set.
*/
@java.lang.Override
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string account_id = 1;</code>
* @return The accountId.
*/
@java.lang.Override
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
accountId_ = s;
}
return s;
}
}
/**
* <code>optional string account_id = 1;</code>
* @return The bytes for accountId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int AK_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object ak_ = "";
/**
* <code>optional string ak = 2;</code>
* @return Whether the ak field is set.
*/
@java.lang.Override
public boolean hasAk() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ak = 2;</code>
* @return The ak.
*/
@java.lang.Override
public java.lang.String getAk() {
java.lang.Object ref = ak_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ak_ = s;
}
return s;
}
}
/**
* <code>optional string ak = 2;</code>
* @return The bytes for ak.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAkBytes() {
java.lang.Object ref = ak_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ak_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SK_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object sk_ = "";
/**
* <code>optional string sk = 3;</code>
* @return Whether the sk field is set.
*/
@java.lang.Override
public boolean hasSk() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string sk = 3;</code>
* @return The sk.
*/
@java.lang.Override
public java.lang.String getSk() {
java.lang.Object ref = sk_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sk_ = s;
}
return s;
}
}
/**
* <code>optional string sk = 3;</code>
* @return The bytes for sk.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSkBytes() {
java.lang.Object ref = sk_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ak_);
}
if (((bitField0_ & 0x00000004) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sk_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accountId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ak_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sk_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterIamRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterIamRequest other = (org.apache.doris.cloud.proto.Cloud.AlterIamRequest) obj;
if (hasAccountId() != other.hasAccountId()) return false;
if (hasAccountId()) {
if (!getAccountId()
.equals(other.getAccountId())) return false;
}
if (hasAk() != other.hasAk()) return false;
if (hasAk()) {
if (!getAk()
.equals(other.getAk())) return false;
}
if (hasSk() != other.hasSk()) return false;
if (hasSk()) {
if (!getSk()
.equals(other.getSk())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasAccountId()) {
hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId().hashCode();
}
if (hasAk()) {
hash = (37 * hash) + AK_FIELD_NUMBER;
hash = (53 * hash) + getAk().hashCode();
}
if (hasSk()) {
hash = (37 * hash) + SK_FIELD_NUMBER;
hash = (53 * hash) + getSk().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterIamRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterIamRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterIamRequest)
org.apache.doris.cloud.proto.Cloud.AlterIamRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterIamRequest.class, org.apache.doris.cloud.proto.Cloud.AlterIamRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterIamRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
accountId_ = "";
ak_ = "";
sk_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterIamRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamRequest build() {
org.apache.doris.cloud.proto.Cloud.AlterIamRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterIamRequest result = new org.apache.doris.cloud.proto.Cloud.AlterIamRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterIamRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.accountId_ = accountId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ak_ = ak_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.sk_ = sk_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterIamRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterIamRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterIamRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterIamRequest.getDefaultInstance()) return this;
if (other.hasAccountId()) {
accountId_ = other.accountId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasAk()) {
ak_ = other.ak_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasSk()) {
sk_ = other.sk_;
bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
accountId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
ak_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
sk_ = input.readBytes();
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object accountId_ = "";
/**
* <code>optional string account_id = 1;</code>
* @return Whether the accountId field is set.
*/
public boolean hasAccountId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string account_id = 1;</code>
* @return The accountId.
*/
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
accountId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string account_id = 1;</code>
* @return The bytes for accountId.
*/
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string account_id = 1;</code>
* @param value The accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
accountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string account_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearAccountId() {
accountId_ = getDefaultInstance().getAccountId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string account_id = 1;</code>
* @param value The bytes for accountId to set.
* @return This builder for chaining.
*/
public Builder setAccountIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
accountId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object ak_ = "";
/**
* <code>optional string ak = 2;</code>
* @return Whether the ak field is set.
*/
public boolean hasAk() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string ak = 2;</code>
* @return The ak.
*/
public java.lang.String getAk() {
java.lang.Object ref = ak_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
ak_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string ak = 2;</code>
* @return The bytes for ak.
*/
public com.google.protobuf.ByteString
getAkBytes() {
java.lang.Object ref = ak_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
ak_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string ak = 2;</code>
* @param value The ak to set.
* @return This builder for chaining.
*/
public Builder setAk(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ak_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string ak = 2;</code>
* @return This builder for chaining.
*/
public Builder clearAk() {
ak_ = getDefaultInstance().getAk();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string ak = 2;</code>
* @param value The bytes for ak to set.
* @return This builder for chaining.
*/
public Builder setAkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ak_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object sk_ = "";
/**
* <code>optional string sk = 3;</code>
* @return Whether the sk field is set.
*/
public boolean hasSk() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional string sk = 3;</code>
* @return The sk.
*/
public java.lang.String getSk() {
java.lang.Object ref = sk_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sk_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string sk = 3;</code>
* @return The bytes for sk.
*/
public com.google.protobuf.ByteString
getSkBytes() {
java.lang.Object ref = sk_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sk_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string sk = 3;</code>
* @param value The sk to set.
* @return This builder for chaining.
*/
public Builder setSk(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
sk_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional string sk = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSk() {
sk_ = getDefaultInstance().getSk();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* <code>optional string sk = 3;</code>
* @param value The bytes for sk to set.
* @return This builder for chaining.
*/
public Builder setSkBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
sk_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterIamRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterIamRequest)
private static final org.apache.doris.cloud.proto.Cloud.AlterIamRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterIamRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterIamRequest>
PARSER = new com.google.protobuf.AbstractParser<AlterIamRequest>() {
@java.lang.Override
public AlterIamRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterIamRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterIamRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterIamResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterIamResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AlterIamResponse}
*/
public static final class AlterIamResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterIamResponse)
AlterIamResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterIamResponse.newBuilder() to construct.
private AlterIamResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterIamResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterIamResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterIamResponse.class, org.apache.doris.cloud.proto.Cloud.AlterIamResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterIamResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterIamResponse other = (org.apache.doris.cloud.proto.Cloud.AlterIamResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterIamResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterIamResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterIamResponse)
org.apache.doris.cloud.proto.Cloud.AlterIamResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterIamResponse.class, org.apache.doris.cloud.proto.Cloud.AlterIamResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterIamResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterIamResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterIamResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamResponse build() {
org.apache.doris.cloud.proto.Cloud.AlterIamResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterIamResponse result = new org.apache.doris.cloud.proto.Cloud.AlterIamResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterIamResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterIamResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterIamResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterIamResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterIamResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterIamResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterIamResponse)
private static final org.apache.doris.cloud.proto.Cloud.AlterIamResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterIamResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AlterIamResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterIamResponse>
PARSER = new com.google.protobuf.AbstractParser<AlterIamResponse>() {
@java.lang.Override
public AlterIamResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterIamResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterIamResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterIamResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterRamUserRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterRamUserRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
boolean hasInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
java.lang.String getInstanceId();
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
com.google.protobuf.ByteString
getInstanceIdBytes();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
* @return Whether the ramUser field is set.
*/
boolean hasRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
* @return The ramUser.
*/
org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser();
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AlterRamUserRequest}
*/
public static final class AlterRamUserRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterRamUserRequest)
AlterRamUserRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterRamUserRequest.newBuilder() to construct.
private AlterRamUserRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterRamUserRequest() {
instanceId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterRamUserRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest.class, org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest.Builder.class);
}
private int bitField0_;
public static final int INSTANCE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
@java.lang.Override
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
@java.lang.Override
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RAM_USER_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
* @return Whether the ramUser field is set.
*/
@java.lang.Override
public boolean hasRamUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
* @return The ramUser.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getRamUser());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getRamUser());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest other = (org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest) obj;
if (hasInstanceId() != other.hasInstanceId()) return false;
if (hasInstanceId()) {
if (!getInstanceId()
.equals(other.getInstanceId())) return false;
}
if (hasRamUser() != other.hasRamUser()) return false;
if (hasRamUser()) {
if (!getRamUser()
.equals(other.getRamUser())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasInstanceId()) {
hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
hash = (53 * hash) + getInstanceId().hashCode();
}
if (hasRamUser()) {
hash = (37 * hash) + RAM_USER_FIELD_NUMBER;
hash = (53 * hash) + getRamUser().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterRamUserRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterRamUserRequest)
org.apache.doris.cloud.proto.Cloud.AlterRamUserRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest.class, org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRamUserFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceId_ = "";
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest build() {
org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest result = new org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.instanceId_ = instanceId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.ramUser_ = ramUserBuilder_ == null
? ramUser_
: ramUserBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest.getDefaultInstance()) return this;
if (other.hasInstanceId()) {
instanceId_ = other.instanceId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasRamUser()) {
mergeRamUser(other.getRamUser());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
instanceId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getRamUserFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object instanceId_ = "";
/**
* <code>optional string instance_id = 1;</code>
* @return Whether the instanceId field is set.
*/
public boolean hasInstanceId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string instance_id = 1;</code>
* @return The instanceId.
*/
public java.lang.String getInstanceId() {
java.lang.Object ref = instanceId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
instanceId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @return The bytes for instanceId.
*/
public com.google.protobuf.ByteString
getInstanceIdBytes() {
java.lang.Object ref = instanceId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
instanceId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceId() {
instanceId_ = getDefaultInstance().getInstanceId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string instance_id = 1;</code>
* @param value The bytes for instanceId to set.
* @return This builder for chaining.
*/
public Builder setInstanceIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
instanceId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.RamUserPB ramUser_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder> ramUserBuilder_;
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
* @return Whether the ramUser field is set.
*/
public boolean hasRamUser() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
* @return The ramUser.
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB getRamUser() {
if (ramUserBuilder_ == null) {
return ramUser_ == null ? org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
} else {
return ramUserBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
public Builder setRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ramUser_ = value;
} else {
ramUserBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
public Builder setRamUser(
org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder builderForValue) {
if (ramUserBuilder_ == null) {
ramUser_ = builderForValue.build();
} else {
ramUserBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
public Builder mergeRamUser(org.apache.doris.cloud.proto.Cloud.RamUserPB value) {
if (ramUserBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
ramUser_ != null &&
ramUser_ != org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance()) {
getRamUserBuilder().mergeFrom(value);
} else {
ramUser_ = value;
}
} else {
ramUserBuilder_.mergeFrom(value);
}
if (ramUser_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
public Builder clearRamUser() {
bitField0_ = (bitField0_ & ~0x00000002);
ramUser_ = null;
if (ramUserBuilder_ != null) {
ramUserBuilder_.dispose();
ramUserBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder getRamUserBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getRamUserFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder getRamUserOrBuilder() {
if (ramUserBuilder_ != null) {
return ramUserBuilder_.getMessageOrBuilder();
} else {
return ramUser_ == null ?
org.apache.doris.cloud.proto.Cloud.RamUserPB.getDefaultInstance() : ramUser_;
}
}
/**
* <code>optional .doris.cloud.RamUserPB ram_user = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>
getRamUserFieldBuilder() {
if (ramUserBuilder_ == null) {
ramUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RamUserPB, org.apache.doris.cloud.proto.Cloud.RamUserPB.Builder, org.apache.doris.cloud.proto.Cloud.RamUserPBOrBuilder>(
getRamUser(),
getParentForChildren(),
isClean());
ramUser_ = null;
}
return ramUserBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterRamUserRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterRamUserRequest)
private static final org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest();
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterRamUserRequest>
PARSER = new com.google.protobuf.AbstractParser<AlterRamUserRequest>() {
@java.lang.Override
public AlterRamUserRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterRamUserRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterRamUserRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlterRamUserResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.AlterRamUserResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.AlterRamUserResponse}
*/
public static final class AlterRamUserResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.AlterRamUserResponse)
AlterRamUserResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlterRamUserResponse.newBuilder() to construct.
private AlterRamUserResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private AlterRamUserResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AlterRamUserResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse.class, org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse other = (org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.AlterRamUserResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.AlterRamUserResponse)
org.apache.doris.cloud.proto.Cloud.AlterRamUserResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse.class, org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_AlterRamUserResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse build() {
org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse result = new org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.AlterRamUserResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.AlterRamUserResponse)
private static final org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse();
}
public static org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<AlterRamUserResponse>
PARSER = new com.google.protobuf.AbstractParser<AlterRamUserResponse>() {
@java.lang.Override
public AlterRamUserResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<AlterRamUserResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<AlterRamUserResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.AlterRamUserResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StartTabletJobRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.StartTabletJobRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
* @return Whether the job field is set.
*/
boolean hasJob();
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
* @return The job.
*/
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getJob();
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder getJobOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.StartTabletJobRequest}
*/
public static final class StartTabletJobRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.StartTabletJobRequest)
StartTabletJobRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use StartTabletJobRequest.newBuilder() to construct.
private StartTabletJobRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private StartTabletJobRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StartTabletJobRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest.class, org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOB_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB job_;
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
* @return Whether the job field is set.
*/
@java.lang.Override
public boolean hasJob() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
* @return The job.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getJob() {
return job_ == null ? org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder getJobOrBuilder() {
return job_ == null ? org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getJob());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getJob());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest other = (org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasJob() != other.hasJob()) return false;
if (hasJob()) {
if (!getJob()
.equals(other.getJob())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasJob()) {
hash = (37 * hash) + JOB_FIELD_NUMBER;
hash = (53 * hash) + getJob().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.StartTabletJobRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.StartTabletJobRequest)
org.apache.doris.cloud.proto.Cloud.StartTabletJobRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest.class, org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getJobFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
job_ = null;
if (jobBuilder_ != null) {
jobBuilder_.dispose();
jobBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest build() {
org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest result = new org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.job_ = jobBuilder_ == null
? job_
: jobBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasJob()) {
mergeJob(other.getJob());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getJobFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB job_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder> jobBuilder_;
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
* @return Whether the job field is set.
*/
public boolean hasJob() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
* @return The job.
*/
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getJob() {
if (jobBuilder_ == null) {
return job_ == null ? org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
} else {
return jobBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
public Builder setJob(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB value) {
if (jobBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
job_ = value;
} else {
jobBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
public Builder setJob(
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder builderForValue) {
if (jobBuilder_ == null) {
job_ = builderForValue.build();
} else {
jobBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
public Builder mergeJob(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB value) {
if (jobBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
job_ != null &&
job_ != org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance()) {
getJobBuilder().mergeFrom(value);
} else {
job_ = value;
}
} else {
jobBuilder_.mergeFrom(value);
}
if (job_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
public Builder clearJob() {
bitField0_ = (bitField0_ & ~0x00000002);
job_ = null;
if (jobBuilder_ != null) {
jobBuilder_.dispose();
jobBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder getJobBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getJobFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder getJobOrBuilder() {
if (jobBuilder_ != null) {
return jobBuilder_.getMessageOrBuilder();
} else {
return job_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
}
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder>
getJobFieldBuilder() {
if (jobBuilder_ == null) {
jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder>(
getJob(),
getParentForChildren(),
isClean());
job_ = null;
}
return jobBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.StartTabletJobRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.StartTabletJobRequest)
private static final org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest();
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<StartTabletJobRequest>
PARSER = new com.google.protobuf.AbstractParser<StartTabletJobRequest>() {
@java.lang.Override
public StartTabletJobRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<StartTabletJobRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<StartTabletJobRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StartTabletJobResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.StartTabletJobResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @return A list containing the versionInCompaction.
*/
java.util.List<java.lang.Long> getVersionInCompactionList();
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @return The count of versionInCompaction.
*/
int getVersionInCompactionCount();
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @param index The index of the element to return.
* @return The versionInCompaction at the given index.
*/
long getVersionInCompaction(int index);
/**
* <code>optional int64 alter_version = 3;</code>
* @return Whether the alterVersion field is set.
*/
boolean hasAlterVersion();
/**
* <code>optional int64 alter_version = 3;</code>
* @return The alterVersion.
*/
long getAlterVersion();
}
/**
* Protobuf type {@code doris.cloud.StartTabletJobResponse}
*/
public static final class StartTabletJobResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.StartTabletJobResponse)
StartTabletJobResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use StartTabletJobResponse.newBuilder() to construct.
private StartTabletJobResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private StartTabletJobResponse() {
versionInCompaction_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StartTabletJobResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse.class, org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int VERSION_IN_COMPACTION_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList versionInCompaction_ =
emptyLongList();
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @return A list containing the versionInCompaction.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getVersionInCompactionList() {
return versionInCompaction_;
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @return The count of versionInCompaction.
*/
public int getVersionInCompactionCount() {
return versionInCompaction_.size();
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @param index The index of the element to return.
* @return The versionInCompaction at the given index.
*/
public long getVersionInCompaction(int index) {
return versionInCompaction_.getLong(index);
}
public static final int ALTER_VERSION_FIELD_NUMBER = 3;
private long alterVersion_ = 0L;
/**
* <code>optional int64 alter_version = 3;</code>
* @return Whether the alterVersion field is set.
*/
@java.lang.Override
public boolean hasAlterVersion() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 alter_version = 3;</code>
* @return The alterVersion.
*/
@java.lang.Override
public long getAlterVersion() {
return alterVersion_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < versionInCompaction_.size(); i++) {
output.writeInt64(2, versionInCompaction_.getLong(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, alterVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
{
int dataSize = 0;
for (int i = 0; i < versionInCompaction_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(versionInCompaction_.getLong(i));
}
size += dataSize;
size += 1 * getVersionInCompactionList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, alterVersion_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse other = (org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getVersionInCompactionList()
.equals(other.getVersionInCompactionList())) return false;
if (hasAlterVersion() != other.hasAlterVersion()) return false;
if (hasAlterVersion()) {
if (getAlterVersion()
!= other.getAlterVersion()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getVersionInCompactionCount() > 0) {
hash = (37 * hash) + VERSION_IN_COMPACTION_FIELD_NUMBER;
hash = (53 * hash) + getVersionInCompactionList().hashCode();
}
if (hasAlterVersion()) {
hash = (37 * hash) + ALTER_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAlterVersion());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.StartTabletJobResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.StartTabletJobResponse)
org.apache.doris.cloud.proto.Cloud.StartTabletJobResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse.class, org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
versionInCompaction_ = emptyLongList();
alterVersion_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_StartTabletJobResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse build() {
org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse result = new org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
versionInCompaction_.makeImmutable();
result.versionInCompaction_ = versionInCompaction_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.alterVersion_ = alterVersion_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (!other.versionInCompaction_.isEmpty()) {
if (versionInCompaction_.isEmpty()) {
versionInCompaction_ = other.versionInCompaction_;
versionInCompaction_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensureVersionInCompactionIsMutable();
versionInCompaction_.addAll(other.versionInCompaction_);
}
onChanged();
}
if (other.hasAlterVersion()) {
setAlterVersion(other.getAlterVersion());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
long v = input.readInt64();
ensureVersionInCompactionIsMutable();
versionInCompaction_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureVersionInCompactionIsMutable();
while (input.getBytesUntilLimit() > 0) {
versionInCompaction_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
case 24: {
alterVersion_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private com.google.protobuf.Internal.LongList versionInCompaction_ = emptyLongList();
private void ensureVersionInCompactionIsMutable() {
if (!versionInCompaction_.isModifiable()) {
versionInCompaction_ = makeMutableCopy(versionInCompaction_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @return A list containing the versionInCompaction.
*/
public java.util.List<java.lang.Long>
getVersionInCompactionList() {
versionInCompaction_.makeImmutable();
return versionInCompaction_;
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @return The count of versionInCompaction.
*/
public int getVersionInCompactionCount() {
return versionInCompaction_.size();
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @param index The index of the element to return.
* @return The versionInCompaction at the given index.
*/
public long getVersionInCompaction(int index) {
return versionInCompaction_.getLong(index);
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @param index The index to set the value at.
* @param value The versionInCompaction to set.
* @return This builder for chaining.
*/
public Builder setVersionInCompaction(
int index, long value) {
ensureVersionInCompactionIsMutable();
versionInCompaction_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @param value The versionInCompaction to add.
* @return This builder for chaining.
*/
public Builder addVersionInCompaction(long value) {
ensureVersionInCompactionIsMutable();
versionInCompaction_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @param values The versionInCompaction to add.
* @return This builder for chaining.
*/
public Builder addAllVersionInCompaction(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureVersionInCompactionIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, versionInCompaction_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 version_in_compaction = 2;</code>
* @return This builder for chaining.
*/
public Builder clearVersionInCompaction() {
versionInCompaction_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private long alterVersion_ ;
/**
* <code>optional int64 alter_version = 3;</code>
* @return Whether the alterVersion field is set.
*/
@java.lang.Override
public boolean hasAlterVersion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 alter_version = 3;</code>
* @return The alterVersion.
*/
@java.lang.Override
public long getAlterVersion() {
return alterVersion_;
}
/**
* <code>optional int64 alter_version = 3;</code>
* @param value The alterVersion to set.
* @return This builder for chaining.
*/
public Builder setAlterVersion(long value) {
alterVersion_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 alter_version = 3;</code>
* @return This builder for chaining.
*/
public Builder clearAlterVersion() {
bitField0_ = (bitField0_ & ~0x00000004);
alterVersion_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.StartTabletJobResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.StartTabletJobResponse)
private static final org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse();
}
public static org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<StartTabletJobResponse>
PARSER = new com.google.protobuf.AbstractParser<StartTabletJobResponse>() {
@java.lang.Override
public StartTabletJobResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<StartTabletJobResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<StartTabletJobResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StartTabletJobResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FinishTabletJobRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.FinishTabletJobRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @return Whether the action field is set.
*/
boolean hasAction();
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @return The action.
*/
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action getAction();
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
* @return Whether the job field is set.
*/
boolean hasJob();
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
* @return The job.
*/
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getJob();
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder getJobOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.FinishTabletJobRequest}
*/
public static final class FinishTabletJobRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.FinishTabletJobRequest)
FinishTabletJobRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use FinishTabletJobRequest.newBuilder() to construct.
private FinishTabletJobRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FinishTabletJobRequest() {
cloudUniqueId_ = "";
action_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FinishTabletJobRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.class, org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.FinishTabletJobRequest.Action}
*/
public enum Action
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKONWN = 0;</code>
*/
UNKONWN(0),
/**
* <code>COMMIT = 1;</code>
*/
COMMIT(1),
/**
* <code>ABORT = 2;</code>
*/
ABORT(2),
/**
* <code>LEASE = 3;</code>
*/
LEASE(3),
;
/**
* <code>UNKONWN = 0;</code>
*/
public static final int UNKONWN_VALUE = 0;
/**
* <code>COMMIT = 1;</code>
*/
public static final int COMMIT_VALUE = 1;
/**
* <code>ABORT = 2;</code>
*/
public static final int ABORT_VALUE = 2;
/**
* <code>LEASE = 3;</code>
*/
public static final int LEASE_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Action valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Action forNumber(int value) {
switch (value) {
case 0: return UNKONWN;
case 1: return COMMIT;
case 2: return ABORT;
case 3: return LEASE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Action>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Action> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Action>() {
public Action findValueByNumber(int number) {
return Action.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.getDescriptor().getEnumTypes().get(0);
}
private static final Action[] VALUES = values();
public static Action valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Action(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.FinishTabletJobRequest.Action)
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACTION_FIELD_NUMBER = 2;
private int action_ = 0;
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @return Whether the action field is set.
*/
@java.lang.Override public boolean hasAction() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @return The action.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action getAction() {
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action result = org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action.forNumber(action_);
return result == null ? org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action.UNKONWN : result;
}
public static final int JOB_FIELD_NUMBER = 3;
private org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB job_;
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
* @return Whether the job field is set.
*/
@java.lang.Override
public boolean hasJob() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
* @return The job.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getJob() {
return job_ == null ? org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder getJobOrBuilder() {
return job_ == null ? org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeEnum(2, action_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(3, getJob());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, action_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getJob());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest other = (org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasAction() != other.hasAction()) return false;
if (hasAction()) {
if (action_ != other.action_) return false;
}
if (hasJob() != other.hasJob()) return false;
if (hasJob()) {
if (!getJob()
.equals(other.getJob())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasAction()) {
hash = (37 * hash) + ACTION_FIELD_NUMBER;
hash = (53 * hash) + action_;
}
if (hasJob()) {
hash = (37 * hash) + JOB_FIELD_NUMBER;
hash = (53 * hash) + getJob().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.FinishTabletJobRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.FinishTabletJobRequest)
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.class, org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getJobFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
action_ = 0;
job_ = null;
if (jobBuilder_ != null) {
jobBuilder_.dispose();
jobBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest build() {
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest result = new org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.action_ = action_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.job_ = jobBuilder_ == null
? job_
: jobBuilder_.build();
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasAction()) {
setAction(other.getAction());
}
if (other.hasJob()) {
mergeJob(other.getJob());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action tmpValue =
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(2, tmpRaw);
} else {
action_ = tmpRaw;
bitField0_ |= 0x00000002;
}
break;
} // case 16
case 26: {
input.readMessage(
getJobFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int action_ = 0;
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @return Whether the action field is set.
*/
@java.lang.Override public boolean hasAction() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @return The action.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action getAction() {
org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action result = org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action.forNumber(action_);
return result == null ? org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action.UNKONWN : result;
}
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @param value The action to set.
* @return This builder for chaining.
*/
public Builder setAction(org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest.Action value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
action_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.FinishTabletJobRequest.Action action = 2;</code>
* @return This builder for chaining.
*/
public Builder clearAction() {
bitField0_ = (bitField0_ & ~0x00000002);
action_ = 0;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB job_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder> jobBuilder_;
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
* @return Whether the job field is set.
*/
public boolean hasJob() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
* @return The job.
*/
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB getJob() {
if (jobBuilder_ == null) {
return job_ == null ? org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
} else {
return jobBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
public Builder setJob(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB value) {
if (jobBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
job_ = value;
} else {
jobBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
public Builder setJob(
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder builderForValue) {
if (jobBuilder_ == null) {
job_ = builderForValue.build();
} else {
jobBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
public Builder mergeJob(org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB value) {
if (jobBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
job_ != null &&
job_ != org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance()) {
getJobBuilder().mergeFrom(value);
} else {
job_ = value;
}
} else {
jobBuilder_.mergeFrom(value);
}
if (job_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
public Builder clearJob() {
bitField0_ = (bitField0_ & ~0x00000004);
job_ = null;
if (jobBuilder_ != null) {
jobBuilder_.dispose();
jobBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder getJobBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getJobFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder getJobOrBuilder() {
if (jobBuilder_ != null) {
return jobBuilder_.getMessageOrBuilder();
} else {
return job_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.getDefaultInstance() : job_;
}
}
/**
* <code>optional .doris.cloud.TabletJobInfoPB job = 3;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder>
getJobFieldBuilder() {
if (jobBuilder_ == null) {
jobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletJobInfoPBOrBuilder>(
getJob(),
getParentForChildren(),
isClean());
job_ = null;
}
return jobBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.FinishTabletJobRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.FinishTabletJobRequest)
private static final org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest();
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<FinishTabletJobRequest>
PARSER = new com.google.protobuf.AbstractParser<FinishTabletJobRequest>() {
@java.lang.Override
public FinishTabletJobRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<FinishTabletJobRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FinishTabletJobRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FinishTabletJobResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.FinishTabletJobResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
* @return Whether the stats field is set.
*/
boolean hasStats();
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
* @return The stats.
*/
org.apache.doris.cloud.proto.Cloud.TabletStatsPB getStats();
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getStatsOrBuilder();
/**
* <code>optional int64 alter_version = 3;</code>
* @return Whether the alterVersion field is set.
*/
boolean hasAlterVersion();
/**
* <code>optional int64 alter_version = 3;</code>
* @return The alterVersion.
*/
long getAlterVersion();
}
/**
* Protobuf type {@code doris.cloud.FinishTabletJobResponse}
*/
public static final class FinishTabletJobResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.FinishTabletJobResponse)
FinishTabletJobResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use FinishTabletJobResponse.newBuilder() to construct.
private FinishTabletJobResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FinishTabletJobResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FinishTabletJobResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse.class, org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int STATS_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.TabletStatsPB stats_;
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
* @return Whether the stats field is set.
*/
@java.lang.Override
public boolean hasStats() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
* @return The stats.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getStats() {
return stats_ == null ? org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getStatsOrBuilder() {
return stats_ == null ? org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
}
public static final int ALTER_VERSION_FIELD_NUMBER = 3;
private long alterVersion_ = 0L;
/**
* <code>optional int64 alter_version = 3;</code>
* @return Whether the alterVersion field is set.
*/
@java.lang.Override
public boolean hasAlterVersion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 alter_version = 3;</code>
* @return The alterVersion.
*/
@java.lang.Override
public long getAlterVersion() {
return alterVersion_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getStats());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, alterVersion_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStats());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, alterVersion_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse other = (org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasStats() != other.hasStats()) return false;
if (hasStats()) {
if (!getStats()
.equals(other.getStats())) return false;
}
if (hasAlterVersion() != other.hasAlterVersion()) return false;
if (hasAlterVersion()) {
if (getAlterVersion()
!= other.getAlterVersion()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasStats()) {
hash = (37 * hash) + STATS_FIELD_NUMBER;
hash = (53 * hash) + getStats().hashCode();
}
if (hasAlterVersion()) {
hash = (37 * hash) + ALTER_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getAlterVersion());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.FinishTabletJobResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.FinishTabletJobResponse)
org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse.class, org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getStatsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
stats_ = null;
if (statsBuilder_ != null) {
statsBuilder_.dispose();
statsBuilder_ = null;
}
alterVersion_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishTabletJobResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse build() {
org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse result = new org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stats_ = statsBuilder_ == null
? stats_
: statsBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.alterVersion_ = alterVersion_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasStats()) {
mergeStats(other.getStats());
}
if (other.hasAlterVersion()) {
setAlterVersion(other.getAlterVersion());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getStatsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
alterVersion_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.TabletStatsPB stats_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder> statsBuilder_;
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
* @return Whether the stats field is set.
*/
public boolean hasStats() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
* @return The stats.
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB getStats() {
if (statsBuilder_ == null) {
return stats_ == null ? org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
} else {
return statsBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
public Builder setStats(org.apache.doris.cloud.proto.Cloud.TabletStatsPB value) {
if (statsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stats_ = value;
} else {
statsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
public Builder setStats(
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder builderForValue) {
if (statsBuilder_ == null) {
stats_ = builderForValue.build();
} else {
statsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
public Builder mergeStats(org.apache.doris.cloud.proto.Cloud.TabletStatsPB value) {
if (statsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
stats_ != null &&
stats_ != org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance()) {
getStatsBuilder().mergeFrom(value);
} else {
stats_ = value;
}
} else {
statsBuilder_.mergeFrom(value);
}
if (stats_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
public Builder clearStats() {
bitField0_ = (bitField0_ & ~0x00000002);
stats_ = null;
if (statsBuilder_ != null) {
statsBuilder_.dispose();
statsBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder getStatsBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getStatsFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder getStatsOrBuilder() {
if (statsBuilder_ != null) {
return statsBuilder_.getMessageOrBuilder();
} else {
return stats_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletStatsPB.getDefaultInstance() : stats_;
}
}
/**
* <code>optional .doris.cloud.TabletStatsPB stats = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>
getStatsFieldBuilder() {
if (statsBuilder_ == null) {
statsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletStatsPB, org.apache.doris.cloud.proto.Cloud.TabletStatsPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletStatsPBOrBuilder>(
getStats(),
getParentForChildren(),
isClean());
stats_ = null;
}
return statsBuilder_;
}
private long alterVersion_ ;
/**
* <code>optional int64 alter_version = 3;</code>
* @return Whether the alterVersion field is set.
*/
@java.lang.Override
public boolean hasAlterVersion() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 alter_version = 3;</code>
* @return The alterVersion.
*/
@java.lang.Override
public long getAlterVersion() {
return alterVersion_;
}
/**
* <code>optional int64 alter_version = 3;</code>
* @param value The alterVersion to set.
* @return This builder for chaining.
*/
public Builder setAlterVersion(long value) {
alterVersion_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 alter_version = 3;</code>
* @return This builder for chaining.
*/
public Builder clearAlterVersion() {
bitField0_ = (bitField0_ & ~0x00000004);
alterVersion_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.FinishTabletJobResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.FinishTabletJobResponse)
private static final org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse();
}
public static org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<FinishTabletJobResponse>
PARSER = new com.google.protobuf.AbstractParser<FinishTabletJobResponse>() {
@java.lang.Override
public FinishTabletJobResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<FinishTabletJobResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FinishTabletJobResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishTabletJobResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeginCopyRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.BeginCopyRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
boolean hasStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
java.lang.String getStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
com.google.protobuf.ByteString
getStageIdBytes();
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return Whether the stageType field is set.
*/
boolean hasStageType();
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return The stageType.
*/
org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType();
/**
* <code>optional int64 table_id = 4;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 4;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional string copy_id = 5;</code>
* @return Whether the copyId field is set.
*/
boolean hasCopyId();
/**
* <code>optional string copy_id = 5;</code>
* @return The copyId.
*/
java.lang.String getCopyId();
/**
* <code>optional string copy_id = 5;</code>
* @return The bytes for copyId.
*/
com.google.protobuf.ByteString
getCopyIdBytes();
/**
* <code>optional int32 group_id = 6;</code>
* @return Whether the groupId field is set.
*/
boolean hasGroupId();
/**
* <code>optional int32 group_id = 6;</code>
* @return The groupId.
*/
int getGroupId();
/**
* <code>optional int64 start_time_ms = 7;</code>
* @return Whether the startTimeMs field is set.
*/
boolean hasStartTimeMs();
/**
* <code>optional int64 start_time_ms = 7;</code>
* @return The startTimeMs.
*/
long getStartTimeMs();
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @return Whether the timeoutTimeMs field is set.
*/
boolean hasTimeoutTimeMs();
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @return The timeoutTimeMs.
*/
long getTimeoutTimeMs();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>
getObjectFilesList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index);
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
int getObjectFilesCount();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index);
/**
* <code>optional int64 file_num_limit = 10;</code>
* @return Whether the fileNumLimit field is set.
*/
boolean hasFileNumLimit();
/**
* <code>optional int64 file_num_limit = 10;</code>
* @return The fileNumLimit.
*/
long getFileNumLimit();
/**
* <code>optional int64 file_size_limit = 11;</code>
* @return Whether the fileSizeLimit field is set.
*/
boolean hasFileSizeLimit();
/**
* <code>optional int64 file_size_limit = 11;</code>
* @return The fileSizeLimit.
*/
long getFileSizeLimit();
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @return Whether the fileMetaSizeLimit field is set.
*/
boolean hasFileMetaSizeLimit();
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @return The fileMetaSizeLimit.
*/
long getFileMetaSizeLimit();
}
/**
* Protobuf type {@code doris.cloud.BeginCopyRequest}
*/
public static final class BeginCopyRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.BeginCopyRequest)
BeginCopyRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeginCopyRequest.newBuilder() to construct.
private BeginCopyRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BeginCopyRequest() {
cloudUniqueId_ = "";
stageId_ = "";
stageType_ = 0;
copyId_ = "";
objectFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BeginCopyRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginCopyRequest.class, org.apache.doris.cloud.proto.Cloud.BeginCopyRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
@java.lang.Override
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
@java.lang.Override
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_TYPE_FIELD_NUMBER = 3;
private int stageType_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return Whether the stageType field is set.
*/
@java.lang.Override public boolean hasStageType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return The stageType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(stageType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
public static final int TABLE_ID_FIELD_NUMBER = 4;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 4;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 table_id = 4;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int COPY_ID_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 5;</code>
* @return Whether the copyId field is set.
*/
@java.lang.Override
public boolean hasCopyId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string copy_id = 5;</code>
* @return The copyId.
*/
@java.lang.Override
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
}
}
/**
* <code>optional string copy_id = 5;</code>
* @return The bytes for copyId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_ID_FIELD_NUMBER = 6;
private int groupId_ = 0;
/**
* <code>optional int32 group_id = 6;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int32 group_id = 6;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
public static final int START_TIME_MS_FIELD_NUMBER = 7;
private long startTimeMs_ = 0L;
/**
* <code>optional int64 start_time_ms = 7;</code>
* @return Whether the startTimeMs field is set.
*/
@java.lang.Override
public boolean hasStartTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 start_time_ms = 7;</code>
* @return The startTimeMs.
*/
@java.lang.Override
public long getStartTimeMs() {
return startTimeMs_;
}
public static final int TIMEOUT_TIME_MS_FIELD_NUMBER = 8;
private long timeoutTimeMs_ = 0L;
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @return Whether the timeoutTimeMs field is set.
*/
@java.lang.Override
public boolean hasTimeoutTimeMs() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @return The timeoutTimeMs.
*/
@java.lang.Override
public long getTimeoutTimeMs() {
return timeoutTimeMs_;
}
public static final int OBJECT_FILES_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
@java.lang.Override
public int getObjectFilesCount() {
return objectFiles_.size();
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
return objectFiles_.get(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
return objectFiles_.get(index);
}
public static final int FILE_NUM_LIMIT_FIELD_NUMBER = 10;
private long fileNumLimit_ = 0L;
/**
* <code>optional int64 file_num_limit = 10;</code>
* @return Whether the fileNumLimit field is set.
*/
@java.lang.Override
public boolean hasFileNumLimit() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 file_num_limit = 10;</code>
* @return The fileNumLimit.
*/
@java.lang.Override
public long getFileNumLimit() {
return fileNumLimit_;
}
public static final int FILE_SIZE_LIMIT_FIELD_NUMBER = 11;
private long fileSizeLimit_ = 0L;
/**
* <code>optional int64 file_size_limit = 11;</code>
* @return Whether the fileSizeLimit field is set.
*/
@java.lang.Override
public boolean hasFileSizeLimit() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 file_size_limit = 11;</code>
* @return The fileSizeLimit.
*/
@java.lang.Override
public long getFileSizeLimit() {
return fileSizeLimit_;
}
public static final int FILE_META_SIZE_LIMIT_FIELD_NUMBER = 12;
private long fileMetaSizeLimit_ = 0L;
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @return Whether the fileMetaSizeLimit field is set.
*/
@java.lang.Override
public boolean hasFileMetaSizeLimit() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @return The fileMetaSizeLimit.
*/
@java.lang.Override
public long getFileMetaSizeLimit() {
return fileMetaSizeLimit_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(3, stageType_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, tableId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, copyId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt32(6, groupId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeInt64(7, startTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(8, timeoutTimeMs_);
}
for (int i = 0; i < objectFiles_.size(); i++) {
output.writeMessage(9, objectFiles_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(10, fileNumLimit_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(11, fileSizeLimit_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(12, fileMetaSizeLimit_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, stageType_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, tableId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, copyId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, groupId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, startTimeMs_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, timeoutTimeMs_);
}
for (int i = 0; i < objectFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, objectFiles_.get(i));
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(10, fileNumLimit_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, fileSizeLimit_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, fileMetaSizeLimit_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.BeginCopyRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.BeginCopyRequest other = (org.apache.doris.cloud.proto.Cloud.BeginCopyRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStageId() != other.hasStageId()) return false;
if (hasStageId()) {
if (!getStageId()
.equals(other.getStageId())) return false;
}
if (hasStageType() != other.hasStageType()) return false;
if (hasStageType()) {
if (stageType_ != other.stageType_) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasCopyId() != other.hasCopyId()) return false;
if (hasCopyId()) {
if (!getCopyId()
.equals(other.getCopyId())) return false;
}
if (hasGroupId() != other.hasGroupId()) return false;
if (hasGroupId()) {
if (getGroupId()
!= other.getGroupId()) return false;
}
if (hasStartTimeMs() != other.hasStartTimeMs()) return false;
if (hasStartTimeMs()) {
if (getStartTimeMs()
!= other.getStartTimeMs()) return false;
}
if (hasTimeoutTimeMs() != other.hasTimeoutTimeMs()) return false;
if (hasTimeoutTimeMs()) {
if (getTimeoutTimeMs()
!= other.getTimeoutTimeMs()) return false;
}
if (!getObjectFilesList()
.equals(other.getObjectFilesList())) return false;
if (hasFileNumLimit() != other.hasFileNumLimit()) return false;
if (hasFileNumLimit()) {
if (getFileNumLimit()
!= other.getFileNumLimit()) return false;
}
if (hasFileSizeLimit() != other.hasFileSizeLimit()) return false;
if (hasFileSizeLimit()) {
if (getFileSizeLimit()
!= other.getFileSizeLimit()) return false;
}
if (hasFileMetaSizeLimit() != other.hasFileMetaSizeLimit()) return false;
if (hasFileMetaSizeLimit()) {
if (getFileMetaSizeLimit()
!= other.getFileMetaSizeLimit()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStageId()) {
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId().hashCode();
}
if (hasStageType()) {
hash = (37 * hash) + STAGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + stageType_;
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasCopyId()) {
hash = (37 * hash) + COPY_ID_FIELD_NUMBER;
hash = (53 * hash) + getCopyId().hashCode();
}
if (hasGroupId()) {
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getGroupId();
}
if (hasStartTimeMs()) {
hash = (37 * hash) + START_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStartTimeMs());
}
if (hasTimeoutTimeMs()) {
hash = (37 * hash) + TIMEOUT_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeoutTimeMs());
}
if (getObjectFilesCount() > 0) {
hash = (37 * hash) + OBJECT_FILES_FIELD_NUMBER;
hash = (53 * hash) + getObjectFilesList().hashCode();
}
if (hasFileNumLimit()) {
hash = (37 * hash) + FILE_NUM_LIMIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFileNumLimit());
}
if (hasFileSizeLimit()) {
hash = (37 * hash) + FILE_SIZE_LIMIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFileSizeLimit());
}
if (hasFileMetaSizeLimit()) {
hash = (37 * hash) + FILE_META_SIZE_LIMIT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFileMetaSizeLimit());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.BeginCopyRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.BeginCopyRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.BeginCopyRequest)
org.apache.doris.cloud.proto.Cloud.BeginCopyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginCopyRequest.class, org.apache.doris.cloud.proto.Cloud.BeginCopyRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.BeginCopyRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stageId_ = "";
stageType_ = 0;
tableId_ = 0L;
copyId_ = "";
groupId_ = 0;
startTimeMs_ = 0L;
timeoutTimeMs_ = 0L;
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
} else {
objectFiles_ = null;
objectFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
fileNumLimit_ = 0L;
fileSizeLimit_ = 0L;
fileMetaSizeLimit_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.BeginCopyRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyRequest build() {
org.apache.doris.cloud.proto.Cloud.BeginCopyRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.BeginCopyRequest result = new org.apache.doris.cloud.proto.Cloud.BeginCopyRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.BeginCopyRequest result) {
if (objectFilesBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
objectFiles_ = java.util.Collections.unmodifiableList(objectFiles_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.objectFiles_ = objectFiles_;
} else {
result.objectFiles_ = objectFilesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.BeginCopyRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stageId_ = stageId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.stageType_ = stageType_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.copyId_ = copyId_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.groupId_ = groupId_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.startTimeMs_ = startTimeMs_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.timeoutTimeMs_ = timeoutTimeMs_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.fileNumLimit_ = fileNumLimit_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.fileSizeLimit_ = fileSizeLimit_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.fileMetaSizeLimit_ = fileMetaSizeLimit_;
to_bitField0_ |= 0x00000400;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.BeginCopyRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.BeginCopyRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.BeginCopyRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.BeginCopyRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStageId()) {
stageId_ = other.stageId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasStageType()) {
setStageType(other.getStageType());
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasCopyId()) {
copyId_ = other.copyId_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasGroupId()) {
setGroupId(other.getGroupId());
}
if (other.hasStartTimeMs()) {
setStartTimeMs(other.getStartTimeMs());
}
if (other.hasTimeoutTimeMs()) {
setTimeoutTimeMs(other.getTimeoutTimeMs());
}
if (objectFilesBuilder_ == null) {
if (!other.objectFiles_.isEmpty()) {
if (objectFiles_.isEmpty()) {
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureObjectFilesIsMutable();
objectFiles_.addAll(other.objectFiles_);
}
onChanged();
}
} else {
if (!other.objectFiles_.isEmpty()) {
if (objectFilesBuilder_.isEmpty()) {
objectFilesBuilder_.dispose();
objectFilesBuilder_ = null;
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000100);
objectFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectFilesFieldBuilder() : null;
} else {
objectFilesBuilder_.addAllMessages(other.objectFiles_);
}
}
}
if (other.hasFileNumLimit()) {
setFileNumLimit(other.getFileNumLimit());
}
if (other.hasFileSizeLimit()) {
setFileSizeLimit(other.getFileSizeLimit());
}
if (other.hasFileMetaSizeLimit()) {
setFileMetaSizeLimit(other.getFileMetaSizeLimit());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
stageId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.StagePB.StageType tmpValue =
org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
stageType_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
case 32: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
copyId_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
groupId_ = input.readInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
startTimeMs_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
timeoutTimeMs_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 74: {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.PARSER,
extensionRegistry);
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(m);
} else {
objectFilesBuilder_.addMessage(m);
}
break;
} // case 74
case 80: {
fileNumLimit_ = input.readInt64();
bitField0_ |= 0x00000200;
break;
} // case 80
case 88: {
fileSizeLimit_ = input.readInt64();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
fileMetaSizeLimit_ = input.readInt64();
bitField0_ |= 0x00000800;
break;
} // case 96
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = getDefaultInstance().getStageId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The bytes for stageId to set.
* @return This builder for chaining.
*/
public Builder setStageIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int stageType_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return Whether the stageType field is set.
*/
@java.lang.Override public boolean hasStageType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return The stageType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(stageType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @param value The stageType to set.
* @return This builder for chaining.
*/
public Builder setStageType(org.apache.doris.cloud.proto.Cloud.StagePB.StageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
stageType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return This builder for chaining.
*/
public Builder clearStageType() {
bitField0_ = (bitField0_ & ~0x00000004);
stageType_ = 0;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 4;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 table_id = 4;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 4;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000008);
tableId_ = 0L;
onChanged();
return this;
}
private java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 5;</code>
* @return Whether the copyId field is set.
*/
public boolean hasCopyId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string copy_id = 5;</code>
* @return The copyId.
*/
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string copy_id = 5;</code>
* @return The bytes for copyId.
*/
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string copy_id = 5;</code>
* @param value The copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string copy_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCopyId() {
copyId_ = getDefaultInstance().getCopyId();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string copy_id = 5;</code>
* @param value The bytes for copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private int groupId_ ;
/**
* <code>optional int32 group_id = 6;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int32 group_id = 6;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
/**
* <code>optional int32 group_id = 6;</code>
* @param value The groupId to set.
* @return This builder for chaining.
*/
public Builder setGroupId(int value) {
groupId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int32 group_id = 6;</code>
* @return This builder for chaining.
*/
public Builder clearGroupId() {
bitField0_ = (bitField0_ & ~0x00000020);
groupId_ = 0;
onChanged();
return this;
}
private long startTimeMs_ ;
/**
* <code>optional int64 start_time_ms = 7;</code>
* @return Whether the startTimeMs field is set.
*/
@java.lang.Override
public boolean hasStartTimeMs() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 start_time_ms = 7;</code>
* @return The startTimeMs.
*/
@java.lang.Override
public long getStartTimeMs() {
return startTimeMs_;
}
/**
* <code>optional int64 start_time_ms = 7;</code>
* @param value The startTimeMs to set.
* @return This builder for chaining.
*/
public Builder setStartTimeMs(long value) {
startTimeMs_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 start_time_ms = 7;</code>
* @return This builder for chaining.
*/
public Builder clearStartTimeMs() {
bitField0_ = (bitField0_ & ~0x00000040);
startTimeMs_ = 0L;
onChanged();
return this;
}
private long timeoutTimeMs_ ;
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @return Whether the timeoutTimeMs field is set.
*/
@java.lang.Override
public boolean hasTimeoutTimeMs() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @return The timeoutTimeMs.
*/
@java.lang.Override
public long getTimeoutTimeMs() {
return timeoutTimeMs_;
}
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @param value The timeoutTimeMs to set.
* @return This builder for chaining.
*/
public Builder setTimeoutTimeMs(long value) {
timeoutTimeMs_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 timeout_time_ms = 8;</code>
* @return This builder for chaining.
*/
public Builder clearTimeoutTimeMs() {
bitField0_ = (bitField0_ & ~0x00000080);
timeoutTimeMs_ = 0L;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_ =
java.util.Collections.emptyList();
private void ensureObjectFilesIsMutable() {
if (!((bitField0_ & 0x00000100) != 0)) {
objectFiles_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>(objectFiles_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder> objectFilesBuilder_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
if (objectFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectFiles_);
} else {
return objectFilesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public int getObjectFilesCount() {
if (objectFilesBuilder_ == null) {
return objectFiles_.size();
} else {
return objectFilesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index);
} else {
return objectFilesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.set(index, value);
onChanged();
} else {
objectFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.set(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder addObjectFiles(org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(value);
onChanged();
} else {
objectFilesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(index, value);
onChanged();
} else {
objectFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder addObjectFiles(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder addAllObjectFiles(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePB> values) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectFiles_);
onChanged();
} else {
objectFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder clearObjectFiles() {
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
objectFilesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public Builder removeObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.remove(index);
onChanged();
} else {
objectFilesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder getObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index); } else {
return objectFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
if (objectFilesBuilder_ != null) {
return objectFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectFiles_);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder() {
return getObjectFilesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 9;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder>
getObjectFilesBuilderList() {
return getObjectFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesFieldBuilder() {
if (objectFilesBuilder_ == null) {
objectFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>(
objectFiles_,
((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
objectFiles_ = null;
}
return objectFilesBuilder_;
}
private long fileNumLimit_ ;
/**
* <code>optional int64 file_num_limit = 10;</code>
* @return Whether the fileNumLimit field is set.
*/
@java.lang.Override
public boolean hasFileNumLimit() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <code>optional int64 file_num_limit = 10;</code>
* @return The fileNumLimit.
*/
@java.lang.Override
public long getFileNumLimit() {
return fileNumLimit_;
}
/**
* <code>optional int64 file_num_limit = 10;</code>
* @param value The fileNumLimit to set.
* @return This builder for chaining.
*/
public Builder setFileNumLimit(long value) {
fileNumLimit_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <code>optional int64 file_num_limit = 10;</code>
* @return This builder for chaining.
*/
public Builder clearFileNumLimit() {
bitField0_ = (bitField0_ & ~0x00000200);
fileNumLimit_ = 0L;
onChanged();
return this;
}
private long fileSizeLimit_ ;
/**
* <code>optional int64 file_size_limit = 11;</code>
* @return Whether the fileSizeLimit field is set.
*/
@java.lang.Override
public boolean hasFileSizeLimit() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional int64 file_size_limit = 11;</code>
* @return The fileSizeLimit.
*/
@java.lang.Override
public long getFileSizeLimit() {
return fileSizeLimit_;
}
/**
* <code>optional int64 file_size_limit = 11;</code>
* @param value The fileSizeLimit to set.
* @return This builder for chaining.
*/
public Builder setFileSizeLimit(long value) {
fileSizeLimit_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional int64 file_size_limit = 11;</code>
* @return This builder for chaining.
*/
public Builder clearFileSizeLimit() {
bitField0_ = (bitField0_ & ~0x00000400);
fileSizeLimit_ = 0L;
onChanged();
return this;
}
private long fileMetaSizeLimit_ ;
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @return Whether the fileMetaSizeLimit field is set.
*/
@java.lang.Override
public boolean hasFileMetaSizeLimit() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @return The fileMetaSizeLimit.
*/
@java.lang.Override
public long getFileMetaSizeLimit() {
return fileMetaSizeLimit_;
}
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @param value The fileMetaSizeLimit to set.
* @return This builder for chaining.
*/
public Builder setFileMetaSizeLimit(long value) {
fileMetaSizeLimit_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <code>optional int64 file_meta_size_limit = 12;</code>
* @return This builder for chaining.
*/
public Builder clearFileMetaSizeLimit() {
bitField0_ = (bitField0_ & ~0x00000800);
fileMetaSizeLimit_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.BeginCopyRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.BeginCopyRequest)
private static final org.apache.doris.cloud.proto.Cloud.BeginCopyRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.BeginCopyRequest();
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<BeginCopyRequest>
PARSER = new com.google.protobuf.AbstractParser<BeginCopyRequest>() {
@java.lang.Override
public BeginCopyRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BeginCopyRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BeginCopyRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeginCopyResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.BeginCopyResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>
getFilteredObjectFilesList();
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePB getFilteredObjectFiles(int index);
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
int getFilteredObjectFilesCount();
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getFilteredObjectFilesOrBuilderList();
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getFilteredObjectFilesOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.BeginCopyResponse}
*/
public static final class BeginCopyResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.BeginCopyResponse)
BeginCopyResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeginCopyResponse.newBuilder() to construct.
private BeginCopyResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private BeginCopyResponse() {
filteredObjectFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new BeginCopyResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginCopyResponse.class, org.apache.doris.cloud.proto.Cloud.BeginCopyResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int FILTERED_OBJECT_FILES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> filteredObjectFiles_;
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getFilteredObjectFilesList() {
return filteredObjectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getFilteredObjectFilesOrBuilderList() {
return filteredObjectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
@java.lang.Override
public int getFilteredObjectFilesCount() {
return filteredObjectFiles_.size();
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getFilteredObjectFiles(int index) {
return filteredObjectFiles_.get(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getFilteredObjectFilesOrBuilder(
int index) {
return filteredObjectFiles_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < filteredObjectFiles_.size(); i++) {
output.writeMessage(2, filteredObjectFiles_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < filteredObjectFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, filteredObjectFiles_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.BeginCopyResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.BeginCopyResponse other = (org.apache.doris.cloud.proto.Cloud.BeginCopyResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getFilteredObjectFilesList()
.equals(other.getFilteredObjectFilesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getFilteredObjectFilesCount() > 0) {
hash = (37 * hash) + FILTERED_OBJECT_FILES_FIELD_NUMBER;
hash = (53 * hash) + getFilteredObjectFilesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.BeginCopyResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.BeginCopyResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.BeginCopyResponse)
org.apache.doris.cloud.proto.Cloud.BeginCopyResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.BeginCopyResponse.class, org.apache.doris.cloud.proto.Cloud.BeginCopyResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.BeginCopyResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getFilteredObjectFilesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (filteredObjectFilesBuilder_ == null) {
filteredObjectFiles_ = java.util.Collections.emptyList();
} else {
filteredObjectFiles_ = null;
filteredObjectFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_BeginCopyResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.BeginCopyResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyResponse build() {
org.apache.doris.cloud.proto.Cloud.BeginCopyResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.BeginCopyResponse result = new org.apache.doris.cloud.proto.Cloud.BeginCopyResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.BeginCopyResponse result) {
if (filteredObjectFilesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
filteredObjectFiles_ = java.util.Collections.unmodifiableList(filteredObjectFiles_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.filteredObjectFiles_ = filteredObjectFiles_;
} else {
result.filteredObjectFiles_ = filteredObjectFilesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.BeginCopyResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.BeginCopyResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.BeginCopyResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.BeginCopyResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.BeginCopyResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (filteredObjectFilesBuilder_ == null) {
if (!other.filteredObjectFiles_.isEmpty()) {
if (filteredObjectFiles_.isEmpty()) {
filteredObjectFiles_ = other.filteredObjectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.addAll(other.filteredObjectFiles_);
}
onChanged();
}
} else {
if (!other.filteredObjectFiles_.isEmpty()) {
if (filteredObjectFilesBuilder_.isEmpty()) {
filteredObjectFilesBuilder_.dispose();
filteredObjectFilesBuilder_ = null;
filteredObjectFiles_ = other.filteredObjectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
filteredObjectFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFilteredObjectFilesFieldBuilder() : null;
} else {
filteredObjectFilesBuilder_.addAllMessages(other.filteredObjectFiles_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.PARSER,
extensionRegistry);
if (filteredObjectFilesBuilder_ == null) {
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.add(m);
} else {
filteredObjectFilesBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> filteredObjectFiles_ =
java.util.Collections.emptyList();
private void ensureFilteredObjectFilesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
filteredObjectFiles_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>(filteredObjectFiles_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder> filteredObjectFilesBuilder_;
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getFilteredObjectFilesList() {
if (filteredObjectFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(filteredObjectFiles_);
} else {
return filteredObjectFilesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public int getFilteredObjectFilesCount() {
if (filteredObjectFilesBuilder_ == null) {
return filteredObjectFiles_.size();
} else {
return filteredObjectFilesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getFilteredObjectFiles(int index) {
if (filteredObjectFilesBuilder_ == null) {
return filteredObjectFiles_.get(index);
} else {
return filteredObjectFilesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder setFilteredObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (filteredObjectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.set(index, value);
onChanged();
} else {
filteredObjectFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder setFilteredObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (filteredObjectFilesBuilder_ == null) {
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.set(index, builderForValue.build());
onChanged();
} else {
filteredObjectFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder addFilteredObjectFiles(org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (filteredObjectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.add(value);
onChanged();
} else {
filteredObjectFilesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder addFilteredObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (filteredObjectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.add(index, value);
onChanged();
} else {
filteredObjectFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder addFilteredObjectFiles(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (filteredObjectFilesBuilder_ == null) {
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.add(builderForValue.build());
onChanged();
} else {
filteredObjectFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder addFilteredObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (filteredObjectFilesBuilder_ == null) {
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.add(index, builderForValue.build());
onChanged();
} else {
filteredObjectFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder addAllFilteredObjectFiles(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePB> values) {
if (filteredObjectFilesBuilder_ == null) {
ensureFilteredObjectFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, filteredObjectFiles_);
onChanged();
} else {
filteredObjectFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder clearFilteredObjectFiles() {
if (filteredObjectFilesBuilder_ == null) {
filteredObjectFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
filteredObjectFilesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public Builder removeFilteredObjectFiles(int index) {
if (filteredObjectFilesBuilder_ == null) {
ensureFilteredObjectFilesIsMutable();
filteredObjectFiles_.remove(index);
onChanged();
} else {
filteredObjectFilesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder getFilteredObjectFilesBuilder(
int index) {
return getFilteredObjectFilesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getFilteredObjectFilesOrBuilder(
int index) {
if (filteredObjectFilesBuilder_ == null) {
return filteredObjectFiles_.get(index); } else {
return filteredObjectFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getFilteredObjectFilesOrBuilderList() {
if (filteredObjectFilesBuilder_ != null) {
return filteredObjectFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(filteredObjectFiles_);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addFilteredObjectFilesBuilder() {
return getFilteredObjectFilesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addFilteredObjectFilesBuilder(
int index) {
return getFilteredObjectFilesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB filtered_object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder>
getFilteredObjectFilesBuilderList() {
return getFilteredObjectFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getFilteredObjectFilesFieldBuilder() {
if (filteredObjectFilesBuilder_ == null) {
filteredObjectFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>(
filteredObjectFiles_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
filteredObjectFiles_ = null;
}
return filteredObjectFilesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.BeginCopyResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.BeginCopyResponse)
private static final org.apache.doris.cloud.proto.Cloud.BeginCopyResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.BeginCopyResponse();
}
public static org.apache.doris.cloud.proto.Cloud.BeginCopyResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<BeginCopyResponse>
PARSER = new com.google.protobuf.AbstractParser<BeginCopyResponse>() {
@java.lang.Override
public BeginCopyResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<BeginCopyResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<BeginCopyResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.BeginCopyResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FinishCopyRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.FinishCopyRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
boolean hasStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
java.lang.String getStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
com.google.protobuf.ByteString
getStageIdBytes();
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return Whether the stageType field is set.
*/
boolean hasStageType();
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return The stageType.
*/
org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType();
/**
* <code>optional int64 table_id = 4;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 4;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional string copy_id = 5;</code>
* @return Whether the copyId field is set.
*/
boolean hasCopyId();
/**
* <code>optional string copy_id = 5;</code>
* @return The copyId.
*/
java.lang.String getCopyId();
/**
* <code>optional string copy_id = 5;</code>
* @return The bytes for copyId.
*/
com.google.protobuf.ByteString
getCopyIdBytes();
/**
* <code>optional int32 group_id = 6;</code>
* @return Whether the groupId field is set.
*/
boolean hasGroupId();
/**
* <code>optional int32 group_id = 6;</code>
* @return The groupId.
*/
int getGroupId();
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @return Whether the action field is set.
*/
boolean hasAction();
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @return The action.
*/
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action getAction();
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @return Whether the finishTimeMs field is set.
*/
boolean hasFinishTimeMs();
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @return The finishTimeMs.
*/
long getFinishTimeMs();
}
/**
* Protobuf type {@code doris.cloud.FinishCopyRequest}
*/
public static final class FinishCopyRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.FinishCopyRequest)
FinishCopyRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use FinishCopyRequest.newBuilder() to construct.
private FinishCopyRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FinishCopyRequest() {
cloudUniqueId_ = "";
stageId_ = "";
stageType_ = 0;
copyId_ = "";
action_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FinishCopyRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.class, org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.FinishCopyRequest.Action}
*/
public enum Action
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>UNKNOWN = 0;</code>
*/
UNKNOWN(0),
/**
* <code>COMMIT = 1;</code>
*/
COMMIT(1),
/**
* <code>ABORT = 2;</code>
*/
ABORT(2),
/**
* <code>REMOVE = 3;</code>
*/
REMOVE(3),
;
/**
* <code>UNKNOWN = 0;</code>
*/
public static final int UNKNOWN_VALUE = 0;
/**
* <code>COMMIT = 1;</code>
*/
public static final int COMMIT_VALUE = 1;
/**
* <code>ABORT = 2;</code>
*/
public static final int ABORT_VALUE = 2;
/**
* <code>REMOVE = 3;</code>
*/
public static final int REMOVE_VALUE = 3;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Action valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Action forNumber(int value) {
switch (value) {
case 0: return UNKNOWN;
case 1: return COMMIT;
case 2: return ABORT;
case 3: return REMOVE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Action>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Action> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Action>() {
public Action findValueByNumber(int number) {
return Action.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.getDescriptor().getEnumTypes().get(0);
}
private static final Action[] VALUES = values();
public static Action valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Action(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.FinishCopyRequest.Action)
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
@java.lang.Override
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
@java.lang.Override
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_TYPE_FIELD_NUMBER = 3;
private int stageType_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return Whether the stageType field is set.
*/
@java.lang.Override public boolean hasStageType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return The stageType.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(stageType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
public static final int TABLE_ID_FIELD_NUMBER = 4;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 4;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 table_id = 4;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int COPY_ID_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 5;</code>
* @return Whether the copyId field is set.
*/
@java.lang.Override
public boolean hasCopyId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string copy_id = 5;</code>
* @return The copyId.
*/
@java.lang.Override
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
}
}
/**
* <code>optional string copy_id = 5;</code>
* @return The bytes for copyId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_ID_FIELD_NUMBER = 6;
private int groupId_ = 0;
/**
* <code>optional int32 group_id = 6;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int32 group_id = 6;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
public static final int ACTION_FIELD_NUMBER = 7;
private int action_ = 0;
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @return Whether the action field is set.
*/
@java.lang.Override public boolean hasAction() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @return The action.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action getAction() {
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action result = org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action.forNumber(action_);
return result == null ? org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action.UNKNOWN : result;
}
public static final int FINISH_TIME_MS_FIELD_NUMBER = 8;
private long finishTimeMs_ = 0L;
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @return Whether the finishTimeMs field is set.
*/
@java.lang.Override
public boolean hasFinishTimeMs() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @return The finishTimeMs.
*/
@java.lang.Override
public long getFinishTimeMs() {
return finishTimeMs_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(3, stageType_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, tableId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, copyId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt32(6, groupId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeEnum(7, action_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeInt64(8, finishTimeMs_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, stageType_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, tableId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, copyId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, groupId_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, action_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, finishTimeMs_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.FinishCopyRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest other = (org.apache.doris.cloud.proto.Cloud.FinishCopyRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStageId() != other.hasStageId()) return false;
if (hasStageId()) {
if (!getStageId()
.equals(other.getStageId())) return false;
}
if (hasStageType() != other.hasStageType()) return false;
if (hasStageType()) {
if (stageType_ != other.stageType_) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasCopyId() != other.hasCopyId()) return false;
if (hasCopyId()) {
if (!getCopyId()
.equals(other.getCopyId())) return false;
}
if (hasGroupId() != other.hasGroupId()) return false;
if (hasGroupId()) {
if (getGroupId()
!= other.getGroupId()) return false;
}
if (hasAction() != other.hasAction()) return false;
if (hasAction()) {
if (action_ != other.action_) return false;
}
if (hasFinishTimeMs() != other.hasFinishTimeMs()) return false;
if (hasFinishTimeMs()) {
if (getFinishTimeMs()
!= other.getFinishTimeMs()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStageId()) {
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId().hashCode();
}
if (hasStageType()) {
hash = (37 * hash) + STAGE_TYPE_FIELD_NUMBER;
hash = (53 * hash) + stageType_;
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasCopyId()) {
hash = (37 * hash) + COPY_ID_FIELD_NUMBER;
hash = (53 * hash) + getCopyId().hashCode();
}
if (hasGroupId()) {
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getGroupId();
}
if (hasAction()) {
hash = (37 * hash) + ACTION_FIELD_NUMBER;
hash = (53 * hash) + action_;
}
if (hasFinishTimeMs()) {
hash = (37 * hash) + FINISH_TIME_MS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFinishTimeMs());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.FinishCopyRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.FinishCopyRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.FinishCopyRequest)
org.apache.doris.cloud.proto.Cloud.FinishCopyRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.class, org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stageId_ = "";
stageType_ = 0;
tableId_ = 0L;
copyId_ = "";
groupId_ = 0;
action_ = 0;
finishTimeMs_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyRequest build() {
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest result = new org.apache.doris.cloud.proto.Cloud.FinishCopyRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.FinishCopyRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stageId_ = stageId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.stageType_ = stageType_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.copyId_ = copyId_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.groupId_ = groupId_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.action_ = action_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.finishTimeMs_ = finishTimeMs_;
to_bitField0_ |= 0x00000080;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.FinishCopyRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.FinishCopyRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.FinishCopyRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStageId()) {
stageId_ = other.stageId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasStageType()) {
setStageType(other.getStageType());
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasCopyId()) {
copyId_ = other.copyId_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.hasGroupId()) {
setGroupId(other.getGroupId());
}
if (other.hasAction()) {
setAction(other.getAction());
}
if (other.hasFinishTimeMs()) {
setFinishTimeMs(other.getFinishTimeMs());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
stageId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.StagePB.StageType tmpValue =
org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
stageType_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
case 32: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 42: {
copyId_ = input.readBytes();
bitField0_ |= 0x00000010;
break;
} // case 42
case 48: {
groupId_ = input.readInt32();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action tmpValue =
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(7, tmpRaw);
} else {
action_ = tmpRaw;
bitField0_ |= 0x00000040;
}
break;
} // case 56
case 64: {
finishTimeMs_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = getDefaultInstance().getStageId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The bytes for stageId to set.
* @return This builder for chaining.
*/
public Builder setStageIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private int stageType_ = 0;
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return Whether the stageType field is set.
*/
@java.lang.Override public boolean hasStageType() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return The stageType.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.StagePB.StageType getStageType() {
org.apache.doris.cloud.proto.Cloud.StagePB.StageType result = org.apache.doris.cloud.proto.Cloud.StagePB.StageType.forNumber(stageType_);
return result == null ? org.apache.doris.cloud.proto.Cloud.StagePB.StageType.INTERNAL : result;
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @param value The stageType to set.
* @return This builder for chaining.
*/
public Builder setStageType(org.apache.doris.cloud.proto.Cloud.StagePB.StageType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
stageType_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.StagePB.StageType stage_type = 3;</code>
* @return This builder for chaining.
*/
public Builder clearStageType() {
bitField0_ = (bitField0_ & ~0x00000004);
stageType_ = 0;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 4;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 table_id = 4;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 4;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000008);
tableId_ = 0L;
onChanged();
return this;
}
private java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 5;</code>
* @return Whether the copyId field is set.
*/
public boolean hasCopyId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional string copy_id = 5;</code>
* @return The copyId.
*/
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string copy_id = 5;</code>
* @return The bytes for copyId.
*/
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string copy_id = 5;</code>
* @param value The copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional string copy_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearCopyId() {
copyId_ = getDefaultInstance().getCopyId();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* <code>optional string copy_id = 5;</code>
* @param value The bytes for copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private int groupId_ ;
/**
* <code>optional int32 group_id = 6;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int32 group_id = 6;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
/**
* <code>optional int32 group_id = 6;</code>
* @param value The groupId to set.
* @return This builder for chaining.
*/
public Builder setGroupId(int value) {
groupId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int32 group_id = 6;</code>
* @return This builder for chaining.
*/
public Builder clearGroupId() {
bitField0_ = (bitField0_ & ~0x00000020);
groupId_ = 0;
onChanged();
return this;
}
private int action_ = 0;
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @return Whether the action field is set.
*/
@java.lang.Override public boolean hasAction() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @return The action.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action getAction() {
org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action result = org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action.forNumber(action_);
return result == null ? org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action.UNKNOWN : result;
}
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @param value The action to set.
* @return This builder for chaining.
*/
public Builder setAction(org.apache.doris.cloud.proto.Cloud.FinishCopyRequest.Action value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
action_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.FinishCopyRequest.Action action = 7;</code>
* @return This builder for chaining.
*/
public Builder clearAction() {
bitField0_ = (bitField0_ & ~0x00000040);
action_ = 0;
onChanged();
return this;
}
private long finishTimeMs_ ;
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @return Whether the finishTimeMs field is set.
*/
@java.lang.Override
public boolean hasFinishTimeMs() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @return The finishTimeMs.
*/
@java.lang.Override
public long getFinishTimeMs() {
return finishTimeMs_;
}
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @param value The finishTimeMs to set.
* @return This builder for chaining.
*/
public Builder setFinishTimeMs(long value) {
finishTimeMs_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 finish_time_ms = 8;</code>
* @return This builder for chaining.
*/
public Builder clearFinishTimeMs() {
bitField0_ = (bitField0_ & ~0x00000080);
finishTimeMs_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.FinishCopyRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.FinishCopyRequest)
private static final org.apache.doris.cloud.proto.Cloud.FinishCopyRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.FinishCopyRequest();
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<FinishCopyRequest>
PARSER = new com.google.protobuf.AbstractParser<FinishCopyRequest>() {
@java.lang.Override
public FinishCopyRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<FinishCopyRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FinishCopyRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FinishCopyResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.FinishCopyResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.FinishCopyResponse}
*/
public static final class FinishCopyResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.FinishCopyResponse)
FinishCopyResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use FinishCopyResponse.newBuilder() to construct.
private FinishCopyResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FinishCopyResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FinishCopyResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishCopyResponse.class, org.apache.doris.cloud.proto.Cloud.FinishCopyResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.FinishCopyResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.FinishCopyResponse other = (org.apache.doris.cloud.proto.Cloud.FinishCopyResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.FinishCopyResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.FinishCopyResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.FinishCopyResponse)
org.apache.doris.cloud.proto.Cloud.FinishCopyResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FinishCopyResponse.class, org.apache.doris.cloud.proto.Cloud.FinishCopyResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.FinishCopyResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FinishCopyResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.FinishCopyResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyResponse build() {
org.apache.doris.cloud.proto.Cloud.FinishCopyResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.FinishCopyResponse result = new org.apache.doris.cloud.proto.Cloud.FinishCopyResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.FinishCopyResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.FinishCopyResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.FinishCopyResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.FinishCopyResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.FinishCopyResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.FinishCopyResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.FinishCopyResponse)
private static final org.apache.doris.cloud.proto.Cloud.FinishCopyResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.FinishCopyResponse();
}
public static org.apache.doris.cloud.proto.Cloud.FinishCopyResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<FinishCopyResponse>
PARSER = new com.google.protobuf.AbstractParser<FinishCopyResponse>() {
@java.lang.Override
public FinishCopyResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<FinishCopyResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FinishCopyResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FinishCopyResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCopyJobRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetCopyJobRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
boolean hasStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
java.lang.String getStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
com.google.protobuf.ByteString
getStageIdBytes();
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional string copy_id = 4;</code>
* @return Whether the copyId field is set.
*/
boolean hasCopyId();
/**
* <code>optional string copy_id = 4;</code>
* @return The copyId.
*/
java.lang.String getCopyId();
/**
* <code>optional string copy_id = 4;</code>
* @return The bytes for copyId.
*/
com.google.protobuf.ByteString
getCopyIdBytes();
/**
* <code>optional int32 group_id = 5;</code>
* @return Whether the groupId field is set.
*/
boolean hasGroupId();
/**
* <code>optional int32 group_id = 5;</code>
* @return The groupId.
*/
int getGroupId();
}
/**
* Protobuf type {@code doris.cloud.GetCopyJobRequest}
*/
public static final class GetCopyJobRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetCopyJobRequest)
GetCopyJobRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCopyJobRequest.newBuilder() to construct.
private GetCopyJobRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetCopyJobRequest() {
cloudUniqueId_ = "";
stageId_ = "";
copyId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCopyJobRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest.class, org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
@java.lang.Override
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
@java.lang.Override
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLE_ID_FIELD_NUMBER = 3;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int COPY_ID_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 4;</code>
* @return Whether the copyId field is set.
*/
@java.lang.Override
public boolean hasCopyId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string copy_id = 4;</code>
* @return The copyId.
*/
@java.lang.Override
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
}
}
/**
* <code>optional string copy_id = 4;</code>
* @return The bytes for copyId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int GROUP_ID_FIELD_NUMBER = 5;
private int groupId_ = 0;
/**
* <code>optional int32 group_id = 5;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int32 group_id = 5;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, tableId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, copyId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt32(5, groupId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, tableId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, copyId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(5, groupId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest other = (org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStageId() != other.hasStageId()) return false;
if (hasStageId()) {
if (!getStageId()
.equals(other.getStageId())) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasCopyId() != other.hasCopyId()) return false;
if (hasCopyId()) {
if (!getCopyId()
.equals(other.getCopyId())) return false;
}
if (hasGroupId() != other.hasGroupId()) return false;
if (hasGroupId()) {
if (getGroupId()
!= other.getGroupId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStageId()) {
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasCopyId()) {
hash = (37 * hash) + COPY_ID_FIELD_NUMBER;
hash = (53 * hash) + getCopyId().hashCode();
}
if (hasGroupId()) {
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
hash = (53 * hash) + getGroupId();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetCopyJobRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetCopyJobRequest)
org.apache.doris.cloud.proto.Cloud.GetCopyJobRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest.class, org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stageId_ = "";
tableId_ = 0L;
copyId_ = "";
groupId_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest build() {
org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest result = new org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stageId_ = stageId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.copyId_ = copyId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.groupId_ = groupId_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStageId()) {
stageId_ = other.stageId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasCopyId()) {
copyId_ = other.copyId_;
bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasGroupId()) {
setGroupId(other.getGroupId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
stageId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
copyId_ = input.readBytes();
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
groupId_ = input.readInt32();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = getDefaultInstance().getStageId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The bytes for stageId to set.
* @return This builder for chaining.
*/
public Builder setStageIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 3;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000004);
tableId_ = 0L;
onChanged();
return this;
}
private java.lang.Object copyId_ = "";
/**
* <code>optional string copy_id = 4;</code>
* @return Whether the copyId field is set.
*/
public boolean hasCopyId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional string copy_id = 4;</code>
* @return The copyId.
*/
public java.lang.String getCopyId() {
java.lang.Object ref = copyId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
copyId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string copy_id = 4;</code>
* @return The bytes for copyId.
*/
public com.google.protobuf.ByteString
getCopyIdBytes() {
java.lang.Object ref = copyId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
copyId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string copy_id = 4;</code>
* @param value The copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional string copy_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearCopyId() {
copyId_ = getDefaultInstance().getCopyId();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* <code>optional string copy_id = 4;</code>
* @param value The bytes for copyId to set.
* @return This builder for chaining.
*/
public Builder setCopyIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
copyId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private int groupId_ ;
/**
* <code>optional int32 group_id = 5;</code>
* @return Whether the groupId field is set.
*/
@java.lang.Override
public boolean hasGroupId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int32 group_id = 5;</code>
* @return The groupId.
*/
@java.lang.Override
public int getGroupId() {
return groupId_;
}
/**
* <code>optional int32 group_id = 5;</code>
* @param value The groupId to set.
* @return This builder for chaining.
*/
public Builder setGroupId(int value) {
groupId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int32 group_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearGroupId() {
bitField0_ = (bitField0_ & ~0x00000010);
groupId_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetCopyJobRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetCopyJobRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetCopyJobRequest>
PARSER = new com.google.protobuf.AbstractParser<GetCopyJobRequest>() {
@java.lang.Override
public GetCopyJobRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetCopyJobRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetCopyJobRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCopyJobResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetCopyJobResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
* @return Whether the copyJob field is set.
*/
boolean hasCopyJob();
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
* @return The copyJob.
*/
org.apache.doris.cloud.proto.Cloud.CopyJobPB getCopyJob();
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.CopyJobPBOrBuilder getCopyJobOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetCopyJobResponse}
*/
public static final class GetCopyJobResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetCopyJobResponse)
GetCopyJobResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCopyJobResponse.newBuilder() to construct.
private GetCopyJobResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetCopyJobResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCopyJobResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse.class, org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int COPY_JOB_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.CopyJobPB copyJob_;
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
* @return Whether the copyJob field is set.
*/
@java.lang.Override
public boolean hasCopyJob() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
* @return The copyJob.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyJobPB getCopyJob() {
return copyJob_ == null ? org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDefaultInstance() : copyJob_;
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CopyJobPBOrBuilder getCopyJobOrBuilder() {
return copyJob_ == null ? org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDefaultInstance() : copyJob_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCopyJob());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCopyJob());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse other = (org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasCopyJob() != other.hasCopyJob()) return false;
if (hasCopyJob()) {
if (!getCopyJob()
.equals(other.getCopyJob())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasCopyJob()) {
hash = (37 * hash) + COPY_JOB_FIELD_NUMBER;
hash = (53 * hash) + getCopyJob().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetCopyJobResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetCopyJobResponse)
org.apache.doris.cloud.proto.Cloud.GetCopyJobResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse.class, org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getCopyJobFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
copyJob_ = null;
if (copyJobBuilder_ != null) {
copyJobBuilder_.dispose();
copyJobBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyJobResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse build() {
org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse result = new org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.copyJob_ = copyJobBuilder_ == null
? copyJob_
: copyJobBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasCopyJob()) {
mergeCopyJob(other.getCopyJob());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getCopyJobFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.CopyJobPB copyJob_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CopyJobPB, org.apache.doris.cloud.proto.Cloud.CopyJobPB.Builder, org.apache.doris.cloud.proto.Cloud.CopyJobPBOrBuilder> copyJobBuilder_;
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
* @return Whether the copyJob field is set.
*/
public boolean hasCopyJob() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
* @return The copyJob.
*/
public org.apache.doris.cloud.proto.Cloud.CopyJobPB getCopyJob() {
if (copyJobBuilder_ == null) {
return copyJob_ == null ? org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDefaultInstance() : copyJob_;
} else {
return copyJobBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
public Builder setCopyJob(org.apache.doris.cloud.proto.Cloud.CopyJobPB value) {
if (copyJobBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
copyJob_ = value;
} else {
copyJobBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
public Builder setCopyJob(
org.apache.doris.cloud.proto.Cloud.CopyJobPB.Builder builderForValue) {
if (copyJobBuilder_ == null) {
copyJob_ = builderForValue.build();
} else {
copyJobBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
public Builder mergeCopyJob(org.apache.doris.cloud.proto.Cloud.CopyJobPB value) {
if (copyJobBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
copyJob_ != null &&
copyJob_ != org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDefaultInstance()) {
getCopyJobBuilder().mergeFrom(value);
} else {
copyJob_ = value;
}
} else {
copyJobBuilder_.mergeFrom(value);
}
if (copyJob_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
public Builder clearCopyJob() {
bitField0_ = (bitField0_ & ~0x00000002);
copyJob_ = null;
if (copyJobBuilder_ != null) {
copyJobBuilder_.dispose();
copyJobBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.CopyJobPB.Builder getCopyJobBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCopyJobFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.CopyJobPBOrBuilder getCopyJobOrBuilder() {
if (copyJobBuilder_ != null) {
return copyJobBuilder_.getMessageOrBuilder();
} else {
return copyJob_ == null ?
org.apache.doris.cloud.proto.Cloud.CopyJobPB.getDefaultInstance() : copyJob_;
}
}
/**
* <code>optional .doris.cloud.CopyJobPB copy_job = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CopyJobPB, org.apache.doris.cloud.proto.Cloud.CopyJobPB.Builder, org.apache.doris.cloud.proto.Cloud.CopyJobPBOrBuilder>
getCopyJobFieldBuilder() {
if (copyJobBuilder_ == null) {
copyJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CopyJobPB, org.apache.doris.cloud.proto.Cloud.CopyJobPB.Builder, org.apache.doris.cloud.proto.Cloud.CopyJobPBOrBuilder>(
getCopyJob(),
getParentForChildren(),
isClean());
copyJob_ = null;
}
return copyJobBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetCopyJobResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetCopyJobResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetCopyJobResponse>
PARSER = new com.google.protobuf.AbstractParser<GetCopyJobResponse>() {
@java.lang.Override
public GetCopyJobResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetCopyJobResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetCopyJobResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyJobResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCopyFilesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetCopyFilesRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
boolean hasStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
java.lang.String getStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
com.google.protobuf.ByteString
getStageIdBytes();
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
long getTableId();
}
/**
* Protobuf type {@code doris.cloud.GetCopyFilesRequest}
*/
public static final class GetCopyFilesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetCopyFilesRequest)
GetCopyFilesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCopyFilesRequest.newBuilder() to construct.
private GetCopyFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetCopyFilesRequest() {
cloudUniqueId_ = "";
stageId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCopyFilesRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest.class, org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
@java.lang.Override
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
@java.lang.Override
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLE_ID_FIELD_NUMBER = 3;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, tableId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, tableId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest other = (org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStageId() != other.hasStageId()) return false;
if (hasStageId()) {
if (!getStageId()
.equals(other.getStageId())) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStageId()) {
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetCopyFilesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetCopyFilesRequest)
org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest.class, org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stageId_ = "";
tableId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest build() {
org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest result = new org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stageId_ = stageId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStageId()) {
stageId_ = other.stageId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
stageId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = getDefaultInstance().getStageId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The bytes for stageId to set.
* @return This builder for chaining.
*/
public Builder setStageIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 3;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000004);
tableId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetCopyFilesRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetCopyFilesRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetCopyFilesRequest>
PARSER = new com.google.protobuf.AbstractParser<GetCopyFilesRequest>() {
@java.lang.Override
public GetCopyFilesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetCopyFilesRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetCopyFilesRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetCopyFilesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetCopyFilesResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>
getObjectFilesList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index);
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
int getObjectFilesCount();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.GetCopyFilesResponse}
*/
public static final class GetCopyFilesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetCopyFilesResponse)
GetCopyFilesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetCopyFilesResponse.newBuilder() to construct.
private GetCopyFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetCopyFilesResponse() {
objectFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetCopyFilesResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse.class, org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int OBJECT_FILES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public int getObjectFilesCount() {
return objectFiles_.size();
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
return objectFiles_.get(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
return objectFiles_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < objectFiles_.size(); i++) {
output.writeMessage(2, objectFiles_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < objectFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, objectFiles_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse other = (org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getObjectFilesList()
.equals(other.getObjectFilesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getObjectFilesCount() > 0) {
hash = (37 * hash) + OBJECT_FILES_FIELD_NUMBER;
hash = (53 * hash) + getObjectFilesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetCopyFilesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetCopyFilesResponse)
org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse.class, org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getObjectFilesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
} else {
objectFiles_ = null;
objectFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetCopyFilesResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse build() {
org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse result = new org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse result) {
if (objectFilesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
objectFiles_ = java.util.Collections.unmodifiableList(objectFiles_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.objectFiles_ = objectFiles_;
} else {
result.objectFiles_ = objectFilesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (objectFilesBuilder_ == null) {
if (!other.objectFiles_.isEmpty()) {
if (objectFiles_.isEmpty()) {
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureObjectFilesIsMutable();
objectFiles_.addAll(other.objectFiles_);
}
onChanged();
}
} else {
if (!other.objectFiles_.isEmpty()) {
if (objectFilesBuilder_.isEmpty()) {
objectFilesBuilder_.dispose();
objectFilesBuilder_ = null;
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
objectFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectFilesFieldBuilder() : null;
} else {
objectFilesBuilder_.addAllMessages(other.objectFiles_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.PARSER,
extensionRegistry);
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(m);
} else {
objectFilesBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_ =
java.util.Collections.emptyList();
private void ensureObjectFilesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
objectFiles_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>(objectFiles_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder> objectFilesBuilder_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
if (objectFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectFiles_);
} else {
return objectFilesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public int getObjectFilesCount() {
if (objectFilesBuilder_ == null) {
return objectFiles_.size();
} else {
return objectFilesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index);
} else {
return objectFilesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.set(index, value);
onChanged();
} else {
objectFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.set(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(value);
onChanged();
} else {
objectFilesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(index, value);
onChanged();
} else {
objectFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addAllObjectFiles(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePB> values) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectFiles_);
onChanged();
} else {
objectFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder clearObjectFiles() {
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
objectFilesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder removeObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.remove(index);
onChanged();
} else {
objectFilesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder getObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index); } else {
return objectFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
if (objectFilesBuilder_ != null) {
return objectFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectFiles_);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder() {
return getObjectFilesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder>
getObjectFilesBuilderList() {
return getObjectFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesFieldBuilder() {
if (objectFilesBuilder_ == null) {
objectFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>(
objectFiles_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
objectFiles_ = null;
}
return objectFilesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetCopyFilesResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetCopyFilesResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetCopyFilesResponse>
PARSER = new com.google.protobuf.AbstractParser<GetCopyFilesResponse>() {
@java.lang.Override
public GetCopyFilesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetCopyFilesResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetCopyFilesResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetCopyFilesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FilterCopyFilesRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.FilterCopyFilesRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
boolean hasStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
java.lang.String getStageId();
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
com.google.protobuf.ByteString
getStageIdBytes();
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>
getObjectFilesList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index);
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
int getObjectFilesCount();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.FilterCopyFilesRequest}
*/
public static final class FilterCopyFilesRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.FilterCopyFilesRequest)
FilterCopyFilesRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use FilterCopyFilesRequest.newBuilder() to construct.
private FilterCopyFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FilterCopyFilesRequest() {
cloudUniqueId_ = "";
stageId_ = "";
objectFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FilterCopyFilesRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest.class, org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STAGE_ID_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
@java.lang.Override
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
@java.lang.Override
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLE_ID_FIELD_NUMBER = 3;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int OBJECT_FILES_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
@java.lang.Override
public int getObjectFilesCount() {
return objectFiles_.size();
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
return objectFiles_.get(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
return objectFiles_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, tableId_);
}
for (int i = 0; i < objectFiles_.size(); i++) {
output.writeMessage(4, objectFiles_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stageId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, tableId_);
}
for (int i = 0; i < objectFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, objectFiles_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest other = (org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasStageId() != other.hasStageId()) return false;
if (hasStageId()) {
if (!getStageId()
.equals(other.getStageId())) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (!getObjectFilesList()
.equals(other.getObjectFilesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasStageId()) {
hash = (37 * hash) + STAGE_ID_FIELD_NUMBER;
hash = (53 * hash) + getStageId().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (getObjectFilesCount() > 0) {
hash = (37 * hash) + OBJECT_FILES_FIELD_NUMBER;
hash = (53 * hash) + getObjectFilesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.FilterCopyFilesRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.FilterCopyFilesRequest)
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest.class, org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
stageId_ = "";
tableId_ = 0L;
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
} else {
objectFiles_ = null;
objectFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest build() {
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest result = new org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest result) {
if (objectFilesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
objectFiles_ = java.util.Collections.unmodifiableList(objectFiles_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.objectFiles_ = objectFiles_;
} else {
result.objectFiles_ = objectFilesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.stageId_ = stageId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasStageId()) {
stageId_ = other.stageId_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (objectFilesBuilder_ == null) {
if (!other.objectFiles_.isEmpty()) {
if (objectFiles_.isEmpty()) {
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureObjectFilesIsMutable();
objectFiles_.addAll(other.objectFiles_);
}
onChanged();
}
} else {
if (!other.objectFiles_.isEmpty()) {
if (objectFilesBuilder_.isEmpty()) {
objectFilesBuilder_.dispose();
objectFilesBuilder_ = null;
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000008);
objectFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectFilesFieldBuilder() : null;
} else {
objectFilesBuilder_.addAllMessages(other.objectFiles_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
stageId_ = input.readBytes();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.PARSER,
extensionRegistry);
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(m);
} else {
objectFilesBuilder_.addMessage(m);
}
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object stageId_ = "";
/**
* <code>optional string stage_id = 2;</code>
* @return Whether the stageId field is set.
*/
public boolean hasStageId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string stage_id = 2;</code>
* @return The stageId.
*/
public java.lang.String getStageId() {
java.lang.Object ref = stageId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
stageId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @return The bytes for stageId.
*/
public com.google.protobuf.ByteString
getStageIdBytes() {
java.lang.Object ref = stageId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stageId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The stageId to set.
* @return This builder for chaining.
*/
public Builder setStageId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearStageId() {
stageId_ = getDefaultInstance().getStageId();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* <code>optional string stage_id = 2;</code>
* @param value The bytes for stageId to set.
* @return This builder for chaining.
*/
public Builder setStageIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
stageId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 3;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 table_id = 3;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 3;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000004);
tableId_ = 0L;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_ =
java.util.Collections.emptyList();
private void ensureObjectFilesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
objectFiles_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>(objectFiles_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder> objectFilesBuilder_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
if (objectFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectFiles_);
} else {
return objectFilesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public int getObjectFilesCount() {
if (objectFilesBuilder_ == null) {
return objectFiles_.size();
} else {
return objectFilesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index);
} else {
return objectFilesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.set(index, value);
onChanged();
} else {
objectFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.set(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder addObjectFiles(org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(value);
onChanged();
} else {
objectFilesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(index, value);
onChanged();
} else {
objectFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder addObjectFiles(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder addAllObjectFiles(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePB> values) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectFiles_);
onChanged();
} else {
objectFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder clearObjectFiles() {
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
objectFilesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public Builder removeObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.remove(index);
onChanged();
} else {
objectFilesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder getObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index); } else {
return objectFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
if (objectFilesBuilder_ != null) {
return objectFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectFiles_);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder() {
return getObjectFilesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 4;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder>
getObjectFilesBuilderList() {
return getObjectFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesFieldBuilder() {
if (objectFilesBuilder_ == null) {
objectFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>(
objectFiles_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
objectFiles_ = null;
}
return objectFilesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.FilterCopyFilesRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.FilterCopyFilesRequest)
private static final org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest();
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<FilterCopyFilesRequest>
PARSER = new com.google.protobuf.AbstractParser<FilterCopyFilesRequest>() {
@java.lang.Override
public FilterCopyFilesRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<FilterCopyFilesRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FilterCopyFilesRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FilterCopyFilesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.FilterCopyFilesResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>
getObjectFilesList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index);
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
int getObjectFilesCount();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList();
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.FilterCopyFilesResponse}
*/
public static final class FilterCopyFilesResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.FilterCopyFilesResponse)
FilterCopyFilesResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use FilterCopyFilesResponse.newBuilder() to construct.
private FilterCopyFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private FilterCopyFilesResponse() {
objectFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FilterCopyFilesResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse.class, org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int OBJECT_FILES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
return objectFiles_;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public int getObjectFilesCount() {
return objectFiles_.size();
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
return objectFiles_.get(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
return objectFiles_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < objectFiles_.size(); i++) {
output.writeMessage(2, objectFiles_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
for (int i = 0; i < objectFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, objectFiles_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse other = (org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getObjectFilesList()
.equals(other.getObjectFilesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getObjectFilesCount() > 0) {
hash = (37 * hash) + OBJECT_FILES_FIELD_NUMBER;
hash = (53 * hash) + getObjectFilesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.FilterCopyFilesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.FilterCopyFilesResponse)
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse.class, org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getObjectFilesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
} else {
objectFiles_ = null;
objectFilesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_FilterCopyFilesResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse build() {
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse result = new org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse result) {
if (objectFilesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
objectFiles_ = java.util.Collections.unmodifiableList(objectFiles_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.objectFiles_ = objectFiles_;
} else {
result.objectFiles_ = objectFilesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (objectFilesBuilder_ == null) {
if (!other.objectFiles_.isEmpty()) {
if (objectFiles_.isEmpty()) {
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureObjectFilesIsMutable();
objectFiles_.addAll(other.objectFiles_);
}
onChanged();
}
} else {
if (!other.objectFiles_.isEmpty()) {
if (objectFilesBuilder_.isEmpty()) {
objectFilesBuilder_.dispose();
objectFilesBuilder_ = null;
objectFiles_ = other.objectFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
objectFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getObjectFilesFieldBuilder() : null;
} else {
objectFilesBuilder_.addAllMessages(other.objectFiles_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
org.apache.doris.cloud.proto.Cloud.ObjectFilePB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.PARSER,
extensionRegistry);
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(m);
} else {
objectFilesBuilder_.addMessage(m);
}
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> objectFiles_ =
java.util.Collections.emptyList();
private void ensureObjectFilesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
objectFiles_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.ObjectFilePB>(objectFiles_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder> objectFilesBuilder_;
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB> getObjectFilesList() {
if (objectFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(objectFiles_);
} else {
return objectFilesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public int getObjectFilesCount() {
if (objectFilesBuilder_ == null) {
return objectFiles_.size();
} else {
return objectFilesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB getObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index);
} else {
return objectFilesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.set(index, value);
onChanged();
} else {
objectFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder setObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.set(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(value);
onChanged();
} else {
objectFilesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB value) {
if (objectFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureObjectFilesIsMutable();
objectFiles_.add(index, value);
onChanged();
} else {
objectFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addObjectFiles(
int index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder builderForValue) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.add(index, builderForValue.build());
onChanged();
} else {
objectFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder addAllObjectFiles(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePB> values) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, objectFiles_);
onChanged();
} else {
objectFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder clearObjectFiles() {
if (objectFilesBuilder_ == null) {
objectFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
objectFilesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public Builder removeObjectFiles(int index) {
if (objectFilesBuilder_ == null) {
ensureObjectFilesIsMutable();
objectFiles_.remove(index);
onChanged();
} else {
objectFilesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder getObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder getObjectFilesOrBuilder(
int index) {
if (objectFilesBuilder_ == null) {
return objectFiles_.get(index); } else {
return objectFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesOrBuilderList() {
if (objectFilesBuilder_ != null) {
return objectFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(objectFiles_);
}
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder() {
return getObjectFilesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder addObjectFilesBuilder(
int index) {
return getObjectFilesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.ObjectFilePB object_files = 2;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder>
getObjectFilesBuilderList() {
return getObjectFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>
getObjectFilesFieldBuilder() {
if (objectFilesBuilder_ == null) {
objectFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.ObjectFilePB, org.apache.doris.cloud.proto.Cloud.ObjectFilePB.Builder, org.apache.doris.cloud.proto.Cloud.ObjectFilePBOrBuilder>(
objectFiles_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
objectFiles_ = null;
}
return objectFilesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.FilterCopyFilesResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.FilterCopyFilesResponse)
private static final org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse();
}
public static org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<FilterCopyFilesResponse>
PARSER = new com.google.protobuf.AbstractParser<FilterCopyFilesResponse>() {
@java.lang.Override
public FilterCopyFilesResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<FilterCopyFilesResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<FilterCopyFilesResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.FilterCopyFilesResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecycleInstanceRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RecycleInstanceRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated string instance_ids = 1;</code>
* @return A list containing the instanceIds.
*/
java.util.List<java.lang.String>
getInstanceIdsList();
/**
* <code>repeated string instance_ids = 1;</code>
* @return The count of instanceIds.
*/
int getInstanceIdsCount();
/**
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the element to return.
* @return The instanceIds at the given index.
*/
java.lang.String getInstanceIds(int index);
/**
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the instanceIds at the given index.
*/
com.google.protobuf.ByteString
getInstanceIdsBytes(int index);
}
/**
* Protobuf type {@code doris.cloud.RecycleInstanceRequest}
*/
public static final class RecycleInstanceRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RecycleInstanceRequest)
RecycleInstanceRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecycleInstanceRequest.newBuilder() to construct.
private RecycleInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RecycleInstanceRequest() {
instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecycleInstanceRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest.Builder.class);
}
public static final int INSTANCE_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string instance_ids = 1;</code>
* @return A list containing the instanceIds.
*/
public com.google.protobuf.ProtocolStringList
getInstanceIdsList() {
return instanceIds_;
}
/**
* <code>repeated string instance_ids = 1;</code>
* @return The count of instanceIds.
*/
public int getInstanceIdsCount() {
return instanceIds_.size();
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the element to return.
* @return The instanceIds at the given index.
*/
public java.lang.String getInstanceIds(int index) {
return instanceIds_.get(index);
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the instanceIds at the given index.
*/
public com.google.protobuf.ByteString
getInstanceIdsBytes(int index) {
return instanceIds_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < instanceIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceIds_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < instanceIds_.size(); i++) {
dataSize += computeStringSizeNoTag(instanceIds_.getRaw(i));
}
size += dataSize;
size += 1 * getInstanceIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest other = (org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest) obj;
if (!getInstanceIdsList()
.equals(other.getInstanceIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getInstanceIdsCount() > 0) {
hash = (37 * hash) + INSTANCE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getInstanceIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RecycleInstanceRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RecycleInstanceRequest)
org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest.class, org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest build() {
org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest result = new org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
instanceIds_.makeImmutable();
result.instanceIds_ = instanceIds_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest.getDefaultInstance()) return this;
if (!other.instanceIds_.isEmpty()) {
if (instanceIds_.isEmpty()) {
instanceIds_ = other.instanceIds_;
bitField0_ |= 0x00000001;
} else {
ensureInstanceIdsIsMutable();
instanceIds_.addAll(other.instanceIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureInstanceIdsIsMutable();
instanceIds_.add(bs);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringArrayList instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureInstanceIdsIsMutable() {
if (!instanceIds_.isModifiable()) {
instanceIds_ = new com.google.protobuf.LazyStringArrayList(instanceIds_);
}
bitField0_ |= 0x00000001;
}
/**
* <code>repeated string instance_ids = 1;</code>
* @return A list containing the instanceIds.
*/
public com.google.protobuf.ProtocolStringList
getInstanceIdsList() {
instanceIds_.makeImmutable();
return instanceIds_;
}
/**
* <code>repeated string instance_ids = 1;</code>
* @return The count of instanceIds.
*/
public int getInstanceIdsCount() {
return instanceIds_.size();
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the element to return.
* @return The instanceIds at the given index.
*/
public java.lang.String getInstanceIds(int index) {
return instanceIds_.get(index);
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the instanceIds at the given index.
*/
public com.google.protobuf.ByteString
getInstanceIdsBytes(int index) {
return instanceIds_.getByteString(index);
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param index The index to set the value at.
* @param value The instanceIds to set.
* @return This builder for chaining.
*/
public Builder setInstanceIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureInstanceIdsIsMutable();
instanceIds_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param value The instanceIds to add.
* @return This builder for chaining.
*/
public Builder addInstanceIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureInstanceIdsIsMutable();
instanceIds_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param values The instanceIds to add.
* @return This builder for chaining.
*/
public Builder addAllInstanceIds(
java.lang.Iterable<java.lang.String> values) {
ensureInstanceIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, instanceIds_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated string instance_ids = 1;</code>
* @return This builder for chaining.
*/
public Builder clearInstanceIds() {
instanceIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);;
onChanged();
return this;
}
/**
* <code>repeated string instance_ids = 1;</code>
* @param value The bytes of the instanceIds to add.
* @return This builder for chaining.
*/
public Builder addInstanceIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureInstanceIdsIsMutable();
instanceIds_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RecycleInstanceRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RecycleInstanceRequest)
private static final org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest();
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RecycleInstanceRequest>
PARSER = new com.google.protobuf.AbstractParser<RecycleInstanceRequest>() {
@java.lang.Override
public RecycleInstanceRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RecycleInstanceRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RecycleInstanceRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RecycleInstanceResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RecycleInstanceResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.RecycleInstanceResponse}
*/
public static final class RecycleInstanceResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RecycleInstanceResponse)
RecycleInstanceResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use RecycleInstanceResponse.newBuilder() to construct.
private RecycleInstanceResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RecycleInstanceResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RecycleInstanceResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse other = (org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RecycleInstanceResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RecycleInstanceResponse)
org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse.class, org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RecycleInstanceResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse build() {
org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse result = new org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RecycleInstanceResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RecycleInstanceResponse)
private static final org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse();
}
public static org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RecycleInstanceResponse>
PARSER = new com.google.protobuf.AbstractParser<RecycleInstanceResponse>() {
@java.lang.Override
public RecycleInstanceResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RecycleInstanceResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RecycleInstanceResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RecycleInstanceResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateDeleteBitmapRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateDeleteBitmapRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional int64 partition_id = 3;</code>
* @return Whether the partitionId field is set.
*/
boolean hasPartitionId();
/**
* <code>optional int64 partition_id = 3;</code>
* @return The partitionId.
*/
long getPartitionId();
/**
* <code>optional int64 tablet_id = 4;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 4;</code>
* @return The tabletId.
*/
long getTabletId();
/**
* <code>optional int64 lock_id = 5;</code>
* @return Whether the lockId field is set.
*/
boolean hasLockId();
/**
* <code>optional int64 lock_id = 5;</code>
* @return The lockId.
*/
long getLockId();
/**
* <code>optional int64 initiator = 6;</code>
* @return Whether the initiator field is set.
*/
boolean hasInitiator();
/**
* <code>optional int64 initiator = 6;</code>
* @return The initiator.
*/
long getInitiator();
/**
* <code>repeated string rowset_ids = 7;</code>
* @return A list containing the rowsetIds.
*/
java.util.List<java.lang.String>
getRowsetIdsList();
/**
* <code>repeated string rowset_ids = 7;</code>
* @return The count of rowsetIds.
*/
int getRowsetIdsCount();
/**
* <code>repeated string rowset_ids = 7;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
java.lang.String getRowsetIds(int index);
/**
* <code>repeated string rowset_ids = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
com.google.protobuf.ByteString
getRowsetIdsBytes(int index);
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @return A list containing the segmentIds.
*/
java.util.List<java.lang.Integer> getSegmentIdsList();
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @return The count of segmentIds.
*/
int getSegmentIdsCount();
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @param index The index of the element to return.
* @return The segmentIds at the given index.
*/
int getSegmentIds(int index);
/**
* <code>repeated int64 versions = 9;</code>
* @return A list containing the versions.
*/
java.util.List<java.lang.Long> getVersionsList();
/**
* <code>repeated int64 versions = 9;</code>
* @return The count of versions.
*/
int getVersionsCount();
/**
* <code>repeated int64 versions = 9;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
long getVersions(int index);
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @return A list containing the segmentDeleteBitmaps.
*/
java.util.List<com.google.protobuf.ByteString> getSegmentDeleteBitmapsList();
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @return The count of segmentDeleteBitmaps.
*/
int getSegmentDeleteBitmapsCount();
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @param index The index of the element to return.
* @return The segmentDeleteBitmaps at the given index.
*/
com.google.protobuf.ByteString getSegmentDeleteBitmaps(int index);
/**
* <code>optional bool without_lock = 11;</code>
* @return Whether the withoutLock field is set.
*/
boolean hasWithoutLock();
/**
* <code>optional bool without_lock = 11;</code>
* @return The withoutLock.
*/
boolean getWithoutLock();
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @return Whether the isExplicitTxn field is set.
*/
boolean hasIsExplicitTxn();
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @return The isExplicitTxn.
*/
boolean getIsExplicitTxn();
/**
* <code>optional int64 txn_id = 13;</code>
* @return Whether the txnId field is set.
*/
boolean hasTxnId();
/**
* <code>optional int64 txn_id = 13;</code>
* @return The txnId.
*/
long getTxnId();
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @return Whether the nextVisibleVersion field is set.
*/
boolean hasNextVisibleVersion();
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @return The nextVisibleVersion.
*/
long getNextVisibleVersion();
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @return Whether the preRowsetAggStartVersion field is set.
*/
boolean hasPreRowsetAggStartVersion();
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @return The preRowsetAggStartVersion.
*/
long getPreRowsetAggStartVersion();
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @return Whether the preRowsetAggEndVersion field is set.
*/
boolean hasPreRowsetAggEndVersion();
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @return The preRowsetAggEndVersion.
*/
long getPreRowsetAggEndVersion();
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @return A list containing the preRowsetVersions.
*/
java.util.List<java.lang.Long> getPreRowsetVersionsList();
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @return The count of preRowsetVersions.
*/
int getPreRowsetVersionsCount();
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @param index The index of the element to return.
* @return The preRowsetVersions at the given index.
*/
long getPreRowsetVersions(int index);
}
/**
* Protobuf type {@code doris.cloud.UpdateDeleteBitmapRequest}
*/
public static final class UpdateDeleteBitmapRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateDeleteBitmapRequest)
UpdateDeleteBitmapRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateDeleteBitmapRequest.newBuilder() to construct.
private UpdateDeleteBitmapRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateDeleteBitmapRequest() {
cloudUniqueId_ = "";
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
segmentIds_ = emptyIntList();
versions_ = emptyLongList();
segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
preRowsetVersions_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateDeleteBitmapRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLE_ID_FIELD_NUMBER = 2;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int PARTITION_ID_FIELD_NUMBER = 3;
private long partitionId_ = 0L;
/**
* <code>optional int64 partition_id = 3;</code>
* @return Whether the partitionId field is set.
*/
@java.lang.Override
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 partition_id = 3;</code>
* @return The partitionId.
*/
@java.lang.Override
public long getPartitionId() {
return partitionId_;
}
public static final int TABLET_ID_FIELD_NUMBER = 4;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 4;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 tablet_id = 4;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
public static final int LOCK_ID_FIELD_NUMBER = 5;
private long lockId_ = 0L;
/**
* <code>optional int64 lock_id = 5;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 lock_id = 5;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
public static final int INITIATOR_FIELD_NUMBER = 6;
private long initiator_ = 0L;
/**
* <code>optional int64 initiator = 6;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 initiator = 6;</code>
* @return The initiator.
*/
@java.lang.Override
public long getInitiator() {
return initiator_;
}
public static final int ROWSET_IDS_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string rowset_ids = 7;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
public static final int SEGMENT_IDS_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList segmentIds_ =
emptyIntList();
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @return A list containing the segmentIds.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getSegmentIdsList() {
return segmentIds_;
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @return The count of segmentIds.
*/
public int getSegmentIdsCount() {
return segmentIds_.size();
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @param index The index of the element to return.
* @return The segmentIds at the given index.
*/
public int getSegmentIds(int index) {
return segmentIds_.getInt(index);
}
public static final int VERSIONS_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList versions_ =
emptyLongList();
/**
* <code>repeated int64 versions = 9;</code>
* @return A list containing the versions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getVersionsList() {
return versions_;
}
/**
* <code>repeated int64 versions = 9;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 9;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
public static final int SEGMENT_DELETE_BITMAPS_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> segmentDeleteBitmaps_ =
emptyList(com.google.protobuf.ByteString.class);
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @return A list containing the segmentDeleteBitmaps.
*/
@java.lang.Override
public java.util.List<com.google.protobuf.ByteString>
getSegmentDeleteBitmapsList() {
return segmentDeleteBitmaps_;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @return The count of segmentDeleteBitmaps.
*/
public int getSegmentDeleteBitmapsCount() {
return segmentDeleteBitmaps_.size();
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @param index The index of the element to return.
* @return The segmentDeleteBitmaps at the given index.
*/
public com.google.protobuf.ByteString getSegmentDeleteBitmaps(int index) {
return segmentDeleteBitmaps_.get(index);
}
public static final int WITHOUT_LOCK_FIELD_NUMBER = 11;
private boolean withoutLock_ = false;
/**
* <code>optional bool without_lock = 11;</code>
* @return Whether the withoutLock field is set.
*/
@java.lang.Override
public boolean hasWithoutLock() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional bool without_lock = 11;</code>
* @return The withoutLock.
*/
@java.lang.Override
public boolean getWithoutLock() {
return withoutLock_;
}
public static final int IS_EXPLICIT_TXN_FIELD_NUMBER = 12;
private boolean isExplicitTxn_ = false;
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @return Whether the isExplicitTxn field is set.
*/
@java.lang.Override
public boolean hasIsExplicitTxn() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @return The isExplicitTxn.
*/
@java.lang.Override
public boolean getIsExplicitTxn() {
return isExplicitTxn_;
}
public static final int TXN_ID_FIELD_NUMBER = 13;
private long txnId_ = 0L;
/**
* <code>optional int64 txn_id = 13;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 txn_id = 13;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
public static final int NEXT_VISIBLE_VERSION_FIELD_NUMBER = 14;
private long nextVisibleVersion_ = 0L;
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @return Whether the nextVisibleVersion field is set.
*/
@java.lang.Override
public boolean hasNextVisibleVersion() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @return The nextVisibleVersion.
*/
@java.lang.Override
public long getNextVisibleVersion() {
return nextVisibleVersion_;
}
public static final int PRE_ROWSET_AGG_START_VERSION_FIELD_NUMBER = 15;
private long preRowsetAggStartVersion_ = 0L;
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @return Whether the preRowsetAggStartVersion field is set.
*/
@java.lang.Override
public boolean hasPreRowsetAggStartVersion() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @return The preRowsetAggStartVersion.
*/
@java.lang.Override
public long getPreRowsetAggStartVersion() {
return preRowsetAggStartVersion_;
}
public static final int PRE_ROWSET_AGG_END_VERSION_FIELD_NUMBER = 16;
private long preRowsetAggEndVersion_ = 0L;
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @return Whether the preRowsetAggEndVersion field is set.
*/
@java.lang.Override
public boolean hasPreRowsetAggEndVersion() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @return The preRowsetAggEndVersion.
*/
@java.lang.Override
public long getPreRowsetAggEndVersion() {
return preRowsetAggEndVersion_;
}
public static final int PRE_ROWSET_VERSIONS_FIELD_NUMBER = 17;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList preRowsetVersions_ =
emptyLongList();
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @return A list containing the preRowsetVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPreRowsetVersionsList() {
return preRowsetVersions_;
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @return The count of preRowsetVersions.
*/
public int getPreRowsetVersionsCount() {
return preRowsetVersions_.size();
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @param index The index of the element to return.
* @return The preRowsetVersions at the given index.
*/
public long getPreRowsetVersions(int index) {
return preRowsetVersions_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, partitionId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, tabletId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, lockId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(6, initiator_);
}
for (int i = 0; i < rowsetIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, rowsetIds_.getRaw(i));
}
for (int i = 0; i < segmentIds_.size(); i++) {
output.writeUInt32(8, segmentIds_.getInt(i));
}
for (int i = 0; i < versions_.size(); i++) {
output.writeInt64(9, versions_.getLong(i));
}
for (int i = 0; i < segmentDeleteBitmaps_.size(); i++) {
output.writeBytes(10, segmentDeleteBitmaps_.get(i));
}
if (((bitField0_ & 0x00000040) != 0)) {
output.writeBool(11, withoutLock_);
}
if (((bitField0_ & 0x00000080) != 0)) {
output.writeBool(12, isExplicitTxn_);
}
if (((bitField0_ & 0x00000100) != 0)) {
output.writeInt64(13, txnId_);
}
if (((bitField0_ & 0x00000200) != 0)) {
output.writeInt64(14, nextVisibleVersion_);
}
if (((bitField0_ & 0x00000400) != 0)) {
output.writeInt64(15, preRowsetAggStartVersion_);
}
if (((bitField0_ & 0x00000800) != 0)) {
output.writeInt64(16, preRowsetAggEndVersion_);
}
for (int i = 0; i < preRowsetVersions_.size(); i++) {
output.writeInt64(17, preRowsetVersions_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, partitionId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, tabletId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, lockId_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, initiator_);
}
{
int dataSize = 0;
for (int i = 0; i < rowsetIds_.size(); i++) {
dataSize += computeStringSizeNoTag(rowsetIds_.getRaw(i));
}
size += dataSize;
size += 1 * getRowsetIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < segmentIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(segmentIds_.getInt(i));
}
size += dataSize;
size += 1 * getSegmentIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < versions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(versions_.getLong(i));
}
size += dataSize;
size += 1 * getVersionsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < segmentDeleteBitmaps_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(segmentDeleteBitmaps_.get(i));
}
size += dataSize;
size += 1 * getSegmentDeleteBitmapsList().size();
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, withoutLock_);
}
if (((bitField0_ & 0x00000080) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(12, isExplicitTxn_);
}
if (((bitField0_ & 0x00000100) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(13, txnId_);
}
if (((bitField0_ & 0x00000200) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, nextVisibleVersion_);
}
if (((bitField0_ & 0x00000400) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(15, preRowsetAggStartVersion_);
}
if (((bitField0_ & 0x00000800) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(16, preRowsetAggEndVersion_);
}
{
int dataSize = 0;
for (int i = 0; i < preRowsetVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(preRowsetVersions_.getLong(i));
}
size += dataSize;
size += 2 * getPreRowsetVersionsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest other = (org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasPartitionId() != other.hasPartitionId()) return false;
if (hasPartitionId()) {
if (getPartitionId()
!= other.getPartitionId()) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (hasLockId() != other.hasLockId()) return false;
if (hasLockId()) {
if (getLockId()
!= other.getLockId()) return false;
}
if (hasInitiator() != other.hasInitiator()) return false;
if (hasInitiator()) {
if (getInitiator()
!= other.getInitiator()) return false;
}
if (!getRowsetIdsList()
.equals(other.getRowsetIdsList())) return false;
if (!getSegmentIdsList()
.equals(other.getSegmentIdsList())) return false;
if (!getVersionsList()
.equals(other.getVersionsList())) return false;
if (!getSegmentDeleteBitmapsList()
.equals(other.getSegmentDeleteBitmapsList())) return false;
if (hasWithoutLock() != other.hasWithoutLock()) return false;
if (hasWithoutLock()) {
if (getWithoutLock()
!= other.getWithoutLock()) return false;
}
if (hasIsExplicitTxn() != other.hasIsExplicitTxn()) return false;
if (hasIsExplicitTxn()) {
if (getIsExplicitTxn()
!= other.getIsExplicitTxn()) return false;
}
if (hasTxnId() != other.hasTxnId()) return false;
if (hasTxnId()) {
if (getTxnId()
!= other.getTxnId()) return false;
}
if (hasNextVisibleVersion() != other.hasNextVisibleVersion()) return false;
if (hasNextVisibleVersion()) {
if (getNextVisibleVersion()
!= other.getNextVisibleVersion()) return false;
}
if (hasPreRowsetAggStartVersion() != other.hasPreRowsetAggStartVersion()) return false;
if (hasPreRowsetAggStartVersion()) {
if (getPreRowsetAggStartVersion()
!= other.getPreRowsetAggStartVersion()) return false;
}
if (hasPreRowsetAggEndVersion() != other.hasPreRowsetAggEndVersion()) return false;
if (hasPreRowsetAggEndVersion()) {
if (getPreRowsetAggEndVersion()
!= other.getPreRowsetAggEndVersion()) return false;
}
if (!getPreRowsetVersionsList()
.equals(other.getPreRowsetVersionsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasPartitionId()) {
hash = (37 * hash) + PARTITION_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPartitionId());
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
if (hasLockId()) {
hash = (37 * hash) + LOCK_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLockId());
}
if (hasInitiator()) {
hash = (37 * hash) + INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInitiator());
}
if (getRowsetIdsCount() > 0) {
hash = (37 * hash) + ROWSET_IDS_FIELD_NUMBER;
hash = (53 * hash) + getRowsetIdsList().hashCode();
}
if (getSegmentIdsCount() > 0) {
hash = (37 * hash) + SEGMENT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSegmentIdsList().hashCode();
}
if (getVersionsCount() > 0) {
hash = (37 * hash) + VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getVersionsList().hashCode();
}
if (getSegmentDeleteBitmapsCount() > 0) {
hash = (37 * hash) + SEGMENT_DELETE_BITMAPS_FIELD_NUMBER;
hash = (53 * hash) + getSegmentDeleteBitmapsList().hashCode();
}
if (hasWithoutLock()) {
hash = (37 * hash) + WITHOUT_LOCK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getWithoutLock());
}
if (hasIsExplicitTxn()) {
hash = (37 * hash) + IS_EXPLICIT_TXN_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsExplicitTxn());
}
if (hasTxnId()) {
hash = (37 * hash) + TXN_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTxnId());
}
if (hasNextVisibleVersion()) {
hash = (37 * hash) + NEXT_VISIBLE_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getNextVisibleVersion());
}
if (hasPreRowsetAggStartVersion()) {
hash = (37 * hash) + PRE_ROWSET_AGG_START_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPreRowsetAggStartVersion());
}
if (hasPreRowsetAggEndVersion()) {
hash = (37 * hash) + PRE_ROWSET_AGG_END_VERSION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPreRowsetAggEndVersion());
}
if (getPreRowsetVersionsCount() > 0) {
hash = (37 * hash) + PRE_ROWSET_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getPreRowsetVersionsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateDeleteBitmapRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateDeleteBitmapRequest)
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest.class, org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tableId_ = 0L;
partitionId_ = 0L;
tabletId_ = 0L;
lockId_ = 0L;
initiator_ = 0L;
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
segmentIds_ = emptyIntList();
versions_ = emptyLongList();
segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
withoutLock_ = false;
isExplicitTxn_ = false;
txnId_ = 0L;
nextVisibleVersion_ = 0L;
preRowsetAggStartVersion_ = 0L;
preRowsetAggEndVersion_ = 0L;
preRowsetVersions_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest build() {
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest result = new org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.partitionId_ = partitionId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.lockId_ = lockId_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.initiator_ = initiator_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
rowsetIds_.makeImmutable();
result.rowsetIds_ = rowsetIds_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
segmentIds_.makeImmutable();
result.segmentIds_ = segmentIds_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
versions_.makeImmutable();
result.versions_ = versions_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
segmentDeleteBitmaps_.makeImmutable();
result.segmentDeleteBitmaps_ = segmentDeleteBitmaps_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.withoutLock_ = withoutLock_;
to_bitField0_ |= 0x00000040;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.isExplicitTxn_ = isExplicitTxn_;
to_bitField0_ |= 0x00000080;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.txnId_ = txnId_;
to_bitField0_ |= 0x00000100;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
result.nextVisibleVersion_ = nextVisibleVersion_;
to_bitField0_ |= 0x00000200;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
result.preRowsetAggStartVersion_ = preRowsetAggStartVersion_;
to_bitField0_ |= 0x00000400;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
result.preRowsetAggEndVersion_ = preRowsetAggEndVersion_;
to_bitField0_ |= 0x00000800;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
preRowsetVersions_.makeImmutable();
result.preRowsetVersions_ = preRowsetVersions_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasPartitionId()) {
setPartitionId(other.getPartitionId());
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
if (other.hasLockId()) {
setLockId(other.getLockId());
}
if (other.hasInitiator()) {
setInitiator(other.getInitiator());
}
if (!other.rowsetIds_.isEmpty()) {
if (rowsetIds_.isEmpty()) {
rowsetIds_ = other.rowsetIds_;
bitField0_ |= 0x00000040;
} else {
ensureRowsetIdsIsMutable();
rowsetIds_.addAll(other.rowsetIds_);
}
onChanged();
}
if (!other.segmentIds_.isEmpty()) {
if (segmentIds_.isEmpty()) {
segmentIds_ = other.segmentIds_;
segmentIds_.makeImmutable();
bitField0_ |= 0x00000080;
} else {
ensureSegmentIdsIsMutable();
segmentIds_.addAll(other.segmentIds_);
}
onChanged();
}
if (!other.versions_.isEmpty()) {
if (versions_.isEmpty()) {
versions_ = other.versions_;
versions_.makeImmutable();
bitField0_ |= 0x00000100;
} else {
ensureVersionsIsMutable();
versions_.addAll(other.versions_);
}
onChanged();
}
if (!other.segmentDeleteBitmaps_.isEmpty()) {
if (segmentDeleteBitmaps_.isEmpty()) {
segmentDeleteBitmaps_ = other.segmentDeleteBitmaps_;
segmentDeleteBitmaps_.makeImmutable();
bitField0_ |= 0x00000200;
} else {
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.addAll(other.segmentDeleteBitmaps_);
}
onChanged();
}
if (other.hasWithoutLock()) {
setWithoutLock(other.getWithoutLock());
}
if (other.hasIsExplicitTxn()) {
setIsExplicitTxn(other.getIsExplicitTxn());
}
if (other.hasTxnId()) {
setTxnId(other.getTxnId());
}
if (other.hasNextVisibleVersion()) {
setNextVisibleVersion(other.getNextVisibleVersion());
}
if (other.hasPreRowsetAggStartVersion()) {
setPreRowsetAggStartVersion(other.getPreRowsetAggStartVersion());
}
if (other.hasPreRowsetAggEndVersion()) {
setPreRowsetAggEndVersion(other.getPreRowsetAggEndVersion());
}
if (!other.preRowsetVersions_.isEmpty()) {
if (preRowsetVersions_.isEmpty()) {
preRowsetVersions_ = other.preRowsetVersions_;
preRowsetVersions_.makeImmutable();
bitField0_ |= 0x00010000;
} else {
ensurePreRowsetVersionsIsMutable();
preRowsetVersions_.addAll(other.preRowsetVersions_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
partitionId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
lockId_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
initiator_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 58: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureRowsetIdsIsMutable();
rowsetIds_.add(bs);
break;
} // case 58
case 64: {
int v = input.readUInt32();
ensureSegmentIdsIsMutable();
segmentIds_.addInt(v);
break;
} // case 64
case 66: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureSegmentIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
segmentIds_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 66
case 72: {
long v = input.readInt64();
ensureVersionsIsMutable();
versions_.addLong(v);
break;
} // case 72
case 74: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
versions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 74
case 82: {
com.google.protobuf.ByteString v = input.readBytes();
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.add(v);
break;
} // case 82
case 88: {
withoutLock_ = input.readBool();
bitField0_ |= 0x00000400;
break;
} // case 88
case 96: {
isExplicitTxn_ = input.readBool();
bitField0_ |= 0x00000800;
break;
} // case 96
case 104: {
txnId_ = input.readInt64();
bitField0_ |= 0x00001000;
break;
} // case 104
case 112: {
nextVisibleVersion_ = input.readInt64();
bitField0_ |= 0x00002000;
break;
} // case 112
case 120: {
preRowsetAggStartVersion_ = input.readInt64();
bitField0_ |= 0x00004000;
break;
} // case 120
case 128: {
preRowsetAggEndVersion_ = input.readInt64();
bitField0_ |= 0x00008000;
break;
} // case 128
case 136: {
long v = input.readInt64();
ensurePreRowsetVersionsIsMutable();
preRowsetVersions_.addLong(v);
break;
} // case 136
case 138: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePreRowsetVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
preRowsetVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 138
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 2;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000002);
tableId_ = 0L;
onChanged();
return this;
}
private long partitionId_ ;
/**
* <code>optional int64 partition_id = 3;</code>
* @return Whether the partitionId field is set.
*/
@java.lang.Override
public boolean hasPartitionId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 partition_id = 3;</code>
* @return The partitionId.
*/
@java.lang.Override
public long getPartitionId() {
return partitionId_;
}
/**
* <code>optional int64 partition_id = 3;</code>
* @param value The partitionId to set.
* @return This builder for chaining.
*/
public Builder setPartitionId(long value) {
partitionId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 partition_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionId() {
bitField0_ = (bitField0_ & ~0x00000004);
partitionId_ = 0L;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 4;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 tablet_id = 4;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 4;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000008);
tabletId_ = 0L;
onChanged();
return this;
}
private long lockId_ ;
/**
* <code>optional int64 lock_id = 5;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 lock_id = 5;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
/**
* <code>optional int64 lock_id = 5;</code>
* @param value The lockId to set.
* @return This builder for chaining.
*/
public Builder setLockId(long value) {
lockId_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 lock_id = 5;</code>
* @return This builder for chaining.
*/
public Builder clearLockId() {
bitField0_ = (bitField0_ & ~0x00000010);
lockId_ = 0L;
onChanged();
return this;
}
private long initiator_ ;
/**
* <code>optional int64 initiator = 6;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 initiator = 6;</code>
* @return The initiator.
*/
@java.lang.Override
public long getInitiator() {
return initiator_;
}
/**
* <code>optional int64 initiator = 6;</code>
* @param value The initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiator(long value) {
initiator_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 initiator = 6;</code>
* @return This builder for chaining.
*/
public Builder clearInitiator() {
bitField0_ = (bitField0_ & ~0x00000020);
initiator_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureRowsetIdsIsMutable() {
if (!rowsetIds_.isModifiable()) {
rowsetIds_ = new com.google.protobuf.LazyStringArrayList(rowsetIds_);
}
bitField0_ |= 0x00000040;
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
rowsetIds_.makeImmutable();
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param index The index to set the value at.
* @param value The rowsetIds to set.
* @return This builder for chaining.
*/
public Builder setRowsetIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.set(index, value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param value The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param values The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addAllRowsetIds(
java.lang.Iterable<java.lang.String> values) {
ensureRowsetIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rowsetIds_);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @return This builder for chaining.
*/
public Builder clearRowsetIds() {
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 7;</code>
* @param value The bytes of the rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList segmentIds_ = emptyIntList();
private void ensureSegmentIdsIsMutable() {
if (!segmentIds_.isModifiable()) {
segmentIds_ = makeMutableCopy(segmentIds_);
}
bitField0_ |= 0x00000080;
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @return A list containing the segmentIds.
*/
public java.util.List<java.lang.Integer>
getSegmentIdsList() {
segmentIds_.makeImmutable();
return segmentIds_;
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @return The count of segmentIds.
*/
public int getSegmentIdsCount() {
return segmentIds_.size();
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @param index The index of the element to return.
* @return The segmentIds at the given index.
*/
public int getSegmentIds(int index) {
return segmentIds_.getInt(index);
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @param index The index to set the value at.
* @param value The segmentIds to set.
* @return This builder for chaining.
*/
public Builder setSegmentIds(
int index, int value) {
ensureSegmentIdsIsMutable();
segmentIds_.setInt(index, value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @param value The segmentIds to add.
* @return This builder for chaining.
*/
public Builder addSegmentIds(int value) {
ensureSegmentIdsIsMutable();
segmentIds_.addInt(value);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @param values The segmentIds to add.
* @return This builder for chaining.
*/
public Builder addAllSegmentIds(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureSegmentIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, segmentIds_);
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>repeated uint32 segment_ids = 8;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentIds() {
segmentIds_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList versions_ = emptyLongList();
private void ensureVersionsIsMutable() {
if (!versions_.isModifiable()) {
versions_ = makeMutableCopy(versions_);
}
bitField0_ |= 0x00000100;
}
/**
* <code>repeated int64 versions = 9;</code>
* @return A list containing the versions.
*/
public java.util.List<java.lang.Long>
getVersionsList() {
versions_.makeImmutable();
return versions_;
}
/**
* <code>repeated int64 versions = 9;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 9;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
/**
* <code>repeated int64 versions = 9;</code>
* @param index The index to set the value at.
* @param value The versions to set.
* @return This builder for chaining.
*/
public Builder setVersions(
int index, long value) {
ensureVersionsIsMutable();
versions_.setLong(index, value);
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 9;</code>
* @param value The versions to add.
* @return This builder for chaining.
*/
public Builder addVersions(long value) {
ensureVersionsIsMutable();
versions_.addLong(value);
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 9;</code>
* @param values The versions to add.
* @return This builder for chaining.
*/
public Builder addAllVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, versions_);
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 9;</code>
* @return This builder for chaining.
*/
public Builder clearVersions() {
versions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
private void ensureSegmentDeleteBitmapsIsMutable() {
if (!segmentDeleteBitmaps_.isModifiable()) {
segmentDeleteBitmaps_ = makeMutableCopy(segmentDeleteBitmaps_);
}
bitField0_ |= 0x00000200;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @return A list containing the segmentDeleteBitmaps.
*/
public java.util.List<com.google.protobuf.ByteString>
getSegmentDeleteBitmapsList() {
segmentDeleteBitmaps_.makeImmutable();
return segmentDeleteBitmaps_;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @return The count of segmentDeleteBitmaps.
*/
public int getSegmentDeleteBitmapsCount() {
return segmentDeleteBitmaps_.size();
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @param index The index of the element to return.
* @return The segmentDeleteBitmaps at the given index.
*/
public com.google.protobuf.ByteString getSegmentDeleteBitmaps(int index) {
return segmentDeleteBitmaps_.get(index);
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @param index The index to set the value at.
* @param value The segmentDeleteBitmaps to set.
* @return This builder for chaining.
*/
public Builder setSegmentDeleteBitmaps(
int index, com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.set(index, value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @param value The segmentDeleteBitmaps to add.
* @return This builder for chaining.
*/
public Builder addSegmentDeleteBitmaps(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.add(value);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @param values The segmentDeleteBitmaps to add.
* @return This builder for chaining.
*/
public Builder addAllSegmentDeleteBitmaps(
java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
ensureSegmentDeleteBitmapsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, segmentDeleteBitmaps_);
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 10;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentDeleteBitmaps() {
segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
private boolean withoutLock_ ;
/**
* <code>optional bool without_lock = 11;</code>
* @return Whether the withoutLock field is set.
*/
@java.lang.Override
public boolean hasWithoutLock() {
return ((bitField0_ & 0x00000400) != 0);
}
/**
* <code>optional bool without_lock = 11;</code>
* @return The withoutLock.
*/
@java.lang.Override
public boolean getWithoutLock() {
return withoutLock_;
}
/**
* <code>optional bool without_lock = 11;</code>
* @param value The withoutLock to set.
* @return This builder for chaining.
*/
public Builder setWithoutLock(boolean value) {
withoutLock_ = value;
bitField0_ |= 0x00000400;
onChanged();
return this;
}
/**
* <code>optional bool without_lock = 11;</code>
* @return This builder for chaining.
*/
public Builder clearWithoutLock() {
bitField0_ = (bitField0_ & ~0x00000400);
withoutLock_ = false;
onChanged();
return this;
}
private boolean isExplicitTxn_ ;
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @return Whether the isExplicitTxn field is set.
*/
@java.lang.Override
public boolean hasIsExplicitTxn() {
return ((bitField0_ & 0x00000800) != 0);
}
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @return The isExplicitTxn.
*/
@java.lang.Override
public boolean getIsExplicitTxn() {
return isExplicitTxn_;
}
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @param value The isExplicitTxn to set.
* @return This builder for chaining.
*/
public Builder setIsExplicitTxn(boolean value) {
isExplicitTxn_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* <pre>
* to determine whether this is in an explicit txn and whether it's the first sub txn
* </pre>
*
* <code>optional bool is_explicit_txn = 12;</code>
* @return This builder for chaining.
*/
public Builder clearIsExplicitTxn() {
bitField0_ = (bitField0_ & ~0x00000800);
isExplicitTxn_ = false;
onChanged();
return this;
}
private long txnId_ ;
/**
* <code>optional int64 txn_id = 13;</code>
* @return Whether the txnId field is set.
*/
@java.lang.Override
public boolean hasTxnId() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* <code>optional int64 txn_id = 13;</code>
* @return The txnId.
*/
@java.lang.Override
public long getTxnId() {
return txnId_;
}
/**
* <code>optional int64 txn_id = 13;</code>
* @param value The txnId to set.
* @return This builder for chaining.
*/
public Builder setTxnId(long value) {
txnId_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
/**
* <code>optional int64 txn_id = 13;</code>
* @return This builder for chaining.
*/
public Builder clearTxnId() {
bitField0_ = (bitField0_ & ~0x00001000);
txnId_ = 0L;
onChanged();
return this;
}
private long nextVisibleVersion_ ;
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @return Whether the nextVisibleVersion field is set.
*/
@java.lang.Override
public boolean hasNextVisibleVersion() {
return ((bitField0_ & 0x00002000) != 0);
}
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @return The nextVisibleVersion.
*/
@java.lang.Override
public long getNextVisibleVersion() {
return nextVisibleVersion_;
}
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @param value The nextVisibleVersion to set.
* @return This builder for chaining.
*/
public Builder setNextVisibleVersion(long value) {
nextVisibleVersion_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
/**
* <pre>
* for load txn only
* </pre>
*
* <code>optional int64 next_visible_version = 14;</code>
* @return This builder for chaining.
*/
public Builder clearNextVisibleVersion() {
bitField0_ = (bitField0_ & ~0x00002000);
nextVisibleVersion_ = 0L;
onChanged();
return this;
}
private long preRowsetAggStartVersion_ ;
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @return Whether the preRowsetAggStartVersion field is set.
*/
@java.lang.Override
public boolean hasPreRowsetAggStartVersion() {
return ((bitField0_ & 0x00004000) != 0);
}
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @return The preRowsetAggStartVersion.
*/
@java.lang.Override
public long getPreRowsetAggStartVersion() {
return preRowsetAggStartVersion_;
}
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @param value The preRowsetAggStartVersion to set.
* @return This builder for chaining.
*/
public Builder setPreRowsetAggStartVersion(long value) {
preRowsetAggStartVersion_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
/**
* <pre>
* remove delete_bitmap of pre rowsets since it is agged when compaction
* </pre>
*
* <code>optional int64 pre_rowset_agg_start_version = 15;</code>
* @return This builder for chaining.
*/
public Builder clearPreRowsetAggStartVersion() {
bitField0_ = (bitField0_ & ~0x00004000);
preRowsetAggStartVersion_ = 0L;
onChanged();
return this;
}
private long preRowsetAggEndVersion_ ;
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @return Whether the preRowsetAggEndVersion field is set.
*/
@java.lang.Override
public boolean hasPreRowsetAggEndVersion() {
return ((bitField0_ & 0x00008000) != 0);
}
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @return The preRowsetAggEndVersion.
*/
@java.lang.Override
public long getPreRowsetAggEndVersion() {
return preRowsetAggEndVersion_;
}
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @param value The preRowsetAggEndVersion to set.
* @return This builder for chaining.
*/
public Builder setPreRowsetAggEndVersion(long value) {
preRowsetAggEndVersion_ = value;
bitField0_ |= 0x00008000;
onChanged();
return this;
}
/**
* <code>optional int64 pre_rowset_agg_end_version = 16;</code>
* @return This builder for chaining.
*/
public Builder clearPreRowsetAggEndVersion() {
bitField0_ = (bitField0_ & ~0x00008000);
preRowsetAggEndVersion_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList preRowsetVersions_ = emptyLongList();
private void ensurePreRowsetVersionsIsMutable() {
if (!preRowsetVersions_.isModifiable()) {
preRowsetVersions_ = makeMutableCopy(preRowsetVersions_);
}
bitField0_ |= 0x00010000;
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @return A list containing the preRowsetVersions.
*/
public java.util.List<java.lang.Long>
getPreRowsetVersionsList() {
preRowsetVersions_.makeImmutable();
return preRowsetVersions_;
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @return The count of preRowsetVersions.
*/
public int getPreRowsetVersionsCount() {
return preRowsetVersions_.size();
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @param index The index of the element to return.
* @return The preRowsetVersions at the given index.
*/
public long getPreRowsetVersions(int index) {
return preRowsetVersions_.getLong(index);
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @param index The index to set the value at.
* @param value The preRowsetVersions to set.
* @return This builder for chaining.
*/
public Builder setPreRowsetVersions(
int index, long value) {
ensurePreRowsetVersionsIsMutable();
preRowsetVersions_.setLong(index, value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @param value The preRowsetVersions to add.
* @return This builder for chaining.
*/
public Builder addPreRowsetVersions(long value) {
ensurePreRowsetVersionsIsMutable();
preRowsetVersions_.addLong(value);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @param values The preRowsetVersions to add.
* @return This builder for chaining.
*/
public Builder addAllPreRowsetVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePreRowsetVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, preRowsetVersions_);
bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* <pre>
* when update delete_bitmap of pre rowsets, check the rowset exists
* </pre>
*
* <code>repeated int64 pre_rowset_versions = 17;</code>
* @return This builder for chaining.
*/
public Builder clearPreRowsetVersions() {
preRowsetVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00010000);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateDeleteBitmapRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateDeleteBitmapRequest)
private static final org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateDeleteBitmapRequest>
PARSER = new com.google.protobuf.AbstractParser<UpdateDeleteBitmapRequest>() {
@java.lang.Override
public UpdateDeleteBitmapRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateDeleteBitmapRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateDeleteBitmapRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpdateDeleteBitmapResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.UpdateDeleteBitmapResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.UpdateDeleteBitmapResponse}
*/
public static final class UpdateDeleteBitmapResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.UpdateDeleteBitmapResponse)
UpdateDeleteBitmapResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateDeleteBitmapResponse.newBuilder() to construct.
private UpdateDeleteBitmapResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private UpdateDeleteBitmapResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateDeleteBitmapResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse other = (org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.UpdateDeleteBitmapResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.UpdateDeleteBitmapResponse)
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse.class, org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_UpdateDeleteBitmapResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse build() {
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse result = new org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.UpdateDeleteBitmapResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.UpdateDeleteBitmapResponse)
private static final org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse();
}
public static org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<UpdateDeleteBitmapResponse>
PARSER = new com.google.protobuf.AbstractParser<UpdateDeleteBitmapResponse>() {
@java.lang.Override
public UpdateDeleteBitmapResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<UpdateDeleteBitmapResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<UpdateDeleteBitmapResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.UpdateDeleteBitmapResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDeleteBitmapRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetDeleteBitmapRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
long getTabletId();
/**
* <code>repeated string rowset_ids = 3;</code>
* @return A list containing the rowsetIds.
*/
java.util.List<java.lang.String>
getRowsetIdsList();
/**
* <code>repeated string rowset_ids = 3;</code>
* @return The count of rowsetIds.
*/
int getRowsetIdsCount();
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
java.lang.String getRowsetIds(int index);
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
com.google.protobuf.ByteString
getRowsetIdsBytes(int index);
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return A list containing the beginVersions.
*/
java.util.List<java.lang.Long> getBeginVersionsList();
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return The count of beginVersions.
*/
int getBeginVersionsCount();
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index of the element to return.
* @return The beginVersions at the given index.
*/
long getBeginVersions(int index);
/**
* <code>repeated int64 end_versions = 5;</code>
* @return A list containing the endVersions.
*/
java.util.List<java.lang.Long> getEndVersionsList();
/**
* <code>repeated int64 end_versions = 5;</code>
* @return The count of endVersions.
*/
int getEndVersionsCount();
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index of the element to return.
* @return The endVersions at the given index.
*/
long getEndVersions(int index);
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
* @return Whether the idx field is set.
*/
boolean hasIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
* @return The idx.
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx();
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder();
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return Whether the baseCompactionCnt field is set.
*/
boolean hasBaseCompactionCnt();
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return The baseCompactionCnt.
*/
long getBaseCompactionCnt();
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
boolean hasCumulativeCompactionCnt();
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return The cumulativeCompactionCnt.
*/
long getCumulativeCompactionCnt();
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return Whether the cumulativePoint field is set.
*/
boolean hasCumulativePoint();
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return The cumulativePoint.
*/
long getCumulativePoint();
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapRequest}
*/
public static final class GetDeleteBitmapRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetDeleteBitmapRequest)
GetDeleteBitmapRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDeleteBitmapRequest.newBuilder() to construct.
private GetDeleteBitmapRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetDeleteBitmapRequest() {
cloudUniqueId_ = "";
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
beginVersions_ = emptyLongList();
endVersions_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDeleteBitmapRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_ID_FIELD_NUMBER = 2;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
public static final int ROWSET_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string rowset_ids = 3;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
public static final int BEGIN_VERSIONS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList beginVersions_ =
emptyLongList();
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return A list containing the beginVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getBeginVersionsList() {
return beginVersions_;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return The count of beginVersions.
*/
public int getBeginVersionsCount() {
return beginVersions_.size();
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index of the element to return.
* @return The beginVersions at the given index.
*/
public long getBeginVersions(int index) {
return beginVersions_.getLong(index);
}
public static final int END_VERSIONS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList endVersions_ =
emptyLongList();
/**
* <code>repeated int64 end_versions = 5;</code>
* @return A list containing the endVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getEndVersionsList() {
return endVersions_;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return The count of endVersions.
*/
public int getEndVersionsCount() {
return endVersions_.size();
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index of the element to return.
* @return The endVersions at the given index.
*/
public long getEndVersions(int index) {
return endVersions_.getLong(index);
}
public static final int IDX_FIELD_NUMBER = 6;
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
* @return Whether the idx field is set.
*/
@java.lang.Override
public boolean hasIdx() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
* @return The idx.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
public static final int BASE_COMPACTION_CNT_FIELD_NUMBER = 7;
private long baseCompactionCnt_ = 0L;
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
public static final int CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER = 8;
private long cumulativeCompactionCnt_ = 0L;
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
public static final int CUMULATIVE_POINT_FIELD_NUMBER = 9;
private long cumulativePoint_ = 0L;
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return Whether the cumulativePoint field is set.
*/
@java.lang.Override
public boolean hasCumulativePoint() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return The cumulativePoint.
*/
@java.lang.Override
public long getCumulativePoint() {
return cumulativePoint_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tabletId_);
}
for (int i = 0; i < rowsetIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, rowsetIds_.getRaw(i));
}
for (int i = 0; i < beginVersions_.size(); i++) {
output.writeInt64(4, beginVersions_.getLong(i));
}
for (int i = 0; i < endVersions_.size(); i++) {
output.writeInt64(5, endVersions_.getLong(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(6, getIdx());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(7, baseCompactionCnt_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(8, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeInt64(9, cumulativePoint_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tabletId_);
}
{
int dataSize = 0;
for (int i = 0; i < rowsetIds_.size(); i++) {
dataSize += computeStringSizeNoTag(rowsetIds_.getRaw(i));
}
size += dataSize;
size += 1 * getRowsetIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < beginVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(beginVersions_.getLong(i));
}
size += dataSize;
size += 1 * getBeginVersionsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < endVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(endVersions_.getLong(i));
}
size += dataSize;
size += 1 * getEndVersionsList().size();
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getIdx());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(7, baseCompactionCnt_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(8, cumulativeCompactionCnt_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(9, cumulativePoint_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest other = (org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (!getRowsetIdsList()
.equals(other.getRowsetIdsList())) return false;
if (!getBeginVersionsList()
.equals(other.getBeginVersionsList())) return false;
if (!getEndVersionsList()
.equals(other.getEndVersionsList())) return false;
if (hasIdx() != other.hasIdx()) return false;
if (hasIdx()) {
if (!getIdx()
.equals(other.getIdx())) return false;
}
if (hasBaseCompactionCnt() != other.hasBaseCompactionCnt()) return false;
if (hasBaseCompactionCnt()) {
if (getBaseCompactionCnt()
!= other.getBaseCompactionCnt()) return false;
}
if (hasCumulativeCompactionCnt() != other.hasCumulativeCompactionCnt()) return false;
if (hasCumulativeCompactionCnt()) {
if (getCumulativeCompactionCnt()
!= other.getCumulativeCompactionCnt()) return false;
}
if (hasCumulativePoint() != other.hasCumulativePoint()) return false;
if (hasCumulativePoint()) {
if (getCumulativePoint()
!= other.getCumulativePoint()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
if (getRowsetIdsCount() > 0) {
hash = (37 * hash) + ROWSET_IDS_FIELD_NUMBER;
hash = (53 * hash) + getRowsetIdsList().hashCode();
}
if (getBeginVersionsCount() > 0) {
hash = (37 * hash) + BEGIN_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getBeginVersionsList().hashCode();
}
if (getEndVersionsCount() > 0) {
hash = (37 * hash) + END_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getEndVersionsList().hashCode();
}
if (hasIdx()) {
hash = (37 * hash) + IDX_FIELD_NUMBER;
hash = (53 * hash) + getIdx().hashCode();
}
if (hasBaseCompactionCnt()) {
hash = (37 * hash) + BASE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBaseCompactionCnt());
}
if (hasCumulativeCompactionCnt()) {
hash = (37 * hash) + CUMULATIVE_COMPACTION_CNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCumulativeCompactionCnt());
}
if (hasCumulativePoint()) {
hash = (37 * hash) + CUMULATIVE_POINT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getCumulativePoint());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetDeleteBitmapRequest)
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getIdxFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tabletId_ = 0L;
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
beginVersions_ = emptyLongList();
endVersions_ = emptyLongList();
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
baseCompactionCnt_ = 0L;
cumulativeCompactionCnt_ = 0L;
cumulativePoint_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest build() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest result = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
rowsetIds_.makeImmutable();
result.rowsetIds_ = rowsetIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
beginVersions_.makeImmutable();
result.beginVersions_ = beginVersions_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
endVersions_.makeImmutable();
result.endVersions_ = endVersions_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.idx_ = idxBuilder_ == null
? idx_
: idxBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.baseCompactionCnt_ = baseCompactionCnt_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.cumulativeCompactionCnt_ = cumulativeCompactionCnt_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.cumulativePoint_ = cumulativePoint_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
if (!other.rowsetIds_.isEmpty()) {
if (rowsetIds_.isEmpty()) {
rowsetIds_ = other.rowsetIds_;
bitField0_ |= 0x00000004;
} else {
ensureRowsetIdsIsMutable();
rowsetIds_.addAll(other.rowsetIds_);
}
onChanged();
}
if (!other.beginVersions_.isEmpty()) {
if (beginVersions_.isEmpty()) {
beginVersions_ = other.beginVersions_;
beginVersions_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureBeginVersionsIsMutable();
beginVersions_.addAll(other.beginVersions_);
}
onChanged();
}
if (!other.endVersions_.isEmpty()) {
if (endVersions_.isEmpty()) {
endVersions_ = other.endVersions_;
endVersions_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureEndVersionsIsMutable();
endVersions_.addAll(other.endVersions_);
}
onChanged();
}
if (other.hasIdx()) {
mergeIdx(other.getIdx());
}
if (other.hasBaseCompactionCnt()) {
setBaseCompactionCnt(other.getBaseCompactionCnt());
}
if (other.hasCumulativeCompactionCnt()) {
setCumulativeCompactionCnt(other.getCumulativeCompactionCnt());
}
if (other.hasCumulativePoint()) {
setCumulativePoint(other.getCumulativePoint());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureRowsetIdsIsMutable();
rowsetIds_.add(bs);
break;
} // case 26
case 32: {
long v = input.readInt64();
ensureBeginVersionsIsMutable();
beginVersions_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureBeginVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
beginVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
long v = input.readInt64();
ensureEndVersionsIsMutable();
endVersions_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureEndVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
endVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 42
case 50: {
input.readMessage(
getIdxFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
case 56: {
baseCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 56
case 64: {
cumulativeCompactionCnt_ = input.readInt64();
bitField0_ |= 0x00000080;
break;
} // case 64
case 72: {
cumulativePoint_ = input.readInt64();
bitField0_ |= 0x00000100;
break;
} // case 72
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000002);
tabletId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureRowsetIdsIsMutable() {
if (!rowsetIds_.isModifiable()) {
rowsetIds_ = new com.google.protobuf.LazyStringArrayList(rowsetIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
rowsetIds_.makeImmutable();
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index to set the value at.
* @param value The rowsetIds to set.
* @return This builder for chaining.
*/
public Builder setRowsetIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param value The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param values The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addAllRowsetIds(
java.lang.Iterable<java.lang.String> values) {
ensureRowsetIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rowsetIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearRowsetIds() {
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param value The bytes of the rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList beginVersions_ = emptyLongList();
private void ensureBeginVersionsIsMutable() {
if (!beginVersions_.isModifiable()) {
beginVersions_ = makeMutableCopy(beginVersions_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return A list containing the beginVersions.
*/
public java.util.List<java.lang.Long>
getBeginVersionsList() {
beginVersions_.makeImmutable();
return beginVersions_;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return The count of beginVersions.
*/
public int getBeginVersionsCount() {
return beginVersions_.size();
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index of the element to return.
* @return The beginVersions at the given index.
*/
public long getBeginVersions(int index) {
return beginVersions_.getLong(index);
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index to set the value at.
* @param value The beginVersions to set.
* @return This builder for chaining.
*/
public Builder setBeginVersions(
int index, long value) {
ensureBeginVersionsIsMutable();
beginVersions_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param value The beginVersions to add.
* @return This builder for chaining.
*/
public Builder addBeginVersions(long value) {
ensureBeginVersionsIsMutable();
beginVersions_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param values The beginVersions to add.
* @return This builder for chaining.
*/
public Builder addAllBeginVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureBeginVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beginVersions_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return This builder for chaining.
*/
public Builder clearBeginVersions() {
beginVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList endVersions_ = emptyLongList();
private void ensureEndVersionsIsMutable() {
if (!endVersions_.isModifiable()) {
endVersions_ = makeMutableCopy(endVersions_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return A list containing the endVersions.
*/
public java.util.List<java.lang.Long>
getEndVersionsList() {
endVersions_.makeImmutable();
return endVersions_;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return The count of endVersions.
*/
public int getEndVersionsCount() {
return endVersions_.size();
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index of the element to return.
* @return The endVersions at the given index.
*/
public long getEndVersions(int index) {
return endVersions_.getLong(index);
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index to set the value at.
* @param value The endVersions to set.
* @return This builder for chaining.
*/
public Builder setEndVersions(
int index, long value) {
ensureEndVersionsIsMutable();
endVersions_.setLong(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param value The endVersions to add.
* @return This builder for chaining.
*/
public Builder addEndVersions(long value) {
ensureEndVersionsIsMutable();
endVersions_.addLong(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param values The endVersions to add.
* @return This builder for chaining.
*/
public Builder addAllEndVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureEndVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, endVersions_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return This builder for chaining.
*/
public Builder clearEndVersions() {
endVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.TabletIndexPB idx_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> idxBuilder_;
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
* @return Whether the idx field is set.
*/
public boolean hasIdx() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
* @return The idx.
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getIdx() {
if (idxBuilder_ == null) {
return idx_ == null ? org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
} else {
return idxBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
public Builder setIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
idx_ = value;
} else {
idxBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
public Builder setIdx(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (idxBuilder_ == null) {
idx_ = builderForValue.build();
} else {
idxBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
public Builder mergeIdx(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (idxBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
idx_ != null &&
idx_ != org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance()) {
getIdxBuilder().mergeFrom(value);
} else {
idx_ = value;
}
} else {
idxBuilder_.mergeFrom(value);
}
if (idx_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
public Builder clearIdx() {
bitField0_ = (bitField0_ & ~0x00000020);
idx_ = null;
if (idxBuilder_ != null) {
idxBuilder_.dispose();
idxBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getIdxBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getIdxFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getIdxOrBuilder() {
if (idxBuilder_ != null) {
return idxBuilder_.getMessageOrBuilder();
} else {
return idx_ == null ?
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance() : idx_;
}
}
/**
* <code>optional .doris.cloud.TabletIndexPB idx = 6;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getIdxFieldBuilder() {
if (idxBuilder_ == null) {
idxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
getIdx(),
getParentForChildren(),
isClean());
idx_ = null;
}
return idxBuilder_;
}
private long baseCompactionCnt_ ;
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return Whether the baseCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasBaseCompactionCnt() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return The baseCompactionCnt.
*/
@java.lang.Override
public long getBaseCompactionCnt() {
return baseCompactionCnt_;
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @param value The baseCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setBaseCompactionCnt(long value) {
baseCompactionCnt_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional int64 base_compaction_cnt = 7;</code>
* @return This builder for chaining.
*/
public Builder clearBaseCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00000040);
baseCompactionCnt_ = 0L;
onChanged();
return this;
}
private long cumulativeCompactionCnt_ ;
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return Whether the cumulativeCompactionCnt field is set.
*/
@java.lang.Override
public boolean hasCumulativeCompactionCnt() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return The cumulativeCompactionCnt.
*/
@java.lang.Override
public long getCumulativeCompactionCnt() {
return cumulativeCompactionCnt_;
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @param value The cumulativeCompactionCnt to set.
* @return This builder for chaining.
*/
public Builder setCumulativeCompactionCnt(long value) {
cumulativeCompactionCnt_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* <code>optional int64 cumulative_compaction_cnt = 8;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativeCompactionCnt() {
bitField0_ = (bitField0_ & ~0x00000080);
cumulativeCompactionCnt_ = 0L;
onChanged();
return this;
}
private long cumulativePoint_ ;
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return Whether the cumulativePoint field is set.
*/
@java.lang.Override
public boolean hasCumulativePoint() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return The cumulativePoint.
*/
@java.lang.Override
public long getCumulativePoint() {
return cumulativePoint_;
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @param value The cumulativePoint to set.
* @return This builder for chaining.
*/
public Builder setCumulativePoint(long value) {
cumulativePoint_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* <code>optional int64 cumulative_point = 9;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativePoint() {
bitField0_ = (bitField0_ & ~0x00000100);
cumulativePoint_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetDeleteBitmapRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetDeleteBitmapRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetDeleteBitmapRequest>
PARSER = new com.google.protobuf.AbstractParser<GetDeleteBitmapRequest>() {
@java.lang.Override
public GetDeleteBitmapRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetDeleteBitmapRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetDeleteBitmapRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDeleteBitmapResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetDeleteBitmapResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated string rowset_ids = 2;</code>
* @return A list containing the rowsetIds.
*/
java.util.List<java.lang.String>
getRowsetIdsList();
/**
* <code>repeated string rowset_ids = 2;</code>
* @return The count of rowsetIds.
*/
int getRowsetIdsCount();
/**
* <code>repeated string rowset_ids = 2;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
java.lang.String getRowsetIds(int index);
/**
* <code>repeated string rowset_ids = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
com.google.protobuf.ByteString
getRowsetIdsBytes(int index);
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @return A list containing the segmentIds.
*/
java.util.List<java.lang.Integer> getSegmentIdsList();
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @return The count of segmentIds.
*/
int getSegmentIdsCount();
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @param index The index of the element to return.
* @return The segmentIds at the given index.
*/
int getSegmentIds(int index);
/**
* <code>repeated int64 versions = 4;</code>
* @return A list containing the versions.
*/
java.util.List<java.lang.Long> getVersionsList();
/**
* <code>repeated int64 versions = 4;</code>
* @return The count of versions.
*/
int getVersionsCount();
/**
* <code>repeated int64 versions = 4;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
long getVersions(int index);
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @return A list containing the segmentDeleteBitmaps.
*/
java.util.List<com.google.protobuf.ByteString> getSegmentDeleteBitmapsList();
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @return The count of segmentDeleteBitmaps.
*/
int getSegmentDeleteBitmapsCount();
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @param index The index of the element to return.
* @return The segmentDeleteBitmaps at the given index.
*/
com.google.protobuf.ByteString getSegmentDeleteBitmaps(int index);
/**
* <code>optional int64 tablet_id = 6;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 6;</code>
* @return The tabletId.
*/
long getTabletId();
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapResponse}
*/
public static final class GetDeleteBitmapResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetDeleteBitmapResponse)
GetDeleteBitmapResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDeleteBitmapResponse.newBuilder() to construct.
private GetDeleteBitmapResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetDeleteBitmapResponse() {
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
segmentIds_ = emptyIntList();
versions_ = emptyLongList();
segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDeleteBitmapResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int ROWSET_IDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string rowset_ids = 2;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
public static final int SEGMENT_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.IntList segmentIds_ =
emptyIntList();
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @return A list containing the segmentIds.
*/
@java.lang.Override
public java.util.List<java.lang.Integer>
getSegmentIdsList() {
return segmentIds_;
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @return The count of segmentIds.
*/
public int getSegmentIdsCount() {
return segmentIds_.size();
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @param index The index of the element to return.
* @return The segmentIds at the given index.
*/
public int getSegmentIds(int index) {
return segmentIds_.getInt(index);
}
public static final int VERSIONS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList versions_ =
emptyLongList();
/**
* <code>repeated int64 versions = 4;</code>
* @return A list containing the versions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getVersionsList() {
return versions_;
}
/**
* <code>repeated int64 versions = 4;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 4;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
public static final int SEGMENT_DELETE_BITMAPS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> segmentDeleteBitmaps_ =
emptyList(com.google.protobuf.ByteString.class);
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @return A list containing the segmentDeleteBitmaps.
*/
@java.lang.Override
public java.util.List<com.google.protobuf.ByteString>
getSegmentDeleteBitmapsList() {
return segmentDeleteBitmaps_;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @return The count of segmentDeleteBitmaps.
*/
public int getSegmentDeleteBitmapsCount() {
return segmentDeleteBitmaps_.size();
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @param index The index of the element to return.
* @return The segmentDeleteBitmaps at the given index.
*/
public com.google.protobuf.ByteString getSegmentDeleteBitmaps(int index) {
return segmentDeleteBitmaps_.get(index);
}
public static final int TABLET_ID_FIELD_NUMBER = 6;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 6;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 tablet_id = 6;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < rowsetIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, rowsetIds_.getRaw(i));
}
for (int i = 0; i < segmentIds_.size(); i++) {
output.writeUInt32(3, segmentIds_.getInt(i));
}
for (int i = 0; i < versions_.size(); i++) {
output.writeInt64(4, versions_.getLong(i));
}
for (int i = 0; i < segmentDeleteBitmaps_.size(); i++) {
output.writeBytes(5, segmentDeleteBitmaps_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(6, tabletId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
{
int dataSize = 0;
for (int i = 0; i < rowsetIds_.size(); i++) {
dataSize += computeStringSizeNoTag(rowsetIds_.getRaw(i));
}
size += dataSize;
size += 1 * getRowsetIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < segmentIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(segmentIds_.getInt(i));
}
size += dataSize;
size += 1 * getSegmentIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < versions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(versions_.getLong(i));
}
size += dataSize;
size += 1 * getVersionsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < segmentDeleteBitmaps_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(segmentDeleteBitmaps_.get(i));
}
size += dataSize;
size += 1 * getSegmentDeleteBitmapsList().size();
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, tabletId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse other = (org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getRowsetIdsList()
.equals(other.getRowsetIdsList())) return false;
if (!getSegmentIdsList()
.equals(other.getSegmentIdsList())) return false;
if (!getVersionsList()
.equals(other.getVersionsList())) return false;
if (!getSegmentDeleteBitmapsList()
.equals(other.getSegmentDeleteBitmapsList())) return false;
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getRowsetIdsCount() > 0) {
hash = (37 * hash) + ROWSET_IDS_FIELD_NUMBER;
hash = (53 * hash) + getRowsetIdsList().hashCode();
}
if (getSegmentIdsCount() > 0) {
hash = (37 * hash) + SEGMENT_IDS_FIELD_NUMBER;
hash = (53 * hash) + getSegmentIdsList().hashCode();
}
if (getVersionsCount() > 0) {
hash = (37 * hash) + VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getVersionsList().hashCode();
}
if (getSegmentDeleteBitmapsCount() > 0) {
hash = (37 * hash) + SEGMENT_DELETE_BITMAPS_FIELD_NUMBER;
hash = (53 * hash) + getSegmentDeleteBitmapsList().hashCode();
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetDeleteBitmapResponse)
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
segmentIds_ = emptyIntList();
versions_ = emptyLongList();
segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
tabletId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse build() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse result = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
rowsetIds_.makeImmutable();
result.rowsetIds_ = rowsetIds_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
segmentIds_.makeImmutable();
result.segmentIds_ = segmentIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
versions_.makeImmutable();
result.versions_ = versions_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
segmentDeleteBitmaps_.makeImmutable();
result.segmentDeleteBitmaps_ = segmentDeleteBitmaps_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (!other.rowsetIds_.isEmpty()) {
if (rowsetIds_.isEmpty()) {
rowsetIds_ = other.rowsetIds_;
bitField0_ |= 0x00000002;
} else {
ensureRowsetIdsIsMutable();
rowsetIds_.addAll(other.rowsetIds_);
}
onChanged();
}
if (!other.segmentIds_.isEmpty()) {
if (segmentIds_.isEmpty()) {
segmentIds_ = other.segmentIds_;
segmentIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureSegmentIdsIsMutable();
segmentIds_.addAll(other.segmentIds_);
}
onChanged();
}
if (!other.versions_.isEmpty()) {
if (versions_.isEmpty()) {
versions_ = other.versions_;
versions_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureVersionsIsMutable();
versions_.addAll(other.versions_);
}
onChanged();
}
if (!other.segmentDeleteBitmaps_.isEmpty()) {
if (segmentDeleteBitmaps_.isEmpty()) {
segmentDeleteBitmaps_ = other.segmentDeleteBitmaps_;
segmentDeleteBitmaps_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.addAll(other.segmentDeleteBitmaps_);
}
onChanged();
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureRowsetIdsIsMutable();
rowsetIds_.add(bs);
break;
} // case 18
case 24: {
int v = input.readUInt32();
ensureSegmentIdsIsMutable();
segmentIds_.addInt(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureSegmentIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
segmentIds_.addInt(input.readUInt32());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
long v = input.readInt64();
ensureVersionsIsMutable();
versions_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
versions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 42: {
com.google.protobuf.ByteString v = input.readBytes();
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.add(v);
break;
} // case 42
case 48: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureRowsetIdsIsMutable() {
if (!rowsetIds_.isModifiable()) {
rowsetIds_ = new com.google.protobuf.LazyStringArrayList(rowsetIds_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
rowsetIds_.makeImmutable();
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param index The index to set the value at.
* @param value The rowsetIds to set.
* @return This builder for chaining.
*/
public Builder setRowsetIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.set(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param value The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param values The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addAllRowsetIds(
java.lang.Iterable<java.lang.String> values) {
ensureRowsetIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rowsetIds_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @return This builder for chaining.
*/
public Builder clearRowsetIds() {
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 2;</code>
* @param value The bytes of the rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.Internal.IntList segmentIds_ = emptyIntList();
private void ensureSegmentIdsIsMutable() {
if (!segmentIds_.isModifiable()) {
segmentIds_ = makeMutableCopy(segmentIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @return A list containing the segmentIds.
*/
public java.util.List<java.lang.Integer>
getSegmentIdsList() {
segmentIds_.makeImmutable();
return segmentIds_;
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @return The count of segmentIds.
*/
public int getSegmentIdsCount() {
return segmentIds_.size();
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @param index The index of the element to return.
* @return The segmentIds at the given index.
*/
public int getSegmentIds(int index) {
return segmentIds_.getInt(index);
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @param index The index to set the value at.
* @param value The segmentIds to set.
* @return This builder for chaining.
*/
public Builder setSegmentIds(
int index, int value) {
ensureSegmentIdsIsMutable();
segmentIds_.setInt(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @param value The segmentIds to add.
* @return This builder for chaining.
*/
public Builder addSegmentIds(int value) {
ensureSegmentIdsIsMutable();
segmentIds_.addInt(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @param values The segmentIds to add.
* @return This builder for chaining.
*/
public Builder addAllSegmentIds(
java.lang.Iterable<? extends java.lang.Integer> values) {
ensureSegmentIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, segmentIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated uint32 segment_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentIds() {
segmentIds_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList versions_ = emptyLongList();
private void ensureVersionsIsMutable() {
if (!versions_.isModifiable()) {
versions_ = makeMutableCopy(versions_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 versions = 4;</code>
* @return A list containing the versions.
*/
public java.util.List<java.lang.Long>
getVersionsList() {
versions_.makeImmutable();
return versions_;
}
/**
* <code>repeated int64 versions = 4;</code>
* @return The count of versions.
*/
public int getVersionsCount() {
return versions_.size();
}
/**
* <code>repeated int64 versions = 4;</code>
* @param index The index of the element to return.
* @return The versions at the given index.
*/
public long getVersions(int index) {
return versions_.getLong(index);
}
/**
* <code>repeated int64 versions = 4;</code>
* @param index The index to set the value at.
* @param value The versions to set.
* @return This builder for chaining.
*/
public Builder setVersions(
int index, long value) {
ensureVersionsIsMutable();
versions_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 4;</code>
* @param value The versions to add.
* @return This builder for chaining.
*/
public Builder addVersions(long value) {
ensureVersionsIsMutable();
versions_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 4;</code>
* @param values The versions to add.
* @return This builder for chaining.
*/
public Builder addAllVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, versions_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 versions = 4;</code>
* @return This builder for chaining.
*/
public Builder clearVersions() {
versions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
private void ensureSegmentDeleteBitmapsIsMutable() {
if (!segmentDeleteBitmaps_.isModifiable()) {
segmentDeleteBitmaps_ = makeMutableCopy(segmentDeleteBitmaps_);
}
bitField0_ |= 0x00000010;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @return A list containing the segmentDeleteBitmaps.
*/
public java.util.List<com.google.protobuf.ByteString>
getSegmentDeleteBitmapsList() {
segmentDeleteBitmaps_.makeImmutable();
return segmentDeleteBitmaps_;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @return The count of segmentDeleteBitmaps.
*/
public int getSegmentDeleteBitmapsCount() {
return segmentDeleteBitmaps_.size();
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @param index The index of the element to return.
* @return The segmentDeleteBitmaps at the given index.
*/
public com.google.protobuf.ByteString getSegmentDeleteBitmaps(int index) {
return segmentDeleteBitmaps_.get(index);
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @param index The index to set the value at.
* @param value The segmentDeleteBitmaps to set.
* @return This builder for chaining.
*/
public Builder setSegmentDeleteBitmaps(
int index, com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.set(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @param value The segmentDeleteBitmaps to add.
* @return This builder for chaining.
*/
public Builder addSegmentDeleteBitmaps(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureSegmentDeleteBitmapsIsMutable();
segmentDeleteBitmaps_.add(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @param values The segmentDeleteBitmaps to add.
* @return This builder for chaining.
*/
public Builder addAllSegmentDeleteBitmaps(
java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
ensureSegmentDeleteBitmapsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, segmentDeleteBitmaps_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <pre>
* Serialized roaring bitmaps indexed with {rowset_id, segment_id, version}
* </pre>
*
* <code>repeated bytes segment_delete_bitmaps = 5;</code>
* @return This builder for chaining.
*/
public Builder clearSegmentDeleteBitmaps() {
segmentDeleteBitmaps_ = emptyList(com.google.protobuf.ByteString.class);
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 6;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 tablet_id = 6;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 6;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 6;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000020);
tabletId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetDeleteBitmapResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetDeleteBitmapResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetDeleteBitmapResponse>
PARSER = new com.google.protobuf.AbstractParser<GetDeleteBitmapResponse>() {
@java.lang.Override
public GetDeleteBitmapResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetDeleteBitmapResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetDeleteBitmapResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RemoveDeleteBitmapRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RemoveDeleteBitmapRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
long getTabletId();
/**
* <code>repeated string rowset_ids = 3;</code>
* @return A list containing the rowsetIds.
*/
java.util.List<java.lang.String>
getRowsetIdsList();
/**
* <code>repeated string rowset_ids = 3;</code>
* @return The count of rowsetIds.
*/
int getRowsetIdsCount();
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
java.lang.String getRowsetIds(int index);
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
com.google.protobuf.ByteString
getRowsetIdsBytes(int index);
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return A list containing the beginVersions.
*/
java.util.List<java.lang.Long> getBeginVersionsList();
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return The count of beginVersions.
*/
int getBeginVersionsCount();
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index of the element to return.
* @return The beginVersions at the given index.
*/
long getBeginVersions(int index);
/**
* <code>repeated int64 end_versions = 5;</code>
* @return A list containing the endVersions.
*/
java.util.List<java.lang.Long> getEndVersionsList();
/**
* <code>repeated int64 end_versions = 5;</code>
* @return The count of endVersions.
*/
int getEndVersionsCount();
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index of the element to return.
* @return The endVersions at the given index.
*/
long getEndVersions(int index);
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapRequest}
*/
public static final class RemoveDeleteBitmapRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RemoveDeleteBitmapRequest)
RemoveDeleteBitmapRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveDeleteBitmapRequest.newBuilder() to construct.
private RemoveDeleteBitmapRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RemoveDeleteBitmapRequest() {
cloudUniqueId_ = "";
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
beginVersions_ = emptyLongList();
endVersions_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveDeleteBitmapRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLET_ID_FIELD_NUMBER = 2;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
public static final int ROWSET_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* <code>repeated string rowset_ids = 3;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
public static final int BEGIN_VERSIONS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList beginVersions_ =
emptyLongList();
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return A list containing the beginVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getBeginVersionsList() {
return beginVersions_;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return The count of beginVersions.
*/
public int getBeginVersionsCount() {
return beginVersions_.size();
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index of the element to return.
* @return The beginVersions at the given index.
*/
public long getBeginVersions(int index) {
return beginVersions_.getLong(index);
}
public static final int END_VERSIONS_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList endVersions_ =
emptyLongList();
/**
* <code>repeated int64 end_versions = 5;</code>
* @return A list containing the endVersions.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getEndVersionsList() {
return endVersions_;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return The count of endVersions.
*/
public int getEndVersionsCount() {
return endVersions_.size();
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index of the element to return.
* @return The endVersions at the given index.
*/
public long getEndVersions(int index) {
return endVersions_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tabletId_);
}
for (int i = 0; i < rowsetIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, rowsetIds_.getRaw(i));
}
for (int i = 0; i < beginVersions_.size(); i++) {
output.writeInt64(4, beginVersions_.getLong(i));
}
for (int i = 0; i < endVersions_.size(); i++) {
output.writeInt64(5, endVersions_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tabletId_);
}
{
int dataSize = 0;
for (int i = 0; i < rowsetIds_.size(); i++) {
dataSize += computeStringSizeNoTag(rowsetIds_.getRaw(i));
}
size += dataSize;
size += 1 * getRowsetIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < beginVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(beginVersions_.getLong(i));
}
size += dataSize;
size += 1 * getBeginVersionsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < endVersions_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(endVersions_.getLong(i));
}
size += dataSize;
size += 1 * getEndVersionsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest other = (org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (!getRowsetIdsList()
.equals(other.getRowsetIdsList())) return false;
if (!getBeginVersionsList()
.equals(other.getBeginVersionsList())) return false;
if (!getEndVersionsList()
.equals(other.getEndVersionsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
if (getRowsetIdsCount() > 0) {
hash = (37 * hash) + ROWSET_IDS_FIELD_NUMBER;
hash = (53 * hash) + getRowsetIdsList().hashCode();
}
if (getBeginVersionsCount() > 0) {
hash = (37 * hash) + BEGIN_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getBeginVersionsList().hashCode();
}
if (getEndVersionsCount() > 0) {
hash = (37 * hash) + END_VERSIONS_FIELD_NUMBER;
hash = (53 * hash) + getEndVersionsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RemoveDeleteBitmapRequest)
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tabletId_ = 0L;
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
beginVersions_ = emptyLongList();
endVersions_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest build() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest result = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
rowsetIds_.makeImmutable();
result.rowsetIds_ = rowsetIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
beginVersions_.makeImmutable();
result.beginVersions_ = beginVersions_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
endVersions_.makeImmutable();
result.endVersions_ = endVersions_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
if (!other.rowsetIds_.isEmpty()) {
if (rowsetIds_.isEmpty()) {
rowsetIds_ = other.rowsetIds_;
bitField0_ |= 0x00000004;
} else {
ensureRowsetIdsIsMutable();
rowsetIds_.addAll(other.rowsetIds_);
}
onChanged();
}
if (!other.beginVersions_.isEmpty()) {
if (beginVersions_.isEmpty()) {
beginVersions_ = other.beginVersions_;
beginVersions_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureBeginVersionsIsMutable();
beginVersions_.addAll(other.beginVersions_);
}
onChanged();
}
if (!other.endVersions_.isEmpty()) {
if (endVersions_.isEmpty()) {
endVersions_ = other.endVersions_;
endVersions_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureEndVersionsIsMutable();
endVersions_.addAll(other.endVersions_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 26: {
com.google.protobuf.ByteString bs = input.readBytes();
ensureRowsetIdsIsMutable();
rowsetIds_.add(bs);
break;
} // case 26
case 32: {
long v = input.readInt64();
ensureBeginVersionsIsMutable();
beginVersions_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureBeginVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
beginVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
long v = input.readInt64();
ensureEndVersionsIsMutable();
endVersions_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureEndVersionsIsMutable();
while (input.getBytesUntilLimit() > 0) {
endVersions_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 2;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000002);
tabletId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureRowsetIdsIsMutable() {
if (!rowsetIds_.isModifiable()) {
rowsetIds_ = new com.google.protobuf.LazyStringArrayList(rowsetIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return A list containing the rowsetIds.
*/
public com.google.protobuf.ProtocolStringList
getRowsetIdsList() {
rowsetIds_.makeImmutable();
return rowsetIds_;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return The count of rowsetIds.
*/
public int getRowsetIdsCount() {
return rowsetIds_.size();
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the element to return.
* @return The rowsetIds at the given index.
*/
public java.lang.String getRowsetIds(int index) {
return rowsetIds_.get(index);
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index of the value to return.
* @return The bytes of the rowsetIds at the given index.
*/
public com.google.protobuf.ByteString
getRowsetIdsBytes(int index) {
return rowsetIds_.getByteString(index);
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param index The index to set the value at.
* @param value The rowsetIds to set.
* @return This builder for chaining.
*/
public Builder setRowsetIds(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param value The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIds(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param values The rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addAllRowsetIds(
java.lang.Iterable<java.lang.String> values) {
ensureRowsetIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rowsetIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearRowsetIds() {
rowsetIds_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);;
onChanged();
return this;
}
/**
* <code>repeated string rowset_ids = 3;</code>
* @param value The bytes of the rowsetIds to add.
* @return This builder for chaining.
*/
public Builder addRowsetIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureRowsetIdsIsMutable();
rowsetIds_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList beginVersions_ = emptyLongList();
private void ensureBeginVersionsIsMutable() {
if (!beginVersions_.isModifiable()) {
beginVersions_ = makeMutableCopy(beginVersions_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return A list containing the beginVersions.
*/
public java.util.List<java.lang.Long>
getBeginVersionsList() {
beginVersions_.makeImmutable();
return beginVersions_;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return The count of beginVersions.
*/
public int getBeginVersionsCount() {
return beginVersions_.size();
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index of the element to return.
* @return The beginVersions at the given index.
*/
public long getBeginVersions(int index) {
return beginVersions_.getLong(index);
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param index The index to set the value at.
* @param value The beginVersions to set.
* @return This builder for chaining.
*/
public Builder setBeginVersions(
int index, long value) {
ensureBeginVersionsIsMutable();
beginVersions_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param value The beginVersions to add.
* @return This builder for chaining.
*/
public Builder addBeginVersions(long value) {
ensureBeginVersionsIsMutable();
beginVersions_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @param values The beginVersions to add.
* @return This builder for chaining.
*/
public Builder addAllBeginVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureBeginVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beginVersions_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 begin_versions = 4;</code>
* @return This builder for chaining.
*/
public Builder clearBeginVersions() {
beginVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList endVersions_ = emptyLongList();
private void ensureEndVersionsIsMutable() {
if (!endVersions_.isModifiable()) {
endVersions_ = makeMutableCopy(endVersions_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return A list containing the endVersions.
*/
public java.util.List<java.lang.Long>
getEndVersionsList() {
endVersions_.makeImmutable();
return endVersions_;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return The count of endVersions.
*/
public int getEndVersionsCount() {
return endVersions_.size();
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index of the element to return.
* @return The endVersions at the given index.
*/
public long getEndVersions(int index) {
return endVersions_.getLong(index);
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param index The index to set the value at.
* @param value The endVersions to set.
* @return This builder for chaining.
*/
public Builder setEndVersions(
int index, long value) {
ensureEndVersionsIsMutable();
endVersions_.setLong(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param value The endVersions to add.
* @return This builder for chaining.
*/
public Builder addEndVersions(long value) {
ensureEndVersionsIsMutable();
endVersions_.addLong(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @param values The endVersions to add.
* @return This builder for chaining.
*/
public Builder addAllEndVersions(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureEndVersionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, endVersions_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 end_versions = 5;</code>
* @return This builder for chaining.
*/
public Builder clearEndVersions() {
endVersions_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RemoveDeleteBitmapRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RemoveDeleteBitmapRequest)
private static final org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest();
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RemoveDeleteBitmapRequest>
PARSER = new com.google.protobuf.AbstractParser<RemoveDeleteBitmapRequest>() {
@java.lang.Override
public RemoveDeleteBitmapRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RemoveDeleteBitmapRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RemoveDeleteBitmapRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RemoveDeleteBitmapResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RemoveDeleteBitmapResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapResponse}
*/
public static final class RemoveDeleteBitmapResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RemoveDeleteBitmapResponse)
RemoveDeleteBitmapResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveDeleteBitmapResponse.newBuilder() to construct.
private RemoveDeleteBitmapResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RemoveDeleteBitmapResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveDeleteBitmapResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse other = (org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RemoveDeleteBitmapResponse)
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse build() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse result = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RemoveDeleteBitmapResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RemoveDeleteBitmapResponse)
private static final org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse();
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RemoveDeleteBitmapResponse>
PARSER = new com.google.protobuf.AbstractParser<RemoveDeleteBitmapResponse>() {
@java.lang.Override
public RemoveDeleteBitmapResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RemoveDeleteBitmapResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RemoveDeleteBitmapResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PendingDeleteBitmapPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.PendingDeleteBitmapPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @return A list containing the deleteBitmapKeys.
*/
java.util.List<com.google.protobuf.ByteString> getDeleteBitmapKeysList();
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @return The count of deleteBitmapKeys.
*/
int getDeleteBitmapKeysCount();
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @param index The index of the element to return.
* @return The deleteBitmapKeys at the given index.
*/
com.google.protobuf.ByteString getDeleteBitmapKeys(int index);
}
/**
* Protobuf type {@code doris.cloud.PendingDeleteBitmapPB}
*/
public static final class PendingDeleteBitmapPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.PendingDeleteBitmapPB)
PendingDeleteBitmapPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use PendingDeleteBitmapPB.newBuilder() to construct.
private PendingDeleteBitmapPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private PendingDeleteBitmapPB() {
deleteBitmapKeys_ = emptyList(com.google.protobuf.ByteString.class);
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new PendingDeleteBitmapPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PendingDeleteBitmapPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PendingDeleteBitmapPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB.class, org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB.Builder.class);
}
public static final int DELETE_BITMAP_KEYS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> deleteBitmapKeys_ =
emptyList(com.google.protobuf.ByteString.class);
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @return A list containing the deleteBitmapKeys.
*/
@java.lang.Override
public java.util.List<com.google.protobuf.ByteString>
getDeleteBitmapKeysList() {
return deleteBitmapKeys_;
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @return The count of deleteBitmapKeys.
*/
public int getDeleteBitmapKeysCount() {
return deleteBitmapKeys_.size();
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @param index The index of the element to return.
* @return The deleteBitmapKeys at the given index.
*/
public com.google.protobuf.ByteString getDeleteBitmapKeys(int index) {
return deleteBitmapKeys_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < deleteBitmapKeys_.size(); i++) {
output.writeBytes(1, deleteBitmapKeys_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < deleteBitmapKeys_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(deleteBitmapKeys_.get(i));
}
size += dataSize;
size += 1 * getDeleteBitmapKeysList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB other = (org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB) obj;
if (!getDeleteBitmapKeysList()
.equals(other.getDeleteBitmapKeysList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDeleteBitmapKeysCount() > 0) {
hash = (37 * hash) + DELETE_BITMAP_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getDeleteBitmapKeysList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.PendingDeleteBitmapPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.PendingDeleteBitmapPB)
org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PendingDeleteBitmapPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PendingDeleteBitmapPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB.class, org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
deleteBitmapKeys_ = emptyList(com.google.protobuf.ByteString.class);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_PendingDeleteBitmapPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB build() {
org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB result = new org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
deleteBitmapKeys_.makeImmutable();
result.deleteBitmapKeys_ = deleteBitmapKeys_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB.getDefaultInstance()) return this;
if (!other.deleteBitmapKeys_.isEmpty()) {
if (deleteBitmapKeys_.isEmpty()) {
deleteBitmapKeys_ = other.deleteBitmapKeys_;
deleteBitmapKeys_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureDeleteBitmapKeysIsMutable();
deleteBitmapKeys_.addAll(other.deleteBitmapKeys_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.google.protobuf.ByteString v = input.readBytes();
ensureDeleteBitmapKeysIsMutable();
deleteBitmapKeys_.add(v);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.ProtobufList<com.google.protobuf.ByteString> deleteBitmapKeys_ = emptyList(com.google.protobuf.ByteString.class);
private void ensureDeleteBitmapKeysIsMutable() {
if (!deleteBitmapKeys_.isModifiable()) {
deleteBitmapKeys_ = makeMutableCopy(deleteBitmapKeys_);
}
bitField0_ |= 0x00000001;
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @return A list containing the deleteBitmapKeys.
*/
public java.util.List<com.google.protobuf.ByteString>
getDeleteBitmapKeysList() {
deleteBitmapKeys_.makeImmutable();
return deleteBitmapKeys_;
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @return The count of deleteBitmapKeys.
*/
public int getDeleteBitmapKeysCount() {
return deleteBitmapKeys_.size();
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @param index The index of the element to return.
* @return The deleteBitmapKeys at the given index.
*/
public com.google.protobuf.ByteString getDeleteBitmapKeys(int index) {
return deleteBitmapKeys_.get(index);
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @param index The index to set the value at.
* @param value The deleteBitmapKeys to set.
* @return This builder for chaining.
*/
public Builder setDeleteBitmapKeys(
int index, com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureDeleteBitmapKeysIsMutable();
deleteBitmapKeys_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @param value The deleteBitmapKeys to add.
* @return This builder for chaining.
*/
public Builder addDeleteBitmapKeys(com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
ensureDeleteBitmapKeysIsMutable();
deleteBitmapKeys_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @param values The deleteBitmapKeys to add.
* @return This builder for chaining.
*/
public Builder addAllDeleteBitmapKeys(
java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
ensureDeleteBitmapKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deleteBitmapKeys_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated bytes delete_bitmap_keys = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDeleteBitmapKeys() {
deleteBitmapKeys_ = emptyList(com.google.protobuf.ByteString.class);
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.PendingDeleteBitmapPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.PendingDeleteBitmapPB)
private static final org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB();
}
public static org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<PendingDeleteBitmapPB>
PARSER = new com.google.protobuf.AbstractParser<PendingDeleteBitmapPB>() {
@java.lang.Override
public PendingDeleteBitmapPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<PendingDeleteBitmapPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<PendingDeleteBitmapPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.PendingDeleteBitmapPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteBitmapUpdateLockPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.DeleteBitmapUpdateLockPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 lock_id = 1;</code>
* @return Whether the lockId field is set.
*/
boolean hasLockId();
/**
* <code>optional int64 lock_id = 1;</code>
* @return The lockId.
*/
long getLockId();
/**
* <code>optional int64 expiration = 2;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <code>optional int64 expiration = 2;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <code>repeated int64 initiators = 3;</code>
* @return A list containing the initiators.
*/
java.util.List<java.lang.Long> getInitiatorsList();
/**
* <code>repeated int64 initiators = 3;</code>
* @return The count of initiators.
*/
int getInitiatorsCount();
/**
* <code>repeated int64 initiators = 3;</code>
* @param index The index of the element to return.
* @return The initiators at the given index.
*/
long getInitiators(int index);
}
/**
* Protobuf type {@code doris.cloud.DeleteBitmapUpdateLockPB}
*/
public static final class DeleteBitmapUpdateLockPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.DeleteBitmapUpdateLockPB)
DeleteBitmapUpdateLockPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteBitmapUpdateLockPB.newBuilder() to construct.
private DeleteBitmapUpdateLockPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private DeleteBitmapUpdateLockPB() {
initiators_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeleteBitmapUpdateLockPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DeleteBitmapUpdateLockPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DeleteBitmapUpdateLockPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB.class, org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB.Builder.class);
}
private int bitField0_;
public static final int LOCK_ID_FIELD_NUMBER = 1;
private long lockId_ = 0L;
/**
* <code>optional int64 lock_id = 1;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 lock_id = 1;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
public static final int EXPIRATION_FIELD_NUMBER = 2;
private long expiration_ = 0L;
/**
* <code>optional int64 expiration = 2;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 expiration = 2;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int INITIATORS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList initiators_ =
emptyLongList();
/**
* <code>repeated int64 initiators = 3;</code>
* @return A list containing the initiators.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getInitiatorsList() {
return initiators_;
}
/**
* <code>repeated int64 initiators = 3;</code>
* @return The count of initiators.
*/
public int getInitiatorsCount() {
return initiators_.size();
}
/**
* <code>repeated int64 initiators = 3;</code>
* @param index The index of the element to return.
* @return The initiators at the given index.
*/
public long getInitiators(int index) {
return initiators_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, lockId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, expiration_);
}
for (int i = 0; i < initiators_.size(); i++) {
output.writeInt64(3, initiators_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, lockId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, expiration_);
}
{
int dataSize = 0;
for (int i = 0; i < initiators_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(initiators_.getLong(i));
}
size += dataSize;
size += 1 * getInitiatorsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB other = (org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB) obj;
if (hasLockId() != other.hasLockId()) return false;
if (hasLockId()) {
if (getLockId()
!= other.getLockId()) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (!getInitiatorsList()
.equals(other.getInitiatorsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLockId()) {
hash = (37 * hash) + LOCK_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLockId());
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (getInitiatorsCount() > 0) {
hash = (37 * hash) + INITIATORS_FIELD_NUMBER;
hash = (53 * hash) + getInitiatorsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.DeleteBitmapUpdateLockPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.DeleteBitmapUpdateLockPB)
org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DeleteBitmapUpdateLockPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DeleteBitmapUpdateLockPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB.class, org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
lockId_ = 0L;
expiration_ = 0L;
initiators_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_DeleteBitmapUpdateLockPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB build() {
org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB result = new org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.lockId_ = lockId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
initiators_.makeImmutable();
result.initiators_ = initiators_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB.getDefaultInstance()) return this;
if (other.hasLockId()) {
setLockId(other.getLockId());
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (!other.initiators_.isEmpty()) {
if (initiators_.isEmpty()) {
initiators_ = other.initiators_;
initiators_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureInitiatorsIsMutable();
initiators_.addAll(other.initiators_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
lockId_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
long v = input.readInt64();
ensureInitiatorsIsMutable();
initiators_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureInitiatorsIsMutable();
while (input.getBytesUntilLimit() > 0) {
initiators_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long lockId_ ;
/**
* <code>optional int64 lock_id = 1;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 lock_id = 1;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
/**
* <code>optional int64 lock_id = 1;</code>
* @param value The lockId to set.
* @return This builder for chaining.
*/
public Builder setLockId(long value) {
lockId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 lock_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearLockId() {
bitField0_ = (bitField0_ & ~0x00000001);
lockId_ = 0L;
onChanged();
return this;
}
private long expiration_ ;
/**
* <code>optional int64 expiration = 2;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 expiration = 2;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <code>optional int64 expiration = 2;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 expiration = 2;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000002);
expiration_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList initiators_ = emptyLongList();
private void ensureInitiatorsIsMutable() {
if (!initiators_.isModifiable()) {
initiators_ = makeMutableCopy(initiators_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated int64 initiators = 3;</code>
* @return A list containing the initiators.
*/
public java.util.List<java.lang.Long>
getInitiatorsList() {
initiators_.makeImmutable();
return initiators_;
}
/**
* <code>repeated int64 initiators = 3;</code>
* @return The count of initiators.
*/
public int getInitiatorsCount() {
return initiators_.size();
}
/**
* <code>repeated int64 initiators = 3;</code>
* @param index The index of the element to return.
* @return The initiators at the given index.
*/
public long getInitiators(int index) {
return initiators_.getLong(index);
}
/**
* <code>repeated int64 initiators = 3;</code>
* @param index The index to set the value at.
* @param value The initiators to set.
* @return This builder for chaining.
*/
public Builder setInitiators(
int index, long value) {
ensureInitiatorsIsMutable();
initiators_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 initiators = 3;</code>
* @param value The initiators to add.
* @return This builder for chaining.
*/
public Builder addInitiators(long value) {
ensureInitiatorsIsMutable();
initiators_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 initiators = 3;</code>
* @param values The initiators to add.
* @return This builder for chaining.
*/
public Builder addAllInitiators(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureInitiatorsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, initiators_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 initiators = 3;</code>
* @return This builder for chaining.
*/
public Builder clearInitiators() {
initiators_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.DeleteBitmapUpdateLockPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.DeleteBitmapUpdateLockPB)
private static final org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB();
}
public static org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<DeleteBitmapUpdateLockPB>
PARSER = new com.google.protobuf.AbstractParser<DeleteBitmapUpdateLockPB>() {
@java.lang.Override
public DeleteBitmapUpdateLockPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<DeleteBitmapUpdateLockPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<DeleteBitmapUpdateLockPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.DeleteBitmapUpdateLockPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MowTabletCompactionPBOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.MowTabletCompactionPB)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional int64 expiration = 1;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <code>optional int64 expiration = 1;</code>
* @return The expiration.
*/
long getExpiration();
}
/**
* Protobuf type {@code doris.cloud.MowTabletCompactionPB}
*/
public static final class MowTabletCompactionPB extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.MowTabletCompactionPB)
MowTabletCompactionPBOrBuilder {
private static final long serialVersionUID = 0L;
// Use MowTabletCompactionPB.newBuilder() to construct.
private MowTabletCompactionPB(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private MowTabletCompactionPB() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MowTabletCompactionPB();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MowTabletCompactionPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MowTabletCompactionPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB.class, org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB.Builder.class);
}
private int bitField0_;
public static final int EXPIRATION_FIELD_NUMBER = 1;
private long expiration_ = 0L;
/**
* <code>optional int64 expiration = 1;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 expiration = 1;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, expiration_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, expiration_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB other = (org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB) obj;
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.MowTabletCompactionPB}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.MowTabletCompactionPB)
org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPBOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MowTabletCompactionPB_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MowTabletCompactionPB_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB.class, org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
expiration_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_MowTabletCompactionPB_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB build() {
org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB buildPartial() {
org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB result = new org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB other) {
if (other == org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB.getDefaultInstance()) return this;
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private long expiration_ ;
/**
* <code>optional int64 expiration = 1;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional int64 expiration = 1;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <code>optional int64 expiration = 1;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional int64 expiration = 1;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000001);
expiration_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.MowTabletCompactionPB)
}
// @@protoc_insertion_point(class_scope:doris.cloud.MowTabletCompactionPB)
private static final org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB();
}
public static org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<MowTabletCompactionPB>
PARSER = new com.google.protobuf.AbstractParser<MowTabletCompactionPB>() {
@java.lang.Override
public MowTabletCompactionPB parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<MowTabletCompactionPB> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<MowTabletCompactionPB> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MowTabletCompactionPB getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDeleteBitmapUpdateLockRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetDeleteBitmapUpdateLockRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>repeated int64 partition_ids = 3;</code>
* @return A list containing the partitionIds.
*/
java.util.List<java.lang.Long> getPartitionIdsList();
/**
* <code>repeated int64 partition_ids = 3;</code>
* @return The count of partitionIds.
*/
int getPartitionIdsCount();
/**
* <code>repeated int64 partition_ids = 3;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
long getPartitionIds(int index);
/**
* <code>optional int64 lock_id = 4;</code>
* @return Whether the lockId field is set.
*/
boolean hasLockId();
/**
* <code>optional int64 lock_id = 4;</code>
* @return The lockId.
*/
long getLockId();
/**
* <code>optional int64 initiator = 5;</code>
* @return Whether the initiator field is set.
*/
boolean hasInitiator();
/**
* <code>optional int64 initiator = 5;</code>
* @return The initiator.
*/
long getInitiator();
/**
* <code>optional int64 expiration = 6;</code>
* @return Whether the expiration field is set.
*/
boolean hasExpiration();
/**
* <code>optional int64 expiration = 6;</code>
* @return The expiration.
*/
long getExpiration();
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @return Whether the requireCompactionStats field is set.
*/
boolean hasRequireCompactionStats();
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @return The requireCompactionStats.
*/
boolean getRequireCompactionStats();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB>
getTabletIndexesList();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIndexes(int index);
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
int getTabletIndexesCount();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIndexesOrBuilderList();
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIndexesOrBuilder(
int index);
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapUpdateLockRequest}
*/
public static final class GetDeleteBitmapUpdateLockRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetDeleteBitmapUpdateLockRequest)
GetDeleteBitmapUpdateLockRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDeleteBitmapUpdateLockRequest.newBuilder() to construct.
private GetDeleteBitmapUpdateLockRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetDeleteBitmapUpdateLockRequest() {
cloudUniqueId_ = "";
partitionIds_ = emptyLongList();
tabletIndexes_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDeleteBitmapUpdateLockRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLE_ID_FIELD_NUMBER = 2;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int PARTITION_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList partitionIds_ =
emptyLongList();
/**
* <code>repeated int64 partition_ids = 3;</code>
* @return A list containing the partitionIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPartitionIdsList() {
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
public static final int LOCK_ID_FIELD_NUMBER = 4;
private long lockId_ = 0L;
/**
* <code>optional int64 lock_id = 4;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 lock_id = 4;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
public static final int INITIATOR_FIELD_NUMBER = 5;
private long initiator_ = 0L;
/**
* <code>optional int64 initiator = 5;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 initiator = 5;</code>
* @return The initiator.
*/
@java.lang.Override
public long getInitiator() {
return initiator_;
}
public static final int EXPIRATION_FIELD_NUMBER = 6;
private long expiration_ = 0L;
/**
* <code>optional int64 expiration = 6;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 expiration = 6;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
public static final int REQUIRE_COMPACTION_STATS_FIELD_NUMBER = 7;
private boolean requireCompactionStats_ = false;
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @return Whether the requireCompactionStats field is set.
*/
@java.lang.Override
public boolean hasRequireCompactionStats() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @return The requireCompactionStats.
*/
@java.lang.Override
public boolean getRequireCompactionStats() {
return requireCompactionStats_;
}
public static final int TABLET_INDEXES_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> tabletIndexes_;
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
@java.lang.Override
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> getTabletIndexesList() {
return tabletIndexes_;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
@java.lang.Override
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIndexesOrBuilderList() {
return tabletIndexes_;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
@java.lang.Override
public int getTabletIndexesCount() {
return tabletIndexes_.size();
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIndexes(int index) {
return tabletIndexes_.get(index);
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIndexesOrBuilder(
int index) {
return tabletIndexes_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tableId_);
}
for (int i = 0; i < partitionIds_.size(); i++) {
output.writeInt64(3, partitionIds_.getLong(i));
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(4, lockId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(5, initiator_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(6, expiration_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBool(7, requireCompactionStats_);
}
for (int i = 0; i < tabletIndexes_.size(); i++) {
output.writeMessage(8, tabletIndexes_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tableId_);
}
{
int dataSize = 0;
for (int i = 0; i < partitionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(partitionIds_.getLong(i));
}
size += dataSize;
size += 1 * getPartitionIdsList().size();
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, lockId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, initiator_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(6, expiration_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(7, requireCompactionStats_);
}
for (int i = 0; i < tabletIndexes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, tabletIndexes_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest other = (org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (!getPartitionIdsList()
.equals(other.getPartitionIdsList())) return false;
if (hasLockId() != other.hasLockId()) return false;
if (hasLockId()) {
if (getLockId()
!= other.getLockId()) return false;
}
if (hasInitiator() != other.hasInitiator()) return false;
if (hasInitiator()) {
if (getInitiator()
!= other.getInitiator()) return false;
}
if (hasExpiration() != other.hasExpiration()) return false;
if (hasExpiration()) {
if (getExpiration()
!= other.getExpiration()) return false;
}
if (hasRequireCompactionStats() != other.hasRequireCompactionStats()) return false;
if (hasRequireCompactionStats()) {
if (getRequireCompactionStats()
!= other.getRequireCompactionStats()) return false;
}
if (!getTabletIndexesList()
.equals(other.getTabletIndexesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (getPartitionIdsCount() > 0) {
hash = (37 * hash) + PARTITION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionIdsList().hashCode();
}
if (hasLockId()) {
hash = (37 * hash) + LOCK_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLockId());
}
if (hasInitiator()) {
hash = (37 * hash) + INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInitiator());
}
if (hasExpiration()) {
hash = (37 * hash) + EXPIRATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getExpiration());
}
if (hasRequireCompactionStats()) {
hash = (37 * hash) + REQUIRE_COMPACTION_STATS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRequireCompactionStats());
}
if (getTabletIndexesCount() > 0) {
hash = (37 * hash) + TABLET_INDEXES_FIELD_NUMBER;
hash = (53 * hash) + getTabletIndexesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapUpdateLockRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetDeleteBitmapUpdateLockRequest)
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tableId_ = 0L;
partitionIds_ = emptyLongList();
lockId_ = 0L;
initiator_ = 0L;
expiration_ = 0L;
requireCompactionStats_ = false;
if (tabletIndexesBuilder_ == null) {
tabletIndexes_ = java.util.Collections.emptyList();
} else {
tabletIndexes_ = null;
tabletIndexesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest build() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest result = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest result) {
if (tabletIndexesBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0)) {
tabletIndexes_ = java.util.Collections.unmodifiableList(tabletIndexes_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.tabletIndexes_ = tabletIndexes_;
} else {
result.tabletIndexes_ = tabletIndexesBuilder_.build();
}
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
partitionIds_.makeImmutable();
result.partitionIds_ = partitionIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.lockId_ = lockId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.initiator_ = initiator_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.expiration_ = expiration_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.requireCompactionStats_ = requireCompactionStats_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (!other.partitionIds_.isEmpty()) {
if (partitionIds_.isEmpty()) {
partitionIds_ = other.partitionIds_;
partitionIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensurePartitionIdsIsMutable();
partitionIds_.addAll(other.partitionIds_);
}
onChanged();
}
if (other.hasLockId()) {
setLockId(other.getLockId());
}
if (other.hasInitiator()) {
setInitiator(other.getInitiator());
}
if (other.hasExpiration()) {
setExpiration(other.getExpiration());
}
if (other.hasRequireCompactionStats()) {
setRequireCompactionStats(other.getRequireCompactionStats());
}
if (tabletIndexesBuilder_ == null) {
if (!other.tabletIndexes_.isEmpty()) {
if (tabletIndexes_.isEmpty()) {
tabletIndexes_ = other.tabletIndexes_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureTabletIndexesIsMutable();
tabletIndexes_.addAll(other.tabletIndexes_);
}
onChanged();
}
} else {
if (!other.tabletIndexes_.isEmpty()) {
if (tabletIndexesBuilder_.isEmpty()) {
tabletIndexesBuilder_.dispose();
tabletIndexesBuilder_ = null;
tabletIndexes_ = other.tabletIndexes_;
bitField0_ = (bitField0_ & ~0x00000080);
tabletIndexesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTabletIndexesFieldBuilder() : null;
} else {
tabletIndexesBuilder_.addAllMessages(other.tabletIndexes_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
long v = input.readInt64();
ensurePartitionIdsIsMutable();
partitionIds_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePartitionIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
partitionIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
lockId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
initiator_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
expiration_ = input.readInt64();
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
requireCompactionStats_ = input.readBool();
bitField0_ |= 0x00000040;
break;
} // case 56
case 66: {
org.apache.doris.cloud.proto.Cloud.TabletIndexPB m =
input.readMessage(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.PARSER,
extensionRegistry);
if (tabletIndexesBuilder_ == null) {
ensureTabletIndexesIsMutable();
tabletIndexes_.add(m);
} else {
tabletIndexesBuilder_.addMessage(m);
}
break;
} // case 66
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 2;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000002);
tableId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIds_ = emptyLongList();
private void ensurePartitionIdsIsMutable() {
if (!partitionIds_.isModifiable()) {
partitionIds_ = makeMutableCopy(partitionIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @return A list containing the partitionIds.
*/
public java.util.List<java.lang.Long>
getPartitionIdsList() {
partitionIds_.makeImmutable();
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @param index The index to set the value at.
* @param value The partitionIds to set.
* @return This builder for chaining.
*/
public Builder setPartitionIds(
int index, long value) {
ensurePartitionIdsIsMutable();
partitionIds_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @param value The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addPartitionIds(long value) {
ensurePartitionIdsIsMutable();
partitionIds_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @param values The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePartitionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionIds() {
partitionIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private long lockId_ ;
/**
* <code>optional int64 lock_id = 4;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 lock_id = 4;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
/**
* <code>optional int64 lock_id = 4;</code>
* @param value The lockId to set.
* @return This builder for chaining.
*/
public Builder setLockId(long value) {
lockId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 lock_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLockId() {
bitField0_ = (bitField0_ & ~0x00000008);
lockId_ = 0L;
onChanged();
return this;
}
private long initiator_ ;
/**
* <code>optional int64 initiator = 5;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 initiator = 5;</code>
* @return The initiator.
*/
@java.lang.Override
public long getInitiator() {
return initiator_;
}
/**
* <code>optional int64 initiator = 5;</code>
* @param value The initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiator(long value) {
initiator_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 initiator = 5;</code>
* @return This builder for chaining.
*/
public Builder clearInitiator() {
bitField0_ = (bitField0_ & ~0x00000010);
initiator_ = 0L;
onChanged();
return this;
}
private long expiration_ ;
/**
* <code>optional int64 expiration = 6;</code>
* @return Whether the expiration field is set.
*/
@java.lang.Override
public boolean hasExpiration() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* <code>optional int64 expiration = 6;</code>
* @return The expiration.
*/
@java.lang.Override
public long getExpiration() {
return expiration_;
}
/**
* <code>optional int64 expiration = 6;</code>
* @param value The expiration to set.
* @return This builder for chaining.
*/
public Builder setExpiration(long value) {
expiration_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* <code>optional int64 expiration = 6;</code>
* @return This builder for chaining.
*/
public Builder clearExpiration() {
bitField0_ = (bitField0_ & ~0x00000020);
expiration_ = 0L;
onChanged();
return this;
}
private boolean requireCompactionStats_ ;
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @return Whether the requireCompactionStats field is set.
*/
@java.lang.Override
public boolean hasRequireCompactionStats() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @return The requireCompactionStats.
*/
@java.lang.Override
public boolean getRequireCompactionStats() {
return requireCompactionStats_;
}
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @param value The requireCompactionStats to set.
* @return This builder for chaining.
*/
public Builder setRequireCompactionStats(boolean value) {
requireCompactionStats_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <code>optional bool require_compaction_stats = 7 [default = false];</code>
* @return This builder for chaining.
*/
public Builder clearRequireCompactionStats() {
bitField0_ = (bitField0_ & ~0x00000040);
requireCompactionStats_ = false;
onChanged();
return this;
}
private java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> tabletIndexes_ =
java.util.Collections.emptyList();
private void ensureTabletIndexesIsMutable() {
if (!((bitField0_ & 0x00000080) != 0)) {
tabletIndexes_ = new java.util.ArrayList<org.apache.doris.cloud.proto.Cloud.TabletIndexPB>(tabletIndexes_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder> tabletIndexesBuilder_;
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB> getTabletIndexesList() {
if (tabletIndexesBuilder_ == null) {
return java.util.Collections.unmodifiableList(tabletIndexes_);
} else {
return tabletIndexesBuilder_.getMessageList();
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public int getTabletIndexesCount() {
if (tabletIndexesBuilder_ == null) {
return tabletIndexes_.size();
} else {
return tabletIndexesBuilder_.getCount();
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB getTabletIndexes(int index) {
if (tabletIndexesBuilder_ == null) {
return tabletIndexes_.get(index);
} else {
return tabletIndexesBuilder_.getMessage(index);
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder setTabletIndexes(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIndexesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletIndexesIsMutable();
tabletIndexes_.set(index, value);
onChanged();
} else {
tabletIndexesBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder setTabletIndexes(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (tabletIndexesBuilder_ == null) {
ensureTabletIndexesIsMutable();
tabletIndexes_.set(index, builderForValue.build());
onChanged();
} else {
tabletIndexesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder addTabletIndexes(org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIndexesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletIndexesIsMutable();
tabletIndexes_.add(value);
onChanged();
} else {
tabletIndexesBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder addTabletIndexes(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB value) {
if (tabletIndexesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTabletIndexesIsMutable();
tabletIndexes_.add(index, value);
onChanged();
} else {
tabletIndexesBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder addTabletIndexes(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (tabletIndexesBuilder_ == null) {
ensureTabletIndexesIsMutable();
tabletIndexes_.add(builderForValue.build());
onChanged();
} else {
tabletIndexesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder addTabletIndexes(
int index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder builderForValue) {
if (tabletIndexesBuilder_ == null) {
ensureTabletIndexesIsMutable();
tabletIndexes_.add(index, builderForValue.build());
onChanged();
} else {
tabletIndexesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder addAllTabletIndexes(
java.lang.Iterable<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPB> values) {
if (tabletIndexesBuilder_ == null) {
ensureTabletIndexesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tabletIndexes_);
onChanged();
} else {
tabletIndexesBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder clearTabletIndexes() {
if (tabletIndexesBuilder_ == null) {
tabletIndexes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
tabletIndexesBuilder_.clear();
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public Builder removeTabletIndexes(int index) {
if (tabletIndexesBuilder_ == null) {
ensureTabletIndexesIsMutable();
tabletIndexes_.remove(index);
onChanged();
} else {
tabletIndexesBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder getTabletIndexesBuilder(
int index) {
return getTabletIndexesFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder getTabletIndexesOrBuilder(
int index) {
if (tabletIndexesBuilder_ == null) {
return tabletIndexes_.get(index); } else {
return tabletIndexesBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public java.util.List<? extends org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIndexesOrBuilderList() {
if (tabletIndexesBuilder_ != null) {
return tabletIndexesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tabletIndexes_);
}
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder addTabletIndexesBuilder() {
return getTabletIndexesFieldBuilder().addBuilder(
org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder addTabletIndexesBuilder(
int index) {
return getTabletIndexesFieldBuilder().addBuilder(
index, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.getDefaultInstance());
}
/**
* <code>repeated .doris.cloud.TabletIndexPB tablet_indexes = 8;</code>
*/
public java.util.List<org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder>
getTabletIndexesBuilderList() {
return getTabletIndexesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>
getTabletIndexesFieldBuilder() {
if (tabletIndexesBuilder_ == null) {
tabletIndexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.TabletIndexPB, org.apache.doris.cloud.proto.Cloud.TabletIndexPB.Builder, org.apache.doris.cloud.proto.Cloud.TabletIndexPBOrBuilder>(
tabletIndexes_,
((bitField0_ & 0x00000080) != 0),
getParentForChildren(),
isClean());
tabletIndexes_ = null;
}
return tabletIndexesBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetDeleteBitmapUpdateLockRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetDeleteBitmapUpdateLockRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetDeleteBitmapUpdateLockRequest>
PARSER = new com.google.protobuf.AbstractParser<GetDeleteBitmapUpdateLockRequest>() {
@java.lang.Override
public GetDeleteBitmapUpdateLockRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetDeleteBitmapUpdateLockRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetDeleteBitmapUpdateLockRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetDeleteBitmapUpdateLockResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetDeleteBitmapUpdateLockResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @return A list containing the baseCompactionCnts.
*/
java.util.List<java.lang.Long> getBaseCompactionCntsList();
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @return The count of baseCompactionCnts.
*/
int getBaseCompactionCntsCount();
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @param index The index of the element to return.
* @return The baseCompactionCnts at the given index.
*/
long getBaseCompactionCnts(int index);
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @return A list containing the cumulativeCompactionCnts.
*/
java.util.List<java.lang.Long> getCumulativeCompactionCntsList();
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @return The count of cumulativeCompactionCnts.
*/
int getCumulativeCompactionCntsCount();
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @param index The index of the element to return.
* @return The cumulativeCompactionCnts at the given index.
*/
long getCumulativeCompactionCnts(int index);
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @return A list containing the cumulativePoints.
*/
java.util.List<java.lang.Long> getCumulativePointsList();
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @return The count of cumulativePoints.
*/
int getCumulativePointsCount();
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @param index The index of the element to return.
* @return The cumulativePoints at the given index.
*/
long getCumulativePoints(int index);
/**
* <code>repeated int64 tablet_states = 5;</code>
* @return A list containing the tabletStates.
*/
java.util.List<java.lang.Long> getTabletStatesList();
/**
* <code>repeated int64 tablet_states = 5;</code>
* @return The count of tabletStates.
*/
int getTabletStatesCount();
/**
* <code>repeated int64 tablet_states = 5;</code>
* @param index The index of the element to return.
* @return The tabletStates at the given index.
*/
long getTabletStates(int index);
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapUpdateLockResponse}
*/
public static final class GetDeleteBitmapUpdateLockResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetDeleteBitmapUpdateLockResponse)
GetDeleteBitmapUpdateLockResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetDeleteBitmapUpdateLockResponse.newBuilder() to construct.
private GetDeleteBitmapUpdateLockResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetDeleteBitmapUpdateLockResponse() {
baseCompactionCnts_ = emptyLongList();
cumulativeCompactionCnts_ = emptyLongList();
cumulativePoints_ = emptyLongList();
tabletStates_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetDeleteBitmapUpdateLockResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int BASE_COMPACTION_CNTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList baseCompactionCnts_ =
emptyLongList();
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @return A list containing the baseCompactionCnts.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getBaseCompactionCntsList() {
return baseCompactionCnts_;
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @return The count of baseCompactionCnts.
*/
public int getBaseCompactionCntsCount() {
return baseCompactionCnts_.size();
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @param index The index of the element to return.
* @return The baseCompactionCnts at the given index.
*/
public long getBaseCompactionCnts(int index) {
return baseCompactionCnts_.getLong(index);
}
public static final int CUMULATIVE_COMPACTION_CNTS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList cumulativeCompactionCnts_ =
emptyLongList();
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @return A list containing the cumulativeCompactionCnts.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getCumulativeCompactionCntsList() {
return cumulativeCompactionCnts_;
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @return The count of cumulativeCompactionCnts.
*/
public int getCumulativeCompactionCntsCount() {
return cumulativeCompactionCnts_.size();
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @param index The index of the element to return.
* @return The cumulativeCompactionCnts at the given index.
*/
public long getCumulativeCompactionCnts(int index) {
return cumulativeCompactionCnts_.getLong(index);
}
public static final int CUMULATIVE_POINTS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList cumulativePoints_ =
emptyLongList();
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @return A list containing the cumulativePoints.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getCumulativePointsList() {
return cumulativePoints_;
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @return The count of cumulativePoints.
*/
public int getCumulativePointsCount() {
return cumulativePoints_.size();
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @param index The index of the element to return.
* @return The cumulativePoints at the given index.
*/
public long getCumulativePoints(int index) {
return cumulativePoints_.getLong(index);
}
public static final int TABLET_STATES_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tabletStates_ =
emptyLongList();
/**
* <code>repeated int64 tablet_states = 5;</code>
* @return A list containing the tabletStates.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTabletStatesList() {
return tabletStates_;
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @return The count of tabletStates.
*/
public int getTabletStatesCount() {
return tabletStates_.size();
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @param index The index of the element to return.
* @return The tabletStates at the given index.
*/
public long getTabletStates(int index) {
return tabletStates_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < baseCompactionCnts_.size(); i++) {
output.writeInt64(2, baseCompactionCnts_.getLong(i));
}
for (int i = 0; i < cumulativeCompactionCnts_.size(); i++) {
output.writeInt64(3, cumulativeCompactionCnts_.getLong(i));
}
for (int i = 0; i < cumulativePoints_.size(); i++) {
output.writeInt64(4, cumulativePoints_.getLong(i));
}
for (int i = 0; i < tabletStates_.size(); i++) {
output.writeInt64(5, tabletStates_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
{
int dataSize = 0;
for (int i = 0; i < baseCompactionCnts_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(baseCompactionCnts_.getLong(i));
}
size += dataSize;
size += 1 * getBaseCompactionCntsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < cumulativeCompactionCnts_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(cumulativeCompactionCnts_.getLong(i));
}
size += dataSize;
size += 1 * getCumulativeCompactionCntsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < cumulativePoints_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(cumulativePoints_.getLong(i));
}
size += dataSize;
size += 1 * getCumulativePointsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tabletStates_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tabletStates_.getLong(i));
}
size += dataSize;
size += 1 * getTabletStatesList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse other = (org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getBaseCompactionCntsList()
.equals(other.getBaseCompactionCntsList())) return false;
if (!getCumulativeCompactionCntsList()
.equals(other.getCumulativeCompactionCntsList())) return false;
if (!getCumulativePointsList()
.equals(other.getCumulativePointsList())) return false;
if (!getTabletStatesList()
.equals(other.getTabletStatesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getBaseCompactionCntsCount() > 0) {
hash = (37 * hash) + BASE_COMPACTION_CNTS_FIELD_NUMBER;
hash = (53 * hash) + getBaseCompactionCntsList().hashCode();
}
if (getCumulativeCompactionCntsCount() > 0) {
hash = (37 * hash) + CUMULATIVE_COMPACTION_CNTS_FIELD_NUMBER;
hash = (53 * hash) + getCumulativeCompactionCntsList().hashCode();
}
if (getCumulativePointsCount() > 0) {
hash = (37 * hash) + CUMULATIVE_POINTS_FIELD_NUMBER;
hash = (53 * hash) + getCumulativePointsList().hashCode();
}
if (getTabletStatesCount() > 0) {
hash = (37 * hash) + TABLET_STATES_FIELD_NUMBER;
hash = (53 * hash) + getTabletStatesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetDeleteBitmapUpdateLockResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetDeleteBitmapUpdateLockResponse)
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse.class, org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
baseCompactionCnts_ = emptyLongList();
cumulativeCompactionCnts_ = emptyLongList();
cumulativePoints_ = emptyLongList();
tabletStates_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse build() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse result = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
baseCompactionCnts_.makeImmutable();
result.baseCompactionCnts_ = baseCompactionCnts_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
cumulativeCompactionCnts_.makeImmutable();
result.cumulativeCompactionCnts_ = cumulativeCompactionCnts_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
cumulativePoints_.makeImmutable();
result.cumulativePoints_ = cumulativePoints_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
tabletStates_.makeImmutable();
result.tabletStates_ = tabletStates_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (!other.baseCompactionCnts_.isEmpty()) {
if (baseCompactionCnts_.isEmpty()) {
baseCompactionCnts_ = other.baseCompactionCnts_;
baseCompactionCnts_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensureBaseCompactionCntsIsMutable();
baseCompactionCnts_.addAll(other.baseCompactionCnts_);
}
onChanged();
}
if (!other.cumulativeCompactionCnts_.isEmpty()) {
if (cumulativeCompactionCnts_.isEmpty()) {
cumulativeCompactionCnts_ = other.cumulativeCompactionCnts_;
cumulativeCompactionCnts_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureCumulativeCompactionCntsIsMutable();
cumulativeCompactionCnts_.addAll(other.cumulativeCompactionCnts_);
}
onChanged();
}
if (!other.cumulativePoints_.isEmpty()) {
if (cumulativePoints_.isEmpty()) {
cumulativePoints_ = other.cumulativePoints_;
cumulativePoints_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureCumulativePointsIsMutable();
cumulativePoints_.addAll(other.cumulativePoints_);
}
onChanged();
}
if (!other.tabletStates_.isEmpty()) {
if (tabletStates_.isEmpty()) {
tabletStates_ = other.tabletStates_;
tabletStates_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureTabletStatesIsMutable();
tabletStates_.addAll(other.tabletStates_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
long v = input.readInt64();
ensureBaseCompactionCntsIsMutable();
baseCompactionCnts_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureBaseCompactionCntsIsMutable();
while (input.getBytesUntilLimit() > 0) {
baseCompactionCnts_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
case 24: {
long v = input.readInt64();
ensureCumulativeCompactionCntsIsMutable();
cumulativeCompactionCnts_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureCumulativeCompactionCntsIsMutable();
while (input.getBytesUntilLimit() > 0) {
cumulativeCompactionCnts_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
long v = input.readInt64();
ensureCumulativePointsIsMutable();
cumulativePoints_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureCumulativePointsIsMutable();
while (input.getBytesUntilLimit() > 0) {
cumulativePoints_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
long v = input.readInt64();
ensureTabletStatesIsMutable();
tabletStates_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTabletStatesIsMutable();
while (input.getBytesUntilLimit() > 0) {
tabletStates_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private com.google.protobuf.Internal.LongList baseCompactionCnts_ = emptyLongList();
private void ensureBaseCompactionCntsIsMutable() {
if (!baseCompactionCnts_.isModifiable()) {
baseCompactionCnts_ = makeMutableCopy(baseCompactionCnts_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @return A list containing the baseCompactionCnts.
*/
public java.util.List<java.lang.Long>
getBaseCompactionCntsList() {
baseCompactionCnts_.makeImmutable();
return baseCompactionCnts_;
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @return The count of baseCompactionCnts.
*/
public int getBaseCompactionCntsCount() {
return baseCompactionCnts_.size();
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @param index The index of the element to return.
* @return The baseCompactionCnts at the given index.
*/
public long getBaseCompactionCnts(int index) {
return baseCompactionCnts_.getLong(index);
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @param index The index to set the value at.
* @param value The baseCompactionCnts to set.
* @return This builder for chaining.
*/
public Builder setBaseCompactionCnts(
int index, long value) {
ensureBaseCompactionCntsIsMutable();
baseCompactionCnts_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @param value The baseCompactionCnts to add.
* @return This builder for chaining.
*/
public Builder addBaseCompactionCnts(long value) {
ensureBaseCompactionCntsIsMutable();
baseCompactionCnts_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @param values The baseCompactionCnts to add.
* @return This builder for chaining.
*/
public Builder addAllBaseCompactionCnts(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureBaseCompactionCntsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, baseCompactionCnts_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 base_compaction_cnts = 2;</code>
* @return This builder for chaining.
*/
public Builder clearBaseCompactionCnts() {
baseCompactionCnts_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList cumulativeCompactionCnts_ = emptyLongList();
private void ensureCumulativeCompactionCntsIsMutable() {
if (!cumulativeCompactionCnts_.isModifiable()) {
cumulativeCompactionCnts_ = makeMutableCopy(cumulativeCompactionCnts_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @return A list containing the cumulativeCompactionCnts.
*/
public java.util.List<java.lang.Long>
getCumulativeCompactionCntsList() {
cumulativeCompactionCnts_.makeImmutable();
return cumulativeCompactionCnts_;
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @return The count of cumulativeCompactionCnts.
*/
public int getCumulativeCompactionCntsCount() {
return cumulativeCompactionCnts_.size();
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @param index The index of the element to return.
* @return The cumulativeCompactionCnts at the given index.
*/
public long getCumulativeCompactionCnts(int index) {
return cumulativeCompactionCnts_.getLong(index);
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @param index The index to set the value at.
* @param value The cumulativeCompactionCnts to set.
* @return This builder for chaining.
*/
public Builder setCumulativeCompactionCnts(
int index, long value) {
ensureCumulativeCompactionCntsIsMutable();
cumulativeCompactionCnts_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @param value The cumulativeCompactionCnts to add.
* @return This builder for chaining.
*/
public Builder addCumulativeCompactionCnts(long value) {
ensureCumulativeCompactionCntsIsMutable();
cumulativeCompactionCnts_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @param values The cumulativeCompactionCnts to add.
* @return This builder for chaining.
*/
public Builder addAllCumulativeCompactionCnts(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureCumulativeCompactionCntsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, cumulativeCompactionCnts_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 cumulative_compaction_cnts = 3;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativeCompactionCnts() {
cumulativeCompactionCnts_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList cumulativePoints_ = emptyLongList();
private void ensureCumulativePointsIsMutable() {
if (!cumulativePoints_.isModifiable()) {
cumulativePoints_ = makeMutableCopy(cumulativePoints_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @return A list containing the cumulativePoints.
*/
public java.util.List<java.lang.Long>
getCumulativePointsList() {
cumulativePoints_.makeImmutable();
return cumulativePoints_;
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @return The count of cumulativePoints.
*/
public int getCumulativePointsCount() {
return cumulativePoints_.size();
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @param index The index of the element to return.
* @return The cumulativePoints at the given index.
*/
public long getCumulativePoints(int index) {
return cumulativePoints_.getLong(index);
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @param index The index to set the value at.
* @param value The cumulativePoints to set.
* @return This builder for chaining.
*/
public Builder setCumulativePoints(
int index, long value) {
ensureCumulativePointsIsMutable();
cumulativePoints_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @param value The cumulativePoints to add.
* @return This builder for chaining.
*/
public Builder addCumulativePoints(long value) {
ensureCumulativePointsIsMutable();
cumulativePoints_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @param values The cumulativePoints to add.
* @return This builder for chaining.
*/
public Builder addAllCumulativePoints(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureCumulativePointsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, cumulativePoints_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 cumulative_points = 4;</code>
* @return This builder for chaining.
*/
public Builder clearCumulativePoints() {
cumulativePoints_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tabletStates_ = emptyLongList();
private void ensureTabletStatesIsMutable() {
if (!tabletStates_.isModifiable()) {
tabletStates_ = makeMutableCopy(tabletStates_);
}
bitField0_ |= 0x00000010;
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @return A list containing the tabletStates.
*/
public java.util.List<java.lang.Long>
getTabletStatesList() {
tabletStates_.makeImmutable();
return tabletStates_;
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @return The count of tabletStates.
*/
public int getTabletStatesCount() {
return tabletStates_.size();
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @param index The index of the element to return.
* @return The tabletStates at the given index.
*/
public long getTabletStates(int index) {
return tabletStates_.getLong(index);
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @param index The index to set the value at.
* @param value The tabletStates to set.
* @return This builder for chaining.
*/
public Builder setTabletStates(
int index, long value) {
ensureTabletStatesIsMutable();
tabletStates_.setLong(index, value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @param value The tabletStates to add.
* @return This builder for chaining.
*/
public Builder addTabletStates(long value) {
ensureTabletStatesIsMutable();
tabletStates_.addLong(value);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @param values The tabletStates to add.
* @return This builder for chaining.
*/
public Builder addAllTabletStates(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTabletStatesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tabletStates_);
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>repeated int64 tablet_states = 5;</code>
* @return This builder for chaining.
*/
public Builder clearTabletStates() {
tabletStates_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetDeleteBitmapUpdateLockResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetDeleteBitmapUpdateLockResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetDeleteBitmapUpdateLockResponse>
PARSER = new com.google.protobuf.AbstractParser<GetDeleteBitmapUpdateLockResponse>() {
@java.lang.Override
public GetDeleteBitmapUpdateLockResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetDeleteBitmapUpdateLockResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetDeleteBitmapUpdateLockResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetDeleteBitmapUpdateLockResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RemoveDeleteBitmapUpdateLockRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RemoveDeleteBitmapUpdateLockRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
boolean hasTableId();
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
long getTableId();
/**
* <code>optional int64 tablet_id = 3;</code>
* @return Whether the tabletId field is set.
*/
boolean hasTabletId();
/**
* <code>optional int64 tablet_id = 3;</code>
* @return The tabletId.
*/
long getTabletId();
/**
* <code>optional int64 lock_id = 4;</code>
* @return Whether the lockId field is set.
*/
boolean hasLockId();
/**
* <code>optional int64 lock_id = 4;</code>
* @return The lockId.
*/
long getLockId();
/**
* <code>optional int64 initiator = 5;</code>
* @return Whether the initiator field is set.
*/
boolean hasInitiator();
/**
* <code>optional int64 initiator = 5;</code>
* @return The initiator.
*/
long getInitiator();
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapUpdateLockRequest}
*/
public static final class RemoveDeleteBitmapUpdateLockRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RemoveDeleteBitmapUpdateLockRequest)
RemoveDeleteBitmapUpdateLockRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveDeleteBitmapUpdateLockRequest.newBuilder() to construct.
private RemoveDeleteBitmapUpdateLockRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RemoveDeleteBitmapUpdateLockRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveDeleteBitmapUpdateLockRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TABLE_ID_FIELD_NUMBER = 2;
private long tableId_ = 0L;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
public static final int TABLET_ID_FIELD_NUMBER = 3;
private long tabletId_ = 0L;
/**
* <code>optional int64 tablet_id = 3;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 tablet_id = 3;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
public static final int LOCK_ID_FIELD_NUMBER = 4;
private long lockId_ = 0L;
/**
* <code>optional int64 lock_id = 4;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 lock_id = 4;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
public static final int INITIATOR_FIELD_NUMBER = 5;
private long initiator_ = 0L;
/**
* <code>optional int64 initiator = 5;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 initiator = 5;</code>
* @return The initiator.
*/
@java.lang.Override
public long getInitiator() {
return initiator_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, tabletId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(4, lockId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeInt64(5, initiator_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, tableId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, tabletId_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, lockId_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, initiator_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest other = (org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasTableId() != other.hasTableId()) return false;
if (hasTableId()) {
if (getTableId()
!= other.getTableId()) return false;
}
if (hasTabletId() != other.hasTabletId()) return false;
if (hasTabletId()) {
if (getTabletId()
!= other.getTabletId()) return false;
}
if (hasLockId() != other.hasLockId()) return false;
if (hasLockId()) {
if (getLockId()
!= other.getLockId()) return false;
}
if (hasInitiator() != other.hasInitiator()) return false;
if (hasInitiator()) {
if (getInitiator()
!= other.getInitiator()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasTableId()) {
hash = (37 * hash) + TABLE_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTableId());
}
if (hasTabletId()) {
hash = (37 * hash) + TABLET_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTabletId());
}
if (hasLockId()) {
hash = (37 * hash) + LOCK_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getLockId());
}
if (hasInitiator()) {
hash = (37 * hash) + INITIATOR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInitiator());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapUpdateLockRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RemoveDeleteBitmapUpdateLockRequest)
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
tableId_ = 0L;
tabletId_ = 0L;
lockId_ = 0L;
initiator_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest build() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest result = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.tableId_ = tableId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.tabletId_ = tabletId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.lockId_ = lockId_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.initiator_ = initiator_;
to_bitField0_ |= 0x00000010;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasTableId()) {
setTableId(other.getTableId());
}
if (other.hasTabletId()) {
setTabletId(other.getTabletId());
}
if (other.hasLockId()) {
setLockId(other.getLockId());
}
if (other.hasInitiator()) {
setInitiator(other.getInitiator());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
tableId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
tabletId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
lockId_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
initiator_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long tableId_ ;
/**
* <code>optional int64 table_id = 2;</code>
* @return Whether the tableId field is set.
*/
@java.lang.Override
public boolean hasTableId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 table_id = 2;</code>
* @return The tableId.
*/
@java.lang.Override
public long getTableId() {
return tableId_;
}
/**
* <code>optional int64 table_id = 2;</code>
* @param value The tableId to set.
* @return This builder for chaining.
*/
public Builder setTableId(long value) {
tableId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 table_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTableId() {
bitField0_ = (bitField0_ & ~0x00000002);
tableId_ = 0L;
onChanged();
return this;
}
private long tabletId_ ;
/**
* <code>optional int64 tablet_id = 3;</code>
* @return Whether the tabletId field is set.
*/
@java.lang.Override
public boolean hasTabletId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 tablet_id = 3;</code>
* @return The tabletId.
*/
@java.lang.Override
public long getTabletId() {
return tabletId_;
}
/**
* <code>optional int64 tablet_id = 3;</code>
* @param value The tabletId to set.
* @return This builder for chaining.
*/
public Builder setTabletId(long value) {
tabletId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 tablet_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearTabletId() {
bitField0_ = (bitField0_ & ~0x00000004);
tabletId_ = 0L;
onChanged();
return this;
}
private long lockId_ ;
/**
* <code>optional int64 lock_id = 4;</code>
* @return Whether the lockId field is set.
*/
@java.lang.Override
public boolean hasLockId() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* <code>optional int64 lock_id = 4;</code>
* @return The lockId.
*/
@java.lang.Override
public long getLockId() {
return lockId_;
}
/**
* <code>optional int64 lock_id = 4;</code>
* @param value The lockId to set.
* @return This builder for chaining.
*/
public Builder setLockId(long value) {
lockId_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>optional int64 lock_id = 4;</code>
* @return This builder for chaining.
*/
public Builder clearLockId() {
bitField0_ = (bitField0_ & ~0x00000008);
lockId_ = 0L;
onChanged();
return this;
}
private long initiator_ ;
/**
* <code>optional int64 initiator = 5;</code>
* @return Whether the initiator field is set.
*/
@java.lang.Override
public boolean hasInitiator() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* <code>optional int64 initiator = 5;</code>
* @return The initiator.
*/
@java.lang.Override
public long getInitiator() {
return initiator_;
}
/**
* <code>optional int64 initiator = 5;</code>
* @param value The initiator to set.
* @return This builder for chaining.
*/
public Builder setInitiator(long value) {
initiator_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* <code>optional int64 initiator = 5;</code>
* @return This builder for chaining.
*/
public Builder clearInitiator() {
bitField0_ = (bitField0_ & ~0x00000010);
initiator_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RemoveDeleteBitmapUpdateLockRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RemoveDeleteBitmapUpdateLockRequest)
private static final org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest();
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RemoveDeleteBitmapUpdateLockRequest>
PARSER = new com.google.protobuf.AbstractParser<RemoveDeleteBitmapUpdateLockRequest>() {
@java.lang.Override
public RemoveDeleteBitmapUpdateLockRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RemoveDeleteBitmapUpdateLockRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RemoveDeleteBitmapUpdateLockRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface RemoveDeleteBitmapUpdateLockResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.RemoveDeleteBitmapUpdateLockResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapUpdateLockResponse}
*/
public static final class RemoveDeleteBitmapUpdateLockResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.RemoveDeleteBitmapUpdateLockResponse)
RemoveDeleteBitmapUpdateLockResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use RemoveDeleteBitmapUpdateLockResponse.newBuilder() to construct.
private RemoveDeleteBitmapUpdateLockResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private RemoveDeleteBitmapUpdateLockResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RemoveDeleteBitmapUpdateLockResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse other = (org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.RemoveDeleteBitmapUpdateLockResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.RemoveDeleteBitmapUpdateLockResponse)
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse.class, org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse build() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse result = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.RemoveDeleteBitmapUpdateLockResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.RemoveDeleteBitmapUpdateLockResponse)
private static final org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse();
}
public static org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<RemoveDeleteBitmapUpdateLockResponse>
PARSER = new com.google.protobuf.AbstractParser<RemoveDeleteBitmapUpdateLockResponse>() {
@java.lang.Override
public RemoveDeleteBitmapUpdateLockResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<RemoveDeleteBitmapUpdateLockResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<RemoveDeleteBitmapUpdateLockResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RemoveDeleteBitmapUpdateLockResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRLTaskCommitAttachRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetRLTaskCommitAttachRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 job_id = 3;</code>
* @return Whether the jobId field is set.
*/
boolean hasJobId();
/**
* <code>optional int64 job_id = 3;</code>
* @return The jobId.
*/
long getJobId();
}
/**
* Protobuf type {@code doris.cloud.GetRLTaskCommitAttachRequest}
*/
public static final class GetRLTaskCommitAttachRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetRLTaskCommitAttachRequest)
GetRLTaskCommitAttachRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRLTaskCommitAttachRequest.newBuilder() to construct.
private GetRLTaskCommitAttachRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetRLTaskCommitAttachRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetRLTaskCommitAttachRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest.class, org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int JOB_ID_FIELD_NUMBER = 3;
private long jobId_ = 0L;
/**
* <code>optional int64 job_id = 3;</code>
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 job_id = 3;</code>
* @return The jobId.
*/
@java.lang.Override
public long getJobId() {
return jobId_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, jobId_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, jobId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest other = (org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasJobId() != other.hasJobId()) return false;
if (hasJobId()) {
if (getJobId()
!= other.getJobId()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasJobId()) {
hash = (37 * hash) + JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJobId());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetRLTaskCommitAttachRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetRLTaskCommitAttachRequest)
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest.class, org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
jobId_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest build() {
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest result = new org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.jobId_ = jobId_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasJobId()) {
setJobId(other.getJobId());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
jobId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long jobId_ ;
/**
* <code>optional int64 job_id = 3;</code>
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 job_id = 3;</code>
* @return The jobId.
*/
@java.lang.Override
public long getJobId() {
return jobId_;
}
/**
* <code>optional int64 job_id = 3;</code>
* @param value The jobId to set.
* @return This builder for chaining.
*/
public Builder setJobId(long value) {
jobId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 job_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearJobId() {
bitField0_ = (bitField0_ & ~0x00000004);
jobId_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetRLTaskCommitAttachRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetRLTaskCommitAttachRequest)
private static final org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest();
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetRLTaskCommitAttachRequest>
PARSER = new com.google.protobuf.AbstractParser<GetRLTaskCommitAttachRequest>() {
@java.lang.Override
public GetRLTaskCommitAttachRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetRLTaskCommitAttachRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetRLTaskCommitAttachRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GetRLTaskCommitAttachResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.GetRLTaskCommitAttachResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
* @return Whether the commitAttach field is set.
*/
boolean hasCommitAttach();
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
* @return The commitAttach.
*/
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getCommitAttach();
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder getCommitAttachOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.GetRLTaskCommitAttachResponse}
*/
public static final class GetRLTaskCommitAttachResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.GetRLTaskCommitAttachResponse)
GetRLTaskCommitAttachResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GetRLTaskCommitAttachResponse.newBuilder() to construct.
private GetRLTaskCommitAttachResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private GetRLTaskCommitAttachResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GetRLTaskCommitAttachResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse.class, org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int COMMIT_ATTACH_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB commitAttach_;
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
* @return Whether the commitAttach field is set.
*/
@java.lang.Override
public boolean hasCommitAttach() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
* @return The commitAttach.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getCommitAttach() {
return commitAttach_ == null ? org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : commitAttach_;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder getCommitAttachOrBuilder() {
return commitAttach_ == null ? org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : commitAttach_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCommitAttach());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCommitAttach());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse other = (org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasCommitAttach() != other.hasCommitAttach()) return false;
if (hasCommitAttach()) {
if (!getCommitAttach()
.equals(other.getCommitAttach())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasCommitAttach()) {
hash = (37 * hash) + COMMIT_ATTACH_FIELD_NUMBER;
hash = (53 * hash) + getCommitAttach().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.GetRLTaskCommitAttachResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.GetRLTaskCommitAttachResponse)
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse.class, org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getCommitAttachFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
commitAttach_ = null;
if (commitAttachBuilder_ != null) {
commitAttachBuilder_.dispose();
commitAttachBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_GetRLTaskCommitAttachResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse build() {
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse result = new org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.commitAttach_ = commitAttachBuilder_ == null
? commitAttach_
: commitAttachBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasCommitAttach()) {
mergeCommitAttach(other.getCommitAttach());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getCommitAttachFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB commitAttach_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder> commitAttachBuilder_;
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
* @return Whether the commitAttach field is set.
*/
public boolean hasCommitAttach() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
* @return The commitAttach.
*/
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB getCommitAttach() {
if (commitAttachBuilder_ == null) {
return commitAttach_ == null ? org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : commitAttach_;
} else {
return commitAttachBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
public Builder setCommitAttach(org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB value) {
if (commitAttachBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
commitAttach_ = value;
} else {
commitAttachBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
public Builder setCommitAttach(
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder builderForValue) {
if (commitAttachBuilder_ == null) {
commitAttach_ = builderForValue.build();
} else {
commitAttachBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
public Builder mergeCommitAttach(org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB value) {
if (commitAttachBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
commitAttach_ != null &&
commitAttach_ != org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance()) {
getCommitAttachBuilder().mergeFrom(value);
} else {
commitAttach_ = value;
}
} else {
commitAttachBuilder_.mergeFrom(value);
}
if (commitAttach_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
public Builder clearCommitAttach() {
bitField0_ = (bitField0_ & ~0x00000002);
commitAttach_ = null;
if (commitAttachBuilder_ != null) {
commitAttachBuilder_.dispose();
commitAttachBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder getCommitAttachBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCommitAttachFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder getCommitAttachOrBuilder() {
if (commitAttachBuilder_ != null) {
return commitAttachBuilder_.getMessageOrBuilder();
} else {
return commitAttach_ == null ?
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.getDefaultInstance() : commitAttach_;
}
}
/**
* <code>optional .doris.cloud.RLTaskTxnCommitAttachmentPB commit_attach = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder>
getCommitAttachFieldBuilder() {
if (commitAttachBuilder_ == null) {
commitAttachBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPB.Builder, org.apache.doris.cloud.proto.Cloud.RLTaskTxnCommitAttachmentPBOrBuilder>(
getCommitAttach(),
getParentForChildren(),
isClean());
commitAttach_ = null;
}
return commitAttachBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.GetRLTaskCommitAttachResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.GetRLTaskCommitAttachResponse)
private static final org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse();
}
public static org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<GetRLTaskCommitAttachResponse>
PARSER = new com.google.protobuf.AbstractParser<GetRLTaskCommitAttachResponse>() {
@java.lang.Override
public GetRLTaskCommitAttachResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<GetRLTaskCommitAttachResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<GetRLTaskCommitAttachResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.GetRLTaskCommitAttachResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResetRLProgressRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.ResetRLProgressRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
boolean hasDbId();
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
long getDbId();
/**
* <code>optional int64 job_id = 3;</code>
* @return Whether the jobId field is set.
*/
boolean hasJobId();
/**
* <code>optional int64 job_id = 3;</code>
* @return The jobId.
*/
long getJobId();
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
int getPartitionToOffsetCount();
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
boolean containsPartitionToOffset(
int key);
/**
* Use {@link #getPartitionToOffsetMap()} instead.
*/
@java.lang.Deprecated
java.util.Map<java.lang.Integer, java.lang.Long>
getPartitionToOffset();
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
java.util.Map<java.lang.Integer, java.lang.Long>
getPartitionToOffsetMap();
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
long getPartitionToOffsetOrDefault(
int key,
long defaultValue);
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
long getPartitionToOffsetOrThrow(
int key);
}
/**
* Protobuf type {@code doris.cloud.ResetRLProgressRequest}
*/
public static final class ResetRLProgressRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.ResetRLProgressRequest)
ResetRLProgressRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ResetRLProgressRequest.newBuilder() to construct.
private ResetRLProgressRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ResetRLProgressRequest() {
cloudUniqueId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ResetRLProgressRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 4:
return internalGetPartitionToOffset();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest.class, org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest.Builder.class);
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DB_ID_FIELD_NUMBER = 2;
private long dbId_ = 0L;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
public static final int JOB_ID_FIELD_NUMBER = 3;
private long jobId_ = 0L;
/**
* <code>optional int64 job_id = 3;</code>
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 job_id = 3;</code>
* @return The jobId.
*/
@java.lang.Override
public long getJobId() {
return jobId_;
}
public static final int PARTITION_TO_OFFSET_FIELD_NUMBER = 4;
private static final class PartitionToOffsetDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Integer, java.lang.Long> defaultEntry =
com.google.protobuf.MapEntry
.<java.lang.Integer, java.lang.Long>newDefaultInstance(
org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressRequest_PartitionToOffsetEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.INT32,
0,
com.google.protobuf.WireFormat.FieldType.INT64,
0L);
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Long> partitionToOffset_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Long>
internalGetPartitionToOffset() {
if (partitionToOffset_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PartitionToOffsetDefaultEntryHolder.defaultEntry);
}
return partitionToOffset_;
}
public int getPartitionToOffsetCount() {
return internalGetPartitionToOffset().getMap().size();
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public boolean containsPartitionToOffset(
int key) {
return internalGetPartitionToOffset().getMap().containsKey(key);
}
/**
* Use {@link #getPartitionToOffsetMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffset() {
return getPartitionToOffsetMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffsetMap() {
return internalGetPartitionToOffset().getMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrDefault(
int key,
long defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(3, jobId_);
}
com.google.protobuf.GeneratedMessageV3
.serializeIntegerMapTo(
output,
internalGetPartitionToOffset(),
PartitionToOffsetDefaultEntryHolder.defaultEntry,
4);
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, dbId_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, jobId_);
}
for (java.util.Map.Entry<java.lang.Integer, java.lang.Long> entry
: internalGetPartitionToOffset().getMap().entrySet()) {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Long>
partitionToOffset__ = PartitionToOffsetDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, partitionToOffset__);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest other = (org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasDbId() != other.hasDbId()) return false;
if (hasDbId()) {
if (getDbId()
!= other.getDbId()) return false;
}
if (hasJobId() != other.hasJobId()) return false;
if (hasJobId()) {
if (getJobId()
!= other.getJobId()) return false;
}
if (!internalGetPartitionToOffset().equals(
other.internalGetPartitionToOffset())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasDbId()) {
hash = (37 * hash) + DB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDbId());
}
if (hasJobId()) {
hash = (37 * hash) + JOB_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getJobId());
}
if (!internalGetPartitionToOffset().getMap().isEmpty()) {
hash = (37 * hash) + PARTITION_TO_OFFSET_FIELD_NUMBER;
hash = (53 * hash) + internalGetPartitionToOffset().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.ResetRLProgressRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.ResetRLProgressRequest)
org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressRequest_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 4:
return internalGetPartitionToOffset();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 4:
return internalGetMutablePartitionToOffset();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest.class, org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
dbId_ = 0L;
jobId_ = 0L;
internalGetMutablePartitionToOffset().clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest build() {
org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest result = new org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.dbId_ = dbId_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.jobId_ = jobId_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.partitionToOffset_ = internalGetPartitionToOffset();
result.partitionToOffset_.makeImmutable();
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDbId()) {
setDbId(other.getDbId());
}
if (other.hasJobId()) {
setJobId(other.getJobId());
}
internalGetMutablePartitionToOffset().mergeFrom(
other.internalGetPartitionToOffset());
bitField0_ |= 0x00000008;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
dbId_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
jobId_ = input.readInt64();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
com.google.protobuf.MapEntry<java.lang.Integer, java.lang.Long>
partitionToOffset__ = input.readMessage(
PartitionToOffsetDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutablePartitionToOffset().getMutableMap().put(
partitionToOffset__.getKey(), partitionToOffset__.getValue());
bitField0_ |= 0x00000008;
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private long dbId_ ;
/**
* <code>optional int64 db_id = 2;</code>
* @return Whether the dbId field is set.
*/
@java.lang.Override
public boolean hasDbId() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional int64 db_id = 2;</code>
* @return The dbId.
*/
@java.lang.Override
public long getDbId() {
return dbId_;
}
/**
* <code>optional int64 db_id = 2;</code>
* @param value The dbId to set.
* @return This builder for chaining.
*/
public Builder setDbId(long value) {
dbId_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional int64 db_id = 2;</code>
* @return This builder for chaining.
*/
public Builder clearDbId() {
bitField0_ = (bitField0_ & ~0x00000002);
dbId_ = 0L;
onChanged();
return this;
}
private long jobId_ ;
/**
* <code>optional int64 job_id = 3;</code>
* @return Whether the jobId field is set.
*/
@java.lang.Override
public boolean hasJobId() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional int64 job_id = 3;</code>
* @return The jobId.
*/
@java.lang.Override
public long getJobId() {
return jobId_;
}
/**
* <code>optional int64 job_id = 3;</code>
* @param value The jobId to set.
* @return This builder for chaining.
*/
public Builder setJobId(long value) {
jobId_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>optional int64 job_id = 3;</code>
* @return This builder for chaining.
*/
public Builder clearJobId() {
bitField0_ = (bitField0_ & ~0x00000004);
jobId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.MapField<
java.lang.Integer, java.lang.Long> partitionToOffset_;
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Long>
internalGetPartitionToOffset() {
if (partitionToOffset_ == null) {
return com.google.protobuf.MapField.emptyMapField(
PartitionToOffsetDefaultEntryHolder.defaultEntry);
}
return partitionToOffset_;
}
private com.google.protobuf.MapField<java.lang.Integer, java.lang.Long>
internalGetMutablePartitionToOffset() {
if (partitionToOffset_ == null) {
partitionToOffset_ = com.google.protobuf.MapField.newMapField(
PartitionToOffsetDefaultEntryHolder.defaultEntry);
}
if (!partitionToOffset_.isMutable()) {
partitionToOffset_ = partitionToOffset_.copy();
}
bitField0_ |= 0x00000008;
onChanged();
return partitionToOffset_;
}
public int getPartitionToOffsetCount() {
return internalGetPartitionToOffset().getMap().size();
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public boolean containsPartitionToOffset(
int key) {
return internalGetPartitionToOffset().getMap().containsKey(key);
}
/**
* Use {@link #getPartitionToOffsetMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffset() {
return getPartitionToOffsetMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public java.util.Map<java.lang.Integer, java.lang.Long> getPartitionToOffsetMap() {
return internalGetPartitionToOffset().getMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrDefault(
int key,
long defaultValue) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
@java.lang.Override
public long getPartitionToOffsetOrThrow(
int key) {
java.util.Map<java.lang.Integer, java.lang.Long> map =
internalGetPartitionToOffset().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearPartitionToOffset() {
bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutablePartitionToOffset().getMutableMap()
.clear();
return this;
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
public Builder removePartitionToOffset(
int key) {
internalGetMutablePartitionToOffset().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map<java.lang.Integer, java.lang.Long>
getMutablePartitionToOffset() {
bitField0_ |= 0x00000008;
return internalGetMutablePartitionToOffset().getMutableMap();
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
public Builder putPartitionToOffset(
int key,
long value) {
internalGetMutablePartitionToOffset().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000008;
return this;
}
/**
* <code>map<int32, int64> partition_to_offset = 4;</code>
*/
public Builder putAllPartitionToOffset(
java.util.Map<java.lang.Integer, java.lang.Long> values) {
internalGetMutablePartitionToOffset().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000008;
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.ResetRLProgressRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.ResetRLProgressRequest)
private static final org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest();
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<ResetRLProgressRequest>
PARSER = new com.google.protobuf.AbstractParser<ResetRLProgressRequest>() {
@java.lang.Override
public ResetRLProgressRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ResetRLProgressRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ResetRLProgressRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResetRLProgressResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.ResetRLProgressResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.ResetRLProgressResponse}
*/
public static final class ResetRLProgressResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.ResetRLProgressResponse)
ResetRLProgressResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ResetRLProgressResponse.newBuilder() to construct.
private ResetRLProgressResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private ResetRLProgressResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ResetRLProgressResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse.class, org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse other = (org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.ResetRLProgressResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.ResetRLProgressResponse)
org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse.class, org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_ResetRLProgressResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse build() {
org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse result = new org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.ResetRLProgressResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.ResetRLProgressResponse)
private static final org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse();
}
public static org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<ResetRLProgressResponse>
PARSER = new com.google.protobuf.AbstractParser<ResetRLProgressResponse>() {
@java.lang.Override
public ResetRLProgressResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<ResetRLProgressResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<ResetRLProgressResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.ResetRLProgressResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CheckKeyInfosOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CheckKeyInfos)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated int64 db_ids = 1;</code>
* @return A list containing the dbIds.
*/
java.util.List<java.lang.Long> getDbIdsList();
/**
* <code>repeated int64 db_ids = 1;</code>
* @return The count of dbIds.
*/
int getDbIdsCount();
/**
* <code>repeated int64 db_ids = 1;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
long getDbIds(int index);
/**
* <code>repeated int64 table_ids = 2;</code>
* @return A list containing the tableIds.
*/
java.util.List<java.lang.Long> getTableIdsList();
/**
* <code>repeated int64 table_ids = 2;</code>
* @return The count of tableIds.
*/
int getTableIdsCount();
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
long getTableIds(int index);
/**
* <code>repeated int64 index_ids = 3;</code>
* @return A list containing the indexIds.
*/
java.util.List<java.lang.Long> getIndexIdsList();
/**
* <code>repeated int64 index_ids = 3;</code>
* @return The count of indexIds.
*/
int getIndexIdsCount();
/**
* <code>repeated int64 index_ids = 3;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
long getIndexIds(int index);
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return A list containing the partitionIds.
*/
java.util.List<java.lang.Long> getPartitionIdsList();
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return The count of partitionIds.
*/
int getPartitionIdsCount();
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
long getPartitionIds(int index);
}
/**
* Protobuf type {@code doris.cloud.CheckKeyInfos}
*/
public static final class CheckKeyInfos extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CheckKeyInfos)
CheckKeyInfosOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckKeyInfos.newBuilder() to construct.
private CheckKeyInfos(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckKeyInfos() {
dbIds_ = emptyLongList();
tableIds_ = emptyLongList();
indexIds_ = emptyLongList();
partitionIds_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CheckKeyInfos();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKeyInfos_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKeyInfos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.class, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder.class);
}
public static final int DB_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList dbIds_ =
emptyLongList();
/**
* <code>repeated int64 db_ids = 1;</code>
* @return A list containing the dbIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getDbIdsList() {
return dbIds_;
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @return The count of dbIds.
*/
public int getDbIdsCount() {
return dbIds_.size();
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
public long getDbIds(int index) {
return dbIds_.getLong(index);
}
public static final int TABLE_IDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList tableIds_ =
emptyLongList();
/**
* <code>repeated int64 table_ids = 2;</code>
* @return A list containing the tableIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getTableIdsList() {
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
public static final int INDEX_IDS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList indexIds_ =
emptyLongList();
/**
* <code>repeated int64 index_ids = 3;</code>
* @return A list containing the indexIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getIndexIdsList() {
return indexIds_;
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @return The count of indexIds.
*/
public int getIndexIdsCount() {
return indexIds_.size();
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
public long getIndexIds(int index) {
return indexIds_.getLong(index);
}
public static final int PARTITION_IDS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList partitionIds_ =
emptyLongList();
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return A list containing the partitionIds.
*/
@java.lang.Override
public java.util.List<java.lang.Long>
getPartitionIdsList() {
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < dbIds_.size(); i++) {
output.writeInt64(1, dbIds_.getLong(i));
}
for (int i = 0; i < tableIds_.size(); i++) {
output.writeInt64(2, tableIds_.getLong(i));
}
for (int i = 0; i < indexIds_.size(); i++) {
output.writeInt64(3, indexIds_.getLong(i));
}
for (int i = 0; i < partitionIds_.size(); i++) {
output.writeInt64(4, partitionIds_.getLong(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < dbIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(dbIds_.getLong(i));
}
size += dataSize;
size += 1 * getDbIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tableIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(tableIds_.getLong(i));
}
size += dataSize;
size += 1 * getTableIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < indexIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(indexIds_.getLong(i));
}
size += dataSize;
size += 1 * getIndexIdsList().size();
}
{
int dataSize = 0;
for (int i = 0; i < partitionIds_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(partitionIds_.getLong(i));
}
size += dataSize;
size += 1 * getPartitionIdsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CheckKeyInfos)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos other = (org.apache.doris.cloud.proto.Cloud.CheckKeyInfos) obj;
if (!getDbIdsList()
.equals(other.getDbIdsList())) return false;
if (!getTableIdsList()
.equals(other.getTableIdsList())) return false;
if (!getIndexIdsList()
.equals(other.getIndexIdsList())) return false;
if (!getPartitionIdsList()
.equals(other.getPartitionIdsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getDbIdsCount() > 0) {
hash = (37 * hash) + DB_IDS_FIELD_NUMBER;
hash = (53 * hash) + getDbIdsList().hashCode();
}
if (getTableIdsCount() > 0) {
hash = (37 * hash) + TABLE_IDS_FIELD_NUMBER;
hash = (53 * hash) + getTableIdsList().hashCode();
}
if (getIndexIdsCount() > 0) {
hash = (37 * hash) + INDEX_IDS_FIELD_NUMBER;
hash = (53 * hash) + getIndexIdsList().hashCode();
}
if (getPartitionIdsCount() > 0) {
hash = (37 * hash) + PARTITION_IDS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionIdsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CheckKeyInfos prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CheckKeyInfos}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CheckKeyInfos)
org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKeyInfos_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKeyInfos_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.class, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
dbIds_ = emptyLongList();
tableIds_ = emptyLongList();
indexIds_ = emptyLongList();
partitionIds_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKeyInfos_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos build() {
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos buildPartial() {
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos result = new org.apache.doris.cloud.proto.Cloud.CheckKeyInfos(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CheckKeyInfos result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
dbIds_.makeImmutable();
result.dbIds_ = dbIds_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
tableIds_.makeImmutable();
result.tableIds_ = tableIds_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
indexIds_.makeImmutable();
result.indexIds_ = indexIds_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
partitionIds_.makeImmutable();
result.partitionIds_ = partitionIds_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CheckKeyInfos) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CheckKeyInfos)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CheckKeyInfos other) {
if (other == org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance()) return this;
if (!other.dbIds_.isEmpty()) {
if (dbIds_.isEmpty()) {
dbIds_ = other.dbIds_;
dbIds_.makeImmutable();
bitField0_ |= 0x00000001;
} else {
ensureDbIdsIsMutable();
dbIds_.addAll(other.dbIds_);
}
onChanged();
}
if (!other.tableIds_.isEmpty()) {
if (tableIds_.isEmpty()) {
tableIds_ = other.tableIds_;
tableIds_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensureTableIdsIsMutable();
tableIds_.addAll(other.tableIds_);
}
onChanged();
}
if (!other.indexIds_.isEmpty()) {
if (indexIds_.isEmpty()) {
indexIds_ = other.indexIds_;
indexIds_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensureIndexIdsIsMutable();
indexIds_.addAll(other.indexIds_);
}
onChanged();
}
if (!other.partitionIds_.isEmpty()) {
if (partitionIds_.isEmpty()) {
partitionIds_ = other.partitionIds_;
partitionIds_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensurePartitionIdsIsMutable();
partitionIds_.addAll(other.partitionIds_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
long v = input.readInt64();
ensureDbIdsIsMutable();
dbIds_.addLong(v);
break;
} // case 8
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureDbIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
dbIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 10
case 16: {
long v = input.readInt64();
ensureTableIdsIsMutable();
tableIds_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureTableIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
tableIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
case 24: {
long v = input.readInt64();
ensureIndexIdsIsMutable();
indexIds_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureIndexIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
indexIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
long v = input.readInt64();
ensurePartitionIdsIsMutable();
partitionIds_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePartitionIdsIsMutable();
while (input.getBytesUntilLimit() > 0) {
partitionIds_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private com.google.protobuf.Internal.LongList dbIds_ = emptyLongList();
private void ensureDbIdsIsMutable() {
if (!dbIds_.isModifiable()) {
dbIds_ = makeMutableCopy(dbIds_);
}
bitField0_ |= 0x00000001;
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @return A list containing the dbIds.
*/
public java.util.List<java.lang.Long>
getDbIdsList() {
dbIds_.makeImmutable();
return dbIds_;
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @return The count of dbIds.
*/
public int getDbIdsCount() {
return dbIds_.size();
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @param index The index of the element to return.
* @return The dbIds at the given index.
*/
public long getDbIds(int index) {
return dbIds_.getLong(index);
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @param index The index to set the value at.
* @param value The dbIds to set.
* @return This builder for chaining.
*/
public Builder setDbIds(
int index, long value) {
ensureDbIdsIsMutable();
dbIds_.setLong(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @param value The dbIds to add.
* @return This builder for chaining.
*/
public Builder addDbIds(long value) {
ensureDbIdsIsMutable();
dbIds_.addLong(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @param values The dbIds to add.
* @return This builder for chaining.
*/
public Builder addAllDbIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureDbIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dbIds_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>repeated int64 db_ids = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDbIds() {
dbIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList tableIds_ = emptyLongList();
private void ensureTableIdsIsMutable() {
if (!tableIds_.isModifiable()) {
tableIds_ = makeMutableCopy(tableIds_);
}
bitField0_ |= 0x00000002;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return A list containing the tableIds.
*/
public java.util.List<java.lang.Long>
getTableIdsList() {
tableIds_.makeImmutable();
return tableIds_;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return The count of tableIds.
*/
public int getTableIdsCount() {
return tableIds_.size();
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index of the element to return.
* @return The tableIds at the given index.
*/
public long getTableIds(int index) {
return tableIds_.getLong(index);
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param index The index to set the value at.
* @param value The tableIds to set.
* @return This builder for chaining.
*/
public Builder setTableIds(
int index, long value) {
ensureTableIdsIsMutable();
tableIds_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param value The tableIds to add.
* @return This builder for chaining.
*/
public Builder addTableIds(long value) {
ensureTableIdsIsMutable();
tableIds_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @param values The tableIds to add.
* @return This builder for chaining.
*/
public Builder addAllTableIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureTableIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tableIds_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>repeated int64 table_ids = 2;</code>
* @return This builder for chaining.
*/
public Builder clearTableIds() {
tableIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList indexIds_ = emptyLongList();
private void ensureIndexIdsIsMutable() {
if (!indexIds_.isModifiable()) {
indexIds_ = makeMutableCopy(indexIds_);
}
bitField0_ |= 0x00000004;
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @return A list containing the indexIds.
*/
public java.util.List<java.lang.Long>
getIndexIdsList() {
indexIds_.makeImmutable();
return indexIds_;
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @return The count of indexIds.
*/
public int getIndexIdsCount() {
return indexIds_.size();
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @param index The index of the element to return.
* @return The indexIds at the given index.
*/
public long getIndexIds(int index) {
return indexIds_.getLong(index);
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @param index The index to set the value at.
* @param value The indexIds to set.
* @return This builder for chaining.
*/
public Builder setIndexIds(
int index, long value) {
ensureIndexIdsIsMutable();
indexIds_.setLong(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @param value The indexIds to add.
* @return This builder for chaining.
*/
public Builder addIndexIds(long value) {
ensureIndexIdsIsMutable();
indexIds_.addLong(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @param values The indexIds to add.
* @return This builder for chaining.
*/
public Builder addAllIndexIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensureIndexIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, indexIds_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* <code>repeated int64 index_ids = 3;</code>
* @return This builder for chaining.
*/
public Builder clearIndexIds() {
indexIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIds_ = emptyLongList();
private void ensurePartitionIdsIsMutable() {
if (!partitionIds_.isModifiable()) {
partitionIds_ = makeMutableCopy(partitionIds_);
}
bitField0_ |= 0x00000008;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return A list containing the partitionIds.
*/
public java.util.List<java.lang.Long>
getPartitionIdsList() {
partitionIds_.makeImmutable();
return partitionIds_;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return The count of partitionIds.
*/
public int getPartitionIdsCount() {
return partitionIds_.size();
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index of the element to return.
* @return The partitionIds at the given index.
*/
public long getPartitionIds(int index) {
return partitionIds_.getLong(index);
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param index The index to set the value at.
* @param value The partitionIds to set.
* @return This builder for chaining.
*/
public Builder setPartitionIds(
int index, long value) {
ensurePartitionIdsIsMutable();
partitionIds_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param value The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addPartitionIds(long value) {
ensurePartitionIdsIsMutable();
partitionIds_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @param values The partitionIds to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionIds(
java.lang.Iterable<? extends java.lang.Long> values) {
ensurePartitionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionIds_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* <code>repeated int64 partition_ids = 4;</code>
* @return This builder for chaining.
*/
public Builder clearPartitionIds() {
partitionIds_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CheckKeyInfos)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CheckKeyInfos)
private static final org.apache.doris.cloud.proto.Cloud.CheckKeyInfos DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CheckKeyInfos();
}
public static org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CheckKeyInfos>
PARSER = new com.google.protobuf.AbstractParser<CheckKeyInfos>() {
@java.lang.Override
public CheckKeyInfos parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CheckKeyInfos> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckKeyInfos> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CheckKVRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CheckKVRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
boolean hasCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
java.lang.String getCloudUniqueId();
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
com.google.protobuf.ByteString
getCloudUniqueIdBytes();
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
* @return Whether the checkKeys field is set.
*/
boolean hasCheckKeys();
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
* @return The checkKeys.
*/
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getCheckKeys();
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder getCheckKeysOrBuilder();
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @return Whether the op field is set.
*/
boolean hasOp();
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @return The op.
*/
org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation getOp();
}
/**
* Protobuf type {@code doris.cloud.CheckKVRequest}
*/
public static final class CheckKVRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CheckKVRequest)
CheckKVRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckKVRequest.newBuilder() to construct.
private CheckKVRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckKVRequest() {
cloudUniqueId_ = "";
op_ = 1;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CheckKVRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckKVRequest.class, org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Builder.class);
}
/**
* Protobuf enum {@code doris.cloud.CheckKVRequest.Operation}
*/
public enum Operation
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>CREATE_INDEX_AFTER_FE_COMMIT = 1;</code>
*/
CREATE_INDEX_AFTER_FE_COMMIT(1),
/**
* <code>CREATE_PARTITION_AFTER_FE_COMMIT = 2;</code>
*/
CREATE_PARTITION_AFTER_FE_COMMIT(2),
;
/**
* <code>CREATE_INDEX_AFTER_FE_COMMIT = 1;</code>
*/
public static final int CREATE_INDEX_AFTER_FE_COMMIT_VALUE = 1;
/**
* <code>CREATE_PARTITION_AFTER_FE_COMMIT = 2;</code>
*/
public static final int CREATE_PARTITION_AFTER_FE_COMMIT_VALUE = 2;
public final int getNumber() {
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Operation valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Operation forNumber(int value) {
switch (value) {
case 1: return CREATE_INDEX_AFTER_FE_COMMIT;
case 2: return CREATE_PARTITION_AFTER_FE_COMMIT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<Operation>
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Operation> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<Operation>() {
public Operation findValueByNumber(int number) {
return Operation.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.CheckKVRequest.getDescriptor().getEnumTypes().get(0);
}
private static final Operation[] VALUES = values();
public static Operation valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int value;
private Operation(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:doris.cloud.CheckKVRequest.Operation)
}
private int bitField0_;
public static final int CLOUD_UNIQUE_ID_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
@java.lang.Override
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
@java.lang.Override
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CHECK_KEYS_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.CheckKeyInfos checkKeys_;
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
* @return Whether the checkKeys field is set.
*/
@java.lang.Override
public boolean hasCheckKeys() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
* @return The checkKeys.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getCheckKeys() {
return checkKeys_ == null ? org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : checkKeys_;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder getCheckKeysOrBuilder() {
return checkKeys_ == null ? org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : checkKeys_;
}
public static final int OP_FIELD_NUMBER = 3;
private int op_ = 1;
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @return The op.
*/
@java.lang.Override public org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation result = org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation.CREATE_INDEX_AFTER_FE_COMMIT : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getCheckKeys());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeEnum(3, op_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cloudUniqueId_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCheckKeys());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, op_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CheckKVRequest)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CheckKVRequest other = (org.apache.doris.cloud.proto.Cloud.CheckKVRequest) obj;
if (hasCloudUniqueId() != other.hasCloudUniqueId()) return false;
if (hasCloudUniqueId()) {
if (!getCloudUniqueId()
.equals(other.getCloudUniqueId())) return false;
}
if (hasCheckKeys() != other.hasCheckKeys()) return false;
if (hasCheckKeys()) {
if (!getCheckKeys()
.equals(other.getCheckKeys())) return false;
}
if (hasOp() != other.hasOp()) return false;
if (hasOp()) {
if (op_ != other.op_) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCloudUniqueId()) {
hash = (37 * hash) + CLOUD_UNIQUE_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudUniqueId().hashCode();
}
if (hasCheckKeys()) {
hash = (37 * hash) + CHECK_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getCheckKeys().hashCode();
}
if (hasOp()) {
hash = (37 * hash) + OP_FIELD_NUMBER;
hash = (53 * hash) + op_;
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CheckKVRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CheckKVRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CheckKVRequest)
org.apache.doris.cloud.proto.Cloud.CheckKVRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckKVRequest.class, org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CheckKVRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCheckKeysFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
cloudUniqueId_ = "";
checkKeys_ = null;
if (checkKeysBuilder_ != null) {
checkKeysBuilder_.dispose();
checkKeysBuilder_ = null;
}
op_ = 1;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVRequest_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVRequest getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CheckKVRequest.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVRequest build() {
org.apache.doris.cloud.proto.Cloud.CheckKVRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVRequest buildPartial() {
org.apache.doris.cloud.proto.Cloud.CheckKVRequest result = new org.apache.doris.cloud.proto.Cloud.CheckKVRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CheckKVRequest result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.cloudUniqueId_ = cloudUniqueId_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.checkKeys_ = checkKeysBuilder_ == null
? checkKeys_
: checkKeysBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.op_ = op_;
to_bitField0_ |= 0x00000004;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CheckKVRequest) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CheckKVRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CheckKVRequest other) {
if (other == org.apache.doris.cloud.proto.Cloud.CheckKVRequest.getDefaultInstance()) return this;
if (other.hasCloudUniqueId()) {
cloudUniqueId_ = other.cloudUniqueId_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCheckKeys()) {
mergeCheckKeys(other.getCheckKeys());
}
if (other.hasOp()) {
setOp(other.getOp());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
cloudUniqueId_ = input.readBytes();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getCheckKeysFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
int tmpRaw = input.readEnum();
org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation tmpValue =
org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(3, tmpRaw);
} else {
op_ = tmpRaw;
bitField0_ |= 0x00000004;
}
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object cloudUniqueId_ = "";
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return Whether the cloudUniqueId field is set.
*/
public boolean hasCloudUniqueId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The cloudUniqueId.
*/
public java.lang.String getCloudUniqueId() {
java.lang.Object ref = cloudUniqueId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
cloudUniqueId_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return The bytes for cloudUniqueId.
*/
public com.google.protobuf.ByteString
getCloudUniqueIdBytes() {
java.lang.Object ref = cloudUniqueId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
cloudUniqueId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueId(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @return This builder for chaining.
*/
public Builder clearCloudUniqueId() {
cloudUniqueId_ = getDefaultInstance().getCloudUniqueId();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* <pre>
* For auth
* </pre>
*
* <code>optional string cloud_unique_id = 1;</code>
* @param value The bytes for cloudUniqueId to set.
* @return This builder for chaining.
*/
public Builder setCloudUniqueIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
cloudUniqueId_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private org.apache.doris.cloud.proto.Cloud.CheckKeyInfos checkKeys_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder, org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder> checkKeysBuilder_;
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
* @return Whether the checkKeys field is set.
*/
public boolean hasCheckKeys() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
* @return The checkKeys.
*/
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getCheckKeys() {
if (checkKeysBuilder_ == null) {
return checkKeys_ == null ? org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : checkKeys_;
} else {
return checkKeysBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
public Builder setCheckKeys(org.apache.doris.cloud.proto.Cloud.CheckKeyInfos value) {
if (checkKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
checkKeys_ = value;
} else {
checkKeysBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
public Builder setCheckKeys(
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder builderForValue) {
if (checkKeysBuilder_ == null) {
checkKeys_ = builderForValue.build();
} else {
checkKeysBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
public Builder mergeCheckKeys(org.apache.doris.cloud.proto.Cloud.CheckKeyInfos value) {
if (checkKeysBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
checkKeys_ != null &&
checkKeys_ != org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance()) {
getCheckKeysBuilder().mergeFrom(value);
} else {
checkKeys_ = value;
}
} else {
checkKeysBuilder_.mergeFrom(value);
}
if (checkKeys_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
public Builder clearCheckKeys() {
bitField0_ = (bitField0_ & ~0x00000002);
checkKeys_ = null;
if (checkKeysBuilder_ != null) {
checkKeysBuilder_.dispose();
checkKeysBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder getCheckKeysBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getCheckKeysFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder getCheckKeysOrBuilder() {
if (checkKeysBuilder_ != null) {
return checkKeysBuilder_.getMessageOrBuilder();
} else {
return checkKeys_ == null ?
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : checkKeys_;
}
}
/**
* <code>optional .doris.cloud.CheckKeyInfos check_keys = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder, org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder>
getCheckKeysFieldBuilder() {
if (checkKeysBuilder_ == null) {
checkKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder, org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder>(
getCheckKeys(),
getParentForChildren(),
isClean());
checkKeys_ = null;
}
return checkKeysBuilder_;
}
private int op_ = 1;
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @return Whether the op field is set.
*/
@java.lang.Override public boolean hasOp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @return The op.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation getOp() {
org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation result = org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation.forNumber(op_);
return result == null ? org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation.CREATE_INDEX_AFTER_FE_COMMIT : result;
}
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @param value The op to set.
* @return This builder for chaining.
*/
public Builder setOp(org.apache.doris.cloud.proto.Cloud.CheckKVRequest.Operation value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
op_ = value.getNumber();
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CheckKVRequest.Operation op = 3;</code>
* @return This builder for chaining.
*/
public Builder clearOp() {
bitField0_ = (bitField0_ & ~0x00000004);
op_ = 1;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CheckKVRequest)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CheckKVRequest)
private static final org.apache.doris.cloud.proto.Cloud.CheckKVRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CheckKVRequest();
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CheckKVRequest>
PARSER = new com.google.protobuf.AbstractParser<CheckKVRequest>() {
@java.lang.Override
public CheckKVRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CheckKVRequest> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckKVRequest> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CheckKVResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:doris.cloud.CheckKVResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus();
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder();
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
* @return Whether the badKeys field is set.
*/
boolean hasBadKeys();
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
* @return The badKeys.
*/
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getBadKeys();
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder getBadKeysOrBuilder();
}
/**
* Protobuf type {@code doris.cloud.CheckKVResponse}
*/
public static final class CheckKVResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:doris.cloud.CheckKVResponse)
CheckKVResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use CheckKVResponse.newBuilder() to construct.
private CheckKVResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private CheckKVResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CheckKVResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckKVResponse.class, org.apache.doris.cloud.proto.Cloud.CheckKVResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
public static final int BAD_KEYS_FIELD_NUMBER = 2;
private org.apache.doris.cloud.proto.Cloud.CheckKeyInfos badKeys_;
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
* @return Whether the badKeys field is set.
*/
@java.lang.Override
public boolean hasBadKeys() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
* @return The badKeys.
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getBadKeys() {
return badKeys_ == null ? org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : badKeys_;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder getBadKeysOrBuilder() {
return badKeys_ == null ? org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : badKeys_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getBadKeys());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getBadKeys());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.doris.cloud.proto.Cloud.CheckKVResponse)) {
return super.equals(obj);
}
org.apache.doris.cloud.proto.Cloud.CheckKVResponse other = (org.apache.doris.cloud.proto.Cloud.CheckKVResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (hasBadKeys() != other.hasBadKeys()) return false;
if (hasBadKeys()) {
if (!getBadKeys()
.equals(other.getBadKeys())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (hasBadKeys()) {
hash = (37 * hash) + BAD_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getBadKeys().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.doris.cloud.proto.Cloud.CheckKVResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code doris.cloud.CheckKVResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:doris.cloud.CheckKVResponse)
org.apache.doris.cloud.proto.Cloud.CheckKVResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.doris.cloud.proto.Cloud.CheckKVResponse.class, org.apache.doris.cloud.proto.Cloud.CheckKVResponse.Builder.class);
}
// Construct using org.apache.doris.cloud.proto.Cloud.CheckKVResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getBadKeysFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
badKeys_ = null;
if (badKeysBuilder_ != null) {
badKeysBuilder_.dispose();
badKeysBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.doris.cloud.proto.Cloud.internal_static_doris_cloud_CheckKVResponse_descriptor;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVResponse getDefaultInstanceForType() {
return org.apache.doris.cloud.proto.Cloud.CheckKVResponse.getDefaultInstance();
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVResponse build() {
org.apache.doris.cloud.proto.Cloud.CheckKVResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVResponse buildPartial() {
org.apache.doris.cloud.proto.Cloud.CheckKVResponse result = new org.apache.doris.cloud.proto.Cloud.CheckKVResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(org.apache.doris.cloud.proto.Cloud.CheckKVResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.badKeys_ = badKeysBuilder_ == null
? badKeys_
: badKeysBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.doris.cloud.proto.Cloud.CheckKVResponse) {
return mergeFrom((org.apache.doris.cloud.proto.Cloud.CheckKVResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.doris.cloud.proto.Cloud.CheckKVResponse other) {
if (other == org.apache.doris.cloud.proto.Cloud.CheckKVResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (other.hasBadKeys()) {
mergeBadKeys(other.getBadKeys());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
input.readMessage(
getBadKeysFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus status_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder> statusBuilder_;
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
* @return The status.
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder setStatus(
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder mergeStatus(org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
public org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.getDefaultInstance() : status_;
}
}
/**
* <code>optional .doris.cloud.MetaServiceResponseStatus status = 1;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatus.Builder, org.apache.doris.cloud.proto.Cloud.MetaServiceResponseStatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private org.apache.doris.cloud.proto.Cloud.CheckKeyInfos badKeys_;
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder, org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder> badKeysBuilder_;
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
* @return Whether the badKeys field is set.
*/
public boolean hasBadKeys() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
* @return The badKeys.
*/
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos getBadKeys() {
if (badKeysBuilder_ == null) {
return badKeys_ == null ? org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : badKeys_;
} else {
return badKeysBuilder_.getMessage();
}
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
public Builder setBadKeys(org.apache.doris.cloud.proto.Cloud.CheckKeyInfos value) {
if (badKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
badKeys_ = value;
} else {
badKeysBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
public Builder setBadKeys(
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder builderForValue) {
if (badKeysBuilder_ == null) {
badKeys_ = builderForValue.build();
} else {
badKeysBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
public Builder mergeBadKeys(org.apache.doris.cloud.proto.Cloud.CheckKeyInfos value) {
if (badKeysBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0) &&
badKeys_ != null &&
badKeys_ != org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance()) {
getBadKeysBuilder().mergeFrom(value);
} else {
badKeys_ = value;
}
} else {
badKeysBuilder_.mergeFrom(value);
}
if (badKeys_ != null) {
bitField0_ |= 0x00000002;
onChanged();
}
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
public Builder clearBadKeys() {
bitField0_ = (bitField0_ & ~0x00000002);
badKeys_ = null;
if (badKeysBuilder_ != null) {
badKeysBuilder_.dispose();
badKeysBuilder_ = null;
}
onChanged();
return this;
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder getBadKeysBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getBadKeysFieldBuilder().getBuilder();
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
public org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder getBadKeysOrBuilder() {
if (badKeysBuilder_ != null) {
return badKeysBuilder_.getMessageOrBuilder();
} else {
return badKeys_ == null ?
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.getDefaultInstance() : badKeys_;
}
}
/**
* <code>optional .doris.cloud.CheckKeyInfos bad_keys = 2;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder, org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder>
getBadKeysFieldBuilder() {
if (badKeysBuilder_ == null) {
badKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
org.apache.doris.cloud.proto.Cloud.CheckKeyInfos, org.apache.doris.cloud.proto.Cloud.CheckKeyInfos.Builder, org.apache.doris.cloud.proto.Cloud.CheckKeyInfosOrBuilder>(
getBadKeys(),
getParentForChildren(),
isClean());
badKeys_ = null;
}
return badKeysBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:doris.cloud.CheckKVResponse)
}
// @@protoc_insertion_point(class_scope:doris.cloud.CheckKVResponse)
private static final org.apache.doris.cloud.proto.Cloud.CheckKVResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.doris.cloud.proto.Cloud.CheckKVResponse();
}
public static org.apache.doris.cloud.proto.Cloud.CheckKVResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser<CheckKVResponse>
PARSER = new com.google.protobuf.AbstractParser<CheckKVResponse>() {
@java.lang.Override
public CheckKVResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser<CheckKVResponse> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<CheckKVResponse> getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.doris.cloud.proto.Cloud.CheckKVResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_EncryptionInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_EncryptionInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_EncryptionKeyInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_EncryptionKeyInfoPB_Item_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_EncryptionKeyInfoPB_Item_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RamUserPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RamUserPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_InstanceInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_InstanceInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_StagePB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_StagePB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_StagePB_PropertiesEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_StagePB_PropertiesEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ClusterPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ClusterPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_NodeInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_NodeInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ObjectStoreInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ObjectStoreInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_StorageVaultPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_StorageVaultPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_StorageVaultPB_PathFormat_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_StorageVaultPB_PathFormat_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_HdfsBuildConf_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_HdfsBuildConf_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_HdfsVaultInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_HdfsVaultInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UniqueIdPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UniqueIdPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnCoordinatorPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnCoordinatorPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RoutineLoadProgressPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RoutineLoadProgressPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RoutineLoadProgressPB_PartitionToOffsetEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RoutineLoadProgressPB_PartitionToOffsetEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RoutineLoadJobStatisticPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RoutineLoadJobStatisticPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnCommitAttachmentPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnCommitAttachmentPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_StatsEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_StatsEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_CountersEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_CountersEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnLabelPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnLabelPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnIndexPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnIndexPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TxnRunningPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TxnRunningPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_VersionPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_VersionPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RecycleTxnPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RecycleTxnPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RecycleIndexPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RecycleIndexPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RecyclePartitionPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RecyclePartitionPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RecycleRowsetPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RecycleRowsetPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RecycleStagePB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RecycleStagePB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_JobRecyclePB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_JobRecyclePB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TabletIndexPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TabletIndexPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TabletMetaInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TabletMetaInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TabletCompactionJobPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TabletCompactionJobPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TabletSchemaChangeJobPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TabletSchemaChangeJobPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TabletJobInfoPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TabletJobInfoPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TabletStatsPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TabletStatsPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ObjectFilePB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ObjectFilePB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CopyJobPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CopyJobPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CopyFilePB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CopyFilePB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ServiceRegistryPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ServiceRegistryPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ServiceRegistryPB_Item_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ServiceRegistryPB_Item_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_BeginTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_BeginTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_BeginTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_BeginTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_PrecommitTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_PrecommitTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_PrecommitTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_PrecommitTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CommitTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CommitTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_SubTxnInfo_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_SubTxnInfo_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_TableStatsPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_TableStatsPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CommitTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CommitTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AbortTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AbortTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AbortTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AbortTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTxnIdRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTxnIdRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTxnIdResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTxnIdResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_BeginSubTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_BeginSubTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_BeginSubTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_BeginSubTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AbortSubTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AbortSubTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AbortSubTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AbortSubTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetCurrentMaxTxnRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetCurrentMaxTxnRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetCurrentMaxTxnResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetCurrentMaxTxnResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CheckTxnConflictRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CheckTxnConflictRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CheckTxnConflictResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CheckTxnConflictResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CleanTxnLabelRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CleanTxnLabelRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CleanTxnLabelResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CleanTxnLabelResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetVersionRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetVersionRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetVersionResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetVersionResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetObjStoreInfoRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetObjStoreInfoRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterObjStoreInfoRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterObjStoreInfoRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterObjStoreInfoResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterObjStoreInfoResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateAkSkRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateAkSkRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateAkSkResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateAkSkResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetObjStoreInfoResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetObjStoreInfoResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateTabletsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateTabletsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateTabletsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateTabletsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateTabletRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateTabletRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateTabletResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateTabletResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateTabletSchemaRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateTabletSchemaRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateTabletSchemaResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateTabletSchemaResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_DropTabletRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_DropTabletRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTabletRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTabletRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTabletResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTabletResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateRowsetRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateRowsetRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateRowsetResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateRowsetResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetRowsetRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetRowsetRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetRowsetResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetRowsetResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetSchemaDictRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetSchemaDictRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetSchemaDictResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetSchemaDictResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_IndexRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_IndexRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_IndexResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_IndexResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_PartitionRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_PartitionRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_PartitionResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_PartitionResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_MetaServiceResponseStatus_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_MetaServiceResponseStatus_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_MetaServiceHttpRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_MetaServiceHttpRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_MetaServiceHttpResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_MetaServiceHttpResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateInstanceRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateInstanceRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateInstanceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateInstanceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterInstanceRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterInstanceRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterInstanceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterInstanceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetInstanceRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetInstanceRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetInstanceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetInstanceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterClusterRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterClusterRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterClusterResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterClusterResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetClusterRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetClusterRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetClusterStatusRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetClusterStatusRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetClusterStatusResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetClusterStatusResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetClusterResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetClusterResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTabletStatsRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTabletStatsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetTabletStatsResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetTabletStatsResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateStageRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateStageRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CreateStageResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CreateStageResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetStageRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetStageRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetStageResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetStageResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_DropStageRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_DropStageRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_DropStageResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_DropStageResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetIamRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetIamRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetIamResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetIamResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterIamRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterIamRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterIamResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterIamResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterRamUserRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterRamUserRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_AlterRamUserResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_AlterRamUserResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_StartTabletJobRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_StartTabletJobRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_StartTabletJobResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_StartTabletJobResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_FinishTabletJobRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_FinishTabletJobRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_FinishTabletJobResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_FinishTabletJobResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_BeginCopyRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_BeginCopyRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_BeginCopyResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_BeginCopyResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_FinishCopyRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_FinishCopyRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_FinishCopyResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_FinishCopyResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetCopyJobRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetCopyJobRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetCopyJobResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetCopyJobResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetCopyFilesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetCopyFilesRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetCopyFilesResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetCopyFilesResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_FilterCopyFilesRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_FilterCopyFilesRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_FilterCopyFilesResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_FilterCopyFilesResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RecycleInstanceRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RecycleInstanceRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RecycleInstanceResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RecycleInstanceResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateDeleteBitmapRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateDeleteBitmapRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_UpdateDeleteBitmapResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_UpdateDeleteBitmapResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetDeleteBitmapRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetDeleteBitmapRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetDeleteBitmapResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetDeleteBitmapResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RemoveDeleteBitmapRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RemoveDeleteBitmapRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RemoveDeleteBitmapResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RemoveDeleteBitmapResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_PendingDeleteBitmapPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_PendingDeleteBitmapPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_DeleteBitmapUpdateLockPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_DeleteBitmapUpdateLockPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_MowTabletCompactionPB_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_MowTabletCompactionPB_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetRLTaskCommitAttachRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetRLTaskCommitAttachRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_GetRLTaskCommitAttachResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_GetRLTaskCommitAttachResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ResetRLProgressRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ResetRLProgressRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ResetRLProgressRequest_PartitionToOffsetEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ResetRLProgressRequest_PartitionToOffsetEntry_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_ResetRLProgressResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_ResetRLProgressResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CheckKeyInfos_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CheckKeyInfos_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CheckKVRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CheckKVRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_doris_cloud_CheckKVResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_doris_cloud_CheckKVResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\013cloud.proto\022\013doris.cloud\032\017olap_file.pr" +
"oto\"=\n\020EncryptionInfoPB\022\031\n\021encryption_me" +
"thod\030\001 \001(\t\022\016\n\006key_id\030\002 \001(\003\"\346\001\n\023Encryptio" +
"nKeyInfoPB\0224\n\005items\030\001 \003(\0132%.doris.cloud." +
"EncryptionKeyInfoPB.Item\0328\n\007KMSInfo\022\020\n\010e" +
"ndpoint\030\001 \001(\t\022\016\n\006region\030\002 \001(\t\022\013\n\003cmk\030\003 \001" +
"(\t\032_\n\004Item\022\016\n\006key_id\030\001 \001(\003\022\013\n\003key\030\002 \001(\t\022" +
":\n\010kms_info\030\003 \001(\0132(.doris.cloud.Encrypti" +
"onKeyInfoPB.KMSInfo\"\201\001\n\tRamUserPB\022\017\n\007use" +
"r_id\030\001 \001(\t\022\n\n\002ak\030\002 \001(\t\022\n\n\002sk\030\003 \001(\t\022\023\n\013ex" +
"ternal_id\030\004 \001(\t\0226\n\017encryption_info\030\006 \001(\013" +
"2\035.doris.cloud.EncryptionInfoPB\"\327\004\n\016Inst" +
"anceInfoPB\022\017\n\007user_id\030\001 \001(\t\022\023\n\013instance_" +
"id\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022\r\n\005lb_ip\030\004 \003(\t\022\r\n" +
"\005ctime\030\005 \001(\003\022\r\n\005mtime\030\006 \001(\003\022(\n\010clusters\030" +
"\007 \003(\0132\026.doris.cloud.ClusterPB\0220\n\010obj_inf" +
"o\030\010 \003(\0132\036.doris.cloud.ObjectStoreInfoPB\022" +
"$\n\006stages\030\t \003(\0132\024.doris.cloud.StagePB\0222\n" +
"\006status\030\n \001(\0162\".doris.cloud.InstanceInfo" +
"PB.Status\022(\n\010ram_user\030\013 \001(\0132\026.doris.clou" +
"d.RamUserPB\022(\n\010iam_user\030\014 \001(\0132\026.doris.cl" +
"oud.RamUserPB\022\023\n\013sse_enabled\030\r \001(\010\022\024\n\014re" +
"source_ids\030d \003(\t\022\033\n\023storage_vault_names\030" +
"e \003(\t\022 \n\030default_storage_vault_id\030f \001(\t\022" +
"\"\n\032default_storage_vault_name\030g \001(\t\022\034\n\024e" +
"nable_storage_vault\030h \001(\010\".\n\006Status\022\n\n\006N" +
"ORMAL\020\000\022\013\n\007DELETED\020\001\022\013\n\007OVERDUE\020\002\"\256\004\n\007St" +
"agePB\022,\n\004type\030\001 \001(\0162\036.doris.cloud.StageP" +
"B.StageType\022\027\n\017mysql_user_name\030\002 \003(\t\022\014\n\004" +
"name\030\003 \001(\t\0220\n\010obj_info\030\006 \001(\0132\036.doris.clo" +
"ud.ObjectStoreInfoPB\022\020\n\010stage_id\030\007 \001(\t\0228" +
"\n\nproperties\030\010 \003(\0132$.doris.cloud.StagePB" +
".PropertiesEntry\022\025\n\rmysql_user_id\030\t \003(\t\022" +
"\017\n\007comment\030\n \001(\t\022\023\n\013create_time\030\013 \001(\003\022?\n" +
"\013access_type\030\014 \001(\0162$.doris.cloud.StagePB" +
".StageAccessType:\004AKSK\022\021\n\trole_name\030\r \001(" +
"\t\022\013\n\003arn\030\016 \001(\t\022\023\n\013external_id\030\017 \001(\t\0321\n\017P" +
"ropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" +
"(\t:\0028\001\"\'\n\tStageType\022\014\n\010INTERNAL\020\000\022\014\n\010EXT" +
"ERNAL\020\001\"A\n\017StageAccessType\022\013\n\007UNKNOWN\020\000\022" +
"\010\n\004AKSK\020\001\022\007\n\003IAM\020\002\022\016\n\nBUCKET_ACL\020\003\"\264\002\n\tC" +
"lusterPB\022\022\n\ncluster_id\030\001 \001(\t\022\024\n\014cluster_" +
"name\030\002 \001(\t\022)\n\004type\030\003 \001(\0162\033.doris.cloud.C" +
"lusterPB.Type\022\014\n\004desc\030\004 \001(\t\022&\n\005nodes\030\005 \003" +
"(\0132\027.doris.cloud.NodeInfoPB\022\027\n\017mysql_use" +
"r_name\030\006 \003(\t\022\027\n\017public_endpoint\030\007 \001(\t\022\030\n" +
"\020private_endpoint\030\010 \001(\t\0222\n\016cluster_statu" +
"s\030\t \001(\0162\032.doris.cloud.ClusterStatus\"\034\n\004T" +
"ype\022\007\n\003SQL\020\000\022\013\n\007COMPUTE\020\001\"\377\002\n\nNodeInfoPB" +
"\022\027\n\017cloud_unique_id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022" +
"\n\n\002ip\030\003 \001(\t\022\020\n\010vpc_name\030\004 \001(\t\022\r\n\005ctime\030\005" +
" \001(\003\022\r\n\005mtime\030\006 \001(\003\022)\n\006status\030\007 \001(\0162\031.do" +
"ris.cloud.NodeStatusPB\022\026\n\016heartbeat_port" +
"\030\010 \001(\005\022\014\n\004desc\030\t \001(\t\022\025\n\redit_log_port\030\n " +
"\001(\005\0223\n\tnode_type\030\013 \001(\0162 .doris.cloud.Nod" +
"eInfoPB.NodeType\022\031\n\021is_smooth_upgrade\030\014 " +
"\001(\010\022\014\n\004host\030\r \001(\t\"H\n\010NodeType\022\013\n\007UNKNOWN" +
"\020\000\022\r\n\tFE_MASTER\020\001\022\017\n\013FE_OBSERVER\020\002\022\017\n\013FE" +
"_FOLLOWER\020\003\"\251\004\n\021ObjectStoreInfoPB\022\r\n\005cti" +
"me\030\001 \001(\003\022\r\n\005mtime\030\002 \001(\003\022\n\n\002id\030\003 \001(\t\022\n\n\002a" +
"k\030\004 \001(\t\022\n\n\002sk\030\005 \001(\t\022\016\n\006bucket\030\006 \001(\t\022\016\n\006p" +
"refix\030\007 \001(\t\022\020\n\010endpoint\030\010 \001(\t\022\016\n\006region\030" +
"\t \001(\t\0229\n\010provider\030\n \001(\0162\'.doris.cloud.Ob" +
"jectStoreInfoPB.Provider\022\031\n\021external_end" +
"point\030\013 \001(\t\022\017\n\007user_id\030\r \001(\t\0226\n\017encrypti" +
"on_info\030\016 \001(\0132\035.doris.cloud.EncryptionIn" +
"foPB\022\023\n\013sse_enabled\030\017 \001(\010\022\026\n\016use_path_st" +
"yle\030\020 \001(\010\022;\n\022cred_provider_type\030\021 \001(\0162\037." +
"doris.cloud.CredProviderTypePB\022\020\n\010role_a" +
"rn\030\022 \001(\t\022\023\n\013external_id\030\023 \001(\t\"`\n\010Provide" +
"r\022\024\n\007UNKONWN\020\377\377\377\377\377\377\377\377\377\001\022\007\n\003OSS\020\000\022\006\n\002S3\020\001" +
"\022\007\n\003COS\020\002\022\007\n\003OBS\020\003\022\007\n\003BOS\020\004\022\007\n\003GCP\020\005\022\t\n\005" +
"AZURE\020\006\"\223\002\n\016StorageVaultPB\022\n\n\002id\030\001 \001(\t\022\014" +
"\n\004name\030\002 \001(\t\022-\n\thdfs_info\030\003 \001(\0132\032.doris." +
"cloud.HdfsVaultInfo\0220\n\010obj_info\030\004 \001(\0132\036." +
"doris.cloud.ObjectStoreInfoPB\022;\n\013path_fo" +
"rmat\030\005 \001(\0132&.doris.cloud.StorageVaultPB." +
"PathFormat\022\022\n\nalter_name\030\006 \001(\t\0325\n\nPathFo" +
"rmat\022\024\n\014path_version\030\001 \001(\003\022\021\n\tshard_num\030" +
"\002 \001(\003\"\332\001\n\rHdfsBuildConf\022\017\n\007fs_name\030\001 \001(\t" +
"\022\014\n\004user\030\002 \001(\t\022\037\n\027hdfs_kerberos_principa" +
"l\030\003 \001(\t\022\034\n\024hdfs_kerberos_keytab\030\004 \001(\t\022=\n" +
"\nhdfs_confs\030\005 \003(\0132).doris.cloud.HdfsBuil" +
"dConf.HdfsConfKVPair\032,\n\016HdfsConfKVPair\022\013" +
"\n\003key\030\001 \002(\t\022\r\n\005value\030\002 \002(\t\"O\n\rHdfsVaultI" +
"nfo\022.\n\nbuild_conf\030\001 \001(\0132\032.doris.cloud.Hd" +
"fsBuildConf\022\016\n\006prefix\030\002 \001(\t\"$\n\nUniqueIdP" +
"B\022\n\n\002hi\030\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"p\n\020TxnCoordina" +
"torPB\0220\n\nsourceType\030\001 \001(\0162\034.doris.cloud." +
"TxnSourceTypePB\022\n\n\002ip\030\002 \001(\t\022\n\n\002id\030\003 \001(\003\022" +
"\022\n\nstart_time\030\004 \001(\003\"\337\001\n\025RoutineLoadProgr" +
"essPB\022V\n\023partition_to_offset\030\001 \003(\01329.dor" +
"is.cloud.RoutineLoadProgressPB.Partition" +
"ToOffsetEntry\0224\n\004stat\030\002 \001(\0132&.doris.clou" +
"d.RoutineLoadJobStatisticPB\0328\n\026Partition" +
"ToOffsetEntry\022\013\n\003key\030\001 \001(\005\022\r\n\005value\030\002 \001(" +
"\003:\0028\001\"\241\002\n\033RLTaskTxnCommitAttachmentPB\022\016\n" +
"\006job_id\030\001 \001(\003\022(\n\007task_id\030\002 \001(\0132\027.doris.c" +
"loud.UniqueIdPB\022\025\n\rfiltered_rows\030\003 \001(\003\022\023" +
"\n\013loaded_rows\030\004 \001(\003\022\027\n\017unselected_rows\030\005" +
" \001(\003\022\026\n\016received_bytes\030\006 \001(\003\022\036\n\026task_exe" +
"cution_time_ms\030\007 \001(\003\0224\n\010progress\030\010 \001(\0132\"" +
".doris.cloud.RoutineLoadProgressPB\022\025\n\rer" +
"ror_log_url\030\t \001(\t\"\230\001\n\031RoutineLoadJobStat" +
"isticPB\022\025\n\rfiltered_rows\030\001 \001(\003\022\023\n\013loaded" +
"_rows\030\002 \001(\003\022\027\n\017unselected_rows\030\003 \001(\003\022\026\n\016" +
"received_bytes\030\004 \001(\003\022\036\n\026task_execution_t" +
"ime_ms\030\005 \001(\003\"\373\014\n\025TxnCommitAttachmentPB\0225" +
"\n\004type\030\001 \001(\0162\'.doris.cloud.TxnCommitAtta" +
"chmentPB.Type\022\\\n\030load_job_final_operatio" +
"n\030\002 \001(\0132:.doris.cloud.TxnCommitAttachmen" +
"tPB.LoadJobFinalOperationPB\022O\n\035rl_task_t" +
"xn_commit_attachment\030\003 \001(\0132(.doris.cloud" +
".RLTaskTxnCommitAttachmentPB\032\262\n\n\027LoadJob" +
"FinalOperationPB\022\n\n\002id\030\001 \001(\003\022^\n\016loading_" +
"status\030\002 \001(\0132F.doris.cloud.TxnCommitAtta" +
"chmentPB.LoadJobFinalOperationPB.EtlStat" +
"usPB\022\020\n\010progress\030\003 \001(\005\022\034\n\024load_start_tim" +
"estamp\030\004 \001(\003\022\030\n\020finish_timestamp\030\005 \001(\003\022X" +
"\n\tjob_state\030\006 \001(\0162E.doris.cloud.TxnCommi" +
"tAttachmentPB.LoadJobFinalOperationPB.Jo" +
"bStatePB\022V\n\010fail_msg\030\007 \001(\0132D.doris.cloud" +
".TxnCommitAttachmentPB.LoadJobFinalOpera" +
"tionPB.FailMsgPB\022\017\n\007copy_id\030\010 \001(\t\022\027\n\017loa" +
"d_file_paths\030\t \001(\t\032\363\003\n\013EtlStatusPB\022`\n\005st" +
"ate\030\001 \001(\0162Q.doris.cloud.TxnCommitAttachm" +
"entPB.LoadJobFinalOperationPB.EtlStatusP" +
"B.EtlStatePB\022\024\n\014tracking_url\030\002 \001(\t\022`\n\005st" +
"ats\030\003 \003(\0132Q.doris.cloud.TxnCommitAttachm" +
"entPB.LoadJobFinalOperationPB.EtlStatusP" +
"B.StatsEntry\022f\n\010counters\030\004 \003(\0132T.doris.c" +
"loud.TxnCommitAttachmentPB.LoadJobFinalO" +
"perationPB.EtlStatusPB.CountersEntry\032,\n\n" +
"StatsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
"8\001\032/\n\rCountersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu" +
"e\030\002 \001(\t:\0028\001\"C\n\nEtlStatePB\022\013\n\007RUNNING\020\000\022\014" +
"\n\010FINISHED\020\001\022\r\n\tCANCELLED\020\002\022\013\n\007UNKNOWN\020\003" +
"\032\244\002\n\tFailMsgPB\022f\n\013cancel_type\030\001 \001(\0162Q.do" +
"ris.cloud.TxnCommitAttachmentPB.LoadJobF" +
"inalOperationPB.FailMsgPB.CancelTypePB\022\013" +
"\n\003msg\030\002 \001(\t\"\241\001\n\014CancelTypePB\022\017\n\013USER_CAN" +
"CEL\020\000\022\023\n\017ETL_SUBMIT_FAIL\020\001\022\020\n\014ETL_RUN_FA" +
"IL\020\002\022\033\n\027ETL_QUALITY_UNSATISFIED\020\003\022\021\n\rLOA" +
"D_RUN_FAIL\020\004\022\013\n\007TIMEOUT\020\005\022\013\n\007UNKNOWN\020\006\022\017" +
"\n\013TXN_UNKNOWN\020\007\"h\n\nJobStatePB\022\013\n\007UNKNOWN" +
"\020\000\022\013\n\007PENDING\020\001\022\007\n\003ETL\020\002\022\013\n\007LOADING\020\003\022\r\n" +
"\tCOMMITTED\020\004\022\014\n\010FINISHED\020\005\022\r\n\tCANCELLED\020" +
"\006\"G\n\004Type\022\034\n\030LODD_JOB_FINAL_OPERATION\020\000\022" +
"!\n\035RT_TASK_TXN_COMMIT_ATTACHMENT\020\001\"\035\n\nTx" +
"nLabelPB\022\017\n\007txn_ids\030\001 \003(\003\"U\n\nTxnIndexPB\022" +
"0\n\014tablet_index\030\001 \001(\0132\032.doris.cloud.Tabl" +
"etIndexPB\022\025\n\rparent_txn_id\030\002 \001(\003\"\232\004\n\tTxn" +
"InfoPB\022\r\n\005db_id\030\001 \001(\003\022\021\n\ttable_ids\030\002 \003(\003" +
"\022\016\n\006txn_id\030\003 \001(\003\022\r\n\005label\030\004 \001(\t\022+\n\nreque" +
"st_id\030\005 \001(\0132\027.doris.cloud.UniqueIdPB\0222\n\013" +
"coordinator\030\006 \001(\0132\035.doris.cloud.TxnCoord" +
"inatorPB\022>\n\024load_job_source_type\030\007 \001(\0162 " +
".doris.cloud.LoadJobSourceTypePB\022\022\n\ntime" +
"out_ms\030\010 \001(\003\022\034\n\024precommit_timeout_ms\030\t \001" +
"(\003\022\024\n\014prepare_time\030\n \001(\003\022\026\n\016precommit_ti" +
"me\030\013 \001(\003\022\023\n\013commit_time\030\014 \001(\003\022\023\n\013finish_" +
"time\030\r \001(\003\022\016\n\006reason\030\016 \001(\t\022(\n\006status\030\017 \001" +
"(\0162\030.doris.cloud.TxnStatusPB\022=\n\021commit_a" +
"ttachment\030\020 \001(\0132\".doris.cloud.TxnCommitA" +
"ttachmentPB\022\023\n\013listener_id\030\021 \001(\003\022\023\n\013sub_" +
"txn_ids\030\022 \003(\003\"7\n\014TxnRunningPB\022\021\n\ttable_i" +
"ds\030\001 \003(\003\022\024\n\014timeout_time\030\002 \001(\003\"M\n\tVersio" +
"nPB\022\017\n\007version\030\001 \001(\003\022\026\n\016update_time_ms\030\002" +
" \001(\003\022\027\n\017pending_txn_ids\030\003 \003(\003\"G\n\014Recycle" +
"TxnPB\022\025\n\rcreation_time\030\001 \001(\003\022\r\n\005label\030\002 " +
"\001(\t\022\021\n\timmediate\030\003 \001(\010\"\277\001\n\016RecycleIndexP" +
"B\022\020\n\010table_id\030\001 \001(\003\022\025\n\rcreation_time\030\002 \001" +
"(\003\022\022\n\nexpiration\030\003 \001(\003\0220\n\005state\030\004 \001(\0162!." +
"doris.cloud.RecycleIndexPB.State\">\n\005Stat" +
"e\022\013\n\007UNKNOWN\020\000\022\014\n\010PREPARED\020\001\022\013\n\007DROPPED\020" +
"\002\022\r\n\tRECYCLING\020\003\"\350\001\n\022RecyclePartitionPB\022" +
"\020\n\010table_id\030\001 \001(\003\022\020\n\010index_id\030\002 \003(\003\022\025\n\rc" +
"reation_time\030\003 \001(\003\022\022\n\nexpiration\030\004 \001(\003\0224" +
"\n\005state\030\005 \001(\0162%.doris.cloud.RecycleParti" +
"tionPB.State\022\r\n\005db_id\030\006 \001(\003\">\n\005State\022\013\n\007" +
"UNKNOWN\020\000\022\014\n\010PREPARED\020\001\022\013\n\007DROPPED\020\002\022\r\n\t" +
"RECYCLING\020\003\"\375\001\n\017RecycleRowsetPB\022\021\n\ttable" +
"t_id\030\001 \001(\003\022\023\n\013resource_id\030\002 \001(\t\022\025\n\rcreat" +
"ion_time\030\003 \001(\003\022\022\n\nexpiration\030\004 \001(\003\022/\n\004ty" +
"pe\030\005 \001(\0162!.doris.cloud.RecycleRowsetPB.T" +
"ype\022-\n\013rowset_meta\030\006 \001(\0132\030.doris.RowsetM" +
"etaCloudPB\"7\n\004Type\022\013\n\007UNKNOWN\020\000\022\013\n\007PREPA" +
"RE\020\001\022\013\n\007COMPACT\020\002\022\010\n\004DROP\020\003\"Z\n\016RecycleSt" +
"agePB\022\023\n\013instance_id\030\001 \001(\t\022\016\n\006reason\030\002 \001" +
"(\t\022#\n\005stage\030\003 \001(\0132\024.doris.cloud.StagePB\"" +
"\362\001\n\014JobRecyclePB\022\023\n\013instance_id\030\001 \001(\t\022\017\n" +
"\007ip_port\030\002 \001(\t\022\025\n\rlast_ctime_ms\030\003 \001(\003\022\032\n" +
"\022expiration_time_ms\030\004 \001(\003\022\033\n\023last_finish" +
"_time_ms\030\005 \001(\003\0220\n\006status\030\006 \001(\0162 .doris.c" +
"loud.JobRecyclePB.Status\022\034\n\024last_success" +
"_time_ms\030\007 \001(\003\"\034\n\006Status\022\010\n\004IDLE\020\000\022\010\n\004BU" +
"SY\020\001\"k\n\rTabletIndexPB\022\r\n\005db_id\030\001 \001(\003\022\020\n\010" +
"table_id\030\002 \001(\003\022\020\n\010index_id\030\003 \001(\003\022\024\n\014part" +
"ition_id\030\004 \001(\003\022\021\n\ttablet_id\030\005 \001(\003\"\214\004\n\020Ta" +
"bletMetaInfoPB\022\021\n\ttablet_id\030\001 \001(\003\022\024\n\014is_" +
"in_memory\030\002 \001(\010\022\025\n\ris_persistent\030\003 \001(\010\022\023" +
"\n\013ttl_seconds\030\004 \001(\003\022 \n\030group_commit_inte" +
"rval_ms\030\005 \001(\003\022\037\n\027group_commit_data_bytes" +
"\030\006 \001(\003\022\031\n\021compaction_policy\030\007 \001(\t\022/\n\'tim" +
"e_series_compaction_goal_size_mbytes\030\010 \001" +
"(\003\0223\n+time_series_compaction_file_count_" +
"threshold\030\t \001(\003\0225\n-time_series_compactio" +
"n_time_threshold_seconds\030\n \001(\003\0226\n.time_s" +
"eries_compaction_empty_rowsets_threshold" +
"\030\013 \001(\003\022.\n&time_series_compaction_level_t" +
"hreshold\030\014 \001(\003\022\037\n\027disable_auto_compactio" +
"n\030\r \001(\010\022\037\n\027enable_mow_light_delete\030\016 \001(\010" +
"\"\314\007\n\025TabletCompactionJobPB\022\021\n\tinitiator\030" +
"\001 \001(\t\022\r\n\005ctime\030\002 \001(\003\022\r\n\005mtime\030\003 \001(\003\022?\n\004t" +
"ype\030\004 \001(\01621.doris.cloud.TabletCompaction" +
"JobPB.CompactionType\022\036\n\026input_cumulative" +
"_point\030\005 \001(\003\022\037\n\027output_cumulative_point\030" +
"\006 \001(\003\022\031\n\021num_input_rowsets\030\007 \001(\003\022\032\n\022num_" +
"input_segments\030\010 \001(\003\022\032\n\022num_output_rowse" +
"ts\030\t \001(\003\022\033\n\023num_output_segments\030\n \001(\003\022\032\n" +
"\022size_input_rowsets\030\013 \001(\003\022\033\n\023size_output" +
"_rowsets\030\014 \001(\003\022\026\n\016num_input_rows\030\r \001(\003\022\027" +
"\n\017num_output_rows\030\016 \001(\003\022\026\n\016input_version" +
"s\030\017 \003(\003\022\027\n\017output_versions\030\020 \003(\003\022\031\n\021outp" +
"ut_rowset_ids\030\021 \003(\t\022\016\n\006txn_id\030\022 \003(\003\022\033\n\023b" +
"ase_compaction_cnt\030\023 \001(\003\022!\n\031cumulative_c" +
"ompaction_cnt\030\024 \001(\003\022\n\n\002id\030\025 \001(\t\022\022\n\nexpir" +
"ation\030\026 \001(\003\022\r\n\005lease\030\027 \001(\003\022$\n\034delete_bit" +
"map_lock_initiator\030\030 \001(\003\022\033\n\023full_compact" +
"ion_cnt\030\031 \001(\003\022\"\n\032check_input_versions_ra" +
"nge\030\032 \001(\010\022 \n\030index_size_input_rowsets\030\033 " +
"\001(\003\022\"\n\032segment_size_input_rowsets\030\034 \001(\003\022" +
"!\n\031index_size_output_rowsets\030\035 \001(\003\022#\n\033se" +
"gment_size_output_rowsets\030\036 \001(\003\"f\n\016Compa" +
"ctionType\022\n\n\006UNKOWN\020\000\022\010\n\004BASE\020\001\022\016\n\nCUMUL" +
"ATIVE\020\002\022\024\n\020EMPTY_CUMULATIVE\020\003\022\010\n\004FULL\020\004\022" +
"\016\n\nSTOP_TOKEN\020\005\"\350\003\n\027TabletSchemaChangeJo" +
"bPB\022\021\n\tinitiator\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\022\n\nex" +
"piration\030\003 \001(\003\0222\n\016new_tablet_idx\030\004 \001(\0132\032" +
".doris.cloud.TabletIndexPB\022\017\n\007txn_ids\030\005 " +
"\003(\003\022\025\n\ralter_version\030\006 \001(\003\022\032\n\022num_output" +
"_rowsets\030\007 \001(\003\022\033\n\023num_output_segments\030\010 " +
"\001(\003\022\033\n\023size_output_rowsets\030\t \001(\003\022\027\n\017num_" +
"output_rows\030\n \001(\003\022\027\n\017output_versions\030\013 \003" +
"(\003\022\037\n\027output_cumulative_point\030\014 \001(\003\022\'\n\030i" +
"s_inverted_index_change\030\r \001(\010:\005false\022$\n\034" +
"delete_bitmap_lock_initiator\030\016 \001(\003\022!\n\031in" +
"dex_size_output_rowsets\030\017 \001(\003\022#\n\033segment" +
"_size_output_rowsets\030\020 \001(\003\"\257\001\n\017TabletJob" +
"InfoPB\022\'\n\003idx\030\001 \001(\0132\032.doris.cloud.Tablet" +
"IndexPB\0226\n\ncompaction\030\004 \003(\0132\".doris.clou" +
"d.TabletCompactionJobPB\022;\n\rschema_change" +
"\030\005 \001(\0132$.doris.cloud.TabletSchemaChangeJ" +
"obPB\"\241\003\n\rTabletStatsPB\022\'\n\003idx\030\001 \001(\0132\032.do" +
"ris.cloud.TabletIndexPB\022\021\n\tdata_size\030\002 \001" +
"(\003\022\020\n\010num_rows\030\003 \001(\003\022\023\n\013num_rowsets\030\004 \001(" +
"\003\022\024\n\014num_segments\030\005 \001(\003\022\033\n\023base_compacti" +
"on_cnt\030\007 \001(\003\022!\n\031cumulative_compaction_cn" +
"t\030\010 \001(\003\022\030\n\020cumulative_point\030\t \001(\003\022$\n\034las" +
"t_base_compaction_time_ms\030\n \001(\003\022$\n\034last_" +
"cumu_compaction_time_ms\030\013 \001(\003\022\033\n\023full_co" +
"mpaction_cnt\030\014 \001(\003\022$\n\034last_full_compacti" +
"on_time_ms\030\r \001(\003\022\022\n\nindex_size\030\016 \001(\003\022\024\n\014" +
"segment_size\030\017 \001(\003J\004\010\006\020\007\"A\n\014ObjectFilePB" +
"\022\025\n\rrelative_path\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\014\n" +
"\004size\030\003 \001(\003\"\241\002\n\tCopyJobPB\0222\n\nstage_type\030" +
"\001 \001(\0162\036.doris.cloud.StagePB.StageType\022/\n" +
"\014object_files\030\002 \003(\0132\031.doris.cloud.Object" +
"FilePB\0224\n\njob_status\030\003 \001(\0162 .doris.cloud" +
".CopyJobPB.JobStatus\022\025\n\rstart_time_ms\030\004 " +
"\001(\003\022\027\n\017timeout_time_ms\030\005 \001(\003\022\026\n\016finish_t" +
"ime_ms\030\006 \001(\003\"1\n\tJobStatus\022\013\n\007UNKNOWN\020\000\022\013" +
"\n\007LOADING\020\001\022\n\n\006FINISH\020\002\"/\n\nCopyFilePB\022\017\n" +
"\007copy_id\030\001 \001(\t\022\020\n\010group_id\030\002 \001(\005\"\303\001\n\021Ser" +
"viceRegistryPB\0222\n\005items\030\001 \003(\0132#.doris.cl" +
"oud.ServiceRegistryPB.Item\032z\n\004Item\022\n\n\002id" +
"\030\001 \001(\t\022\n\n\002ip\030\002 \001(\t\022\014\n\004port\030\003 \001(\005\022\020\n\010ctim" +
"e_ms\030\004 \001(\003\022\020\n\010mtime_ms\030\005 \001(\003\022\032\n\022expirati" +
"on_time_ms\030\006 \001(\003\022\014\n\004host\030\007 \001(\t\"T\n\017BeginT" +
"xnRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022(\n\010tx" +
"n_info\030\002 \001(\0132\026.doris.cloud.TxnInfoPB\"\234\001\n" +
"\020BeginTxnResponse\0226\n\006status\030\001 \001(\0132&.dori" +
"s.cloud.MetaServiceResponseStatus\022\016\n\006txn" +
"_id\030\002 \001(\003\022\022\n\ndup_txn_id\030\003 \001(\003\022,\n\ntxn_sta" +
"tus\030\004 \001(\0162\030.doris.cloud.TxnStatusPB\"\252\001\n\023" +
"PrecommitTxnRequest\022\027\n\017cloud_unique_id\030\001" +
" \001(\t\022\r\n\005db_id\030\002 \001(\003\022\016\n\006txn_id\030\003 \001(\003\022=\n\021c" +
"ommit_attachment\030\004 \001(\0132\".doris.cloud.Txn" +
"CommitAttachmentPB\022\034\n\024precommit_timeout_" +
"ms\030\005 \001(\003\"^\n\024PrecommitTxnResponse\0226\n\006stat" +
"us\030\001 \001(\0132&.doris.cloud.MetaServiceRespon" +
"seStatus\022\016\n\006txn_id\030\002 \001(\003\"\256\002\n\020CommitTxnRe" +
"quest\022\027\n\017cloud_unique_id\030\001 \001(\t\022\r\n\005db_id\030" +
"\002 \001(\003\022\016\n\006txn_id\030\003 \001(\003\022\016\n\006is_2pc\030\004 \001(\010\022=\n" +
"\021commit_attachment\030\005 \001(\0132\".doris.cloud.T" +
"xnCommitAttachmentPB\022\025\n\rmow_table_ids\030\006 " +
"\003(\003\022\027\n\017base_tablet_ids\030\007 \003(\003\022\023\n\013is_txn_l" +
"oad\030\t \001(\010\022.\n\rsub_txn_infos\030\n \003(\0132\027.doris" +
".cloud.SubTxnInfo\022\036\n\026enable_txn_lazy_com" +
"mit\030\013 \001(\010\"K\n\nSubTxnInfo\022\022\n\nsub_txn_id\030\001 " +
"\001(\003\022\020\n\010table_id\030\002 \001(\003\022\027\n\017base_tablet_ids" +
"\030\003 \003(\003\";\n\014TableStatsPB\022\020\n\010table_id\030\001 \001(\003" +
"\022\031\n\021updated_row_count\030\002 \001(\003\"\201\002\n\021CommitTx" +
"nResponse\0226\n\006status\030\001 \001(\0132&.doris.cloud." +
"MetaServiceResponseStatus\022(\n\010txn_info\030\002 " +
"\001(\0132\026.doris.cloud.TxnInfoPB\022\021\n\ttable_ids" +
"\030\003 \003(\003\022\025\n\rpartition_ids\030\004 \003(\003\022\020\n\010version" +
"s\030\005 \003(\003\022.\n\013table_stats\030\006 \003(\0132\031.doris.clo" +
"ud.TableStatsPB\022\036\n\026version_update_time_m" +
"s\030\007 \001(\003\"\247\001\n\017AbortTxnRequest\022\027\n\017cloud_uni" +
"que_id\030\001 \001(\t\022\r\n\005db_id\030\002 \001(\003\022\016\n\006txn_id\030\003 " +
"\001(\003\022\r\n\005label\030\004 \001(\t\022\016\n\006reason\030\005 \001(\t\022=\n\021co" +
"mmit_attachment\030\006 \001(\0132\".doris.cloud.TxnC" +
"ommitAttachmentPB\"t\n\020AbortTxnResponse\0226\n" +
"\006status\030\001 \001(\0132&.doris.cloud.MetaServiceR" +
"esponseStatus\022(\n\010txn_info\030\002 \001(\0132\026.doris." +
"cloud.TxnInfoPB\"V\n\rGetTxnRequest\022\027\n\017clou" +
"d_unique_id\030\001 \001(\t\022\r\n\005db_id\030\002 \001(\003\022\016\n\006txn_" +
"id\030\003 \001(\003\022\r\n\005label\030\004 \001(\t\"r\n\016GetTxnRespons" +
"e\0226\n\006status\030\001 \001(\0132&.doris.cloud.MetaServ" +
"iceResponseStatus\022(\n\010txn_info\030\002 \001(\0132\026.do" +
"ris.cloud.TxnInfoPB\"v\n\017GetTxnIdRequest\022\027" +
"\n\017cloud_unique_id\030\001 \001(\t\022\r\n\005db_id\030\002 \001(\003\022\r" +
"\n\005label\030\003 \001(\t\022,\n\ntxn_status\030\004 \003(\0162\030.dori" +
"s.cloud.TxnStatusPB\"Z\n\020GetTxnIdResponse\022" +
"6\n\006status\030\001 \001(\0132&.doris.cloud.MetaServic" +
"eResponseStatus\022\016\n\006txn_id\030\002 \001(\003\"\203\001\n\022Begi" +
"nSubTxnRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022" +
"\016\n\006txn_id\030\002 \001(\003\022\023\n\013sub_txn_num\030\003 \001(\003\022\r\n\005" +
"db_id\030\004 \001(\003\022\021\n\ttable_ids\030\005 \003(\003\022\r\n\005label\030" +
"\006 \001(\t\"\213\001\n\023BeginSubTxnResponse\0226\n\006status\030" +
"\001 \001(\0132&.doris.cloud.MetaServiceResponseS" +
"tatus\022\022\n\nsub_txn_id\030\002 \001(\003\022(\n\010txn_info\030\003 " +
"\001(\0132\026.doris.cloud.TxnInfoPB\"\210\001\n\022AbortSub" +
"TxnRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022\016\n\006t" +
"xn_id\030\002 \001(\003\022\022\n\nsub_txn_id\030\003 \001(\003\022\023\n\013sub_t" +
"xn_num\030\004 \001(\003\022\r\n\005db_id\030\005 \001(\003\022\021\n\ttable_ids" +
"\030\006 \003(\003\"w\n\023AbortSubTxnResponse\0226\n\006status\030" +
"\001 \001(\0132&.doris.cloud.MetaServiceResponseS" +
"tatus\022(\n\010txn_info\030\002 \001(\0132\026.doris.cloud.Tx" +
"nInfoPB\"2\n\027GetCurrentMaxTxnRequest\022\027\n\017cl" +
"oud_unique_id\030\001 \001(\t\"n\n\030GetCurrentMaxTxnR" +
"esponse\0226\n\006status\030\001 \001(\0132&.doris.cloud.Me" +
"taServiceResponseStatus\022\032\n\022current_max_t" +
"xn_id\030\002 \001(\003\"e\n\036AbortTxnWithCoordinatorRe" +
"quest\022\027\n\017cloud_unique_id\030\001 \001(\t\022\n\n\002ip\030\002 \001" +
"(\t\022\n\n\002id\030\003 \001(\003\022\022\n\nstart_time\030\004 \001(\003\"Y\n\037Ab" +
"ortTxnWithCoordinatorResponse\0226\n\006status\030" +
"\001 \001(\0132&.doris.cloud.MetaServiceResponseS" +
"tatus\"\204\001\n\027CheckTxnConflictRequest\022\027\n\017clo" +
"ud_unique_id\030\001 \001(\t\022\r\n\005db_id\030\002 \001(\003\022\022\n\nend" +
"_txn_id\030\003 \001(\003\022\021\n\ttable_ids\030\004 \003(\003\022\032\n\022igno" +
"re_timeout_txn\030\005 \001(\010\"\223\001\n\030CheckTxnConflic" +
"tResponse\0226\n\006status\030\001 \001(\0132&.doris.cloud." +
"MetaServiceResponseStatus\022\020\n\010finished\030\002 " +
"\001(\010\022-\n\rconflict_txns\030\003 \003(\0132\026.doris.cloud" +
".TxnInfoPB\"N\n\024CleanTxnLabelRequest\022\027\n\017cl" +
"oud_unique_id\030\001 \001(\t\022\r\n\005db_id\030\002 \001(\003\022\016\n\006la" +
"bels\030\003 \003(\t\"O\n\025CleanTxnLabelResponse\0226\n\006s" +
"tatus\030\001 \001(\0132&.doris.cloud.MetaServiceRes" +
"ponseStatus\"\313\001\n\021GetVersionRequest\022\027\n\017clo" +
"ud_unique_id\030\001 \001(\t\022\r\n\005db_id\030\002 \001(\003\022\020\n\010tab" +
"le_id\030\003 \001(\003\022\024\n\014partition_id\030\004 \001(\003\022\022\n\nbat" +
"ch_mode\030\005 \001(\010\022\016\n\006db_ids\030\006 \003(\003\022\021\n\ttable_i" +
"ds\030\007 \003(\003\022\025\n\rpartition_ids\030\010 \003(\003\022\030\n\020is_ta" +
"ble_version\030\t \001(\010\"\311\001\n\022GetVersionResponse" +
"\0226\n\006status\030\001 \001(\0132&.doris.cloud.MetaServi" +
"ceResponseStatus\022\017\n\007version\030\002 \001(\003\022\016\n\006db_" +
"ids\030\003 \003(\003\022\021\n\ttable_ids\030\004 \003(\003\022\025\n\rpartitio" +
"n_ids\030\005 \003(\003\022\020\n\010versions\030\006 \003(\003\022\036\n\026version" +
"_update_time_ms\030\007 \003(\003\"1\n\026GetObjStoreInfo" +
"Request\022\027\n\017cloud_unique_id\030\001 \001(\t\"\207\004\n\030Alt" +
"erObjStoreInfoRequest\022\027\n\017cloud_unique_id" +
"\030\001 \001(\t\022+\n\003obj\030\002 \001(\0132\036.doris.cloud.Object" +
"StoreInfoPB\022;\n\002op\030\003 \001(\0162/.doris.cloud.Al" +
"terObjStoreInfoRequest.Operation\022*\n\005vaul" +
"t\030\004 \001(\0132\033.doris.cloud.StorageVaultPB\022$\n\034" +
"set_as_default_storage_vault\030\005 \001(\010\"\225\002\n\tO" +
"peration\022\013\n\007UNKNOWN\020\000\022\020\n\014UPDATE_AK_SK\020\001\022" +
"\020\n\014ADD_OBJ_INFO\020\002\022\027\n\023LEGACY_UPDATE_AK_SK" +
"\020\003\022\021\n\rADD_HDFS_INFO\020d\022\022\n\016DROP_HDFS_INFO\020" +
"e\022\026\n\022ADD_BUILT_IN_VAULT\020f\022\020\n\014ADD_S3_VAUL" +
"T\020g\022\021\n\rDROP_S3_VAULT\020h\022\022\n\016ALTER_S3_VAULT" +
"\020i\022\024\n\020ALTER_HDFS_VAULT\020j\022\026\n\021SET_DEFAULT_" +
"VAULT\020\310\001\022\030\n\023UNSET_DEFAULT_VAULT\020\311\001\"\225\001\n\031A" +
"lterObjStoreInfoResponse\0226\n\006status\030\001 \001(\013" +
"2&.doris.cloud.MetaServiceResponseStatus" +
"\022\030\n\020storage_vault_id\030\002 \001(\t\022&\n\036default_st" +
"orage_vault_replaced\030\003 \001(\010\"\210\001\n\021UpdateAkS" +
"kRequest\022\023\n\013instance_id\030\001 \001(\t\0224\n\024interna" +
"l_bucket_user\030\002 \003(\0132\026.doris.cloud.RamUse" +
"rPB\022(\n\010ram_user\030\003 \001(\0132\026.doris.cloud.RamU" +
"serPB\"L\n\022UpdateAkSkResponse\0226\n\006status\030\001 " +
"\001(\0132&.doris.cloud.MetaServiceResponseSta" +
"tus\"\233\002\n\027GetObjStoreInfoResponse\0226\n\006statu" +
"s\030\001 \001(\0132&.doris.cloud.MetaServiceRespons" +
"eStatus\0220\n\010obj_info\030\002 \003(\0132\036.doris.cloud." +
"ObjectStoreInfoPB\0222\n\rstorage_vault\030\003 \003(\013" +
"2\033.doris.cloud.StorageVaultPB\022 \n\030default" +
"_storage_vault_id\030\004 \001(\t\022\"\n\032default_stora",
"ge_vault_name\030\005 \001(\t\022\034\n\024enable_storage_va" +
"ult\030\006 \001(\010\"\212\001\n\024CreateTabletsRequest\022\027\n\017cl" +
"oud_unique_id\030\001 \001(\t\022.\n\014tablet_metas\030\002 \003(" +
"\0132\030.doris.TabletMetaCloudPB\022\032\n\022storage_v" +
"ault_name\030\003 \001(\t\022\r\n\005db_id\030\004 \001(\003\"\205\001\n\025Creat" +
"eTabletsResponse\0226\n\006status\030\001 \001(\0132&.doris" +
".cloud.MetaServiceResponseStatus\022\030\n\020stor" +
"age_vault_id\030\002 \001(\t\022\032\n\022storage_vault_name" +
"\030\003 \001(\t\"h\n\023UpdateTabletRequest\022\027\n\017cloud_u" +
"nique_id\030\001 \001(\t\0228\n\021tablet_meta_infos\030\002 \003(" +
"\0132\035.doris.cloud.TabletMetaInfoPB\"N\n\024Upda" +
"teTabletResponse\0226\n\006status\030\001 \001(\0132&.doris" +
".cloud.MetaServiceResponseStatus\"z\n\031Upda" +
"teTabletSchemaRequest\022\027\n\017cloud_unique_id" +
"\030\001 \001(\t\022\021\n\ttablet_id\030\002 \001(\003\0221\n\rtablet_sche" +
"ma\030\003 \001(\0132\032.doris.TabletSchemaCloudPB\"T\n\032" +
"UpdateTabletSchemaResponse\0226\n\006status\030\001 \001" +
"(\0132&.doris.cloud.MetaServiceResponseStat" +
"us\"?\n\021DropTabletRequest\022\027\n\017cloud_unique_" +
"id\030\001 \001(\t\022\021\n\ttablet_id\030\002 \001(\003\">\n\020GetTablet" +
"Request\022\027\n\017cloud_unique_id\030\001 \001(\t\022\021\n\ttabl" +
"et_id\030\002 \001(\003\"z\n\021GetTabletResponse\0226\n\006stat" +
"us\030\001 \001(\0132&.doris.cloud.MetaServiceRespon" +
"seStatus\022-\n\013tablet_meta\030\002 \001(\0132\030.doris.Ta" +
"bletMetaCloudPB\"\200\001\n\023CreateRowsetRequest\022" +
"\027\n\017cloud_unique_id\030\001 \001(\t\022-\n\013rowset_meta\030" +
"\002 \001(\0132\030.doris.RowsetMetaCloudPB\022\021\n\ttempo" +
"rary\030\003 \001(\010\022\016\n\006txn_id\030\004 \001(\003\"\205\001\n\024CreateRow" +
"setResponse\0226\n\006status\030\001 \001(\0132&.doris.clou" +
"d.MetaServiceResponseStatus\0225\n\023existed_r" +
"owset_meta\030\002 \001(\0132\030.doris.RowsetMetaCloud" +
"PB\"\343\002\n\020GetRowsetRequest\022\027\n\017cloud_unique_" +
"id\030\001 \001(\t\022\'\n\003idx\030\002 \001(\0132\032.doris.cloud.Tabl" +
"etIndexPB\022\025\n\rstart_version\030\003 \001(\003\022\023\n\013end_" +
"version\030\004 \001(\003\022\033\n\023base_compaction_cnt\030\005 \001" +
"(\003\022!\n\031cumulative_compaction_cnt\030\006 \001(\003\022\030\n" +
"\020cumulative_point\030\007 \001(\003\022I\n\tschema_op\030\010 \001" +
"(\0162&.doris.cloud.GetRowsetRequest.Schema" +
"Op:\016FILL_WITH_DICT\"<\n\010SchemaOp\022\022\n\016FILL_W" +
"ITH_DICT\020\000\022\017\n\013RETURN_DICT\020\001\022\013\n\007NO_DICT\020\002" +
"\"\330\001\n\021GetRowsetResponse\0226\n\006status\030\001 \001(\0132&" +
".doris.cloud.MetaServiceResponseStatus\022-" +
"\n\013rowset_meta\030\002 \003(\0132\030.doris.RowsetMetaCl" +
"oudPB\022)\n\005stats\030\003 \001(\0132\032.doris.cloud.Table" +
"tStatsPB\0221\n\013schema_dict\030\004 \001(\0132\034.doris.Sc" +
"hemaCloudDictionary\"A\n\024GetSchemaDictRequ" +
"est\022\027\n\017cloud_unique_id\030\001 \001(\t\022\020\n\010index_id" +
"\030\002 \001(\003\"\202\001\n\025GetSchemaDictResponse\0226\n\006stat" +
"us\030\001 \001(\0132&.doris.cloud.MetaServiceRespon" +
"seStatus\0221\n\013schema_dict\030\002 \001(\0132\034.doris.Sc" +
"hemaCloudDictionary\"\205\001\n\014IndexRequest\022\027\n\017" +
"cloud_unique_id\030\001 \001(\t\022\021\n\tindex_ids\030\002 \003(\003" +
"\022\020\n\010table_id\030\003 \001(\003\022\022\n\nexpiration\030\004 \001(\003\022\r" +
"\n\005db_id\030\005 \001(\003\022\024\n\014is_new_table\030\006 \001(\010\"G\n\rI" +
"ndexResponse\0226\n\006status\030\001 \001(\0132&.doris.clo" +
"ud.MetaServiceResponseStatus\"\255\001\n\020Partiti" +
"onRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022\025\n\rpa" +
"rtition_ids\030\002 \003(\003\022\020\n\010table_id\030\003 \001(\003\022\021\n\ti" +
"ndex_ids\030\004 \003(\003\022\022\n\nexpiration\030\005 \001(\003\022\r\n\005db" +
"_id\030\006 \001(\003\022!\n\031need_update_table_version\030\007" +
" \001(\010\"K\n\021PartitionResponse\0226\n\006status\030\001 \001(" +
"\0132&.doris.cloud.MetaServiceResponseStatu" +
"s\"T\n\031MetaServiceResponseStatus\022*\n\004code\030\001" +
" \001(\0162\034.doris.cloud.MetaServiceCode\022\013\n\003ms" +
"g\030\002 \001(\t\"\030\n\026MetaServiceHttpRequest\"\031\n\027Met" +
"aServiceHttpResponse\"\350\001\n\025CreateInstanceR" +
"equest\022\023\n\013instance_id\030\001 \001(\t\022\017\n\007user_id\030\002" +
" \001(\t\022\014\n\004name\030\003 \001(\t\0220\n\010obj_info\030\004 \001(\0132\036.d" +
"oris.cloud.ObjectStoreInfoPB\022(\n\010ram_user" +
"\030\005 \001(\0132\026.doris.cloud.RamUserPB\022\023\n\013sse_en" +
"abled\030\006 \001(\010\022*\n\005vault\030\007 \001(\0132\033.doris.cloud" +
".StorageVaultPB\"P\n\026CreateInstanceRespons" +
"e\0226\n\006status\030\001 \001(\0132&.doris.cloud.MetaServ" +
"iceResponseStatus\"\361\001\n\024AlterInstanceReque" +
"st\022\023\n\013instance_id\030\001 \001(\t\0227\n\002op\030\002 \001(\0162+.do" +
"ris.cloud.AlterInstanceRequest.Operation" +
"\022\014\n\004name\030\003 \001(\t\"}\n\tOperation\022\013\n\007UNKNOWN\020\000" +
"\022\010\n\004DROP\020\001\022\013\n\007REFRESH\020\002\022\n\n\006RENAME\020\003\022\016\n\nE" +
"NABLE_SSE\020\004\022\017\n\013DISABLE_SSE\020\005\022\017\n\013SET_OVER" +
"DUE\020\006\022\016\n\nSET_NORMAL\020\007\"O\n\025AlterInstanceRe" +
"sponse\0226\n\006status\030\001 \001(\0132&.doris.cloud.Met" +
"aServiceResponseStatus\"B\n\022GetInstanceReq" +
"uest\022\023\n\013instance_id\030\001 \001(\t\022\027\n\017cloud_uniqu" +
"e_id\030\002 \001(\t\"|\n\023GetInstanceResponse\0226\n\006sta" +
"tus\030\001 \001(\0132&.doris.cloud.MetaServiceRespo" +
"nseStatus\022-\n\010instance\030\002 \001(\0132\033.doris.clou" +
"d.InstanceInfoPB\"\320\003\n\023AlterClusterRequest" +
"\022\023\n\013instance_id\030\001 \001(\t\022\027\n\017cloud_unique_id" +
"\030\002 \001(\t\022\'\n\007cluster\030\003 \001(\0132\026.doris.cloud.Cl" +
"usterPB\0226\n\002op\030\004 \001(\0162*.doris.cloud.AlterC" +
"lusterRequest.Operation\0220\n(replace_if_ex" +
"isting_empty_target_cluster\030\005 \001(\010\"\367\001\n\tOp" +
"eration\022\013\n\007UNKNOWN\020\000\022\017\n\013ADD_CLUSTER\020\001\022\020\n" +
"\014DROP_CLUSTER\020\002\022\014\n\010ADD_NODE\020\003\022\r\n\tDROP_NO" +
"DE\020\004\022\022\n\016RENAME_CLUSTER\020\005\022\"\n\036UPDATE_CLUST" +
"ER_MYSQL_USER_NAME\020\006\022\025\n\021DECOMMISSION_NOD" +
"E\020\007\022\031\n\025NOTIFY_DECOMMISSIONED\020\010\022\033\n\027UPDATE" +
"_CLUSTER_ENDPOINT\020\t\022\026\n\022SET_CLUSTER_STATU" +
"S\020\n\"N\n\024AlterClusterResponse\0226\n\006status\030\001 " +
"\001(\0132&.doris.cloud.MetaServiceResponseSta" +
"tus\"\204\001\n\021GetClusterRequest\022\023\n\013instance_id" +
"\030\001 \001(\t\022\027\n\017cloud_unique_id\030\002 \001(\t\022\022\n\nclust" +
"er_id\030\003 \001(\t\022\024\n\014cluster_name\030\004 \001(\t\022\027\n\017mys" +
"ql_user_name\030\005 \001(\t\"u\n\027GetClusterStatusRe" +
"quest\022\024\n\014instance_ids\030\001 \003(\t\022\030\n\020cloud_uni" +
"que_ids\030\002 \003(\t\022*\n\006status\030\003 \001(\0162\032.doris.cl" +
"oud.ClusterStatus\"\212\002\n\030GetClusterStatusRe" +
"sponse\0226\n\006status\030\001 \001(\0132&.doris.cloud.Met" +
"aServiceResponseStatus\022U\n\007details\030\002 \003(\0132" +
"D.doris.cloud.GetClusterStatusResponse.G" +
"etClusterStatusResponseDetail\032_\n\036GetClus" +
"terStatusResponseDetail\022\023\n\013instance_id\030\001" +
" \001(\t\022(\n\010clusters\030\002 \003(\0132\026.doris.cloud.Clu" +
"sterPB\"\223\001\n\022GetClusterResponse\0226\n\006status\030" +
"\001 \001(\0132&.doris.cloud.MetaServiceResponseS" +
"tatus\022\'\n\007cluster\030\002 \003(\0132\026.doris.cloud.Clu" +
"sterPB\022\034\n\024enable_storage_vault\030\003 \001(\010\"`\n\025" +
"GetTabletStatsRequest\022\027\n\017cloud_unique_id" +
"\030\001 \001(\t\022.\n\ntablet_idx\030\002 \003(\0132\032.doris.cloud" +
".TabletIndexPB\"\202\001\n\026GetTabletStatsRespons" +
"e\0226\n\006status\030\001 \001(\0132&.doris.cloud.MetaServ" +
"iceResponseStatus\0220\n\014tablet_stats\030\002 \003(\0132" +
"\032.doris.cloud.TabletStatsPB\"R\n\022CreateSta" +
"geRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022#\n\005st" +
"age\030\002 \001(\0132\024.doris.cloud.StagePB\"M\n\023Creat" +
"eStageResponse\0226\n\006status\030\001 \001(\0132&.doris.c" +
"loud.MetaServiceResponseStatus\"\234\001\n\017GetSt" +
"ageRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022\022\n\ns" +
"tage_name\030\002 \001(\t\022\027\n\017mysql_user_name\030\003 \001(\t" +
"\022,\n\004type\030\004 \001(\0162\036.doris.cloud.StagePB.Sta" +
"geType\022\025\n\rmysql_user_id\030\005 \001(\t\"o\n\020GetStag" +
"eResponse\0226\n\006status\030\001 \001(\0132&.doris.cloud." +
"MetaServiceResponseStatus\022#\n\005stage\030\002 \003(\013" +
"2\024.doris.cloud.StagePB\"\255\001\n\020DropStageRequ" +
"est\022\027\n\017cloud_unique_id\030\001 \001(\t\022\022\n\nstage_na" +
"me\030\002 \001(\t\022\027\n\017mysql_user_name\030\003 \001(\t\022,\n\004typ" +
"e\030\004 \001(\0162\036.doris.cloud.StagePB.StageType\022" +
"\025\n\rmysql_user_id\030\005 \001(\t\022\016\n\006reason\030\006 \001(\t\"K" +
"\n\021DropStageResponse\0226\n\006status\030\001 \001(\0132&.do" +
"ris.cloud.MetaServiceResponseStatus\"(\n\rG" +
"etIamRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\"\234\001" +
"\n\016GetIamResponse\0226\n\006status\030\001 \001(\0132&.doris" +
".cloud.MetaServiceResponseStatus\022(\n\010iam_" +
"user\030\002 \001(\0132\026.doris.cloud.RamUserPB\022(\n\010ra" +
"m_user\030\003 \001(\0132\026.doris.cloud.RamUserPB\"=\n\017" +
"AlterIamRequest\022\022\n\naccount_id\030\001 \001(\t\022\n\n\002a" +
"k\030\002 \001(\t\022\n\n\002sk\030\003 \001(\t\"J\n\020AlterIamResponse\022" +
"6\n\006status\030\001 \001(\0132&.doris.cloud.MetaServic" +
"eResponseStatus\"T\n\023AlterRamUserRequest\022\023" +
"\n\013instance_id\030\001 \001(\t\022(\n\010ram_user\030\002 \001(\0132\026." +
"doris.cloud.RamUserPB\"N\n\024AlterRamUserRes" +
"ponse\0226\n\006status\030\001 \001(\0132&.doris.cloud.Meta" +
"ServiceResponseStatus\"[\n\025StartTabletJobR" +
"equest\022\027\n\017cloud_unique_id\030\001 \001(\t\022)\n\003job\030\002" +
" \001(\0132\034.doris.cloud.TabletJobInfoPB\"\206\001\n\026S" +
"tartTabletJobResponse\0226\n\006status\030\001 \001(\0132&." +
"doris.cloud.MetaServiceResponseStatus\022\035\n" +
"\025version_in_compaction\030\002 \003(\003\022\025\n\ralter_ve" +
"rsion\030\003 \001(\003\"\321\001\n\026FinishTabletJobRequest\022\027" +
"\n\017cloud_unique_id\030\001 \001(\t\022:\n\006action\030\002 \001(\0162" +
"*.doris.cloud.FinishTabletJobRequest.Act" +
"ion\022)\n\003job\030\003 \001(\0132\034.doris.cloud.TabletJob" +
"InfoPB\"7\n\006Action\022\013\n\007UNKONWN\020\000\022\n\n\006COMMIT\020" +
"\001\022\t\n\005ABORT\020\002\022\t\n\005LEASE\020\003\"\223\001\n\027FinishTablet" +
"JobResponse\0226\n\006status\030\001 \001(\0132&.doris.clou" +
"d.MetaServiceResponseStatus\022)\n\005stats\030\002 \001" +
"(\0132\032.doris.cloud.TabletStatsPB\022\025\n\ralter_" +
"version\030\003 \001(\003\"\326\002\n\020BeginCopyRequest\022\027\n\017cl" +
"oud_unique_id\030\001 \001(\t\022\020\n\010stage_id\030\002 \001(\t\0222\n" +
"\nstage_type\030\003 \001(\0162\036.doris.cloud.StagePB." +
"StageType\022\020\n\010table_id\030\004 \001(\003\022\017\n\007copy_id\030\005" +
" \001(\t\022\020\n\010group_id\030\006 \001(\005\022\025\n\rstart_time_ms\030" +
"\007 \001(\003\022\027\n\017timeout_time_ms\030\010 \001(\003\022/\n\014object" +
"_files\030\t \003(\0132\031.doris.cloud.ObjectFilePB\022" +
"\026\n\016file_num_limit\030\n \001(\003\022\027\n\017file_size_lim" +
"it\030\013 \001(\003\022\034\n\024file_meta_size_limit\030\014 \001(\003\"\205" +
"\001\n\021BeginCopyResponse\0226\n\006status\030\001 \001(\0132&.d" +
"oris.cloud.MetaServiceResponseStatus\0228\n\025" +
"filtered_object_files\030\002 \003(\0132\031.doris.clou" +
"d.ObjectFilePB\"\260\002\n\021FinishCopyRequest\022\027\n\017" +
"cloud_unique_id\030\001 \001(\t\022\020\n\010stage_id\030\002 \001(\t\022" +
"2\n\nstage_type\030\003 \001(\0162\036.doris.cloud.StageP" +
"B.StageType\022\020\n\010table_id\030\004 \001(\003\022\017\n\007copy_id" +
"\030\005 \001(\t\022\020\n\010group_id\030\006 \001(\005\0225\n\006action\030\007 \001(\016" +
"2%.doris.cloud.FinishCopyRequest.Action\022" +
"\026\n\016finish_time_ms\030\010 \001(\003\"8\n\006Action\022\013\n\007UNK" +
"NOWN\020\000\022\n\n\006COMMIT\020\001\022\t\n\005ABORT\020\002\022\n\n\006REMOVE\020" +
"\003\"L\n\022FinishCopyResponse\0226\n\006status\030\001 \001(\0132" +
"&.doris.cloud.MetaServiceResponseStatus\"" +
"s\n\021GetCopyJobRequest\022\027\n\017cloud_unique_id\030" +
"\001 \001(\t\022\020\n\010stage_id\030\002 \001(\t\022\020\n\010table_id\030\003 \001(" +
"\003\022\017\n\007copy_id\030\004 \001(\t\022\020\n\010group_id\030\005 \001(\005\"v\n\022" +
"GetCopyJobResponse\0226\n\006status\030\001 \001(\0132&.dor" +
"is.cloud.MetaServiceResponseStatus\022(\n\010co" +
"py_job\030\002 \001(\0132\026.doris.cloud.CopyJobPB\"R\n\023" +
"GetCopyFilesRequest\022\027\n\017cloud_unique_id\030\001" +
" \001(\t\022\020\n\010stage_id\030\002 \001(\t\022\020\n\010table_id\030\003 \001(\003" +
"\"\177\n\024GetCopyFilesResponse\0226\n\006status\030\001 \001(\013" +
"2&.doris.cloud.MetaServiceResponseStatus" +
"\022/\n\014object_files\030\002 \003(\0132\031.doris.cloud.Obj" +
"ectFilePB\"\206\001\n\026FilterCopyFilesRequest\022\027\n\017" +
"cloud_unique_id\030\001 \001(\t\022\020\n\010stage_id\030\002 \001(\t\022" +
"\020\n\010table_id\030\003 \001(\003\022/\n\014object_files\030\004 \003(\0132" +
"\031.doris.cloud.ObjectFilePB\"\202\001\n\027FilterCop" +
"yFilesResponse\0226\n\006status\030\001 \001(\0132&.doris.c" +
"loud.MetaServiceResponseStatus\022/\n\014object" +
"_files\030\002 \003(\0132\031.doris.cloud.ObjectFilePB\"" +
".\n\026RecycleInstanceRequest\022\024\n\014instance_id" +
"s\030\001 \003(\t\"Q\n\027RecycleInstanceResponse\0226\n\006st" +
"atus\030\001 \001(\0132&.doris.cloud.MetaServiceResp" +
"onseStatus\"\262\003\n\031UpdateDeleteBitmapRequest" +
"\022\027\n\017cloud_unique_id\030\001 \001(\t\022\020\n\010table_id\030\002 " +
"\001(\003\022\024\n\014partition_id\030\003 \001(\003\022\021\n\ttablet_id\030\004" +
" \001(\003\022\017\n\007lock_id\030\005 \001(\003\022\021\n\tinitiator\030\006 \001(\003" +
"\022\022\n\nrowset_ids\030\007 \003(\t\022\023\n\013segment_ids\030\010 \003(" +
"\r\022\020\n\010versions\030\t \003(\003\022\036\n\026segment_delete_bi" +
"tmaps\030\n \003(\014\022\024\n\014without_lock\030\013 \001(\010\022\027\n\017is_" +
"explicit_txn\030\014 \001(\010\022\016\n\006txn_id\030\r \001(\003\022\034\n\024ne" +
"xt_visible_version\030\016 \001(\003\022$\n\034pre_rowset_a" +
"gg_start_version\030\017 \001(\003\022\"\n\032pre_rowset_agg" +
"_end_version\030\020 \001(\003\022\033\n\023pre_rowset_version" +
"s\030\021 \003(\003\"T\n\032UpdateDeleteBitmapResponse\0226\n" +
"\006status\030\001 \001(\0132&.doris.cloud.MetaServiceR" +
"esponseStatus\"\211\002\n\026GetDeleteBitmapRequest" +
"\022\027\n\017cloud_unique_id\030\001 \001(\t\022\021\n\ttablet_id\030\002" +
" \001(\003\022\022\n\nrowset_ids\030\003 \003(\t\022\026\n\016begin_versio" +
"ns\030\004 \003(\003\022\024\n\014end_versions\030\005 \003(\003\022\'\n\003idx\030\006 " +
"\001(\0132\032.doris.cloud.TabletIndexPB\022\033\n\023base_" +
"compaction_cnt\030\007 \001(\003\022!\n\031cumulative_compa" +
"ction_cnt\030\010 \001(\003\022\030\n\020cumulative_point\030\t \001(" +
"\003\"\277\001\n\027GetDeleteBitmapResponse\0226\n\006status\030" +
"\001 \001(\0132&.doris.cloud.MetaServiceResponseS" +
"tatus\022\022\n\nrowset_ids\030\002 \003(\t\022\023\n\013segment_ids" +
"\030\003 \003(\r\022\020\n\010versions\030\004 \003(\003\022\036\n\026segment_dele" +
"te_bitmaps\030\005 \003(\014\022\021\n\ttablet_id\030\006 \001(\003\"\211\001\n\031" +
"RemoveDeleteBitmapRequest\022\027\n\017cloud_uniqu" +
"e_id\030\001 \001(\t\022\021\n\ttablet_id\030\002 \001(\003\022\022\n\nrowset_" +
"ids\030\003 \003(\t\022\026\n\016begin_versions\030\004 \003(\003\022\024\n\014end" +
"_versions\030\005 \003(\003\"T\n\032RemoveDeleteBitmapRes" +
"ponse\0226\n\006status\030\001 \001(\0132&.doris.cloud.Meta" +
"ServiceResponseStatus\"3\n\025PendingDeleteBi" +
"tmapPB\022\032\n\022delete_bitmap_keys\030\001 \003(\014\"S\n\030De" +
"leteBitmapUpdateLockPB\022\017\n\007lock_id\030\001 \001(\003\022" +
"\022\n\nexpiration\030\002 \001(\003\022\022\n\ninitiators\030\003 \003(\003\"" +
"+\n\025MowTabletCompactionPB\022\022\n\nexpiration\030\001" +
" \001(\003\"\371\001\n GetDeleteBitmapUpdateLockReques" +
"t\022\027\n\017cloud_unique_id\030\001 \001(\t\022\020\n\010table_id\030\002" +
" \001(\003\022\025\n\rpartition_ids\030\003 \003(\003\022\017\n\007lock_id\030\004" +
" \001(\003\022\021\n\tinitiator\030\005 \001(\003\022\022\n\nexpiration\030\006 " +
"\001(\003\022\'\n\030require_compaction_stats\030\007 \001(\010:\005f" +
"alse\0222\n\016tablet_indexes\030\010 \003(\0132\032.doris.clo" +
"ud.TabletIndexPB\"\317\001\n!GetDeleteBitmapUpda" +
"teLockResponse\0226\n\006status\030\001 \001(\0132&.doris.c" +
"loud.MetaServiceResponseStatus\022\034\n\024base_c" +
"ompaction_cnts\030\002 \003(\003\022\"\n\032cumulative_compa" +
"ction_cnts\030\003 \003(\003\022\031\n\021cumulative_points\030\004 " +
"\003(\003\022\025\n\rtablet_states\030\005 \003(\003\"\207\001\n#RemoveDel" +
"eteBitmapUpdateLockRequest\022\027\n\017cloud_uniq" +
"ue_id\030\001 \001(\t\022\020\n\010table_id\030\002 \001(\003\022\021\n\ttablet_" +
"id\030\003 \001(\003\022\017\n\007lock_id\030\004 \001(\003\022\021\n\tinitiator\030\005" +
" \001(\003\"^\n$RemoveDeleteBitmapUpdateLockResp" +
"onse\0226\n\006status\030\001 \001(\0132&.doris.cloud.MetaS" +
"erviceResponseStatus\"V\n\034GetRLTaskCommitA" +
"ttachRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022\r\n" +
"\005db_id\030\002 \001(\003\022\016\n\006job_id\030\003 \001(\003\"\230\001\n\035GetRLTa" +
"skCommitAttachResponse\0226\n\006status\030\001 \001(\0132&" +
".doris.cloud.MetaServiceResponseStatus\022?" +
"\n\rcommit_attach\030\002 \001(\0132(.doris.cloud.RLTa" +
"skTxnCommitAttachmentPB\"\343\001\n\026ResetRLProgr" +
"essRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022\r\n\005d" +
"b_id\030\002 \001(\003\022\016\n\006job_id\030\003 \001(\003\022W\n\023partition_" +
"to_offset\030\004 \003(\0132:.doris.cloud.ResetRLPro" +
"gressRequest.PartitionToOffsetEntry\0328\n\026P" +
"artitionToOffsetEntry\022\013\n\003key\030\001 \001(\005\022\r\n\005va" +
"lue\030\002 \001(\003:\0028\001\"Q\n\027ResetRLProgressResponse" +
"\0226\n\006status\030\001 \001(\0132&.doris.cloud.MetaServi" +
"ceResponseStatus\"\\\n\rCheckKeyInfos\022\016\n\006db_" +
"ids\030\001 \003(\003\022\021\n\ttable_ids\030\002 \003(\003\022\021\n\tindex_id" +
"s\030\003 \003(\003\022\025\n\rpartition_ids\030\004 \003(\003\"\341\001\n\016Check" +
"KVRequest\022\027\n\017cloud_unique_id\030\001 \001(\t\022.\n\nch" +
"eck_keys\030\002 \001(\0132\032.doris.cloud.CheckKeyInf" +
"os\0221\n\002op\030\003 \001(\0162%.doris.cloud.CheckKVRequ" +
"est.Operation\"S\n\tOperation\022 \n\034CREATE_IND" +
"EX_AFTER_FE_COMMIT\020\001\022$\n CREATE_PARTITION" +
"_AFTER_FE_COMMIT\020\002\"w\n\017CheckKVResponse\0226\n" +
"\006status\030\001 \001(\0132&.doris.cloud.MetaServiceR" +
"esponseStatus\022,\n\010bad_keys\030\002 \001(\0132\032.doris." +
"cloud.CheckKeyInfos*[\n\rClusterStatus\022\013\n\007" +
"UNKNOWN\020\000\022\n\n\006NORMAL\020\001\022\r\n\tSUSPENDED\020\002\022\r\n\t" +
"TO_RESUME\020\003\022\023\n\017MANUAL_SHUTDOWN\020\004*\233\001\n\014Nod" +
"eStatusPB\022\027\n\023NODE_STATUS_UNKNOWN\020\000\022\027\n\023NO" +
"DE_STATUS_RUNNING\020\001\022\030\n\024NODE_STATUS_SHUTD" +
"OWN\020\002\022\037\n\033NODE_STATUS_DECOMMISSIONING\020\003\022\036" +
"\n\032NODE_STATUS_DECOMMISSIONED\020\004*C\n\022CredPr" +
"oviderTypePB\022\013\n\007DEFAULT\020\001\022\n\n\006SIMPLE\020\002\022\024\n" +
"\020INSTANCE_PROFILE\020\003*]\n\017TxnSourceTypePB\022\032" +
"\n\026UKNOWN_TXN_SOURCE_TYPE\020\000\022\026\n\022TXN_SOURCE" +
"_TYPE_FE\020\001\022\026\n\022TXN_SOURCE_TYPE_BE\020\002*\364\001\n\023L" +
"oadJobSourceTypePB\022\035\n\031LOAD_JOB_SRC_TYPE_" +
"UNKNOWN\020\000\022\036\n\032LOAD_JOB_SRC_TYPE_FRONTEND\020" +
"\001\022\'\n#LOAD_JOB_SRC_TYPE_BACKEND_STREAMING" +
"\020\002\022&\n\"LOAD_JOB_SRC_TYPE_INSERT_STREAMING" +
"\020\003\022\'\n#LOAD_JOB_SRC_TYPE_ROUTINE_LOAD_TAS" +
"K\020\004\022$\n LOAD_JOB_SRC_TYPE_BATCH_LOAD_JOB\020" +
"\005*\245\001\n\013TxnStatusPB\022\026\n\022TXN_STATUS_UNKNOWN\020" +
"\000\022\027\n\023TXN_STATUS_PREPARED\020\001\022\030\n\024TXN_STATUS" +
"_COMMITTED\020\002\022\026\n\022TXN_STATUS_VISIBLE\020\003\022\026\n\022" +
"TXN_STATUS_ABORTED\020\004\022\033\n\027TXN_STATUS_PRECO" +
"MMITTED\020\005*\227\n\n\017MetaServiceCode\022\006\n\002OK\020\000\022\025\n" +
"\020INVALID_ARGUMENT\020\351\007\022\026\n\021KV_TXN_CREATE_ER" +
"R\020\352\007\022\023\n\016KV_TXN_GET_ERR\020\353\007\022\026\n\021KV_TXN_COMM" +
"IT_ERR\020\354\007\022\024\n\017KV_TXN_CONFLICT\020\355\007\022\027\n\022PROTO" +
"BUF_PARSE_ERR\020\356\007\022\033\n\026PROTOBUF_SERIALIZE_E" +
"RR\020\357\007\022\037\n\032KV_TXN_STORE_GET_RETRYABLE\020\360\007\022\"" +
"\n\035KV_TXN_STORE_COMMIT_RETRYABLE\020\361\007\022\"\n\035KV" +
"_TXN_STORE_CREATE_RETRYABLE\020\362\007\022\023\n\016KV_TXN" +
"_TOO_OLD\020\363\007\022\023\n\016TXN_GEN_ID_ERR\020\321\017\022\027\n\022TXN_" +
"DUPLICATED_REQ\020\322\017\022\033\n\026TXN_LABEL_ALREADY_U" +
"SED\020\323\017\022\027\n\022TXN_INVALID_STATUS\020\324\017\022\030\n\023TXN_L" +
"ABEL_NOT_FOUND\020\325\017\022\025\n\020TXN_ID_NOT_FOUND\020\326\017" +
"\022\030\n\023TXN_ALREADY_ABORTED\020\327\017\022\030\n\023TXN_ALREAD" +
"Y_VISIBLE\020\330\017\022\034\n\027TXN_ALREADY_PRECOMMITED\020" +
"\331\017\022\026\n\021VERSION_NOT_FOUND\020\332\017\022\025\n\020TABLET_NOT" +
"_FOUND\020\333\017\022\027\n\022STALE_TABLET_CACHE\020\334\017\022\026\n\021CL" +
"USTER_NOT_FOUND\020\271\027\022\024\n\017ALREADY_EXISTED\020\272\027" +
"\022\035\n\030CLUSTER_ENDPOINT_MISSING\020\273\027\022\034\n\027STORA" +
"GE_VAULT_NOT_FOUND\020\274\027\022\024\n\017STAGE_NOT_FOUND" +
"\020\241\037\022\022\n\rSTAGE_GET_ERR\020\242\037\022#\n\036STATE_ALREADY" +
"_EXISTED_FOR_USER\020\243\037\022\027\n\022COPY_JOB_NOT_FOU" +
"ND\020\244\037\022\020\n\013JOB_EXPIRED\020\210\'\022\024\n\017JOB_TABLET_BU" +
"SY\020\211\'\022\030\n\023JOB_ALREADY_SUCCESS\020\212\'\022#\n\036ROUTI" +
"NE_LOAD_DATA_INCONSISTENT\020\213\'\022$\n\037ROUTINE_" +
"LOAD_PROGRESS_NOT_FOUND\020\214\'\022\034\n\027JOB_CHECK_" +
"ALTER_VERSION\020\215\'\022\022\n\rMAX_QPS_LIMIT\020\361.\022\020\n\013" +
"ERR_ENCRYPT\020\3316\022\020\n\013ERR_DECPYPT\020\3326\022\021\n\014LOCK" +
"_EXPIRED\020\301>\022\022\n\rLOCK_CONFLICT\020\302>\022\024\n\017ROWSE" +
"TS_EXPIRED\020\303>\022\026\n\021VERSION_NOT_MATCH\020\304>\022 \n" +
"\033UPDATE_OVERRIDE_EXISTING_KV\020\305>\022\032\n\025ROWSE" +
"T_META_NOT_FOUND\020\251F\022-\n(KV_TXN_CONFLICT_R" +
"ETRY_EXCEEDED_MAX_TIMES\020\221N\022\032\n\025SCHEMA_DIC" +
"T_NOT_FOUND\020\371U\022\023\n\rUNDEFINED_ERR\020\300\204=2\217*\n\013" +
"MetaService\022H\n\tbegin_txn\022\034.doris.cloud.B" +
"eginTxnRequest\032\035.doris.cloud.BeginTxnRes" +
"ponse\022T\n\rprecommit_txn\022 .doris.cloud.Pre" +
"commitTxnRequest\032!.doris.cloud.Precommit" +
"TxnResponse\022K\n\ncommit_txn\022\035.doris.cloud." +
"CommitTxnRequest\032\036.doris.cloud.CommitTxn" +
"Response\022H\n\tabort_txn\022\034.doris.cloud.Abor" +
"tTxnRequest\032\035.doris.cloud.AbortTxnRespon" +
"se\022B\n\007get_txn\022\032.doris.cloud.GetTxnReques" +
"t\032\033.doris.cloud.GetTxnResponse\022e\n\026get_cu" +
"rrent_max_txn_id\022$.doris.cloud.GetCurren" +
"tMaxTxnRequest\032%.doris.cloud.GetCurrentM" +
"axTxnResponse\022a\n\022check_txn_conflict\022$.do" +
"ris.cloud.CheckTxnConflictRequest\032%.dori" +
"s.cloud.CheckTxnConflictResponse\022X\n\017clea" +
"n_txn_label\022!.doris.cloud.CleanTxnLabelR" +
"equest\032\".doris.cloud.CleanTxnLabelRespon" +
"se\022I\n\nget_txn_id\022\034.doris.cloud.GetTxnIdR" +
"equest\032\035.doris.cloud.GetTxnIdResponse\022R\n" +
"\rbegin_sub_txn\022\037.doris.cloud.BeginSubTxn" +
"Request\032 .doris.cloud.BeginSubTxnRespons" +
"e\022R\n\rabort_sub_txn\022\037.doris.cloud.AbortSu" +
"bTxnRequest\032 .doris.cloud.AbortSubTxnRes" +
"ponse\022w\n\032abort_txn_with_coordinator\022+.do" +
"ris.cloud.AbortTxnWithCoordinatorRequest" +
"\032,.doris.cloud.AbortTxnWithCoordinatorRe" +
"sponse\022N\n\013get_version\022\036.doris.cloud.GetV" +
"ersionRequest\032\037.doris.cloud.GetVersionRe" +
"sponse\022W\n\016create_tablets\022!.doris.cloud.C" +
"reateTabletsRequest\032\".doris.cloud.Create" +
"TabletsResponse\022T\n\rupdate_tablet\022 .doris" +
".cloud.UpdateTabletRequest\032!.doris.cloud" +
".UpdateTabletResponse\022g\n\024update_tablet_s" +
"chema\022&.doris.cloud.UpdateTabletSchemaRe" +
"quest\032\'.doris.cloud.UpdateTabletSchemaRe" +
"sponse\022K\n\nget_tablet\022\035.doris.cloud.GetTa" +
"bletRequest\032\036.doris.cloud.GetTabletRespo" +
"nse\022U\n\016prepare_rowset\022 .doris.cloud.Crea" +
"teRowsetRequest\032!.doris.cloud.CreateRows" +
"etResponse\022T\n\rcommit_rowset\022 .doris.clou" +
"d.CreateRowsetRequest\032!.doris.cloud.Crea" +
"teRowsetResponse\022X\n\021update_tmp_rowset\022 ." +
"doris.cloud.CreateRowsetRequest\032!.doris." +
"cloud.CreateRowsetResponse\022K\n\nget_rowset" +
"\022\035.doris.cloud.GetRowsetRequest\032\036.doris." +
"cloud.GetRowsetResponse\022X\n\017get_schema_di" +
"ct\022!.doris.cloud.GetSchemaDictRequest\032\"." +
"doris.cloud.GetSchemaDictResponse\022F\n\rpre" +
"pare_index\022\031.doris.cloud.IndexRequest\032\032." +
"doris.cloud.IndexResponse\022E\n\014commit_inde" +
"x\022\031.doris.cloud.IndexRequest\032\032.doris.clo" +
"ud.IndexResponse\022C\n\ndrop_index\022\031.doris.c" +
"loud.IndexRequest\032\032.doris.cloud.IndexRes" +
"ponse\022R\n\021prepare_partition\022\035.doris.cloud" +
".PartitionRequest\032\036.doris.cloud.Partitio" +
"nResponse\022Q\n\020commit_partition\022\035.doris.cl" +
"oud.PartitionRequest\032\036.doris.cloud.Parti" +
"tionResponse\022O\n\016drop_partition\022\035.doris.c" +
"loud.PartitionRequest\032\036.doris.cloud.Part",
"itionResponse\022[\n\020start_tablet_job\022\".dori" +
"s.cloud.StartTabletJobRequest\032#.doris.cl" +
"oud.StartTabletJobResponse\022^\n\021finish_tab" +
"let_job\022#.doris.cloud.FinishTabletJobReq" +
"uest\032$.doris.cloud.FinishTabletJobRespon" +
"se\022Q\n\004http\022#.doris.cloud.MetaServiceHttp" +
"Request\032$.doris.cloud.MetaServiceHttpRes" +
"ponse\022_\n\022get_obj_store_info\022#.doris.clou" +
"d.GetObjStoreInfoRequest\032$.doris.cloud.G" +
"etObjStoreInfoResponse\022e\n\024alter_obj_stor" +
"e_info\022%.doris.cloud.AlterObjStoreInfoRe" +
"quest\032&.doris.cloud.AlterObjStoreInfoRes" +
"ponse\022d\n\023alter_storage_vault\022%.doris.clo" +
"ud.AlterObjStoreInfoRequest\032&.doris.clou" +
"d.AlterObjStoreInfoResponse\022O\n\014update_ak" +
"_sk\022\036.doris.cloud.UpdateAkSkRequest\032\037.do" +
"ris.cloud.UpdateAkSkResponse\022Z\n\017create_i" +
"nstance\022\".doris.cloud.CreateInstanceRequ" +
"est\032#.doris.cloud.CreateInstanceResponse" +
"\022W\n\016alter_instance\022!.doris.cloud.AlterIn" +
"stanceRequest\032\".doris.cloud.AlterInstanc" +
"eResponse\022Q\n\014get_instance\022\037.doris.cloud." +
"GetInstanceRequest\032 .doris.cloud.GetInst" +
"anceResponse\022T\n\ralter_cluster\022 .doris.cl" +
"oud.AlterClusterRequest\032!.doris.cloud.Al" +
"terClusterResponse\022N\n\013get_cluster\022\036.dori" +
"s.cloud.GetClusterRequest\032\037.doris.cloud." +
"GetClusterResponse\022a\n\022get_cluster_status" +
"\022$.doris.cloud.GetClusterStatusRequest\032%" +
".doris.cloud.GetClusterStatusResponse\022[\n" +
"\020get_tablet_stats\022\".doris.cloud.GetTable" +
"tStatsRequest\032#.doris.cloud.GetTabletSta" +
"tsResponse\022Q\n\014create_stage\022\037.doris.cloud" +
".CreateStageRequest\032 .doris.cloud.Create" +
"StageResponse\022H\n\tget_stage\022\034.doris.cloud" +
".GetStageRequest\032\035.doris.cloud.GetStageR" +
"esponse\022K\n\ndrop_stage\022\035.doris.cloud.Drop" +
"StageRequest\032\036.doris.cloud.DropStageResp" +
"onse\022B\n\007get_iam\022\032.doris.cloud.GetIamRequ" +
"est\032\033.doris.cloud.GetIamResponse\022H\n\talte" +
"r_iam\022\034.doris.cloud.AlterIamRequest\032\035.do" +
"ris.cloud.AlterIamResponse\022U\n\016alter_ram_" +
"user\022 .doris.cloud.AlterRamUserRequest\032!" +
".doris.cloud.AlterRamUserResponse\022K\n\nbeg" +
"in_copy\022\035.doris.cloud.BeginCopyRequest\032\036" +
".doris.cloud.BeginCopyResponse\022N\n\013finish" +
"_copy\022\036.doris.cloud.FinishCopyRequest\032\037." +
"doris.cloud.FinishCopyResponse\022O\n\014get_co" +
"py_job\022\036.doris.cloud.GetCopyJobRequest\032\037" +
".doris.cloud.GetCopyJobResponse\022U\n\016get_c" +
"opy_files\022 .doris.cloud.GetCopyFilesRequ" +
"est\032!.doris.cloud.GetCopyFilesResponse\022^" +
"\n\021filter_copy_files\022#.doris.cloud.Filter" +
"CopyFilesRequest\032$.doris.cloud.FilterCop" +
"yFilesResponse\022g\n\024update_delete_bitmap\022&" +
".doris.cloud.UpdateDeleteBitmapRequest\032\'" +
".doris.cloud.UpdateDeleteBitmapResponse\022" +
"^\n\021get_delete_bitmap\022#.doris.cloud.GetDe" +
"leteBitmapRequest\032$.doris.cloud.GetDelet" +
"eBitmapResponse\022~\n\035get_delete_bitmap_upd" +
"ate_lock\022-.doris.cloud.GetDeleteBitmapUp" +
"dateLockRequest\032..doris.cloud.GetDeleteB" +
"itmapUpdateLockResponse\022\207\001\n remove_delet" +
"e_bitmap_update_lock\0220.doris.cloud.Remov" +
"eDeleteBitmapUpdateLockRequest\0321.doris.c" +
"loud.RemoveDeleteBitmapUpdateLockRespons" +
"e\022g\n\024remove_delete_bitmap\022&.doris.cloud." +
"RemoveDeleteBitmapRequest\032\'.doris.cloud." +
"RemoveDeleteBitmapResponse\022r\n\031get_rl_tas" +
"k_commit_attach\022).doris.cloud.GetRLTaskC" +
"ommitAttachRequest\032*.doris.cloud.GetRLTa" +
"skCommitAttachResponse\022^\n\021reset_rl_progr" +
"ess\022#.doris.cloud.ResetRLProgressRequest" +
"\032$.doris.cloud.ResetRLProgressResponse\022E" +
"\n\010check_kv\022\033.doris.cloud.CheckKVRequest\032" +
"\034.doris.cloud.CheckKVResponse2\303\001\n\017Recycl" +
"erService\022]\n\020recycle_instance\022#.doris.cl" +
"oud.RecycleInstanceRequest\032$.doris.cloud" +
".RecycleInstanceResponse\022Q\n\004http\022#.doris" +
".cloud.MetaServiceHttpRequest\032$.doris.cl" +
"oud.MetaServiceHttpResponseB!\n\034org.apach" +
"e.doris.cloud.proto\200\001\001"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.apache.doris.proto.OlapFile.getDescriptor(),
});
internal_static_doris_cloud_EncryptionInfoPB_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_doris_cloud_EncryptionInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_EncryptionInfoPB_descriptor,
new java.lang.String[] { "EncryptionMethod", "KeyId", });
internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_doris_cloud_EncryptionKeyInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor,
new java.lang.String[] { "Items", });
internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_descriptor =
internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_EncryptionKeyInfoPB_KMSInfo_descriptor,
new java.lang.String[] { "Endpoint", "Region", "Cmk", });
internal_static_doris_cloud_EncryptionKeyInfoPB_Item_descriptor =
internal_static_doris_cloud_EncryptionKeyInfoPB_descriptor.getNestedTypes().get(1);
internal_static_doris_cloud_EncryptionKeyInfoPB_Item_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_EncryptionKeyInfoPB_Item_descriptor,
new java.lang.String[] { "KeyId", "Key", "KmsInfo", });
internal_static_doris_cloud_RamUserPB_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_doris_cloud_RamUserPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RamUserPB_descriptor,
new java.lang.String[] { "UserId", "Ak", "Sk", "ExternalId", "EncryptionInfo", });
internal_static_doris_cloud_InstanceInfoPB_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_doris_cloud_InstanceInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_InstanceInfoPB_descriptor,
new java.lang.String[] { "UserId", "InstanceId", "Name", "LbIp", "Ctime", "Mtime", "Clusters", "ObjInfo", "Stages", "Status", "RamUser", "IamUser", "SseEnabled", "ResourceIds", "StorageVaultNames", "DefaultStorageVaultId", "DefaultStorageVaultName", "EnableStorageVault", });
internal_static_doris_cloud_StagePB_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_doris_cloud_StagePB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_StagePB_descriptor,
new java.lang.String[] { "Type", "MysqlUserName", "Name", "ObjInfo", "StageId", "Properties", "MysqlUserId", "Comment", "CreateTime", "AccessType", "RoleName", "Arn", "ExternalId", });
internal_static_doris_cloud_StagePB_PropertiesEntry_descriptor =
internal_static_doris_cloud_StagePB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_StagePB_PropertiesEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_StagePB_PropertiesEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_doris_cloud_ClusterPB_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_doris_cloud_ClusterPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ClusterPB_descriptor,
new java.lang.String[] { "ClusterId", "ClusterName", "Type", "Desc", "Nodes", "MysqlUserName", "PublicEndpoint", "PrivateEndpoint", "ClusterStatus", });
internal_static_doris_cloud_NodeInfoPB_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_doris_cloud_NodeInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_NodeInfoPB_descriptor,
new java.lang.String[] { "CloudUniqueId", "Name", "Ip", "VpcName", "Ctime", "Mtime", "Status", "HeartbeatPort", "Desc", "EditLogPort", "NodeType", "IsSmoothUpgrade", "Host", });
internal_static_doris_cloud_ObjectStoreInfoPB_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_doris_cloud_ObjectStoreInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ObjectStoreInfoPB_descriptor,
new java.lang.String[] { "Ctime", "Mtime", "Id", "Ak", "Sk", "Bucket", "Prefix", "Endpoint", "Region", "Provider", "ExternalEndpoint", "UserId", "EncryptionInfo", "SseEnabled", "UsePathStyle", "CredProviderType", "RoleArn", "ExternalId", });
internal_static_doris_cloud_StorageVaultPB_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_doris_cloud_StorageVaultPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_StorageVaultPB_descriptor,
new java.lang.String[] { "Id", "Name", "HdfsInfo", "ObjInfo", "PathFormat", "AlterName", });
internal_static_doris_cloud_StorageVaultPB_PathFormat_descriptor =
internal_static_doris_cloud_StorageVaultPB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_StorageVaultPB_PathFormat_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_StorageVaultPB_PathFormat_descriptor,
new java.lang.String[] { "PathVersion", "ShardNum", });
internal_static_doris_cloud_HdfsBuildConf_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_doris_cloud_HdfsBuildConf_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_HdfsBuildConf_descriptor,
new java.lang.String[] { "FsName", "User", "HdfsKerberosPrincipal", "HdfsKerberosKeytab", "HdfsConfs", });
internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_descriptor =
internal_static_doris_cloud_HdfsBuildConf_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_HdfsBuildConf_HdfsConfKVPair_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_doris_cloud_HdfsVaultInfo_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_doris_cloud_HdfsVaultInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_HdfsVaultInfo_descriptor,
new java.lang.String[] { "BuildConf", "Prefix", });
internal_static_doris_cloud_UniqueIdPB_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_doris_cloud_UniqueIdPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UniqueIdPB_descriptor,
new java.lang.String[] { "Hi", "Lo", });
internal_static_doris_cloud_TxnCoordinatorPB_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_doris_cloud_TxnCoordinatorPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnCoordinatorPB_descriptor,
new java.lang.String[] { "SourceType", "Ip", "Id", "StartTime", });
internal_static_doris_cloud_RoutineLoadProgressPB_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_doris_cloud_RoutineLoadProgressPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RoutineLoadProgressPB_descriptor,
new java.lang.String[] { "PartitionToOffset", "Stat", });
internal_static_doris_cloud_RoutineLoadProgressPB_PartitionToOffsetEntry_descriptor =
internal_static_doris_cloud_RoutineLoadProgressPB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_RoutineLoadProgressPB_PartitionToOffsetEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RoutineLoadProgressPB_PartitionToOffsetEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RLTaskTxnCommitAttachmentPB_descriptor,
new java.lang.String[] { "JobId", "TaskId", "FilteredRows", "LoadedRows", "UnselectedRows", "ReceivedBytes", "TaskExecutionTimeMs", "Progress", "ErrorLogUrl", });
internal_static_doris_cloud_RoutineLoadJobStatisticPB_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_doris_cloud_RoutineLoadJobStatisticPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RoutineLoadJobStatisticPB_descriptor,
new java.lang.String[] { "FilteredRows", "LoadedRows", "UnselectedRows", "ReceivedBytes", "TaskExecutionTimeMs", });
internal_static_doris_cloud_TxnCommitAttachmentPB_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_doris_cloud_TxnCommitAttachmentPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnCommitAttachmentPB_descriptor,
new java.lang.String[] { "Type", "LoadJobFinalOperation", "RlTaskTxnCommitAttachment", });
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor =
internal_static_doris_cloud_TxnCommitAttachmentPB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor,
new java.lang.String[] { "Id", "LoadingStatus", "Progress", "LoadStartTimestamp", "FinishTimestamp", "JobState", "FailMsg", "CopyId", "LoadFilePaths", });
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor =
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor,
new java.lang.String[] { "State", "TrackingUrl", "Stats", "Counters", });
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_StatsEntry_descriptor =
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_StatsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_StatsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_CountersEntry_descriptor =
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_descriptor.getNestedTypes().get(1);
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_CountersEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_EtlStatusPB_CountersEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_descriptor =
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_descriptor.getNestedTypes().get(1);
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnCommitAttachmentPB_LoadJobFinalOperationPB_FailMsgPB_descriptor,
new java.lang.String[] { "CancelType", "Msg", });
internal_static_doris_cloud_TxnLabelPB_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_doris_cloud_TxnLabelPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnLabelPB_descriptor,
new java.lang.String[] { "TxnIds", });
internal_static_doris_cloud_TxnIndexPB_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_doris_cloud_TxnIndexPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnIndexPB_descriptor,
new java.lang.String[] { "TabletIndex", "ParentTxnId", });
internal_static_doris_cloud_TxnInfoPB_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_doris_cloud_TxnInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnInfoPB_descriptor,
new java.lang.String[] { "DbId", "TableIds", "TxnId", "Label", "RequestId", "Coordinator", "LoadJobSourceType", "TimeoutMs", "PrecommitTimeoutMs", "PrepareTime", "PrecommitTime", "CommitTime", "FinishTime", "Reason", "Status", "CommitAttachment", "ListenerId", "SubTxnIds", });
internal_static_doris_cloud_TxnRunningPB_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_doris_cloud_TxnRunningPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TxnRunningPB_descriptor,
new java.lang.String[] { "TableIds", "TimeoutTime", });
internal_static_doris_cloud_VersionPB_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_doris_cloud_VersionPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_VersionPB_descriptor,
new java.lang.String[] { "Version", "UpdateTimeMs", "PendingTxnIds", });
internal_static_doris_cloud_RecycleTxnPB_descriptor =
getDescriptor().getMessageTypes().get(22);
internal_static_doris_cloud_RecycleTxnPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RecycleTxnPB_descriptor,
new java.lang.String[] { "CreationTime", "Label", "Immediate", });
internal_static_doris_cloud_RecycleIndexPB_descriptor =
getDescriptor().getMessageTypes().get(23);
internal_static_doris_cloud_RecycleIndexPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RecycleIndexPB_descriptor,
new java.lang.String[] { "TableId", "CreationTime", "Expiration", "State", });
internal_static_doris_cloud_RecyclePartitionPB_descriptor =
getDescriptor().getMessageTypes().get(24);
internal_static_doris_cloud_RecyclePartitionPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RecyclePartitionPB_descriptor,
new java.lang.String[] { "TableId", "IndexId", "CreationTime", "Expiration", "State", "DbId", });
internal_static_doris_cloud_RecycleRowsetPB_descriptor =
getDescriptor().getMessageTypes().get(25);
internal_static_doris_cloud_RecycleRowsetPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RecycleRowsetPB_descriptor,
new java.lang.String[] { "TabletId", "ResourceId", "CreationTime", "Expiration", "Type", "RowsetMeta", });
internal_static_doris_cloud_RecycleStagePB_descriptor =
getDescriptor().getMessageTypes().get(26);
internal_static_doris_cloud_RecycleStagePB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RecycleStagePB_descriptor,
new java.lang.String[] { "InstanceId", "Reason", "Stage", });
internal_static_doris_cloud_JobRecyclePB_descriptor =
getDescriptor().getMessageTypes().get(27);
internal_static_doris_cloud_JobRecyclePB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_JobRecyclePB_descriptor,
new java.lang.String[] { "InstanceId", "IpPort", "LastCtimeMs", "ExpirationTimeMs", "LastFinishTimeMs", "Status", "LastSuccessTimeMs", });
internal_static_doris_cloud_TabletIndexPB_descriptor =
getDescriptor().getMessageTypes().get(28);
internal_static_doris_cloud_TabletIndexPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TabletIndexPB_descriptor,
new java.lang.String[] { "DbId", "TableId", "IndexId", "PartitionId", "TabletId", });
internal_static_doris_cloud_TabletMetaInfoPB_descriptor =
getDescriptor().getMessageTypes().get(29);
internal_static_doris_cloud_TabletMetaInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TabletMetaInfoPB_descriptor,
new java.lang.String[] { "TabletId", "IsInMemory", "IsPersistent", "TtlSeconds", "GroupCommitIntervalMs", "GroupCommitDataBytes", "CompactionPolicy", "TimeSeriesCompactionGoalSizeMbytes", "TimeSeriesCompactionFileCountThreshold", "TimeSeriesCompactionTimeThresholdSeconds", "TimeSeriesCompactionEmptyRowsetsThreshold", "TimeSeriesCompactionLevelThreshold", "DisableAutoCompaction", "EnableMowLightDelete", });
internal_static_doris_cloud_TabletCompactionJobPB_descriptor =
getDescriptor().getMessageTypes().get(30);
internal_static_doris_cloud_TabletCompactionJobPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TabletCompactionJobPB_descriptor,
new java.lang.String[] { "Initiator", "Ctime", "Mtime", "Type", "InputCumulativePoint", "OutputCumulativePoint", "NumInputRowsets", "NumInputSegments", "NumOutputRowsets", "NumOutputSegments", "SizeInputRowsets", "SizeOutputRowsets", "NumInputRows", "NumOutputRows", "InputVersions", "OutputVersions", "OutputRowsetIds", "TxnId", "BaseCompactionCnt", "CumulativeCompactionCnt", "Id", "Expiration", "Lease", "DeleteBitmapLockInitiator", "FullCompactionCnt", "CheckInputVersionsRange", "IndexSizeInputRowsets", "SegmentSizeInputRowsets", "IndexSizeOutputRowsets", "SegmentSizeOutputRowsets", });
internal_static_doris_cloud_TabletSchemaChangeJobPB_descriptor =
getDescriptor().getMessageTypes().get(31);
internal_static_doris_cloud_TabletSchemaChangeJobPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TabletSchemaChangeJobPB_descriptor,
new java.lang.String[] { "Initiator", "Id", "Expiration", "NewTabletIdx", "TxnIds", "AlterVersion", "NumOutputRowsets", "NumOutputSegments", "SizeOutputRowsets", "NumOutputRows", "OutputVersions", "OutputCumulativePoint", "IsInvertedIndexChange", "DeleteBitmapLockInitiator", "IndexSizeOutputRowsets", "SegmentSizeOutputRowsets", });
internal_static_doris_cloud_TabletJobInfoPB_descriptor =
getDescriptor().getMessageTypes().get(32);
internal_static_doris_cloud_TabletJobInfoPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TabletJobInfoPB_descriptor,
new java.lang.String[] { "Idx", "Compaction", "SchemaChange", });
internal_static_doris_cloud_TabletStatsPB_descriptor =
getDescriptor().getMessageTypes().get(33);
internal_static_doris_cloud_TabletStatsPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TabletStatsPB_descriptor,
new java.lang.String[] { "Idx", "DataSize", "NumRows", "NumRowsets", "NumSegments", "BaseCompactionCnt", "CumulativeCompactionCnt", "CumulativePoint", "LastBaseCompactionTimeMs", "LastCumuCompactionTimeMs", "FullCompactionCnt", "LastFullCompactionTimeMs", "IndexSize", "SegmentSize", });
internal_static_doris_cloud_ObjectFilePB_descriptor =
getDescriptor().getMessageTypes().get(34);
internal_static_doris_cloud_ObjectFilePB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ObjectFilePB_descriptor,
new java.lang.String[] { "RelativePath", "Etag", "Size", });
internal_static_doris_cloud_CopyJobPB_descriptor =
getDescriptor().getMessageTypes().get(35);
internal_static_doris_cloud_CopyJobPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CopyJobPB_descriptor,
new java.lang.String[] { "StageType", "ObjectFiles", "JobStatus", "StartTimeMs", "TimeoutTimeMs", "FinishTimeMs", });
internal_static_doris_cloud_CopyFilePB_descriptor =
getDescriptor().getMessageTypes().get(36);
internal_static_doris_cloud_CopyFilePB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CopyFilePB_descriptor,
new java.lang.String[] { "CopyId", "GroupId", });
internal_static_doris_cloud_ServiceRegistryPB_descriptor =
getDescriptor().getMessageTypes().get(37);
internal_static_doris_cloud_ServiceRegistryPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ServiceRegistryPB_descriptor,
new java.lang.String[] { "Items", });
internal_static_doris_cloud_ServiceRegistryPB_Item_descriptor =
internal_static_doris_cloud_ServiceRegistryPB_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_ServiceRegistryPB_Item_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ServiceRegistryPB_Item_descriptor,
new java.lang.String[] { "Id", "Ip", "Port", "CtimeMs", "MtimeMs", "ExpirationTimeMs", "Host", });
internal_static_doris_cloud_BeginTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(38);
internal_static_doris_cloud_BeginTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_BeginTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TxnInfo", });
internal_static_doris_cloud_BeginTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(39);
internal_static_doris_cloud_BeginTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_BeginTxnResponse_descriptor,
new java.lang.String[] { "Status", "TxnId", "DupTxnId", "TxnStatus", });
internal_static_doris_cloud_PrecommitTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(40);
internal_static_doris_cloud_PrecommitTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_PrecommitTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "TxnId", "CommitAttachment", "PrecommitTimeoutMs", });
internal_static_doris_cloud_PrecommitTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(41);
internal_static_doris_cloud_PrecommitTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_PrecommitTxnResponse_descriptor,
new java.lang.String[] { "Status", "TxnId", });
internal_static_doris_cloud_CommitTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(42);
internal_static_doris_cloud_CommitTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CommitTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "TxnId", "Is2Pc", "CommitAttachment", "MowTableIds", "BaseTabletIds", "IsTxnLoad", "SubTxnInfos", "EnableTxnLazyCommit", });
internal_static_doris_cloud_SubTxnInfo_descriptor =
getDescriptor().getMessageTypes().get(43);
internal_static_doris_cloud_SubTxnInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_SubTxnInfo_descriptor,
new java.lang.String[] { "SubTxnId", "TableId", "BaseTabletIds", });
internal_static_doris_cloud_TableStatsPB_descriptor =
getDescriptor().getMessageTypes().get(44);
internal_static_doris_cloud_TableStatsPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_TableStatsPB_descriptor,
new java.lang.String[] { "TableId", "UpdatedRowCount", });
internal_static_doris_cloud_CommitTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(45);
internal_static_doris_cloud_CommitTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CommitTxnResponse_descriptor,
new java.lang.String[] { "Status", "TxnInfo", "TableIds", "PartitionIds", "Versions", "TableStats", "VersionUpdateTimeMs", });
internal_static_doris_cloud_AbortTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(46);
internal_static_doris_cloud_AbortTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AbortTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "TxnId", "Label", "Reason", "CommitAttachment", });
internal_static_doris_cloud_AbortTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(47);
internal_static_doris_cloud_AbortTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AbortTxnResponse_descriptor,
new java.lang.String[] { "Status", "TxnInfo", });
internal_static_doris_cloud_GetTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(48);
internal_static_doris_cloud_GetTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "TxnId", "Label", });
internal_static_doris_cloud_GetTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(49);
internal_static_doris_cloud_GetTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTxnResponse_descriptor,
new java.lang.String[] { "Status", "TxnInfo", });
internal_static_doris_cloud_GetTxnIdRequest_descriptor =
getDescriptor().getMessageTypes().get(50);
internal_static_doris_cloud_GetTxnIdRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTxnIdRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "Label", "TxnStatus", });
internal_static_doris_cloud_GetTxnIdResponse_descriptor =
getDescriptor().getMessageTypes().get(51);
internal_static_doris_cloud_GetTxnIdResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTxnIdResponse_descriptor,
new java.lang.String[] { "Status", "TxnId", });
internal_static_doris_cloud_BeginSubTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(52);
internal_static_doris_cloud_BeginSubTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_BeginSubTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TxnId", "SubTxnNum", "DbId", "TableIds", "Label", });
internal_static_doris_cloud_BeginSubTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(53);
internal_static_doris_cloud_BeginSubTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_BeginSubTxnResponse_descriptor,
new java.lang.String[] { "Status", "SubTxnId", "TxnInfo", });
internal_static_doris_cloud_AbortSubTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(54);
internal_static_doris_cloud_AbortSubTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AbortSubTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TxnId", "SubTxnId", "SubTxnNum", "DbId", "TableIds", });
internal_static_doris_cloud_AbortSubTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(55);
internal_static_doris_cloud_AbortSubTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AbortSubTxnResponse_descriptor,
new java.lang.String[] { "Status", "TxnInfo", });
internal_static_doris_cloud_GetCurrentMaxTxnRequest_descriptor =
getDescriptor().getMessageTypes().get(56);
internal_static_doris_cloud_GetCurrentMaxTxnRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetCurrentMaxTxnRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", });
internal_static_doris_cloud_GetCurrentMaxTxnResponse_descriptor =
getDescriptor().getMessageTypes().get(57);
internal_static_doris_cloud_GetCurrentMaxTxnResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetCurrentMaxTxnResponse_descriptor,
new java.lang.String[] { "Status", "CurrentMaxTxnId", });
internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_descriptor =
getDescriptor().getMessageTypes().get(58);
internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AbortTxnWithCoordinatorRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "Ip", "Id", "StartTime", });
internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_descriptor =
getDescriptor().getMessageTypes().get(59);
internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AbortTxnWithCoordinatorResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_CheckTxnConflictRequest_descriptor =
getDescriptor().getMessageTypes().get(60);
internal_static_doris_cloud_CheckTxnConflictRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CheckTxnConflictRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "EndTxnId", "TableIds", "IgnoreTimeoutTxn", });
internal_static_doris_cloud_CheckTxnConflictResponse_descriptor =
getDescriptor().getMessageTypes().get(61);
internal_static_doris_cloud_CheckTxnConflictResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CheckTxnConflictResponse_descriptor,
new java.lang.String[] { "Status", "Finished", "ConflictTxns", });
internal_static_doris_cloud_CleanTxnLabelRequest_descriptor =
getDescriptor().getMessageTypes().get(62);
internal_static_doris_cloud_CleanTxnLabelRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CleanTxnLabelRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "Labels", });
internal_static_doris_cloud_CleanTxnLabelResponse_descriptor =
getDescriptor().getMessageTypes().get(63);
internal_static_doris_cloud_CleanTxnLabelResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CleanTxnLabelResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetVersionRequest_descriptor =
getDescriptor().getMessageTypes().get(64);
internal_static_doris_cloud_GetVersionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetVersionRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "TableId", "PartitionId", "BatchMode", "DbIds", "TableIds", "PartitionIds", "IsTableVersion", });
internal_static_doris_cloud_GetVersionResponse_descriptor =
getDescriptor().getMessageTypes().get(65);
internal_static_doris_cloud_GetVersionResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetVersionResponse_descriptor,
new java.lang.String[] { "Status", "Version", "DbIds", "TableIds", "PartitionIds", "Versions", "VersionUpdateTimeMs", });
internal_static_doris_cloud_GetObjStoreInfoRequest_descriptor =
getDescriptor().getMessageTypes().get(66);
internal_static_doris_cloud_GetObjStoreInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetObjStoreInfoRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", });
internal_static_doris_cloud_AlterObjStoreInfoRequest_descriptor =
getDescriptor().getMessageTypes().get(67);
internal_static_doris_cloud_AlterObjStoreInfoRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterObjStoreInfoRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "Obj", "Op", "Vault", "SetAsDefaultStorageVault", });
internal_static_doris_cloud_AlterObjStoreInfoResponse_descriptor =
getDescriptor().getMessageTypes().get(68);
internal_static_doris_cloud_AlterObjStoreInfoResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterObjStoreInfoResponse_descriptor,
new java.lang.String[] { "Status", "StorageVaultId", "DefaultStorageVaultReplaced", });
internal_static_doris_cloud_UpdateAkSkRequest_descriptor =
getDescriptor().getMessageTypes().get(69);
internal_static_doris_cloud_UpdateAkSkRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateAkSkRequest_descriptor,
new java.lang.String[] { "InstanceId", "InternalBucketUser", "RamUser", });
internal_static_doris_cloud_UpdateAkSkResponse_descriptor =
getDescriptor().getMessageTypes().get(70);
internal_static_doris_cloud_UpdateAkSkResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateAkSkResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetObjStoreInfoResponse_descriptor =
getDescriptor().getMessageTypes().get(71);
internal_static_doris_cloud_GetObjStoreInfoResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetObjStoreInfoResponse_descriptor,
new java.lang.String[] { "Status", "ObjInfo", "StorageVault", "DefaultStorageVaultId", "DefaultStorageVaultName", "EnableStorageVault", });
internal_static_doris_cloud_CreateTabletsRequest_descriptor =
getDescriptor().getMessageTypes().get(72);
internal_static_doris_cloud_CreateTabletsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateTabletsRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletMetas", "StorageVaultName", "DbId", });
internal_static_doris_cloud_CreateTabletsResponse_descriptor =
getDescriptor().getMessageTypes().get(73);
internal_static_doris_cloud_CreateTabletsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateTabletsResponse_descriptor,
new java.lang.String[] { "Status", "StorageVaultId", "StorageVaultName", });
internal_static_doris_cloud_UpdateTabletRequest_descriptor =
getDescriptor().getMessageTypes().get(74);
internal_static_doris_cloud_UpdateTabletRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateTabletRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletMetaInfos", });
internal_static_doris_cloud_UpdateTabletResponse_descriptor =
getDescriptor().getMessageTypes().get(75);
internal_static_doris_cloud_UpdateTabletResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateTabletResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_UpdateTabletSchemaRequest_descriptor =
getDescriptor().getMessageTypes().get(76);
internal_static_doris_cloud_UpdateTabletSchemaRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateTabletSchemaRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletId", "TabletSchema", });
internal_static_doris_cloud_UpdateTabletSchemaResponse_descriptor =
getDescriptor().getMessageTypes().get(77);
internal_static_doris_cloud_UpdateTabletSchemaResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateTabletSchemaResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_DropTabletRequest_descriptor =
getDescriptor().getMessageTypes().get(78);
internal_static_doris_cloud_DropTabletRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_DropTabletRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletId", });
internal_static_doris_cloud_GetTabletRequest_descriptor =
getDescriptor().getMessageTypes().get(79);
internal_static_doris_cloud_GetTabletRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTabletRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletId", });
internal_static_doris_cloud_GetTabletResponse_descriptor =
getDescriptor().getMessageTypes().get(80);
internal_static_doris_cloud_GetTabletResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTabletResponse_descriptor,
new java.lang.String[] { "Status", "TabletMeta", });
internal_static_doris_cloud_CreateRowsetRequest_descriptor =
getDescriptor().getMessageTypes().get(81);
internal_static_doris_cloud_CreateRowsetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateRowsetRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "RowsetMeta", "Temporary", "TxnId", });
internal_static_doris_cloud_CreateRowsetResponse_descriptor =
getDescriptor().getMessageTypes().get(82);
internal_static_doris_cloud_CreateRowsetResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateRowsetResponse_descriptor,
new java.lang.String[] { "Status", "ExistedRowsetMeta", });
internal_static_doris_cloud_GetRowsetRequest_descriptor =
getDescriptor().getMessageTypes().get(83);
internal_static_doris_cloud_GetRowsetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetRowsetRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "Idx", "StartVersion", "EndVersion", "BaseCompactionCnt", "CumulativeCompactionCnt", "CumulativePoint", "SchemaOp", });
internal_static_doris_cloud_GetRowsetResponse_descriptor =
getDescriptor().getMessageTypes().get(84);
internal_static_doris_cloud_GetRowsetResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetRowsetResponse_descriptor,
new java.lang.String[] { "Status", "RowsetMeta", "Stats", "SchemaDict", });
internal_static_doris_cloud_GetSchemaDictRequest_descriptor =
getDescriptor().getMessageTypes().get(85);
internal_static_doris_cloud_GetSchemaDictRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetSchemaDictRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "IndexId", });
internal_static_doris_cloud_GetSchemaDictResponse_descriptor =
getDescriptor().getMessageTypes().get(86);
internal_static_doris_cloud_GetSchemaDictResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetSchemaDictResponse_descriptor,
new java.lang.String[] { "Status", "SchemaDict", });
internal_static_doris_cloud_IndexRequest_descriptor =
getDescriptor().getMessageTypes().get(87);
internal_static_doris_cloud_IndexRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_IndexRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "IndexIds", "TableId", "Expiration", "DbId", "IsNewTable", });
internal_static_doris_cloud_IndexResponse_descriptor =
getDescriptor().getMessageTypes().get(88);
internal_static_doris_cloud_IndexResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_IndexResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_PartitionRequest_descriptor =
getDescriptor().getMessageTypes().get(89);
internal_static_doris_cloud_PartitionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_PartitionRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "PartitionIds", "TableId", "IndexIds", "Expiration", "DbId", "NeedUpdateTableVersion", });
internal_static_doris_cloud_PartitionResponse_descriptor =
getDescriptor().getMessageTypes().get(90);
internal_static_doris_cloud_PartitionResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_PartitionResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_MetaServiceResponseStatus_descriptor =
getDescriptor().getMessageTypes().get(91);
internal_static_doris_cloud_MetaServiceResponseStatus_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_MetaServiceResponseStatus_descriptor,
new java.lang.String[] { "Code", "Msg", });
internal_static_doris_cloud_MetaServiceHttpRequest_descriptor =
getDescriptor().getMessageTypes().get(92);
internal_static_doris_cloud_MetaServiceHttpRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_MetaServiceHttpRequest_descriptor,
new java.lang.String[] { });
internal_static_doris_cloud_MetaServiceHttpResponse_descriptor =
getDescriptor().getMessageTypes().get(93);
internal_static_doris_cloud_MetaServiceHttpResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_MetaServiceHttpResponse_descriptor,
new java.lang.String[] { });
internal_static_doris_cloud_CreateInstanceRequest_descriptor =
getDescriptor().getMessageTypes().get(94);
internal_static_doris_cloud_CreateInstanceRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateInstanceRequest_descriptor,
new java.lang.String[] { "InstanceId", "UserId", "Name", "ObjInfo", "RamUser", "SseEnabled", "Vault", });
internal_static_doris_cloud_CreateInstanceResponse_descriptor =
getDescriptor().getMessageTypes().get(95);
internal_static_doris_cloud_CreateInstanceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateInstanceResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_AlterInstanceRequest_descriptor =
getDescriptor().getMessageTypes().get(96);
internal_static_doris_cloud_AlterInstanceRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterInstanceRequest_descriptor,
new java.lang.String[] { "InstanceId", "Op", "Name", });
internal_static_doris_cloud_AlterInstanceResponse_descriptor =
getDescriptor().getMessageTypes().get(97);
internal_static_doris_cloud_AlterInstanceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterInstanceResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetInstanceRequest_descriptor =
getDescriptor().getMessageTypes().get(98);
internal_static_doris_cloud_GetInstanceRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetInstanceRequest_descriptor,
new java.lang.String[] { "InstanceId", "CloudUniqueId", });
internal_static_doris_cloud_GetInstanceResponse_descriptor =
getDescriptor().getMessageTypes().get(99);
internal_static_doris_cloud_GetInstanceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetInstanceResponse_descriptor,
new java.lang.String[] { "Status", "Instance", });
internal_static_doris_cloud_AlterClusterRequest_descriptor =
getDescriptor().getMessageTypes().get(100);
internal_static_doris_cloud_AlterClusterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterClusterRequest_descriptor,
new java.lang.String[] { "InstanceId", "CloudUniqueId", "Cluster", "Op", "ReplaceIfExistingEmptyTargetCluster", });
internal_static_doris_cloud_AlterClusterResponse_descriptor =
getDescriptor().getMessageTypes().get(101);
internal_static_doris_cloud_AlterClusterResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterClusterResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetClusterRequest_descriptor =
getDescriptor().getMessageTypes().get(102);
internal_static_doris_cloud_GetClusterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetClusterRequest_descriptor,
new java.lang.String[] { "InstanceId", "CloudUniqueId", "ClusterId", "ClusterName", "MysqlUserName", });
internal_static_doris_cloud_GetClusterStatusRequest_descriptor =
getDescriptor().getMessageTypes().get(103);
internal_static_doris_cloud_GetClusterStatusRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetClusterStatusRequest_descriptor,
new java.lang.String[] { "InstanceIds", "CloudUniqueIds", "Status", });
internal_static_doris_cloud_GetClusterStatusResponse_descriptor =
getDescriptor().getMessageTypes().get(104);
internal_static_doris_cloud_GetClusterStatusResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetClusterStatusResponse_descriptor,
new java.lang.String[] { "Status", "Details", });
internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_descriptor =
internal_static_doris_cloud_GetClusterStatusResponse_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetClusterStatusResponse_GetClusterStatusResponseDetail_descriptor,
new java.lang.String[] { "InstanceId", "Clusters", });
internal_static_doris_cloud_GetClusterResponse_descriptor =
getDescriptor().getMessageTypes().get(105);
internal_static_doris_cloud_GetClusterResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetClusterResponse_descriptor,
new java.lang.String[] { "Status", "Cluster", "EnableStorageVault", });
internal_static_doris_cloud_GetTabletStatsRequest_descriptor =
getDescriptor().getMessageTypes().get(106);
internal_static_doris_cloud_GetTabletStatsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTabletStatsRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletIdx", });
internal_static_doris_cloud_GetTabletStatsResponse_descriptor =
getDescriptor().getMessageTypes().get(107);
internal_static_doris_cloud_GetTabletStatsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetTabletStatsResponse_descriptor,
new java.lang.String[] { "Status", "TabletStats", });
internal_static_doris_cloud_CreateStageRequest_descriptor =
getDescriptor().getMessageTypes().get(108);
internal_static_doris_cloud_CreateStageRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateStageRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "Stage", });
internal_static_doris_cloud_CreateStageResponse_descriptor =
getDescriptor().getMessageTypes().get(109);
internal_static_doris_cloud_CreateStageResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CreateStageResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetStageRequest_descriptor =
getDescriptor().getMessageTypes().get(110);
internal_static_doris_cloud_GetStageRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetStageRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "StageName", "MysqlUserName", "Type", "MysqlUserId", });
internal_static_doris_cloud_GetStageResponse_descriptor =
getDescriptor().getMessageTypes().get(111);
internal_static_doris_cloud_GetStageResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetStageResponse_descriptor,
new java.lang.String[] { "Status", "Stage", });
internal_static_doris_cloud_DropStageRequest_descriptor =
getDescriptor().getMessageTypes().get(112);
internal_static_doris_cloud_DropStageRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_DropStageRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "StageName", "MysqlUserName", "Type", "MysqlUserId", "Reason", });
internal_static_doris_cloud_DropStageResponse_descriptor =
getDescriptor().getMessageTypes().get(113);
internal_static_doris_cloud_DropStageResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_DropStageResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetIamRequest_descriptor =
getDescriptor().getMessageTypes().get(114);
internal_static_doris_cloud_GetIamRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetIamRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", });
internal_static_doris_cloud_GetIamResponse_descriptor =
getDescriptor().getMessageTypes().get(115);
internal_static_doris_cloud_GetIamResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetIamResponse_descriptor,
new java.lang.String[] { "Status", "IamUser", "RamUser", });
internal_static_doris_cloud_AlterIamRequest_descriptor =
getDescriptor().getMessageTypes().get(116);
internal_static_doris_cloud_AlterIamRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterIamRequest_descriptor,
new java.lang.String[] { "AccountId", "Ak", "Sk", });
internal_static_doris_cloud_AlterIamResponse_descriptor =
getDescriptor().getMessageTypes().get(117);
internal_static_doris_cloud_AlterIamResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterIamResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_AlterRamUserRequest_descriptor =
getDescriptor().getMessageTypes().get(118);
internal_static_doris_cloud_AlterRamUserRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterRamUserRequest_descriptor,
new java.lang.String[] { "InstanceId", "RamUser", });
internal_static_doris_cloud_AlterRamUserResponse_descriptor =
getDescriptor().getMessageTypes().get(119);
internal_static_doris_cloud_AlterRamUserResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_AlterRamUserResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_StartTabletJobRequest_descriptor =
getDescriptor().getMessageTypes().get(120);
internal_static_doris_cloud_StartTabletJobRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_StartTabletJobRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "Job", });
internal_static_doris_cloud_StartTabletJobResponse_descriptor =
getDescriptor().getMessageTypes().get(121);
internal_static_doris_cloud_StartTabletJobResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_StartTabletJobResponse_descriptor,
new java.lang.String[] { "Status", "VersionInCompaction", "AlterVersion", });
internal_static_doris_cloud_FinishTabletJobRequest_descriptor =
getDescriptor().getMessageTypes().get(122);
internal_static_doris_cloud_FinishTabletJobRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_FinishTabletJobRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "Action", "Job", });
internal_static_doris_cloud_FinishTabletJobResponse_descriptor =
getDescriptor().getMessageTypes().get(123);
internal_static_doris_cloud_FinishTabletJobResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_FinishTabletJobResponse_descriptor,
new java.lang.String[] { "Status", "Stats", "AlterVersion", });
internal_static_doris_cloud_BeginCopyRequest_descriptor =
getDescriptor().getMessageTypes().get(124);
internal_static_doris_cloud_BeginCopyRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_BeginCopyRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "StageId", "StageType", "TableId", "CopyId", "GroupId", "StartTimeMs", "TimeoutTimeMs", "ObjectFiles", "FileNumLimit", "FileSizeLimit", "FileMetaSizeLimit", });
internal_static_doris_cloud_BeginCopyResponse_descriptor =
getDescriptor().getMessageTypes().get(125);
internal_static_doris_cloud_BeginCopyResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_BeginCopyResponse_descriptor,
new java.lang.String[] { "Status", "FilteredObjectFiles", });
internal_static_doris_cloud_FinishCopyRequest_descriptor =
getDescriptor().getMessageTypes().get(126);
internal_static_doris_cloud_FinishCopyRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_FinishCopyRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "StageId", "StageType", "TableId", "CopyId", "GroupId", "Action", "FinishTimeMs", });
internal_static_doris_cloud_FinishCopyResponse_descriptor =
getDescriptor().getMessageTypes().get(127);
internal_static_doris_cloud_FinishCopyResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_FinishCopyResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetCopyJobRequest_descriptor =
getDescriptor().getMessageTypes().get(128);
internal_static_doris_cloud_GetCopyJobRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetCopyJobRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "StageId", "TableId", "CopyId", "GroupId", });
internal_static_doris_cloud_GetCopyJobResponse_descriptor =
getDescriptor().getMessageTypes().get(129);
internal_static_doris_cloud_GetCopyJobResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetCopyJobResponse_descriptor,
new java.lang.String[] { "Status", "CopyJob", });
internal_static_doris_cloud_GetCopyFilesRequest_descriptor =
getDescriptor().getMessageTypes().get(130);
internal_static_doris_cloud_GetCopyFilesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetCopyFilesRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "StageId", "TableId", });
internal_static_doris_cloud_GetCopyFilesResponse_descriptor =
getDescriptor().getMessageTypes().get(131);
internal_static_doris_cloud_GetCopyFilesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetCopyFilesResponse_descriptor,
new java.lang.String[] { "Status", "ObjectFiles", });
internal_static_doris_cloud_FilterCopyFilesRequest_descriptor =
getDescriptor().getMessageTypes().get(132);
internal_static_doris_cloud_FilterCopyFilesRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_FilterCopyFilesRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "StageId", "TableId", "ObjectFiles", });
internal_static_doris_cloud_FilterCopyFilesResponse_descriptor =
getDescriptor().getMessageTypes().get(133);
internal_static_doris_cloud_FilterCopyFilesResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_FilterCopyFilesResponse_descriptor,
new java.lang.String[] { "Status", "ObjectFiles", });
internal_static_doris_cloud_RecycleInstanceRequest_descriptor =
getDescriptor().getMessageTypes().get(134);
internal_static_doris_cloud_RecycleInstanceRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RecycleInstanceRequest_descriptor,
new java.lang.String[] { "InstanceIds", });
internal_static_doris_cloud_RecycleInstanceResponse_descriptor =
getDescriptor().getMessageTypes().get(135);
internal_static_doris_cloud_RecycleInstanceResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RecycleInstanceResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_UpdateDeleteBitmapRequest_descriptor =
getDescriptor().getMessageTypes().get(136);
internal_static_doris_cloud_UpdateDeleteBitmapRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateDeleteBitmapRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TableId", "PartitionId", "TabletId", "LockId", "Initiator", "RowsetIds", "SegmentIds", "Versions", "SegmentDeleteBitmaps", "WithoutLock", "IsExplicitTxn", "TxnId", "NextVisibleVersion", "PreRowsetAggStartVersion", "PreRowsetAggEndVersion", "PreRowsetVersions", });
internal_static_doris_cloud_UpdateDeleteBitmapResponse_descriptor =
getDescriptor().getMessageTypes().get(137);
internal_static_doris_cloud_UpdateDeleteBitmapResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_UpdateDeleteBitmapResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetDeleteBitmapRequest_descriptor =
getDescriptor().getMessageTypes().get(138);
internal_static_doris_cloud_GetDeleteBitmapRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetDeleteBitmapRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletId", "RowsetIds", "BeginVersions", "EndVersions", "Idx", "BaseCompactionCnt", "CumulativeCompactionCnt", "CumulativePoint", });
internal_static_doris_cloud_GetDeleteBitmapResponse_descriptor =
getDescriptor().getMessageTypes().get(139);
internal_static_doris_cloud_GetDeleteBitmapResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetDeleteBitmapResponse_descriptor,
new java.lang.String[] { "Status", "RowsetIds", "SegmentIds", "Versions", "SegmentDeleteBitmaps", "TabletId", });
internal_static_doris_cloud_RemoveDeleteBitmapRequest_descriptor =
getDescriptor().getMessageTypes().get(140);
internal_static_doris_cloud_RemoveDeleteBitmapRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RemoveDeleteBitmapRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TabletId", "RowsetIds", "BeginVersions", "EndVersions", });
internal_static_doris_cloud_RemoveDeleteBitmapResponse_descriptor =
getDescriptor().getMessageTypes().get(141);
internal_static_doris_cloud_RemoveDeleteBitmapResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RemoveDeleteBitmapResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_PendingDeleteBitmapPB_descriptor =
getDescriptor().getMessageTypes().get(142);
internal_static_doris_cloud_PendingDeleteBitmapPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_PendingDeleteBitmapPB_descriptor,
new java.lang.String[] { "DeleteBitmapKeys", });
internal_static_doris_cloud_DeleteBitmapUpdateLockPB_descriptor =
getDescriptor().getMessageTypes().get(143);
internal_static_doris_cloud_DeleteBitmapUpdateLockPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_DeleteBitmapUpdateLockPB_descriptor,
new java.lang.String[] { "LockId", "Expiration", "Initiators", });
internal_static_doris_cloud_MowTabletCompactionPB_descriptor =
getDescriptor().getMessageTypes().get(144);
internal_static_doris_cloud_MowTabletCompactionPB_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_MowTabletCompactionPB_descriptor,
new java.lang.String[] { "Expiration", });
internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_descriptor =
getDescriptor().getMessageTypes().get(145);
internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetDeleteBitmapUpdateLockRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TableId", "PartitionIds", "LockId", "Initiator", "Expiration", "RequireCompactionStats", "TabletIndexes", });
internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_descriptor =
getDescriptor().getMessageTypes().get(146);
internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetDeleteBitmapUpdateLockResponse_descriptor,
new java.lang.String[] { "Status", "BaseCompactionCnts", "CumulativeCompactionCnts", "CumulativePoints", "TabletStates", });
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_descriptor =
getDescriptor().getMessageTypes().get(147);
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "TableId", "TabletId", "LockId", "Initiator", });
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_descriptor =
getDescriptor().getMessageTypes().get(148);
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_RemoveDeleteBitmapUpdateLockResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_GetRLTaskCommitAttachRequest_descriptor =
getDescriptor().getMessageTypes().get(149);
internal_static_doris_cloud_GetRLTaskCommitAttachRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetRLTaskCommitAttachRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "JobId", });
internal_static_doris_cloud_GetRLTaskCommitAttachResponse_descriptor =
getDescriptor().getMessageTypes().get(150);
internal_static_doris_cloud_GetRLTaskCommitAttachResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_GetRLTaskCommitAttachResponse_descriptor,
new java.lang.String[] { "Status", "CommitAttach", });
internal_static_doris_cloud_ResetRLProgressRequest_descriptor =
getDescriptor().getMessageTypes().get(151);
internal_static_doris_cloud_ResetRLProgressRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ResetRLProgressRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "DbId", "JobId", "PartitionToOffset", });
internal_static_doris_cloud_ResetRLProgressRequest_PartitionToOffsetEntry_descriptor =
internal_static_doris_cloud_ResetRLProgressRequest_descriptor.getNestedTypes().get(0);
internal_static_doris_cloud_ResetRLProgressRequest_PartitionToOffsetEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ResetRLProgressRequest_PartitionToOffsetEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_doris_cloud_ResetRLProgressResponse_descriptor =
getDescriptor().getMessageTypes().get(152);
internal_static_doris_cloud_ResetRLProgressResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_ResetRLProgressResponse_descriptor,
new java.lang.String[] { "Status", });
internal_static_doris_cloud_CheckKeyInfos_descriptor =
getDescriptor().getMessageTypes().get(153);
internal_static_doris_cloud_CheckKeyInfos_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CheckKeyInfos_descriptor,
new java.lang.String[] { "DbIds", "TableIds", "IndexIds", "PartitionIds", });
internal_static_doris_cloud_CheckKVRequest_descriptor =
getDescriptor().getMessageTypes().get(154);
internal_static_doris_cloud_CheckKVRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CheckKVRequest_descriptor,
new java.lang.String[] { "CloudUniqueId", "CheckKeys", "Op", });
internal_static_doris_cloud_CheckKVResponse_descriptor =
getDescriptor().getMessageTypes().get(155);
internal_static_doris_cloud_CheckKVResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_doris_cloud_CheckKVResponse_descriptor,
new java.lang.String[] { "Status", "BadKeys", });
org.apache.doris.proto.OlapFile.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}