api

package
v2.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 7

Documentation

Index

Constants

View Source
const (
	Default_SysTablesEntryPB_TableType                   = TableType_DEFAULT_TABLE_TYPE
	Default_SysTablesEntryPB_State                       = SysTablesEntryPB_UNKNOWN
	Default_SysTablesEntryPB_IsLocalIndex                = bool(false)
	Default_SysTablesEntryPB_IsUniqueIndex               = bool(false)
	Default_SysTablesEntryPB_IsPgSharedTable             = bool(false)
	Default_SysTablesEntryPB_Colocated                   = bool(false)
	Default_SysTablesEntryPB_UpdatesOnlyIndexPermissions = bool(false)
)

Default values for SysTablesEntryPB fields.

View Source
const (
	Default_SysTabletsEntryPB_State     = SysTabletsEntryPB_UNKNOWN
	Default_SysTabletsEntryPB_Colocated = bool(false)
)

Default values for SysTabletsEntryPB fields.

View Source
const (
	Default_SysNamespaceEntryPB_DatabaseType = YQLDatabase_YQL_DATABASE_CQL
	Default_SysNamespaceEntryPB_Colocated    = bool(false)
	Default_SysNamespaceEntryPB_State        = SysNamespaceEntryPB_UNKNOWN
)

Default values for SysNamespaceEntryPB fields.

View Source
const (
	Default_CreateCDCStreamRequestPB_RecordType     = CDCRecordType_CHANGE
	Default_CreateCDCStreamRequestPB_RecordFormat   = CDCRecordFormat_JSON
	Default_CreateCDCStreamRequestPB_SourceType     = CDCRequestSource_XCLUSTER
	Default_CreateCDCStreamRequestPB_CheckpointType = CDCCheckpointType_IMPLICIT
)

Default values for CreateCDCStreamRequestPB fields.

View Source
const (
	Default_DeleteCDCStreamRequestPB_IgnoreErrors = bool(false)
	Default_DeleteCDCStreamRequestPB_ForceDelete  = bool(false)
)

Default values for DeleteCDCStreamRequestPB fields.

View Source
const (
	Default_CDCSDKColumnInfoPB_IsKey      = bool(false)
	Default_CDCSDKColumnInfoPB_IsHashKey  = bool(false)
	Default_CDCSDKColumnInfoPB_IsNullable = bool(false)
	Default_CDCSDKColumnInfoPB_Oid        = int32(0)
)

Default values for CDCSDKColumnInfoPB fields.

View Source
const (
	Default_CDCSDKTablePropertiesPB_NumTablets         = int32(0)
	Default_CDCSDKTablePropertiesPB_IsYsqlCatalogTable = bool(false)
)

Default values for CDCSDKTablePropertiesPB fields.

View Source
const (
	Default_ColumnSchemaPB_IsKey       = bool(false)
	Default_ColumnSchemaPB_IsHashKey   = bool(false)
	Default_ColumnSchemaPB_IsNullable  = bool(false)
	Default_ColumnSchemaPB_IsStatic    = bool(false)
	Default_ColumnSchemaPB_IsCounter   = bool(false)
	Default_ColumnSchemaPB_Order       = int32(0)
	Default_ColumnSchemaPB_SortingType = uint32(0)
	Default_ColumnSchemaPB_PgTypeOid   = uint32(0)
)

Default values for ColumnSchemaPB fields.

View Source
const (
	Default_TablePropertiesPB_IsTransactional      = bool(false)
	Default_TablePropertiesPB_ConsistencyLevel     = YBConsistencyLevel_STRONG
	Default_TablePropertiesPB_UseMangledColumnName = bool(false)
	Default_TablePropertiesPB_NumTablets           = int32(0)
	Default_TablePropertiesPB_IsYsqlCatalogTable   = bool(false)
	Default_TablePropertiesPB_RetainDeleteMarkers  = bool(false)
)

Default values for TablePropertiesPB fields.

View Source
const (
	Default_IndexInfoPB_Version              = uint32(0)
	Default_IndexInfoPB_IsLocal              = bool(false)
	Default_IndexInfoPB_IsUnique             = bool(false)
	Default_IndexInfoPB_IndexPermissions     = IndexPermissions_INDEX_PERM_READ_WRITE_AND_DELETE
	Default_IndexInfoPB_UseMangledColumnName = bool(false)
	Default_IndexInfoPB_IsBackfillDeferred   = bool(false)
)

Default values for IndexInfoPB fields.

View Source
const (
	Default_LogSegmentFooterPB_MinReplicateIndex = int64(-1)
	Default_LogSegmentFooterPB_MaxReplicateIndex = int64(-1)
)

Default values for LogSegmentFooterPB fields.

View Source
const (
	Default_DumpMasterStateRequestPB_OnDisk             = bool(true)
	Default_DumpMasterStateRequestPB_PeersAlso          = bool(false)
	Default_DumpMasterStateRequestPB_ReturnDumpAsString = bool(false)
)

Default values for DumpMasterStateRequestPB fields.

View Source
const (
	Default_CreateTableRequestPB_TableType          = TableType_DEFAULT_TABLE_TYPE
	Default_CreateTableRequestPB_IsLocalIndex       = bool(false)
	Default_CreateTableRequestPB_IsUniqueIndex      = bool(false)
	Default_CreateTableRequestPB_SkipIndexBackfill  = bool(false)
	Default_CreateTableRequestPB_IsBackfillDeferred = bool(false)
	Default_CreateTableRequestPB_IsPgCatalogTable   = bool(false)
	Default_CreateTableRequestPB_IsPgSharedTable    = bool(false)
	Default_CreateTableRequestPB_Colocated          = bool(true)
)

Default values for CreateTableRequestPB fields.

View Source
const (
	Default_CreateNamespaceRequestPB_DatabaseType = YQLDatabase_YQL_DATABASE_CQL
	Default_CreateNamespaceRequestPB_Colocated    = bool(false)
)

Default values for CreateNamespaceRequestPB fields.

View Source
const (
	Default_ReportedTabletPB_State           = RaftGroupStatePB_UNKNOWN
	Default_ReportedTabletPB_TabletDataState = TabletDataState_TABLET_DATA_UNKNOWN
)

Default values for ReportedTabletPB fields.

View Source
const (
	Default_TSHeartbeatResponsePB_NeedsReregister       = bool(false)
	Default_TSHeartbeatResponsePB_NeedsFullTabletReport = bool(false)
)

Default values for TSHeartbeatResponsePB fields.

View Source
const (
	Default_MasterDeleteCDCStreamRequestPB_IgnoreErrors = bool(false)
	Default_MasterDeleteCDCStreamRequestPB_ForceDelete  = bool(false)
)

Default values for MasterDeleteCDCStreamRequestPB fields.

View Source
const (
	Default_PgsqlWriteRequestPB_IsYsqlCatalogChange   = bool(false)
	Default_PgsqlWriteRequestPB_IsBackfill            = bool(false)
	Default_PgsqlWriteRequestPB_IsDeletePersistNeeded = bool(false)
)

Default values for PgsqlWriteRequestPB fields.

View Source
const (
	Default_PgsqlBackfillSpecPB_Limit = int64(-1)
	Default_PgsqlBackfillSpecPB_Count = int64(0)
)

Default values for PgsqlBackfillSpecPB fields.

View Source
const (
	Default_PgsqlReadRequestPB_IsForwardScan     = bool(true)
	Default_PgsqlReadRequestPB_Distinct          = bool(false)
	Default_PgsqlReadRequestPB_IsAggregate       = bool(false)
	Default_PgsqlReadRequestPB_ReturnPagingState = bool(false)
	Default_PgsqlReadRequestPB_WaitPolicy        = WaitPolicy_WAIT_ERROR
	Default_PgsqlReadRequestPB_IsForBackfill     = bool(false)
)

Default values for PgsqlReadRequestPB fields.

View Source
const (
	Default_PgsqlResponsePB_Status        = PgsqlResponsePB_PGSQL_STATUS_OK
	Default_PgsqlResponsePB_BatchArgCount = int64(1)
)

Default values for PgsqlResponsePB fields.

View Source
const (
	Default_QLSelectRowCounterPB_SelectLimit  = int64(-1)
	Default_QLSelectRowCounterPB_SelectOffset = int64(-1)
	Default_QLSelectRowCounterPB_ReadCount    = int64(0)
	Default_QLSelectRowCounterPB_SkipCount    = int64(0)
)

Default values for QLSelectRowCounterPB fields.

View Source
const (
	Default_QLWriteRequestPB_ElseError                       = bool(false)
	Default_QLWriteRequestPB_ReturnsStatus                   = bool(false)
	Default_QLWriteRequestPB_IsBackfill                      = bool(false)
	Default_QLWriteRequestPB_IsCompatibleWithPreviousVersion = bool(false)
)

Default values for QLWriteRequestPB fields.

View Source
const (
	Default_QLReadRequestPB_IsForwardScan                   = bool(true)
	Default_QLReadRequestPB_Distinct                        = bool(false)
	Default_QLReadRequestPB_ReturnPagingState               = bool(false)
	Default_QLReadRequestPB_IsAggregate                     = bool(false)
	Default_QLReadRequestPB_IsCompatibleWithPreviousVersion = bool(false)
)

Default values for QLReadRequestPB fields.

View Source
const (
	Default_SortedSetOptionsPB_UpdateOptions = SortedSetOptionsPB_NONE
	Default_SortedSetOptionsPB_Ch            = bool(false)
	Default_SortedSetOptionsPB_Incr          = bool(false)
)

Default values for SortedSetOptionsPB fields.

View Source
const (
	Default_RedisSetRequestPB_ExpectOkResponse = bool(false)
	Default_RedisSetRequestPB_Ttl              = int64(-1)
	Default_RedisSetRequestPB_Mode             = RedisWriteMode_REDIS_WRITEMODE_UPSERT
)

Default values for RedisSetRequestPB fields.

View Source
const (
	Default_RedisCollectionGetRangeRequestPB_RequestType = RedisCollectionGetRangeRequestPB_TSRANGEBYTIME
	Default_RedisCollectionGetRangeRequestPB_WithScores  = bool(false)
)

Default values for RedisCollectionGetRangeRequestPB fields.

View Source
const (
	Default_RedisPushRequestPB_Side           = RedisSide_REDIS_SIDE_LEFT
	Default_RedisPushRequestPB_CheckExistence = bool(false)
)

Default values for RedisPushRequestPB fields.

View Source
const (
	Default_FetchDataRequestPB_Offset    = uint64(0)
	Default_FetchDataRequestPB_MaxLength = int64(0)
)

Default values for FetchDataRequestPB fields.

View Source
const (
	Default_SleepRequestPB_Deferred             = bool(false)
	Default_SleepRequestPB_ReturnAppError       = bool(false)
	Default_SleepRequestPB_ClientTimeoutDefined = bool(false)
)

Default values for SleepRequestPB fields.

View Source
const (
	Default_TabletStatusPB_State           = RaftGroupStatePB_UNKNOWN
	Default_TabletStatusPB_TabletDataState = TabletDataState_TABLET_DATA_UNKNOWN
)

Default values for TabletStatusPB fields.

View Source
const (
	Default_RaftGroupReplicaSuperBlockPB_OBSOLETETableType     = TableType_DEFAULT_TABLE_TYPE
	Default_RaftGroupReplicaSuperBlockPB_TabletDataState       = TabletDataState_TABLET_DATA_UNKNOWN
	Default_RaftGroupReplicaSuperBlockPB_Colocated             = bool(false)
	Default_RaftGroupReplicaSuperBlockPB_CdcMinReplicatedIndex = int64(9223372036854775807)
)

Default values for RaftGroupReplicaSuperBlockPB fields.

View Source
const (
	Default_ReadRequestPB_CacheBlocks      = bool(true)
	Default_ReadRequestPB_IncludeTrace     = bool(false)
	Default_ReadRequestPB_ConsistencyLevel = YBConsistencyLevel_STRONG
)

Default values for ReadRequestPB fields.

View Source
const (
	Default_AlterTableRequestPB_ForceSendAlterRequest = bool(false)
)

Default values for AlterTableRequestPB fields.

View Source
const (
	Default_AlterTableRequestPB_Step_Type = AlterTableRequestPB_UNKNOWN
)

Default values for AlterTableRequestPB_Step fields.

View Source
const (
	Default_BackfillJobPB_NumRowsProcessed = uint64(0)
)

Default values for BackfillJobPB fields.

View Source
const (
	Default_CDCErrorPB_Code = CDCErrorPB_UNKNOWN_ERROR
)

Default values for CDCErrorPB fields.

View Source
const (
	Default_CDCListTabletsRequestPB_LocalOnly = bool(false)
)

Default values for CDCListTabletsRequestPB fields.

View Source
const (
	Default_CDCSDKCheckpointPB_WriteId = int32(0)
)

Default values for CDCSDKCheckpointPB fields.

View Source
const (
	Default_CDCSDKOpIdPB_WriteId = uint32(0)
)

Default values for CDCSDKOpIdPB fields.

View Source
const (
	Default_ChangeConfigRequestPB_UseHost = bool(false)
)

Default values for ChangeConfigRequestPB fields.

View Source
const (
	Default_ChangeMetadataRequestPB_ShouldAbortActiveTxns = bool(false)
)

Default values for ChangeMetadataRequestPB fields.

View Source
const (
	Default_CheckRemoteBootstrapSessionActiveRequestPB_Keepalive = bool(false)
)

Default values for CheckRemoteBootstrapSessionActiveRequestPB fields.

View Source
const (
	Default_CreateSnapshotRequestPB_AddIndexes = bool(false)
)

Default values for CreateSnapshotRequestPB fields.

View Source
const (
	Default_CreateTabletRequestPB_Colocated = bool(false)
)

Default values for CreateTabletRequestPB fields.

View Source
const (
	Default_DeleteNamespaceRequestPB_DatabaseType = YQLDatabase_YQL_DATABASE_CQL
)

Default values for DeleteNamespaceRequestPB fields.

View Source
const (
	Default_DeleteTableRequestPB_IsIndexTable = bool(false)
)

Default values for DeleteTableRequestPB fields.

View Source
const (
	Default_DeleteTabletRequestPB_DeleteType = TabletDataState_TABLET_DATA_TOMBSTONED
)

Default values for DeleteTabletRequestPB fields.

View Source
const (
	Default_DeleteUniverseReplicationRequestPB_IgnoreErrors = bool(false)
)

Default values for DeleteUniverseReplicationRequestPB fields.

View Source
const (
	Default_DumpRunningRpcsRequestPB_IncludeTraces = bool(false)
)

Default values for DumpRunningRpcsRequestPB fields.

View Source
const (
	Default_EndRemoteBootstrapSessionRequestPB_KeepSession = bool(false)
)

Default values for EndRemoteBootstrapSessionRequestPB fields.

View Source
const (
	Default_EndRemoteBootstrapSessionResponsePB_SessionKept = bool(false)
)

Default values for EndRemoteBootstrapSessionResponsePB fields.

View Source
const (
	Default_GetChangesRequestPB_ServeAsProxy = bool(true)
)

Default values for GetChangesRequestPB fields.

View Source
const (
	Default_GetChangesResponsePB_RecordType = CDCRecordType_CHANGE
)

Default values for GetChangesResponsePB fields.

View Source
const (
	Default_GetConsensusStateRequestPB_Type = ConsensusConfigType_CONSENSUS_CONFIG_COMMITTED
)

Default values for GetConsensusStateRequestPB fields.

View Source
const (
	Default_GetFlagResponsePB_Valid = bool(true)
)

Default values for GetFlagResponsePB fields.

View Source
const (
	Default_GetLastOpIdRequestPB_OpidType = OpIdType_RECEIVED_OPID
)

Default values for GetLastOpIdRequestPB fields.

View Source
const (
	Default_GetTableLocationsRequestPB_MaxReturnedLocations = uint32(10)
)

Default values for GetTableLocationsRequestPB fields.

View Source
const (
	Default_GetTableSchemaResponsePB_IsCompatibleWithPreviousVersion = bool(false)
)

Default values for GetTableSchemaResponsePB fields.

View Source
const (
	Default_GrantRevokePermissionRequestPB_Revoke = bool(false)
)

Default values for GrantRevokePermissionRequestPB fields.

View Source
const (
	Default_GrantRevokeRoleRequestPB_Revoke = bool(false)
)

Default values for GrantRevokeRoleRequestPB fields.

View Source
const (
	Default_ImportSnapshotMetaResponsePB_TableMetaPB_TableType = ImportSnapshotMetaResponsePB_TABLE
)

Default values for ImportSnapshotMetaResponsePB_TableMetaPB fields.

View Source
const (
	Default_IsTabletServerReadyResponsePB_TotalTablets = int32(0)
)

Default values for IsTabletServerReadyResponsePB fields.

View Source
const (
	Default_ListCDCStreamsRequestPB_IdType = IdTypePB_TABLE_ID
)

Default values for ListCDCStreamsRequestPB fields.

View Source
const (
	Default_ListLiveTabletServersRequestPB_PrimaryOnly = bool(false)
)

Default values for ListLiveTabletServersRequestPB fields.

View Source
const (
	Default_ListNamespacesRequestPB_DatabaseType = YQLDatabase_YQL_DATABASE_CQL
)

Default values for ListNamespacesRequestPB fields.

View Source
const (
	Default_ListTablesRequestPB_ExcludeSystemTables = bool(false)
)

Default values for ListTablesRequestPB fields.

View Source
const (
	Default_ListTablesResponsePB_TableInfo_RelationType = RelationType_USER_TABLE_RELATION
)

Default values for ListTablesResponsePB_TableInfo fields.

View Source
const (
	Default_ListTabletServersRequestPB_PrimaryOnly = bool(false)
)

Default values for ListTabletServersRequestPB fields.

View Source
const (
	Default_NamespaceIdentifierPB_DatabaseType = YQLDatabase_YQL_DATABASE_CQL
)

Default values for NamespaceIdentifierPB fields.

View Source
const (
	Default_QLResponsePB_Status = QLResponsePB_YQL_STATUS_OK
)

Default values for QLResponsePB fields.

View Source
const (
	Default_RaftConfigPB_UnsafeConfigChange = bool(false)
)

Default values for RaftConfigPB fields.

View Source
const (
	Default_RedisAddRequestPB_Mode = RedisWriteMode_REDIS_WRITEMODE_UPSERT
)

Default values for RedisAddRequestPB fields.

View Source
const (
	Default_RedisGetRequestPB_RequestType = RedisGetRequestPB_GET
)

Default values for RedisGetRequestPB fields.

View Source
const (
	Default_RedisGetTtlRequestPB_ReturnSeconds = bool(false)
)

Default values for RedisGetTtlRequestPB fields.

View Source
const (
	Default_RedisIncrRequestPB_IncrementInt = int64(1)
)

Default values for RedisIncrRequestPB fields.

View Source
const (
	Default_RedisKeyValuePB_Type = RedisDataType_REDIS_TYPE_NONE
)

Default values for RedisKeyValuePB fields.

View Source
const (
	Default_RedisPopRequestPB_Side = RedisSide_REDIS_SIDE_LEFT
)

Default values for RedisPopRequestPB fields.

View Source
const (
	Default_RedisReadRequestPB_RangeRequestLimit = int32(0)
)

Default values for RedisReadRequestPB fields.

View Source
const (
	Default_RedisSetTtlRequestPB_Ttl = int64(-1)
)

Default values for RedisSetTtlRequestPB fields.

View Source
const (
	Default_RedisSubKeyBoundPB_IsExclusive = bool(false)
)

Default values for RedisSubKeyBoundPB fields.

View Source
const (
	Default_RemoteBootstrapErrorPB_Code = RemoteBootstrapErrorPB_UNKNOWN_ERROR
)

Default values for RemoteBootstrapErrorPB fields.

View Source
const (
	Default_ResponseHeader_IsError = bool(false)
)

Default values for ResponseHeader fields.

View Source
const (
	Default_ServerRegistrationPB_PgPort = uint32(5433)
)

Default values for ServerRegistrationPB fields.

View Source
const (
	Default_SetFlagRequestPB_Force = bool(false)
)

Default values for SetFlagRequestPB fields.

View Source
const (
	Default_SnapshotInfoPB_FormatVersion = int64(1)
)

Default values for SnapshotInfoPB fields.

View Source
const (
	Default_StartRemoteBootstrapRequestPB_CallerTerm = int64(-1)
)

Default values for StartRemoteBootstrapRequestPB fields.

View Source
const (
	Default_SysCDCStreamEntryPB_State = SysCDCStreamEntryPB_ACTIVE
)

Default values for SysCDCStreamEntryPB fields.

View Source
const (
	Default_SysRestorationEntryPB_State = SysSnapshotEntryPB_UNKNOWN
)

Default values for SysRestorationEntryPB fields.

View Source
const (
	Default_SysSnapshotEntryPB_State = SysSnapshotEntryPB_UNKNOWN
)

Default values for SysSnapshotEntryPB fields.

View Source
const (
	Default_SysUniverseReplicationEntryPB_State = SysUniverseReplicationEntryPB_INITIALIZING
)

Default values for SysUniverseReplicationEntryPB fields.

View Source
const (
	Default_TableInfoPB_TableType = TableType_DEFAULT_TABLE_TYPE
)

Default values for TableInfoPB fields.

View Source
const (
	Default_TabletDriveStorageMetadataPB_MayHaveOrphanedPostSplitData = bool(true)
)

Default values for TabletDriveStorageMetadataPB fields.

View Source
const (
	Default_TabletReportUpdatesPB_ProcessingTruncated = bool(false)
)

Default values for TabletReportUpdatesPB fields.

View Source
const (
	Default_TabletServerErrorPB_Code = TabletServerErrorPB_UNKNOWN_ERROR
)

Default values for TabletServerErrorPB fields.

View Source
const (
	Default_TransactionMetadataPB_Isolation = IsolationLevel_NON_TRANSACTIONAL
)

Default values for TransactionMetadataPB fields.

View Source
const (
	Default_VoteRequestPB_IgnoreLiveLeader = bool(false)
)

Default values for VoteRequestPB fields.

View Source
const (
	Default_WriteRequestPB_IncludeTrace = bool(false)
)

Default values for WriteRequestPB fields.

Variables

View Source
var (
	TabletSnapshotOpRequestPB_Operation_name = map[int32]string{
		0: "UNKNOWN",
		1: "CREATE_ON_TABLET",
		2: "RESTORE_ON_TABLET",
		3: "DELETE_ON_TABLET",
		4: "CREATE_ON_MASTER",
		5: "DELETE_ON_MASTER",
		6: "RESTORE_SYS_CATALOG",
		7: "RESTORE_FINISHED",
	}
	TabletSnapshotOpRequestPB_Operation_value = map[string]int32{
		"UNKNOWN":             0,
		"CREATE_ON_TABLET":    1,
		"RESTORE_ON_TABLET":   2,
		"DELETE_ON_TABLET":    3,
		"CREATE_ON_MASTER":    4,
		"DELETE_ON_MASTER":    5,
		"RESTORE_SYS_CATALOG": 6,
		"RESTORE_FINISHED":    7,
	}
)

Enum value maps for TabletSnapshotOpRequestPB_Operation.

View Source
var (
	BackfillJobPB_State_name = map[int32]string{
		0: "IN_PROGRESS",
		1: "FAILED",
		2: "SUCCESS",
	}
	BackfillJobPB_State_value = map[string]int32{
		"IN_PROGRESS": 0,
		"FAILED":      1,
		"SUCCESS":     2,
	}
)

Enum value maps for BackfillJobPB_State.

View Source
var (
	SysTablesEntryPB_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "PREPARING",
		2: "RUNNING",
		3: "ALTERING",
		4: "DELETING",
		5: "DELETED",
	}
	SysTablesEntryPB_State_value = map[string]int32{
		"UNKNOWN":   0,
		"PREPARING": 1,
		"RUNNING":   2,
		"ALTERING":  3,
		"DELETING":  4,
		"DELETED":   5,
	}
)

Enum value maps for SysTablesEntryPB_State.

View Source
var (
	SysTablesEntryPB_HideState_name = map[int32]string{
		0: "VISIBLE",
		1: "HIDING",
		2: "HIDDEN",
	}
	SysTablesEntryPB_HideState_value = map[string]int32{
		"VISIBLE": 0,
		"HIDING":  1,
		"HIDDEN":  2,
	}
)

Enum value maps for SysTablesEntryPB_HideState.

View Source
var (
	SysTabletsEntryPB_State_name = map[int32]string{
		999: "UNKNOWN",
		0:   "PREPARING",
		1:   "CREATING",
		2:   "RUNNING",
		3:   "REPLACED",
		4:   "DELETED",
	}
	SysTabletsEntryPB_State_value = map[string]int32{
		"UNKNOWN":   999,
		"PREPARING": 0,
		"CREATING":  1,
		"RUNNING":   2,
		"REPLACED":  3,
		"DELETED":   4,
	}
)

Enum value maps for SysTabletsEntryPB_State.

View Source
var (
	SysNamespaceEntryPB_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "PREPARING",
		2: "FAILED",
		3: "RUNNING",
		4: "DELETING",
		5: "DELETED",
	}
	SysNamespaceEntryPB_State_value = map[string]int32{
		"UNKNOWN":   0,
		"PREPARING": 1,
		"FAILED":    2,
		"RUNNING":   3,
		"DELETING":  4,
		"DELETED":   5,
	}
)

Enum value maps for SysNamespaceEntryPB_State.

View Source
var (
	SysCDCStreamEntryPB_State_name = map[int32]string{
		3: "INITIATED",
		0: "ACTIVE",
		1: "DELETING",
		2: "DELETED",
	}
	SysCDCStreamEntryPB_State_value = map[string]int32{
		"INITIATED": 3,
		"ACTIVE":    0,
		"DELETING":  1,
		"DELETED":   2,
	}
)

Enum value maps for SysCDCStreamEntryPB_State.

View Source
var (
	SysSnapshotEntryPB_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "CREATING",
		2: "COMPLETE",
		3: "DELETING",
		4: "DELETED",
		5: "FAILED",
		6: "CANCELLED",
		7: "RESTORING",
		8: "RESTORED",
	}
	SysSnapshotEntryPB_State_value = map[string]int32{
		"UNKNOWN":   0,
		"CREATING":  1,
		"COMPLETE":  2,
		"DELETING":  3,
		"DELETED":   4,
		"FAILED":    5,
		"CANCELLED": 6,
		"RESTORING": 7,
		"RESTORED":  8,
	}
)

Enum value maps for SysSnapshotEntryPB_State.

View Source
var (
	SysUniverseReplicationEntryPB_State_name = map[int32]string{
		0: "INITIALIZING",
		1: "VALIDATED",
		2: "ACTIVE",
		3: "FAILED",
		6: "DISABLED",
		4: "DELETED",
		5: "DELETED_ERROR",
	}
	SysUniverseReplicationEntryPB_State_value = map[string]int32{
		"INITIALIZING":  0,
		"VALIDATED":     1,
		"ACTIVE":        2,
		"FAILED":        3,
		"DISABLED":      6,
		"DELETED":       4,
		"DELETED_ERROR": 5,
	}
)

Enum value maps for SysUniverseReplicationEntryPB_State.

View Source
var (
	CDCRecordType_name = map[int32]string{
		1: "CHANGE",
		2: "AFTER",
		3: "ALL",
	}
	CDCRecordType_value = map[string]int32{
		"CHANGE": 1,
		"AFTER":  2,
		"ALL":    3,
	}
)

Enum value maps for CDCRecordType.

View Source
var (
	CDCRecordFormat_name = map[int32]string{
		1: "JSON",
		2: "WAL",
		3: "PROTO",
	}
	CDCRecordFormat_value = map[string]int32{
		"JSON":  1,
		"WAL":   2,
		"PROTO": 3,
	}
)

Enum value maps for CDCRecordFormat.

View Source
var (
	CDCRequestSource_name = map[int32]string{
		1: "XCLUSTER",
		2: "CDCSDK",
	}
	CDCRequestSource_value = map[string]int32{
		"XCLUSTER": 1,
		"CDCSDK":   2,
	}
)

Enum value maps for CDCRequestSource.

View Source
var (
	CDCCheckpointType_name = map[int32]string{
		1: "IMPLICIT",
		2: "EXPLICIT",
	}
	CDCCheckpointType_value = map[string]int32{
		"IMPLICIT": 1,
		"EXPLICIT": 2,
	}
)

Enum value maps for CDCCheckpointType.

View Source
var (
	CDCErrorPB_Code_name = map[int32]string{
		1:  "UNKNOWN_ERROR",
		2:  "TABLET_NOT_FOUND",
		3:  "TABLE_NOT_FOUND",
		4:  "SUBSCRIBER_NOT_FOUND",
		5:  "CHECKPOINT_TOO_OLD",
		6:  "TABLET_NOT_RUNNING",
		7:  "NOT_LEADER",
		11: "LEADER_NOT_READY",
		8:  "NOT_RUNNING",
		9:  "INTERNAL_ERROR",
		10: "INVALID_REQUEST",
	}
	CDCErrorPB_Code_value = map[string]int32{
		"UNKNOWN_ERROR":        1,
		"TABLET_NOT_FOUND":     2,
		"TABLE_NOT_FOUND":      3,
		"SUBSCRIBER_NOT_FOUND": 4,
		"CHECKPOINT_TOO_OLD":   5,
		"TABLET_NOT_RUNNING":   6,
		"NOT_LEADER":           7,
		"LEADER_NOT_READY":     11,
		"NOT_RUNNING":          8,
		"INTERNAL_ERROR":       9,
		"INVALID_REQUEST":      10,
	}
)

Enum value maps for CDCErrorPB_Code.

View Source
var (
	CDCRecordPB_OperationType_name = map[int32]string{
		1: "WRITE",
		2: "DELETE",
		3: "APPLY",
		4: "SPLIT_OP",
	}
	CDCRecordPB_OperationType_value = map[string]int32{
		"WRITE":    1,
		"DELETE":   2,
		"APPLY":    3,
		"SPLIT_OP": 4,
	}
)

Enum value maps for CDCRecordPB_OperationType.

View Source
var (
	RowMessage_Op_name = map[int32]string{
		-1: "UNKNOWN",
		0:  "INSERT",
		1:  "UPDATE",
		2:  "DELETE",
		3:  "BEGIN",
		4:  "COMMIT",
		5:  "DDL",
		6:  "TRUNCATE",
		7:  "READ",
	}
	RowMessage_Op_value = map[string]int32{
		"UNKNOWN":  -1,
		"INSERT":   0,
		"UPDATE":   1,
		"DELETE":   2,
		"BEGIN":    3,
		"COMMIT":   4,
		"DDL":      5,
		"TRUNCATE": 6,
		"READ":     7,
	}
)

Enum value maps for RowMessage_Op.

View Source
var (
	OrderMode_name = map[int32]string{
		0: "UNKNOWN_ORDER_MODE",
		1: "UNORDERED",
		2: "ORDERED",
	}
	OrderMode_value = map[string]int32{
		"UNKNOWN_ORDER_MODE": 0,
		"UNORDERED":          1,
		"ORDERED":            2,
	}
)

Enum value maps for OrderMode.

View Source
var (
	WaitPolicy_name = map[int32]string{
		0: "WAIT_BLOCK",
		1: "WAIT_SKIP",
		2: "WAIT_ERROR",
	}
	WaitPolicy_value = map[string]int32{
		"WAIT_BLOCK": 0,
		"WAIT_SKIP":  1,
		"WAIT_ERROR": 2,
	}
)

Enum value maps for WaitPolicy.

View Source
var (
	InvolvedTabletMetadataState_name = map[int32]string{
		0: "MISSING",
		1: "EXIST",
		2: "MAY_EXIST",
	}
	InvolvedTabletMetadataState_value = map[string]int32{
		"MISSING":   0,
		"EXIST":     1,
		"MAY_EXIST": 2,
	}
)

Enum value maps for InvolvedTabletMetadataState.

View Source
var (
	PartitionSchemaPB_HashSchema_name = map[int32]string{
		1: "MULTI_COLUMN_HASH_SCHEMA",
		2: "REDIS_HASH_SCHEMA",
		3: "PGSQL_HASH_SCHEMA",
	}
	PartitionSchemaPB_HashSchema_value = map[string]int32{
		"MULTI_COLUMN_HASH_SCHEMA": 1,
		"REDIS_HASH_SCHEMA":        2,
		"PGSQL_HASH_SCHEMA":        3,
	}
)

Enum value maps for PartitionSchemaPB_HashSchema.

View Source
var (
	PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_name = map[int32]string{
		0: "UNKNOWN",
		1: "MURMUR_HASH_2",
	}
	PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm_value = map[string]int32{
		"UNKNOWN":       0,
		"MURMUR_HASH_2": 1,
	}
)

Enum value maps for PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm.

View Source
var (
	ResourceType_name = map[int32]string{
		1: "ALL_KEYSPACES",
		2: "KEYSPACE",
		3: "TABLE",
		4: "ALL_ROLES",
		5: "ROLE",
	}
	ResourceType_value = map[string]int32{
		"ALL_KEYSPACES": 1,
		"KEYSPACE":      2,
		"TABLE":         3,
		"ALL_ROLES":     4,
		"ROLE":          5,
	}
)

Enum value maps for ResourceType.

View Source
var (
	PermissionType_name = map[int32]string{
		0:         "ALTER_PERMISSION",
		1:         "CREATE_PERMISSION",
		2:         "DROP_PERMISSION",
		3:         "SELECT_PERMISSION",
		4:         "MODIFY_PERMISSION",
		5:         "AUTHORIZE_PERMISSION",
		6:         "DESCRIBE_PERMISSION",
		999999999: "ALL_PERMISSION",
	}
	PermissionType_value = map[string]int32{
		"ALTER_PERMISSION":     0,
		"CREATE_PERMISSION":    1,
		"DROP_PERMISSION":      2,
		"SELECT_PERMISSION":    3,
		"MODIFY_PERMISSION":    4,
		"AUTHORIZE_PERMISSION": 5,
		"DESCRIBE_PERMISSION":  6,
		"ALL_PERMISSION":       999999999,
	}
)

Enum value maps for PermissionType.

View Source
var (
	IndexPermissions_name = map[int32]string{
		0:  "INDEX_PERM_DELETE_ONLY",
		2:  "INDEX_PERM_WRITE_AND_DELETE",
		4:  "INDEX_PERM_DO_BACKFILL",
		6:  "INDEX_PERM_READ_WRITE_AND_DELETE",
		8:  "INDEX_PERM_WRITE_AND_DELETE_WHILE_REMOVING",
		10: "INDEX_PERM_DELETE_ONLY_WHILE_REMOVING",
		12: "INDEX_PERM_INDEX_UNUSED",
		14: "INDEX_PERM_NOT_USED",
	}
	IndexPermissions_value = map[string]int32{
		"INDEX_PERM_DELETE_ONLY":                     0,
		"INDEX_PERM_WRITE_AND_DELETE":                2,
		"INDEX_PERM_DO_BACKFILL":                     4,
		"INDEX_PERM_READ_WRITE_AND_DELETE":           6,
		"INDEX_PERM_WRITE_AND_DELETE_WHILE_REMOVING": 8,
		"INDEX_PERM_DELETE_ONLY_WHILE_REMOVING":      10,
		"INDEX_PERM_INDEX_UNUSED":                    12,
		"INDEX_PERM_NOT_USED":                        14,
	}
)

Enum value maps for IndexPermissions.

View Source
var (
	YQLDatabase_name = map[int32]string{
		1: "YQL_DATABASE_UNKNOWN",
		2: "YQL_DATABASE_CQL",
		3: "YQL_DATABASE_PGSQL",
		4: "YQL_DATABASE_REDIS",
	}
	YQLDatabase_value = map[string]int32{
		"YQL_DATABASE_UNKNOWN": 1,
		"YQL_DATABASE_CQL":     2,
		"YQL_DATABASE_PGSQL":   3,
		"YQL_DATABASE_REDIS":   4,
	}
)

Enum value maps for YQLDatabase.

View Source
var (
	TableType_name = map[int32]string{
		2: "YQL_TABLE_TYPE",
		3: "REDIS_TABLE_TYPE",
		4: "PGSQL_TABLE_TYPE",
		5: "TRANSACTION_STATUS_TABLE_TYPE",
	}
	TableType_value = map[string]int32{
		"YQL_TABLE_TYPE":                2,
		"REDIS_TABLE_TYPE":              3,
		"PGSQL_TABLE_TYPE":              4,
		"TRANSACTION_STATUS_TABLE_TYPE": 5,
		"DEFAULT_TABLE_TYPE":            2,
	}
)

Enum value maps for TableType.

View Source
var (
	JsonOperatorPB_name = map[int32]string{
		0: "JSON_OBJECT",
		1: "JSON_TEXT",
	}
	JsonOperatorPB_value = map[string]int32{
		"JSON_OBJECT": 0,
		"JSON_TEXT":   1,
	}
)

Enum value maps for JsonOperatorPB.

View Source
var (
	YBConsistencyLevel_name = map[int32]string{
		1: "STRONG",
		2: "CONSISTENT_PREFIX",
		3: "USER_ENFORCED",
	}
	YBConsistencyLevel_value = map[string]int32{
		"STRONG":            1,
		"CONSISTENT_PREFIX": 2,
		"USER_ENFORCED":     3,
	}
)

Enum value maps for YBConsistencyLevel.

View Source
var (
	QLClient_name = map[int32]string{
		1: "YQL_CLIENT_CQL",
		2: "YQL_CLIENT_PGSQL",
		3: "YQL_CLIENT_REDIS",
	}
	QLClient_value = map[string]int32{
		"YQL_CLIENT_CQL":   1,
		"YQL_CLIENT_PGSQL": 2,
		"YQL_CLIENT_REDIS": 3,
	}
)

Enum value maps for QLClient.

View Source
var (
	PeerRole_name = map[int32]string{
		0: "FOLLOWER",
		1: "LEADER",
		2: "LEARNER",
		3: "NON_PARTICIPANT",
		4: "READ_REPLICA",
		7: "UNKNOWN_ROLE",
	}
	PeerRole_value = map[string]int32{
		"FOLLOWER":        0,
		"LEADER":          1,
		"LEARNER":         2,
		"NON_PARTICIPANT": 3,
		"READ_REPLICA":    4,
		"UNKNOWN_ROLE":    7,
	}
)

Enum value maps for PeerRole.

View Source
var (
	DriverType_name = map[int32]string{
		0: "UNKNOWN_DRIVER",
		1: "LEADER",
		2: "REPLICA",
	}
	DriverType_value = map[string]int32{
		"UNKNOWN_DRIVER": 0,
		"LEADER":         1,
		"REPLICA":        2,
	}
)

Enum value maps for DriverType.

View Source
var (
	PeerMemberType_name = map[int32]string{
		999: "UNKNOWN_MEMBER_TYPE",
		0:   "PRE_VOTER",
		1:   "VOTER",
		2:   "PRE_OBSERVER",
		3:   "OBSERVER",
	}
	PeerMemberType_value = map[string]int32{
		"UNKNOWN_MEMBER_TYPE": 999,
		"PRE_VOTER":           0,
		"VOTER":               1,
		"PRE_OBSERVER":        2,
		"OBSERVER":            3,
	}
)

Enum value maps for PeerMemberType.

View Source
var (
	ConsensusConfigType_name = map[int32]string{
		999: "CONSENSUS_CONFIG_UNKNOWN",
		1:   "CONSENSUS_CONFIG_COMMITTED",
		2:   "CONSENSUS_CONFIG_ACTIVE",
	}
	ConsensusConfigType_value = map[string]int32{
		"CONSENSUS_CONFIG_UNKNOWN":   999,
		"CONSENSUS_CONFIG_COMMITTED": 1,
		"CONSENSUS_CONFIG_ACTIVE":    2,
	}
)

Enum value maps for ConsensusConfigType.

View Source
var (
	ChangeConfigType_name = map[int32]string{
		0: "UNKNOWN_CHANGE",
		1: "ADD_SERVER",
		2: "REMOVE_SERVER",
		3: "CHANGE_ROLE",
	}
	ChangeConfigType_value = map[string]int32{
		"UNKNOWN_CHANGE": 0,
		"ADD_SERVER":     1,
		"REMOVE_SERVER":  2,
		"CHANGE_ROLE":    3,
	}
)

Enum value maps for ChangeConfigType.

View Source
var (
	OpIdType_name = map[int32]string{
		0: "UNKNOWN_OPID_TYPE",
		1: "RECEIVED_OPID",
		2: "COMMITTED_OPID",
	}
	OpIdType_value = map[string]int32{
		"UNKNOWN_OPID_TYPE": 0,
		"RECEIVED_OPID":     1,
		"COMMITTED_OPID":    2,
	}
)

Enum value maps for OpIdType.

View Source
var (
	LeaderLeaseStatus_name = map[int32]string{
		0: "HAS_LEASE",
		1: "OLD_LEADER_MAY_HAVE_LEASE",
		2: "NO_MAJORITY_REPLICATED_LEASE",
	}
	LeaderLeaseStatus_value = map[string]int32{
		"HAS_LEASE":                    0,
		"OLD_LEADER_MAY_HAVE_LEASE":    1,
		"NO_MAJORITY_REPLICATED_LEASE": 2,
	}
)

Enum value maps for LeaderLeaseStatus.

View Source
var (
	OperationType_name = map[int32]string{
		0:  "UNKNOWN_OP",
		1:  "NO_OP",
		3:  "WRITE_OP",
		4:  "CHANGE_METADATA_OP",
		5:  "CHANGE_CONFIG_OP",
		6:  "UPDATE_TRANSACTION_OP",
		7:  "SNAPSHOT_OP",
		8:  "TRUNCATE_OP",
		9:  "HISTORY_CUTOFF_OP",
		10: "SPLIT_OP",
	}
	OperationType_value = map[string]int32{
		"UNKNOWN_OP":            0,
		"NO_OP":                 1,
		"WRITE_OP":              3,
		"CHANGE_METADATA_OP":    4,
		"CHANGE_CONFIG_OP":      5,
		"UPDATE_TRANSACTION_OP": 6,
		"SNAPSHOT_OP":           7,
		"TRUNCATE_OP":           8,
		"HISTORY_CUTOFF_OP":     9,
		"SPLIT_OP":              10,
	}
)

Enum value maps for OperationType.

View Source
var (
	ConsensusErrorPB_Code_name = map[int32]string{
		0:  "UNKNOWN",
		2:  "INVALID_TERM",
		3:  "LAST_OPID_TOO_OLD",
		4:  "ALREADY_VOTED",
		5:  "NOT_IN_QUORUM",
		6:  "PRECEDING_ENTRY_DIDNT_MATCH",
		7:  "LEADER_IS_ALIVE",
		8:  "CONSENSUS_BUSY",
		9:  "CANNOT_PREPARE",
		10: "TABLET_SPLIT",
	}
	ConsensusErrorPB_Code_value = map[string]int32{
		"UNKNOWN":                     0,
		"INVALID_TERM":                2,
		"LAST_OPID_TOO_OLD":           3,
		"ALREADY_VOTED":               4,
		"NOT_IN_QUORUM":               5,
		"PRECEDING_ENTRY_DIDNT_MATCH": 6,
		"LEADER_IS_ALIVE":             7,
		"CONSENSUS_BUSY":              8,
		"CANNOT_PREPARE":              9,
		"TABLET_SPLIT":                10,
	}
)

Enum value maps for ConsensusErrorPB_Code.

View Source
var (
	BlockRecordType_name = map[int32]string{
		0: "UNKNOWN",
		1: "CREATE",
		2: "DELETE",
	}
	BlockRecordType_value = map[string]int32{
		"UNKNOWN": 0,
		"CREATE":  1,
		"DELETE":  2,
	}
)

Enum value maps for BlockRecordType.

View Source
var (
	TestAllTypes_NestedEnum_name = map[int32]string{
		1: "FOO",
		2: "BAR",
		3: "BAZ",
	}
	TestAllTypes_NestedEnum_value = map[string]int32{
		"FOO": 1,
		"BAR": 2,
		"BAZ": 3,
	}
)

Enum value maps for TestAllTypes_NestedEnum.

View Source
var (
	RpcSides_name = map[int32]string{
		0: "NONE",
		1: "SERVICE",
		2: "PROXY",
		3: "BOTH",
	}
	RpcSides_value = map[string]int32{
		"NONE":    0,
		"SERVICE": 1,
		"PROXY":   2,
		"BOTH":    3,
	}
)

Enum value maps for RpcSides.

View Source
var (
	LogEntryTypePB_name = map[int32]string{
		0:   "UNKNOWN",
		1:   "REPLICATE",
		998: "ROLLOVER_MARKER",
		999: "FLUSH_MARKER",
	}
	LogEntryTypePB_value = map[string]int32{
		"UNKNOWN":         0,
		"REPLICATE":       1,
		"ROLLOVER_MARKER": 998,
		"FLUSH_MARKER":    999,
	}
)

Enum value maps for LogEntryTypePB.

View Source
var (
	ImportSnapshotMetaResponsePB_TableType_name = map[int32]string{
		0: "TABLE",
		1: "COLOCATED_TABLE",
		2: "PARENT_COLOCATED_TABLE",
	}
	ImportSnapshotMetaResponsePB_TableType_value = map[string]int32{
		"TABLE":                  0,
		"COLOCATED_TABLE":        1,
		"PARENT_COLOCATED_TABLE": 2,
	}
)

Enum value maps for ImportSnapshotMetaResponsePB_TableType.

View Source
var (
	AlterTableRequestPB_StepType_name = map[int32]string{
		0: "UNKNOWN",
		1: "ADD_COLUMN",
		2: "DROP_COLUMN",
		3: "RENAME_COLUMN",
		4: "ALTER_COLUMN",
	}
	AlterTableRequestPB_StepType_value = map[string]int32{
		"UNKNOWN":       0,
		"ADD_COLUMN":    1,
		"DROP_COLUMN":   2,
		"RENAME_COLUMN": 3,
		"ALTER_COLUMN":  4,
	}
)

Enum value maps for AlterTableRequestPB_StepType.

View Source
var (
	IdTypePB_name = map[int32]string{
		1: "TABLE_ID",
		2: "NAMESPACE_ID",
	}
	IdTypePB_value = map[string]int32{
		"TABLE_ID":     1,
		"NAMESPACE_ID": 2,
	}
)

Enum value maps for IdTypePB.

View Source
var (
	RelationType_name = map[int32]string{
		1: "SYSTEM_TABLE_RELATION",
		2: "USER_TABLE_RELATION",
		3: "INDEX_TABLE_RELATION",
	}
	RelationType_value = map[string]int32{
		"SYSTEM_TABLE_RELATION": 1,
		"USER_TABLE_RELATION":   2,
		"INDEX_TABLE_RELATION":  3,
	}
)

Enum value maps for RelationType.

View Source
var (
	SysRowEntryType_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "TABLE",
		2:  "TABLET",
		3:  "CLUSTER_CONFIG",
		4:  "NAMESPACE",
		5:  "UDTYPE",
		6:  "ROLE",
		7:  "SNAPSHOT",
		8:  "REDIS_CONFIG",
		9:  "SYS_CONFIG",
		10: "CDC_STREAM",
		11: "UNIVERSE_REPLICATION",
		12: "SNAPSHOT_SCHEDULE",
		13: "DDL_LOG_ENTRY",
	}
	SysRowEntryType_value = map[string]int32{
		"UNKNOWN":              0,
		"TABLE":                1,
		"TABLET":               2,
		"CLUSTER_CONFIG":       3,
		"NAMESPACE":            4,
		"UDTYPE":               5,
		"ROLE":                 6,
		"SNAPSHOT":             7,
		"REDIS_CONFIG":         8,
		"SYS_CONFIG":           9,
		"CDC_STREAM":           10,
		"UNIVERSE_REPLICATION": 11,
		"SNAPSHOT_SCHEDULE":    12,
		"DDL_LOG_ENTRY":        13,
	}
)

Enum value maps for SysRowEntryType.

View Source
var (
	MasterErrorPB_Code_name = map[int32]string{
		1:  "UNKNOWN_ERROR",
		2:  "INVALID_SCHEMA",
		3:  "OBJECT_NOT_FOUND",
		4:  "OBJECT_ALREADY_PRESENT",
		5:  "TOO_MANY_TABLETS",
		6:  "CATALOG_MANAGER_NOT_INITIALIZED",
		7:  "NOT_THE_LEADER",
		8:  "REPLICATION_FACTOR_TOO_HIGH",
		9:  "CONFIG_VERSION_MISMATCH",
		10: "IN_TRANSITION_CAN_RETRY",
		11: "NAMESPACE_NOT_FOUND",
		12: "NAMESPACE_ALREADY_PRESENT",
		13: "NO_NAMESPACE_USED",
		14: "NAMESPACE_IS_NOT_EMPTY",
		15: "INVALID_CLUSTER_CONFIG",
		16: "CAN_RETRY_LOAD_BALANCE_CHECK",
		17: "TYPE_NOT_FOUND",
		18: "INVALID_TYPE",
		19: "TYPE_ALREADY_PRESENT",
		20: "INVALID_TABLE_TYPE",
		21: "TABLE_CREATION_IS_IN_PROGRESS",
		22: "SNAPSHOT_NOT_FOUND",
		23: "SNAPSHOT_FAILED",
		24: "SNAPSHOT_CANCELLED",
		25: "PARALLEL_SNAPSHOT_OPERATION",
		26: "SNAPSHOT_IS_NOT_READY",
		27: "ROLE_ALREADY_PRESENT",
		28: "ROLE_NOT_FOUND",
		29: "INVALID_REQUEST",
		32: "NOT_AUTHORIZED",
		30: "CAN_RETRY_ARE_LEADERS_ON_PREFERRED_ONLY_CHECK",
		31: "REDIS_CONFIG_NOT_FOUND",
		33: "LOAD_BALANCER_RECENTLY_ACTIVE",
		34: "INTERNAL_ERROR",
		35: "INVALID_TABLE_REPLICATION_INFO",
		36: "REACHED_SPLIT_LIMIT",
		37: "SPLIT_OR_BACKFILL_IN_PROGRESS",
		38: "TABLET_NOT_RUNNING",
		39: "TABLE_NOT_RUNNING",
	}
	MasterErrorPB_Code_value = map[string]int32{
		"UNKNOWN_ERROR":                                 1,
		"INVALID_SCHEMA":                                2,
		"OBJECT_NOT_FOUND":                              3,
		"OBJECT_ALREADY_PRESENT":                        4,
		"TOO_MANY_TABLETS":                              5,
		"CATALOG_MANAGER_NOT_INITIALIZED":               6,
		"NOT_THE_LEADER":                                7,
		"REPLICATION_FACTOR_TOO_HIGH":                   8,
		"CONFIG_VERSION_MISMATCH":                       9,
		"IN_TRANSITION_CAN_RETRY":                       10,
		"NAMESPACE_NOT_FOUND":                           11,
		"NAMESPACE_ALREADY_PRESENT":                     12,
		"NO_NAMESPACE_USED":                             13,
		"NAMESPACE_IS_NOT_EMPTY":                        14,
		"INVALID_CLUSTER_CONFIG":                        15,
		"CAN_RETRY_LOAD_BALANCE_CHECK":                  16,
		"TYPE_NOT_FOUND":                                17,
		"INVALID_TYPE":                                  18,
		"TYPE_ALREADY_PRESENT":                          19,
		"INVALID_TABLE_TYPE":                            20,
		"TABLE_CREATION_IS_IN_PROGRESS":                 21,
		"SNAPSHOT_NOT_FOUND":                            22,
		"SNAPSHOT_FAILED":                               23,
		"SNAPSHOT_CANCELLED":                            24,
		"PARALLEL_SNAPSHOT_OPERATION":                   25,
		"SNAPSHOT_IS_NOT_READY":                         26,
		"ROLE_ALREADY_PRESENT":                          27,
		"ROLE_NOT_FOUND":                                28,
		"INVALID_REQUEST":                               29,
		"NOT_AUTHORIZED":                                32,
		"CAN_RETRY_ARE_LEADERS_ON_PREFERRED_ONLY_CHECK": 30,
		"REDIS_CONFIG_NOT_FOUND":                        31,
		"LOAD_BALANCER_RECENTLY_ACTIVE":                 33,
		"INTERNAL_ERROR":                                34,
		"INVALID_TABLE_REPLICATION_INFO":                35,
		"REACHED_SPLIT_LIMIT":                           36,
		"SPLIT_OR_BACKFILL_IN_PROGRESS":                 37,
		"TABLET_NOT_RUNNING":                            38,
		"TABLE_NOT_RUNNING":                             39,
	}
)

Enum value maps for MasterErrorPB_Code.

View Source
var (
	PgsqlWriteRequestPB_PgsqlStmtType_name = map[int32]string{
		1: "PGSQL_INSERT",
		2: "PGSQL_UPDATE",
		3: "PGSQL_DELETE",
		4: "PGSQL_UPSERT",
		5: "PGSQL_TRUNCATE_COLOCATED",
	}
	PgsqlWriteRequestPB_PgsqlStmtType_value = map[string]int32{
		"PGSQL_INSERT":             1,
		"PGSQL_UPDATE":             2,
		"PGSQL_DELETE":             3,
		"PGSQL_UPSERT":             4,
		"PGSQL_TRUNCATE_COLOCATED": 5,
	}
)

Enum value maps for PgsqlWriteRequestPB_PgsqlStmtType.

View Source
var (
	PgsqlResponsePB_RequestStatus_name = map[int32]string{
		0: "PGSQL_STATUS_OK",
		1: "PGSQL_STATUS_SCHEMA_VERSION_MISMATCH",
		2: "PGSQL_STATUS_RUNTIME_ERROR",
		3: "PGSQL_STATUS_USAGE_ERROR",
		4: "PGSQL_STATUS_RESTART_REQUIRED_ERROR",
		5: "PGSQL_STATUS_DUPLICATE_KEY_ERROR",
	}
	PgsqlResponsePB_RequestStatus_value = map[string]int32{
		"PGSQL_STATUS_OK":                      0,
		"PGSQL_STATUS_SCHEMA_VERSION_MISMATCH": 1,
		"PGSQL_STATUS_RUNTIME_ERROR":           2,
		"PGSQL_STATUS_USAGE_ERROR":             3,
		"PGSQL_STATUS_RESTART_REQUIRED_ERROR":  4,
		"PGSQL_STATUS_DUPLICATE_KEY_ERROR":     5,
	}
)

Enum value maps for PgsqlResponsePB_RequestStatus.

View Source
var (
	TestPBEnum_name = map[int32]string{
		1: "FOO",
		2: "BAR",
		3: "BAZ",
	}
	TestPBEnum_value = map[string]int32{
		"FOO": 1,
		"BAR": 2,
		"BAZ": 3,
	}
)

Enum value maps for TestPBEnum.

View Source
var (
	QLWriteRequestPB_QLStmtType_name = map[int32]string{
		1: "QL_STMT_INSERT",
		2: "QL_STMT_UPDATE",
		3: "QL_STMT_DELETE",
	}
	QLWriteRequestPB_QLStmtType_value = map[string]int32{
		"QL_STMT_INSERT": 1,
		"QL_STMT_UPDATE": 2,
		"QL_STMT_DELETE": 3,
	}
)

Enum value maps for QLWriteRequestPB_QLStmtType.

View Source
var (
	QLResponsePB_QLStatus_name = map[int32]string{
		0: "YQL_STATUS_OK",
		1: "YQL_STATUS_SCHEMA_VERSION_MISMATCH",
		2: "YQL_STATUS_RUNTIME_ERROR",
		3: "YQL_STATUS_USAGE_ERROR",
		4: "YQL_STATUS_RESTART_REQUIRED_ERROR",
		5: "YQL_STATUS_QUERY_ERROR",
	}
	QLResponsePB_QLStatus_value = map[string]int32{
		"YQL_STATUS_OK":                      0,
		"YQL_STATUS_SCHEMA_VERSION_MISMATCH": 1,
		"YQL_STATUS_RUNTIME_ERROR":           2,
		"YQL_STATUS_USAGE_ERROR":             3,
		"YQL_STATUS_RESTART_REQUIRED_ERROR":  4,
		"YQL_STATUS_QUERY_ERROR":             5,
	}
)

Enum value maps for QLResponsePB_QLStatus.

View Source
var (
	RedisDataType_name = map[int32]string{
		1: "REDIS_TYPE_NONE",
		2: "REDIS_TYPE_STRING",
		3: "REDIS_TYPE_LIST",
		4: "REDIS_TYPE_SET",
		5: "REDIS_TYPE_HASH",
		6: "REDIS_TYPE_SORTEDSET",
		7: "REDIS_TYPE_TIMESERIES",
	}
	RedisDataType_value = map[string]int32{
		"REDIS_TYPE_NONE":       1,
		"REDIS_TYPE_STRING":     2,
		"REDIS_TYPE_LIST":       3,
		"REDIS_TYPE_SET":        4,
		"REDIS_TYPE_HASH":       5,
		"REDIS_TYPE_SORTEDSET":  6,
		"REDIS_TYPE_TIMESERIES": 7,
	}
)

Enum value maps for RedisDataType.

View Source
var (
	RedisSide_name = map[int32]string{
		1: "REDIS_SIDE_LEFT",
		2: "REDIS_SIDE_RIGHT",
	}
	RedisSide_value = map[string]int32{
		"REDIS_SIDE_LEFT":  1,
		"REDIS_SIDE_RIGHT": 2,
	}
)

Enum value maps for RedisSide.

View Source
var (
	RedisOrder_name = map[int32]string{
		1: "REDIS_ORDER_BEFORE",
		2: "REDIS_ORDER_AFTER",
	}
	RedisOrder_value = map[string]int32{
		"REDIS_ORDER_BEFORE": 1,
		"REDIS_ORDER_AFTER":  2,
	}
)

Enum value maps for RedisOrder.

View Source
var (
	RedisWriteMode_name = map[int32]string{
		1: "REDIS_WRITEMODE_UPSERT",
		2: "REDIS_WRITEMODE_INSERT",
		3: "REDIS_WRITEMODE_UPDATE",
	}
	RedisWriteMode_value = map[string]int32{
		"REDIS_WRITEMODE_UPSERT": 1,
		"REDIS_WRITEMODE_INSERT": 2,
		"REDIS_WRITEMODE_UPDATE": 3,
	}
)

Enum value maps for RedisWriteMode.

View Source
var (
	RedisSubKeyBoundPB_InfinityType_name = map[int32]string{
		1: "POSITIVE",
		2: "NEGATIVE",
	}
	RedisSubKeyBoundPB_InfinityType_value = map[string]int32{
		"POSITIVE": 1,
		"NEGATIVE": 2,
	}
)

Enum value maps for RedisSubKeyBoundPB_InfinityType.

View Source
var (
	SortedSetOptionsPB_UpdateOptions_name = map[int32]string{
		1: "NX",
		2: "XX",
		3: "NONE",
	}
	SortedSetOptionsPB_UpdateOptions_value = map[string]int32{
		"NX":   1,
		"XX":   2,
		"NONE": 3,
	}
)

Enum value maps for SortedSetOptionsPB_UpdateOptions.

View Source
var (
	RedisGetRequestPB_GetRequestType_name = map[int32]string{
		1:  "GET",
		3:  "MGET",
		2:  "HGET",
		4:  "HMGET",
		5:  "HGETALL",
		7:  "HKEYS",
		8:  "HVALS",
		9:  "HLEN",
		10: "HEXISTS",
		11: "HSTRLEN",
		6:  "SMEMBERS",
		12: "SISMEMBER",
		13: "SCARD",
		15: "ZCARD",
		14: "TSGET",
		16: "TSCARD",
		17: "ZSCORE",
		18: "LLEN",
		99: "UNKNOWN",
	}
	RedisGetRequestPB_GetRequestType_value = map[string]int32{
		"GET":       1,
		"MGET":      3,
		"HGET":      2,
		"HMGET":     4,
		"HGETALL":   5,
		"HKEYS":     7,
		"HVALS":     8,
		"HLEN":      9,
		"HEXISTS":   10,
		"HSTRLEN":   11,
		"SMEMBERS":  6,
		"SISMEMBER": 12,
		"SCARD":     13,
		"ZCARD":     15,
		"TSGET":     14,
		"TSCARD":    16,
		"ZSCORE":    17,
		"LLEN":      18,
		"UNKNOWN":   99,
	}
)

Enum value maps for RedisGetRequestPB_GetRequestType.

View Source
var (
	RedisCollectionGetRangeRequestPB_GetRangeRequestType_name = map[int32]string{
		1:  "TSRANGEBYTIME",
		2:  "ZRANGEBYSCORE",
		3:  "ZREVRANGE",
		4:  "ZRANGE",
		5:  "TSREVRANGEBYTIME",
		99: "UNKNOWN",
	}
	RedisCollectionGetRangeRequestPB_GetRangeRequestType_value = map[string]int32{
		"TSRANGEBYTIME":    1,
		"ZRANGEBYSCORE":    2,
		"ZREVRANGE":        3,
		"ZRANGE":           4,
		"TSREVRANGEBYTIME": 5,
		"UNKNOWN":          99,
	}
)

Enum value maps for RedisCollectionGetRangeRequestPB_GetRangeRequestType.

View Source
var (
	RedisResponsePB_RedisStatusCode_name = map[int32]string{
		1: "OK",
		2: "NIL",
		5: "NOT_FOUND",
		3: "UNKNOWN_COMMAND",
		4: "WRONG_TYPE",
		6: "SERVER_ERROR",
		7: "INDEX_OUT_OF_BOUNDS",
		8: "PARSING_ERROR",
	}
	RedisResponsePB_RedisStatusCode_value = map[string]int32{
		"OK":                  1,
		"NIL":                 2,
		"NOT_FOUND":           5,
		"UNKNOWN_COMMAND":     3,
		"WRONG_TYPE":          4,
		"SERVER_ERROR":        6,
		"INDEX_OUT_OF_BOUNDS": 7,
		"PARSING_ERROR":       8,
	}
)

Enum value maps for RedisResponsePB_RedisStatusCode.

View Source
var (
	RemoteBootstrapErrorPB_Code_name = map[int32]string{
		1: "UNKNOWN_ERROR",
		2: "NO_SESSION",
		3: "TABLET_NOT_FOUND",
		4: "BLOCK_NOT_FOUND",
		5: "WAL_SEGMENT_NOT_FOUND",
		6: "INVALID_REMOTE_BOOTSTRAP_REQUEST",
		7: "IO_ERROR",
		8: "ROCKSDB_FILE_NOT_FOUND",
	}
	RemoteBootstrapErrorPB_Code_value = map[string]int32{
		"UNKNOWN_ERROR":                    1,
		"NO_SESSION":                       2,
		"TABLET_NOT_FOUND":                 3,
		"BLOCK_NOT_FOUND":                  4,
		"WAL_SEGMENT_NOT_FOUND":            5,
		"INVALID_REMOTE_BOOTSTRAP_REQUEST": 6,
		"IO_ERROR":                         7,
		"ROCKSDB_FILE_NOT_FOUND":           8,
	}
)

Enum value maps for RemoteBootstrapErrorPB_Code.

View Source
var (
	DataIdPB_IdType_name = map[int32]string{
		0: "UNKNOWN",
		2: "LOG_SEGMENT",
		3: "ROCKSDB_FILE",
		4: "SNAPSHOT_FILE",
	}
	DataIdPB_IdType_value = map[string]int32{
		"UNKNOWN":       0,
		"LOG_SEGMENT":   2,
		"ROCKSDB_FILE":  3,
		"SNAPSHOT_FILE": 4,
	}
)

Enum value maps for DataIdPB_IdType.

View Source
var (
	ErrorStatusPB_RpcErrorCodePB_name = map[int32]string{
		10: "FATAL_UNKNOWN",
		1:  "ERROR_APPLICATION",
		2:  "ERROR_NO_SUCH_METHOD",
		3:  "ERROR_NO_SUCH_SERVICE",
		4:  "ERROR_SERVER_TOO_BUSY",
		5:  "ERROR_INVALID_REQUEST",
		11: "FATAL_SERVER_SHUTTING_DOWN",
		13: "FATAL_DESERIALIZING_REQUEST",
		14: "FATAL_VERSION_MISMATCH",
		15: "FATAL_UNAUTHORIZED",
	}
	ErrorStatusPB_RpcErrorCodePB_value = map[string]int32{
		"FATAL_UNKNOWN":               10,
		"ERROR_APPLICATION":           1,
		"ERROR_NO_SUCH_METHOD":        2,
		"ERROR_NO_SUCH_SERVICE":       3,
		"ERROR_SERVER_TOO_BUSY":       4,
		"ERROR_INVALID_REQUEST":       5,
		"FATAL_SERVER_SHUTTING_DOWN":  11,
		"FATAL_DESERIALIZING_REQUEST": 13,
		"FATAL_VERSION_MISMATCH":      14,
		"FATAL_UNAUTHORIZED":          15,
	}
)

Enum value maps for ErrorStatusPB_RpcErrorCodePB.

View Source
var (
	RpcCallState_name = map[int32]string{
		0: "READY",
		1: "ON_OUTBOUND_QUEUE",
		2: "SENT",
		3: "TIMED_OUT",
		4: "FINISHED_ERROR",
		5: "FINISHED_SUCCESS",
	}
	RpcCallState_value = map[string]int32{
		"READY":             0,
		"ON_OUTBOUND_QUEUE": 1,
		"SENT":              2,
		"TIMED_OUT":         3,
		"FINISHED_ERROR":    4,
		"FINISHED_SUCCESS":  5,
	}
)

Enum value maps for RpcCallState.

View Source
var (
	RpcConnectionPB_StateType_name = map[int32]string{
		999: "UNKNOWN",
		0:   "NEGOTIATING",
		1:   "OPEN",
	}
	RpcConnectionPB_StateType_value = map[string]int32{
		"UNKNOWN":     999,
		"NEGOTIATING": 0,
		"OPEN":        1,
	}
)

Enum value maps for RpcConnectionPB_StateType.

View Source
var (
	LightweightEnum_name = map[int32]string{
		0: "ZERO",
		1: "ONE",
		2: "TWO",
		3: "THREE",
		4: "FOUR",
	}
	LightweightEnum_value = map[string]int32{
		"ZERO":  0,
		"ONE":   1,
		"TWO":   2,
		"THREE": 3,
		"FOUR":  4,
	}
)

Enum value maps for LightweightEnum.

View Source
var (
	SetFlagResponsePB_Code_name = map[int32]string{
		0: "UNKNOWN",
		1: "SUCCESS",
		2: "NO_SUCH_FLAG",
		3: "BAD_VALUE",
		4: "NOT_SAFE",
	}
	SetFlagResponsePB_Code_value = map[string]int32{
		"UNKNOWN":      0,
		"SUCCESS":      1,
		"NO_SUCH_FLAG": 2,
		"BAD_VALUE":    3,
		"NOT_SAFE":     4,
	}
)

Enum value maps for SetFlagResponsePB_Code.

View Source
var (
	RaftGroupStatePB_name = map[int32]string{
		999: "UNKNOWN",
		5:   "NOT_STARTED",
		0:   "BOOTSTRAPPING",
		1:   "RUNNING",
		2:   "FAILED",
		3:   "QUIESCING",
		4:   "SHUTDOWN",
	}
	RaftGroupStatePB_value = map[string]int32{
		"UNKNOWN":       999,
		"NOT_STARTED":   5,
		"BOOTSTRAPPING": 0,
		"RUNNING":       1,
		"FAILED":        2,
		"QUIESCING":     3,
		"SHUTDOWN":      4,
	}
)

Enum value maps for RaftGroupStatePB.

View Source
var (
	TabletDataState_name = map[int32]string{
		999: "TABLET_DATA_UNKNOWN",
		0:   "TABLET_DATA_COPYING",
		1:   "TABLET_DATA_READY",
		2:   "TABLET_DATA_DELETED",
		3:   "TABLET_DATA_TOMBSTONED",
		4:   "TABLET_DATA_SPLIT_COMPLETED",
		5:   "TABLET_DATA_INIT_STARTED",
	}
	TabletDataState_value = map[string]int32{
		"TABLET_DATA_UNKNOWN":         999,
		"TABLET_DATA_COPYING":         0,
		"TABLET_DATA_READY":           1,
		"TABLET_DATA_DELETED":         2,
		"TABLET_DATA_TOMBSTONED":      3,
		"TABLET_DATA_SPLIT_COMPLETED": 4,
		"TABLET_DATA_INIT_STARTED":    5,
	}
)

Enum value maps for TabletDataState.

View Source
var (
	IsolationLevel_name = map[int32]string{
		0: "NON_TRANSACTIONAL",
		1: "SNAPSHOT_ISOLATION",
		2: "SERIALIZABLE_ISOLATION",
		3: "READ_COMMITTED",
	}
	IsolationLevel_value = map[string]int32{
		"NON_TRANSACTIONAL":      0,
		"SNAPSHOT_ISOLATION":     1,
		"SERIALIZABLE_ISOLATION": 2,
		"READ_COMMITTED":         3,
	}
)

Enum value maps for IsolationLevel.

View Source
var (
	TransactionStatus_name = map[int32]string{
		1:  "CREATED",
		2:  "PENDING",
		4:  "COMMITTED",
		5:  "SEALED",
		7:  "APPLIED_IN_ALL_INVOLVED_TABLETS",
		8:  "ABORTED",
		20: "APPLYING",
		21: "APPLIED_IN_ONE_OF_INVOLVED_TABLETS",
		22: "IMMEDIATE_CLEANUP",
		23: "GRACEFUL_CLEANUP",
	}
	TransactionStatus_value = map[string]int32{
		"CREATED":                            1,
		"PENDING":                            2,
		"COMMITTED":                          4,
		"SEALED":                             5,
		"APPLIED_IN_ALL_INVOLVED_TABLETS":    7,
		"ABORTED":                            8,
		"APPLYING":                           20,
		"APPLIED_IN_ONE_OF_INVOLVED_TABLETS": 21,
		"IMMEDIATE_CLEANUP":                  22,
		"GRACEFUL_CLEANUP":                   23,
	}
)

Enum value maps for TransactionStatus.

View Source
var (
	TransactionLocality_name = map[int32]string{
		1: "GLOBAL",
		2: "LOCAL",
	}
	TransactionLocality_value = map[string]int32{
		"GLOBAL": 1,
		"LOCAL":  2,
	}
)

Enum value maps for TransactionLocality.

View Source
var (
	RowMarkType_name = map[int32]string{
		0:  "ROW_MARK_EXCLUSIVE",
		1:  "ROW_MARK_NOKEYEXCLUSIVE",
		2:  "ROW_MARK_SHARE",
		3:  "ROW_MARK_KEYSHARE",
		4:  "ROW_MARK_REFERENCE",
		5:  "ROW_MARK_COPY",
		15: "ROW_MARK_ABSENT",
	}
	RowMarkType_value = map[string]int32{
		"ROW_MARK_EXCLUSIVE":      0,
		"ROW_MARK_NOKEYEXCLUSIVE": 1,
		"ROW_MARK_SHARE":          2,
		"ROW_MARK_KEYSHARE":       3,
		"ROW_MARK_REFERENCE":      4,
		"ROW_MARK_COPY":           5,
		"ROW_MARK_ABSENT":         15,
	}
)

Enum value maps for RowMarkType.

View Source
var (
	FlushTabletsRequestPB_Operation_name = map[int32]string{
		0: "FLUSH",
		1: "COMPACT",
		2: "LOG_GC",
	}
	FlushTabletsRequestPB_Operation_value = map[string]int32{
		"FLUSH":   0,
		"COMPACT": 1,
		"LOG_GC":  2,
	}
)

Enum value maps for FlushTabletsRequestPB_Operation.

View Source
var (
	TSTabletManagerStatePB_name = map[int32]string{
		999: "UNKNOWN",
		0:   "MANAGER_INITIALIZING",
		1:   "MANAGER_RUNNING",
		2:   "MANAGER_QUIESCING",
		3:   "MANAGER_SHUTDOWN",
	}
	TSTabletManagerStatePB_value = map[string]int32{
		"UNKNOWN":              999,
		"MANAGER_INITIALIZING": 0,
		"MANAGER_RUNNING":      1,
		"MANAGER_QUIESCING":    2,
		"MANAGER_SHUTDOWN":     3,
	}
)

Enum value maps for TSTabletManagerStatePB.

View Source
var (
	TabletServerErrorPB_Code_name = map[int32]string{
		1:  "UNKNOWN_ERROR",
		2:  "INVALID_SCHEMA",
		3:  "INVALID_ROW_BLOCK",
		4:  "INVALID_MUTATION",
		5:  "MISMATCHED_SCHEMA",
		6:  "TABLET_NOT_FOUND",
		7:  "SCANNER_EXPIRED",
		8:  "INVALID_SCAN_SPEC",
		9:  "INVALID_CONFIG",
		10: "TABLET_ALREADY_EXISTS",
		11: "TABLET_HAS_A_NEWER_SCHEMA",
		12: "TABLET_NOT_RUNNING",
		13: "INVALID_SNAPSHOT",
		14: "INVALID_SCAN_CALL_SEQ_ID",
		15: "NOT_THE_LEADER",
		16: "WRONG_SERVER_UUID",
		17: "CAS_FAILED",
		18: "LEADER_NOT_READY_CHANGE_CONFIG",
		19: "LEADER_NOT_READY_TO_STEP_DOWN",
		20: "ADD_CHANGE_CONFIG_ALREADY_PRESENT",
		21: "REMOVE_CHANGE_CONFIG_NOT_PRESENT",
		22: "LEADER_NEEDS_STEP_DOWN",
		23: "OPERATION_NOT_SUPPORTED",
		24: "LEADER_NOT_READY_TO_SERVE",
		25: "STALE_FOLLOWER",
		26: "ALREADY_IN_PROGRESS",
		27: "PENDING_LOCAL_BOOTSTRAPS",
		28: "TABLET_SPLIT",
		29: "TABLET_SPLIT_PARENT_STILL_LIVE",
	}
	TabletServerErrorPB_Code_value = map[string]int32{
		"UNKNOWN_ERROR":                     1,
		"INVALID_SCHEMA":                    2,
		"INVALID_ROW_BLOCK":                 3,
		"INVALID_MUTATION":                  4,
		"MISMATCHED_SCHEMA":                 5,
		"TABLET_NOT_FOUND":                  6,
		"SCANNER_EXPIRED":                   7,
		"INVALID_SCAN_SPEC":                 8,
		"INVALID_CONFIG":                    9,
		"TABLET_ALREADY_EXISTS":             10,
		"TABLET_HAS_A_NEWER_SCHEMA":         11,
		"TABLET_NOT_RUNNING":                12,
		"INVALID_SNAPSHOT":                  13,
		"INVALID_SCAN_CALL_SEQ_ID":          14,
		"NOT_THE_LEADER":                    15,
		"WRONG_SERVER_UUID":                 16,
		"CAS_FAILED":                        17,
		"LEADER_NOT_READY_CHANGE_CONFIG":    18,
		"LEADER_NOT_READY_TO_STEP_DOWN":     19,
		"ADD_CHANGE_CONFIG_ALREADY_PRESENT": 20,
		"REMOVE_CHANGE_CONFIG_NOT_PRESENT":  21,
		"LEADER_NEEDS_STEP_DOWN":            22,
		"OPERATION_NOT_SUPPORTED":           23,
		"LEADER_NOT_READY_TO_SERVE":         24,
		"STALE_FOLLOWER":                    25,
		"ALREADY_IN_PROGRESS":               26,
		"PENDING_LOCAL_BOOTSTRAPS":          27,
		"TABLET_SPLIT":                      28,
		"TABLET_SPLIT_PARENT_STILL_LIVE":    29,
	}
)

Enum value maps for TabletServerErrorPB_Code.

View Source
var (
	QLVirtualValuePB_name = map[int32]string{
		1: "LIMIT_MAX",
		2: "LIMIT_MIN",
	}
	QLVirtualValuePB_value = map[string]int32{
		"LIMIT_MAX": 1,
		"LIMIT_MIN": 2,
	}
)

Enum value maps for QLVirtualValuePB.

View Source
var (
	DataType_name = map[int32]string{
		999: "UNKNOWN_DATA",
		0:   "NULL_VALUE_TYPE",
		1:   "INT8",
		2:   "INT16",
		3:   "INT32",
		4:   "INT64",
		5:   "STRING",
		6:   "BOOL",
		7:   "FLOAT",
		8:   "DOUBLE",
		9:   "BINARY",
		10:  "TIMESTAMP",
		11:  "DECIMAL",
		12:  "VARINT",
		13:  "INET",
		14:  "LIST",
		15:  "MAP",
		16:  "SET",
		17:  "UUID",
		18:  "TIMEUUID",
		19:  "TUPLE",
		20:  "TYPEARGS",
		21:  "USER_DEFINED_TYPE",
		22:  "FROZEN",
		23:  "DATE",
		24:  "TIME",
		25:  "JSONB",
		100: "UINT8",
		101: "UINT16",
		102: "UINT32",
		103: "UINT64",
		104: "GIN_NULL",
	}
	DataType_value = map[string]int32{
		"UNKNOWN_DATA":      999,
		"NULL_VALUE_TYPE":   0,
		"INT8":              1,
		"INT16":             2,
		"INT32":             3,
		"INT64":             4,
		"STRING":            5,
		"BOOL":              6,
		"FLOAT":             7,
		"DOUBLE":            8,
		"BINARY":            9,
		"TIMESTAMP":         10,
		"DECIMAL":           11,
		"VARINT":            12,
		"INET":              13,
		"LIST":              14,
		"MAP":               15,
		"SET":               16,
		"UUID":              17,
		"TIMEUUID":          18,
		"TUPLE":             19,
		"TYPEARGS":          20,
		"USER_DEFINED_TYPE": 21,
		"FROZEN":            22,
		"DATE":              23,
		"TIME":              24,
		"JSONB":             25,
		"UINT8":             100,
		"UINT16":            101,
		"UINT32":            102,
		"UINT64":            103,
		"GIN_NULL":          104,
	}
)

Enum value maps for DataType.

View Source
var (
	QLOperator_name = map[int32]string{
		0:  "QL_OP_NOOP",
		1:  "QL_OP_NOT",
		2:  "QL_OP_IS_TRUE",
		3:  "QL_OP_IS_FALSE",
		4:  "QL_OP_AND",
		5:  "QL_OP_OR",
		6:  "QL_OP_IS_NULL",
		7:  "QL_OP_IS_NOT_NULL",
		8:  "QL_OP_EQUAL",
		9:  "QL_OP_LESS_THAN",
		10: "QL_OP_LESS_THAN_EQUAL",
		11: "QL_OP_GREATER_THAN",
		12: "QL_OP_GREATER_THAN_EQUAL",
		13: "QL_OP_NOT_EQUAL",
		14: "QL_OP_LIKE",
		15: "QL_OP_NOT_LIKE",
		16: "QL_OP_IN",
		17: "QL_OP_NOT_IN",
		18: "QL_OP_BETWEEN",
		19: "QL_OP_NOT_BETWEEN",
		20: "QL_OP_EXISTS",
		21: "QL_OP_NOT_EXISTS",
	}
	QLOperator_value = map[string]int32{
		"QL_OP_NOOP":               0,
		"QL_OP_NOT":                1,
		"QL_OP_IS_TRUE":            2,
		"QL_OP_IS_FALSE":           3,
		"QL_OP_AND":                4,
		"QL_OP_OR":                 5,
		"QL_OP_IS_NULL":            6,
		"QL_OP_IS_NOT_NULL":        7,
		"QL_OP_EQUAL":              8,
		"QL_OP_LESS_THAN":          9,
		"QL_OP_LESS_THAN_EQUAL":    10,
		"QL_OP_GREATER_THAN":       11,
		"QL_OP_GREATER_THAN_EQUAL": 12,
		"QL_OP_NOT_EQUAL":          13,
		"QL_OP_LIKE":               14,
		"QL_OP_NOT_LIKE":           15,
		"QL_OP_IN":                 16,
		"QL_OP_NOT_IN":             17,
		"QL_OP_BETWEEN":            18,
		"QL_OP_NOT_BETWEEN":        19,
		"QL_OP_EXISTS":             20,
		"QL_OP_NOT_EXISTS":         21,
	}
)

Enum value maps for QLOperator.

View Source
var (
	AppStatusPB_ErrorCode_name = map[int32]string{
		999: "UNKNOWN_ERROR",
		0:   "OK",
		1:   "NOT_FOUND",
		2:   "CORRUPTION",
		3:   "NOT_SUPPORTED",
		4:   "INVALID_ARGUMENT",
		5:   "IO_ERROR",
		6:   "ALREADY_PRESENT",
		7:   "RUNTIME_ERROR",
		8:   "NETWORK_ERROR",
		9:   "ILLEGAL_STATE",
		10:  "NOT_AUTHORIZED",
		11:  "ABORTED",
		12:  "REMOTE_ERROR",
		13:  "SERVICE_UNAVAILABLE",
		14:  "TIMED_OUT",
		15:  "UNINITIALIZED",
		16:  "CONFIGURATION_ERROR",
		17:  "INCOMPLETE",
		18:  "END_OF_FILE",
		19:  "INVALID_COMMAND",
		20:  "QL_ERROR",
		21:  "INTERNAL_ERROR",
		22:  "EXPIRED",
		23:  "LEADER_NOT_READY_TO_SERVE",
		24:  "LEADER_HAS_NO_LEASE",
		25:  "TRY_AGAIN_CODE",
		26:  "BUSY",
		27:  "SHUTDOWN_IN_PROGRESS",
		28:  "MERGE_IN_PROGRESS",
		29:  "COMBINED_ERROR",
		30:  "SNAPSHOT_TOO_OLD",
	}
	AppStatusPB_ErrorCode_value = map[string]int32{
		"UNKNOWN_ERROR":             999,
		"OK":                        0,
		"NOT_FOUND":                 1,
		"CORRUPTION":                2,
		"NOT_SUPPORTED":             3,
		"INVALID_ARGUMENT":          4,
		"IO_ERROR":                  5,
		"ALREADY_PRESENT":           6,
		"RUNTIME_ERROR":             7,
		"NETWORK_ERROR":             8,
		"ILLEGAL_STATE":             9,
		"NOT_AUTHORIZED":            10,
		"ABORTED":                   11,
		"REMOTE_ERROR":              12,
		"SERVICE_UNAVAILABLE":       13,
		"TIMED_OUT":                 14,
		"UNINITIALIZED":             15,
		"CONFIGURATION_ERROR":       16,
		"INCOMPLETE":                17,
		"END_OF_FILE":               18,
		"INVALID_COMMAND":           19,
		"QL_ERROR":                  20,
		"INTERNAL_ERROR":            21,
		"EXPIRED":                   22,
		"LEADER_NOT_READY_TO_SERVE": 23,
		"LEADER_HAS_NO_LEASE":       24,
		"TRY_AGAIN_CODE":            25,
		"BUSY":                      26,
		"SHUTDOWN_IN_PROGRESS":      27,
		"MERGE_IN_PROGRESS":         28,
		"COMBINED_ERROR":            29,
		"SNAPSHOT_TOO_OLD":          30,
	}
)

Enum value maps for AppStatusPB_ErrorCode.

View Source
var AbacusService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.rpc_test.AbacusService",
	HandlerType: (*AbacusServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Concat",
			Handler:    _AbacusService_Concat_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/rpc/rtest.proto",
}

AbacusService_ServiceDesc is the grpc.ServiceDesc for AbacusService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CDCService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.cdc.CDCService",
	HandlerType: (*CDCServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCDCStream",
			Handler:    _CDCService_CreateCDCStream_Handler,
		},
		{
			MethodName: "DeleteCDCStream",
			Handler:    _CDCService_DeleteCDCStream_Handler,
		},
		{
			MethodName: "ListTablets",
			Handler:    _CDCService_ListTablets_Handler,
		},
		{
			MethodName: "GetChanges",
			Handler:    _CDCService_GetChanges_Handler,
		},
		{
			MethodName: "GetCheckpoint",
			Handler:    _CDCService_GetCheckpoint_Handler,
		},
		{
			MethodName: "UpdateCdcReplicatedIndex",
			Handler:    _CDCService_UpdateCdcReplicatedIndex_Handler,
		},
		{
			MethodName: "BootstrapProducer",
			Handler:    _CDCService_BootstrapProducer_Handler,
		},
		{
			MethodName: "GetLatestEntryOpId",
			Handler:    _CDCService_GetLatestEntryOpId_Handler,
		},
		{
			MethodName: "GetCDCDBStreamInfo",
			Handler:    _CDCService_GetCDCDBStreamInfo_Handler,
		},
		{
			MethodName: "SetCDCCheckpoint",
			Handler:    _CDCService_SetCDCCheckpoint_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/cdc/cdc_service.proto",
}

CDCService_ServiceDesc is the grpc.ServiceDesc for CDCService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CalculatorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.rpc_test.CalculatorService",
	HandlerType: (*CalculatorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Add",
			Handler:    _CalculatorService_Add_Handler,
		},
		{
			MethodName: "Sleep",
			Handler:    _CalculatorService_Sleep_Handler,
		},
		{
			MethodName: "Echo",
			Handler:    _CalculatorService_Echo_Handler,
		},
		{
			MethodName: "WhoAmI",
			Handler:    _CalculatorService_WhoAmI_Handler,
		},
		{
			MethodName: "TestArgumentsInDiffPackage",
			Handler:    _CalculatorService_TestArgumentsInDiffPackage_Handler,
		},
		{
			MethodName: "Panic",
			Handler:    _CalculatorService_Panic_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _CalculatorService_Ping_Handler,
		},
		{
			MethodName: "Disconnect",
			Handler:    _CalculatorService_Disconnect_Handler,
		},
		{
			MethodName: "Forward",
			Handler:    _CalculatorService_Forward_Handler,
		},
		{
			MethodName: "Lightweight",
			Handler:    _CalculatorService_Lightweight_Handler,
		},
		{
			MethodName: "Trivial",
			Handler:    _CalculatorService_Trivial_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/rpc/rtest.proto",
}

CalculatorService_ServiceDesc is the grpc.ServiceDesc for CalculatorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ConsensusService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.consensus.ConsensusService",
	HandlerType: (*ConsensusServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateConsensus",
			Handler:    _ConsensusService_UpdateConsensus_Handler,
		},
		{
			MethodName: "MultiRaftUpdateConsensus",
			Handler:    _ConsensusService_MultiRaftUpdateConsensus_Handler,
		},
		{
			MethodName: "RequestConsensusVote",
			Handler:    _ConsensusService_RequestConsensusVote_Handler,
		},
		{
			MethodName: "ChangeConfig",
			Handler:    _ConsensusService_ChangeConfig_Handler,
		},
		{
			MethodName: "UnsafeChangeConfig",
			Handler:    _ConsensusService_UnsafeChangeConfig_Handler,
		},
		{
			MethodName: "GetNodeInstance",
			Handler:    _ConsensusService_GetNodeInstance_Handler,
		},
		{
			MethodName: "RunLeaderElection",
			Handler:    _ConsensusService_RunLeaderElection_Handler,
		},
		{
			MethodName: "LeaderElectionLost",
			Handler:    _ConsensusService_LeaderElectionLost_Handler,
		},
		{
			MethodName: "LeaderStepDown",
			Handler:    _ConsensusService_LeaderStepDown_Handler,
		},
		{
			MethodName: "GetLastOpId",
			Handler:    _ConsensusService_GetLastOpId_Handler,
		},
		{
			MethodName: "GetConsensusState",
			Handler:    _ConsensusService_GetConsensusState_Handler,
		},
		{
			MethodName: "StartRemoteBootstrap",
			Handler:    _ConsensusService_StartRemoteBootstrap_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/consensus/consensus.proto",
}

ConsensusService_ServiceDesc is the grpc.ServiceDesc for ConsensusService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var (
	Default_CDCSDKOpIdPB_WriteIdKey = []byte("")
)

Default values for CDCSDKOpIdPB fields.

View Source
var (
	// optional yb.rpc_test.CalculatorError app_error_ext = 101;
	E_CalculatorError_AppErrorExt = &file_yb_rpc_rtest_proto_extTypes[0]
)

Extension fields to ErrorStatusPB.

View Source
var (
	// optional string custom_service_name = 50011;
	E_CustomServiceName = &file_yb_rpc_service_proto_extTypes[0]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var (
	// optional yb.rpc.LightweightFieldOptions lightweight_field = 50000;
	E_LightweightField = &file_yb_rpc_lightweight_message_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional yb.rpc.LightweightMessageOptions lightweight_message = 50000;
	E_LightweightMessage = &file_yb_rpc_lightweight_message_proto_extTypes[2]
)

Extension fields to descriptorpb.MessageOptions.

View Source
var (
	// optional yb.rpc.LightweightMethodOptions lightweight_method = 50000;
	E_LightweightMethod = &file_yb_rpc_lightweight_message_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional yb.tserver.RemoteBootstrapErrorPB remote_bootstrap_error_ext = 102;
	E_RemoteBootstrapErrorPB_RemoteBootstrapErrorExt = &file_yb_tserver_remote_bootstrap_proto_extTypes[0]
)

Extension fields to ErrorStatusPB.

View Source
var (
	// optional bool trivial = 50001;
	E_Trivial = &file_yb_rpc_service_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_yb_cdc_cdc_consumer_proto protoreflect.FileDescriptor
View Source
var File_yb_cdc_cdc_service_proto protoreflect.FileDescriptor
View Source
var File_yb_common_common_net_proto protoreflect.FileDescriptor
View Source
var File_yb_common_common_proto protoreflect.FileDescriptor
View Source
var File_yb_common_common_types_proto protoreflect.FileDescriptor
View Source
var File_yb_common_pgsql_protocol_proto protoreflect.FileDescriptor
View Source
var File_yb_common_ql_protocol_proto protoreflect.FileDescriptor
View Source
var File_yb_common_redis_protocol_proto protoreflect.FileDescriptor
View Source
var File_yb_common_transaction_proto protoreflect.FileDescriptor
View Source
var File_yb_common_value_proto protoreflect.FileDescriptor
View Source
var File_yb_common_wire_protocol_proto protoreflect.FileDescriptor
View Source
var File_yb_consensus_consensus_metadata_proto protoreflect.FileDescriptor
View Source
var File_yb_consensus_consensus_proto protoreflect.FileDescriptor
View Source
var File_yb_consensus_consensus_types_proto protoreflect.FileDescriptor
View Source
var File_yb_consensus_log_proto protoreflect.FileDescriptor
View Source
var File_yb_docdb_docdb_proto protoreflect.FileDescriptor
View Source
var File_yb_encryption_encryption_proto protoreflect.FileDescriptor
View Source
var File_yb_fs_fs_proto protoreflect.FileDescriptor
View Source
var File_yb_master_catalog_entity_info_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_admin_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_backup_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_client_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_cluster_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_dcl_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_ddl_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_encryption_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_heartbeat_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_replication_proto protoreflect.FileDescriptor
View Source
var File_yb_master_master_types_proto protoreflect.FileDescriptor
View Source
var File_yb_rocksdb_db_version_edit_proto protoreflect.FileDescriptor
View Source
var File_yb_rpc_any_proto protoreflect.FileDescriptor
View Source
var File_yb_rpc_lightweight_message_proto protoreflect.FileDescriptor
View Source
var File_yb_rpc_rpc_header_proto protoreflect.FileDescriptor
View Source
var File_yb_rpc_rpc_introspection_proto protoreflect.FileDescriptor
View Source
var File_yb_rpc_rtest_diff_package_proto protoreflect.FileDescriptor
View Source
var File_yb_rpc_rtest_proto protoreflect.FileDescriptor
View Source
var File_yb_rpc_service_proto protoreflect.FileDescriptor
View Source
var File_yb_server_server_base_proto protoreflect.FileDescriptor
View Source
var File_yb_tablet_operations_proto protoreflect.FileDescriptor
View Source
var File_yb_tablet_tablet_metadata_proto protoreflect.FileDescriptor
View Source
var File_yb_tablet_tablet_proto protoreflect.FileDescriptor
View Source
var File_yb_tablet_tablet_types_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_backup_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_pg_client_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_remote_bootstrap_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_tserver_admin_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_tserver_forward_service_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_tserver_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_tserver_service_proto protoreflect.FileDescriptor
View Source
var File_yb_tserver_tserver_types_proto protoreflect.FileDescriptor
View Source
var File_yb_util_histogram_proto protoreflect.FileDescriptor
View Source
var File_yb_util_jsonwriter_test_proto protoreflect.FileDescriptor
View Source
var File_yb_util_opid_proto protoreflect.FileDescriptor
View Source
var File_yb_util_pb_util_proto protoreflect.FileDescriptor
View Source
var File_yb_util_proto_container_test2_proto protoreflect.FileDescriptor
View Source
var File_yb_util_proto_container_test3_proto protoreflect.FileDescriptor
View Source
var File_yb_util_proto_container_test_proto protoreflect.FileDescriptor
View Source
var File_yb_util_version_info_proto protoreflect.FileDescriptor
View Source
var GenericService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.server.GenericService",
	HandlerType: (*GenericServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetFlag",
			Handler:    _GenericService_SetFlag_Handler,
		},
		{
			MethodName: "GetFlag",
			Handler:    _GenericService_GetFlag_Handler,
		},
		{
			MethodName: "RefreshFlags",
			Handler:    _GenericService_RefreshFlags_Handler,
		},
		{
			MethodName: "FlushCoverage",
			Handler:    _GenericService_FlushCoverage_Handler,
		},
		{
			MethodName: "ServerClock",
			Handler:    _GenericService_ServerClock_Handler,
		},
		{
			MethodName: "GetStatus",
			Handler:    _GenericService_GetStatus_Handler,
		},
		{
			MethodName: "Ping",
			Handler:    _GenericService_Ping_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/server/server_base.proto",
}

GenericService_ServiceDesc is the grpc.ServiceDesc for GenericService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterAdmin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterAdmin",
	HandlerType: (*MasterAdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "FlushTables",
			Handler:    _MasterAdmin_FlushTables_Handler,
		},
		{
			MethodName: "IsFlushTablesDone",
			Handler:    _MasterAdmin_IsFlushTablesDone_Handler,
		},
		{
			MethodName: "FlushSysCatalog",
			Handler:    _MasterAdmin_FlushSysCatalog_Handler,
		},
		{
			MethodName: "CompactSysCatalog",
			Handler:    _MasterAdmin_CompactSysCatalog_Handler,
		},
		{
			MethodName: "IsInitDbDone",
			Handler:    _MasterAdmin_IsInitDbDone_Handler,
		},
		{
			MethodName: "SplitTablet",
			Handler:    _MasterAdmin_SplitTablet_Handler,
		},
		{
			MethodName: "CreateTransactionStatusTable",
			Handler:    _MasterAdmin_CreateTransactionStatusTable_Handler,
		},
		{
			MethodName: "DeleteNotServingTablet",
			Handler:    _MasterAdmin_DeleteNotServingTablet_Handler,
		},
		{
			MethodName: "DdlLog",
			Handler:    _MasterAdmin_DdlLog_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_admin.proto",
}

MasterAdmin_ServiceDesc is the grpc.ServiceDesc for MasterAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterBackup_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterBackup",
	HandlerType: (*MasterBackupServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSnapshot",
			Handler:    _MasterBackup_CreateSnapshot_Handler,
		},
		{
			MethodName: "ListSnapshots",
			Handler:    _MasterBackup_ListSnapshots_Handler,
		},
		{
			MethodName: "ListSnapshotRestorations",
			Handler:    _MasterBackup_ListSnapshotRestorations_Handler,
		},
		{
			MethodName: "RestoreSnapshot",
			Handler:    _MasterBackup_RestoreSnapshot_Handler,
		},
		{
			MethodName: "DeleteSnapshot",
			Handler:    _MasterBackup_DeleteSnapshot_Handler,
		},
		{
			MethodName: "ImportSnapshotMeta",
			Handler:    _MasterBackup_ImportSnapshotMeta_Handler,
		},
		{
			MethodName: "CreateSnapshotSchedule",
			Handler:    _MasterBackup_CreateSnapshotSchedule_Handler,
		},
		{
			MethodName: "ListSnapshotSchedules",
			Handler:    _MasterBackup_ListSnapshotSchedules_Handler,
		},
		{
			MethodName: "DeleteSnapshotSchedule",
			Handler:    _MasterBackup_DeleteSnapshotSchedule_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_backup.proto",
}

MasterBackup_ServiceDesc is the grpc.ServiceDesc for MasterBackup service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterClient_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterClient",
	HandlerType: (*MasterClientServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTabletLocations",
			Handler:    _MasterClient_GetTabletLocations_Handler,
		},
		{
			MethodName: "GetTableLocations",
			Handler:    _MasterClient_GetTableLocations_Handler,
		},
		{
			MethodName: "GetTransactionStatusTablets",
			Handler:    _MasterClient_GetTransactionStatusTablets_Handler,
		},
		{
			MethodName: "ReservePgsqlOids",
			Handler:    _MasterClient_ReservePgsqlOids_Handler,
		},
		{
			MethodName: "GetYsqlCatalogConfig",
			Handler:    _MasterClient_GetYsqlCatalogConfig_Handler,
		},
		{
			MethodName: "RedisConfigSet",
			Handler:    _MasterClient_RedisConfigSet_Handler,
		},
		{
			MethodName: "RedisConfigGet",
			Handler:    _MasterClient_RedisConfigGet_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_client.proto",
}

MasterClient_ServiceDesc is the grpc.ServiceDesc for MasterClient service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterCluster_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterCluster",
	HandlerType: (*MasterClusterServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListTabletServers",
			Handler:    _MasterCluster_ListTabletServers_Handler,
		},
		{
			MethodName: "ListLiveTabletServers",
			Handler:    _MasterCluster_ListLiveTabletServers_Handler,
		},
		{
			MethodName: "ListMasters",
			Handler:    _MasterCluster_ListMasters_Handler,
		},
		{
			MethodName: "ListMasterRaftPeers",
			Handler:    _MasterCluster_ListMasterRaftPeers_Handler,
		},
		{
			MethodName: "GetMasterRegistration",
			Handler:    _MasterCluster_GetMasterRegistration_Handler,
		},
		{
			MethodName: "IsMasterLeaderServiceReady",
			Handler:    _MasterCluster_IsMasterLeaderServiceReady_Handler,
		},
		{
			MethodName: "DumpState",
			Handler:    _MasterCluster_DumpState_Handler,
		},
		{
			MethodName: "ChangeLoadBalancerState",
			Handler:    _MasterCluster_ChangeLoadBalancerState_Handler,
		},
		{
			MethodName: "GetLoadBalancerState",
			Handler:    _MasterCluster_GetLoadBalancerState_Handler,
		},
		{
			MethodName: "RemovedMasterUpdate",
			Handler:    _MasterCluster_RemovedMasterUpdate_Handler,
		},
		{
			MethodName: "SetPreferredZones",
			Handler:    _MasterCluster_SetPreferredZones_Handler,
		},
		{
			MethodName: "GetMasterClusterConfig",
			Handler:    _MasterCluster_GetMasterClusterConfig_Handler,
		},
		{
			MethodName: "ChangeMasterClusterConfig",
			Handler:    _MasterCluster_ChangeMasterClusterConfig_Handler,
		},
		{
			MethodName: "GetLoadMoveCompletion",
			Handler:    _MasterCluster_GetLoadMoveCompletion_Handler,
		},
		{
			MethodName: "GetLeaderBlacklistCompletion",
			Handler:    _MasterCluster_GetLeaderBlacklistCompletion_Handler,
		},
		{
			MethodName: "IsLoadBalanced",
			Handler:    _MasterCluster_IsLoadBalanced_Handler,
		},
		{
			MethodName: "IsLoadBalancerIdle",
			Handler:    _MasterCluster_IsLoadBalancerIdle_Handler,
		},
		{
			MethodName: "AreLeadersOnPreferredOnly",
			Handler:    _MasterCluster_AreLeadersOnPreferredOnly_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_cluster.proto",
}

MasterCluster_ServiceDesc is the grpc.ServiceDesc for MasterCluster service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterDcl_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterDcl",
	HandlerType: (*MasterDclServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRole",
			Handler:    _MasterDcl_CreateRole_Handler,
		},
		{
			MethodName: "AlterRole",
			Handler:    _MasterDcl_AlterRole_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _MasterDcl_DeleteRole_Handler,
		},
		{
			MethodName: "GrantRevokeRole",
			Handler:    _MasterDcl_GrantRevokeRole_Handler,
		},
		{
			MethodName: "GrantRevokePermission",
			Handler:    _MasterDcl_GrantRevokePermission_Handler,
		},
		{
			MethodName: "GetPermissions",
			Handler:    _MasterDcl_GetPermissions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_dcl.proto",
}

MasterDcl_ServiceDesc is the grpc.ServiceDesc for MasterDcl service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterDdl_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterDdl",
	HandlerType: (*MasterDdlServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTable",
			Handler:    _MasterDdl_CreateTable_Handler,
		},
		{
			MethodName: "IsCreateTableDone",
			Handler:    _MasterDdl_IsCreateTableDone_Handler,
		},
		{
			MethodName: "ListTables",
			Handler:    _MasterDdl_ListTables_Handler,
		},
		{
			MethodName: "GetTableSchema",
			Handler:    _MasterDdl_GetTableSchema_Handler,
		},
		{
			MethodName: "GetTablegroupSchema",
			Handler:    _MasterDdl_GetTablegroupSchema_Handler,
		},
		{
			MethodName: "GetColocatedTabletSchema",
			Handler:    _MasterDdl_GetColocatedTabletSchema_Handler,
		},
		{
			MethodName: "TruncateTable",
			Handler:    _MasterDdl_TruncateTable_Handler,
		},
		{
			MethodName: "IsTruncateTableDone",
			Handler:    _MasterDdl_IsTruncateTableDone_Handler,
		},
		{
			MethodName: "BackfillIndex",
			Handler:    _MasterDdl_BackfillIndex_Handler,
		},
		{
			MethodName: "LaunchBackfillIndexForTable",
			Handler:    _MasterDdl_LaunchBackfillIndexForTable_Handler,
		},
		{
			MethodName: "GetBackfillJobs",
			Handler:    _MasterDdl_GetBackfillJobs_Handler,
		},
		{
			MethodName: "DeleteTable",
			Handler:    _MasterDdl_DeleteTable_Handler,
		},
		{
			MethodName: "IsDeleteTableDone",
			Handler:    _MasterDdl_IsDeleteTableDone_Handler,
		},
		{
			MethodName: "AlterTable",
			Handler:    _MasterDdl_AlterTable_Handler,
		},
		{
			MethodName: "IsAlterTableDone",
			Handler:    _MasterDdl_IsAlterTableDone_Handler,
		},
		{
			MethodName: "CreateNamespace",
			Handler:    _MasterDdl_CreateNamespace_Handler,
		},
		{
			MethodName: "IsCreateNamespaceDone",
			Handler:    _MasterDdl_IsCreateNamespaceDone_Handler,
		},
		{
			MethodName: "DeleteNamespace",
			Handler:    _MasterDdl_DeleteNamespace_Handler,
		},
		{
			MethodName: "IsDeleteNamespaceDone",
			Handler:    _MasterDdl_IsDeleteNamespaceDone_Handler,
		},
		{
			MethodName: "AlterNamespace",
			Handler:    _MasterDdl_AlterNamespace_Handler,
		},
		{
			MethodName: "ListNamespaces",
			Handler:    _MasterDdl_ListNamespaces_Handler,
		},
		{
			MethodName: "GetNamespaceInfo",
			Handler:    _MasterDdl_GetNamespaceInfo_Handler,
		},
		{
			MethodName: "CreateTablegroup",
			Handler:    _MasterDdl_CreateTablegroup_Handler,
		},
		{
			MethodName: "DeleteTablegroup",
			Handler:    _MasterDdl_DeleteTablegroup_Handler,
		},
		{
			MethodName: "ListTablegroups",
			Handler:    _MasterDdl_ListTablegroups_Handler,
		},
		{
			MethodName: "CreateUDType",
			Handler:    _MasterDdl_CreateUDType_Handler,
		},
		{
			MethodName: "DeleteUDType",
			Handler:    _MasterDdl_DeleteUDType_Handler,
		},
		{
			MethodName: "ListUDTypes",
			Handler:    _MasterDdl_ListUDTypes_Handler,
		},
		{
			MethodName: "GetUDTypeInfo",
			Handler:    _MasterDdl_GetUDTypeInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_ddl.proto",
}

MasterDdl_ServiceDesc is the grpc.ServiceDesc for MasterDdl service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterEncryption_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterEncryption",
	HandlerType: (*MasterEncryptionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ChangeEncryptionInfo",
			Handler:    _MasterEncryption_ChangeEncryptionInfo_Handler,
		},
		{
			MethodName: "IsEncryptionEnabled",
			Handler:    _MasterEncryption_IsEncryptionEnabled_Handler,
		},
		{
			MethodName: "AddUniverseKeys",
			Handler:    _MasterEncryption_AddUniverseKeys_Handler,
		},
		{
			MethodName: "GetUniverseKeyRegistry",
			Handler:    _MasterEncryption_GetUniverseKeyRegistry_Handler,
		},
		{
			MethodName: "HasUniverseKeyInMemory",
			Handler:    _MasterEncryption_HasUniverseKeyInMemory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_encryption.proto",
}

MasterEncryption_ServiceDesc is the grpc.ServiceDesc for MasterEncryption service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterHeartbeat_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterHeartbeat",
	HandlerType: (*MasterHeartbeatServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TSHeartbeat",
			Handler:    _MasterHeartbeat_TSHeartbeat_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_heartbeat.proto",
}

MasterHeartbeat_ServiceDesc is the grpc.ServiceDesc for MasterHeartbeat service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var MasterReplication_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.master.MasterReplication",
	HandlerType: (*MasterReplicationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ValidateReplicationInfo",
			Handler:    _MasterReplication_ValidateReplicationInfo_Handler,
		},
		{
			MethodName: "CreateCDCStream",
			Handler:    _MasterReplication_CreateCDCStream_Handler,
		},
		{
			MethodName: "DeleteCDCStream",
			Handler:    _MasterReplication_DeleteCDCStream_Handler,
		},
		{
			MethodName: "ListCDCStreams",
			Handler:    _MasterReplication_ListCDCStreams_Handler,
		},
		{
			MethodName: "GetCDCStream",
			Handler:    _MasterReplication_GetCDCStream_Handler,
		},
		{
			MethodName: "GetCDCDBStreamInfo",
			Handler:    _MasterReplication_GetCDCDBStreamInfo_Handler,
		},
		{
			MethodName: "UpdateCDCStream",
			Handler:    _MasterReplication_UpdateCDCStream_Handler,
		},
		{
			MethodName: "SetupUniverseReplication",
			Handler:    _MasterReplication_SetupUniverseReplication_Handler,
		},
		{
			MethodName: "DeleteUniverseReplication",
			Handler:    _MasterReplication_DeleteUniverseReplication_Handler,
		},
		{
			MethodName: "AlterUniverseReplication",
			Handler:    _MasterReplication_AlterUniverseReplication_Handler,
		},
		{
			MethodName: "SetUniverseReplicationEnabled",
			Handler:    _MasterReplication_SetUniverseReplicationEnabled_Handler,
		},
		{
			MethodName: "GetUniverseReplication",
			Handler:    _MasterReplication_GetUniverseReplication_Handler,
		},
		{
			MethodName: "IsSetupUniverseReplicationDone",
			Handler:    _MasterReplication_IsSetupUniverseReplicationDone_Handler,
		},
		{
			MethodName: "UpdateConsumerOnProducerSplit",
			Handler:    _MasterReplication_UpdateConsumerOnProducerSplit_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/master/master_replication.proto",
}

MasterReplication_ServiceDesc is the grpc.ServiceDesc for MasterReplication service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PgClientService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.tserver.PgClientService",
	HandlerType: (*PgClientServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Heartbeat",
			Handler:    _PgClientService_Heartbeat_Handler,
		},
		{
			MethodName: "AlterDatabase",
			Handler:    _PgClientService_AlterDatabase_Handler,
		},
		{
			MethodName: "AlterTable",
			Handler:    _PgClientService_AlterTable_Handler,
		},
		{
			MethodName: "BackfillIndex",
			Handler:    _PgClientService_BackfillIndex_Handler,
		},
		{
			MethodName: "CreateDatabase",
			Handler:    _PgClientService_CreateDatabase_Handler,
		},
		{
			MethodName: "CreateSequencesDataTable",
			Handler:    _PgClientService_CreateSequencesDataTable_Handler,
		},
		{
			MethodName: "CreateTable",
			Handler:    _PgClientService_CreateTable_Handler,
		},
		{
			MethodName: "CreateTablegroup",
			Handler:    _PgClientService_CreateTablegroup_Handler,
		},
		{
			MethodName: "DropDatabase",
			Handler:    _PgClientService_DropDatabase_Handler,
		},
		{
			MethodName: "DropTable",
			Handler:    _PgClientService_DropTable_Handler,
		},
		{
			MethodName: "DropTablegroup",
			Handler:    _PgClientService_DropTablegroup_Handler,
		},
		{
			MethodName: "GetCatalogMasterVersion",
			Handler:    _PgClientService_GetCatalogMasterVersion_Handler,
		},
		{
			MethodName: "GetDatabaseInfo",
			Handler:    _PgClientService_GetDatabaseInfo_Handler,
		},
		{
			MethodName: "IsInitDbDone",
			Handler:    _PgClientService_IsInitDbDone_Handler,
		},
		{
			MethodName: "ListLiveTabletServers",
			Handler:    _PgClientService_ListLiveTabletServers_Handler,
		},
		{
			MethodName: "OpenTable",
			Handler:    _PgClientService_OpenTable_Handler,
		},
		{
			MethodName: "ReserveOids",
			Handler:    _PgClientService_ReserveOids_Handler,
		},
		{
			MethodName: "TabletServerCount",
			Handler:    _PgClientService_TabletServerCount_Handler,
		},
		{
			MethodName: "TruncateTable",
			Handler:    _PgClientService_TruncateTable_Handler,
		},
		{
			MethodName: "ValidatePlacement",
			Handler:    _PgClientService_ValidatePlacement_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/tserver/pg_client.proto",
}

PgClientService_ServiceDesc is the grpc.ServiceDesc for PgClientService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RemoteBootstrapService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.tserver.RemoteBootstrapService",
	HandlerType: (*RemoteBootstrapServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "BeginRemoteBootstrapSession",
			Handler:    _RemoteBootstrapService_BeginRemoteBootstrapSession_Handler,
		},
		{
			MethodName: "CheckSessionActive",
			Handler:    _RemoteBootstrapService_CheckSessionActive_Handler,
		},
		{
			MethodName: "FetchData",
			Handler:    _RemoteBootstrapService_FetchData_Handler,
		},
		{
			MethodName: "EndRemoteBootstrapSession",
			Handler:    _RemoteBootstrapService_EndRemoteBootstrapSession_Handler,
		},
		{
			MethodName: "RemoveSession",
			Handler:    _RemoteBootstrapService_RemoveSession_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/tserver/remote_bootstrap.proto",
}

RemoteBootstrapService_ServiceDesc is the grpc.ServiceDesc for RemoteBootstrapService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TabletServerAdminService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.tserver.TabletServerAdminService",
	HandlerType: (*TabletServerAdminServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTablet",
			Handler:    _TabletServerAdminService_CreateTablet_Handler,
		},
		{
			MethodName: "DeleteTablet",
			Handler:    _TabletServerAdminService_DeleteTablet_Handler,
		},
		{
			MethodName: "AlterSchema",
			Handler:    _TabletServerAdminService_AlterSchema_Handler,
		},
		{
			MethodName: "GetSafeTime",
			Handler:    _TabletServerAdminService_GetSafeTime_Handler,
		},
		{
			MethodName: "BackfillIndex",
			Handler:    _TabletServerAdminService_BackfillIndex_Handler,
		},
		{
			MethodName: "BackfillDone",
			Handler:    _TabletServerAdminService_BackfillDone_Handler,
		},
		{
			MethodName: "CopartitionTable",
			Handler:    _TabletServerAdminService_CopartitionTable_Handler,
		},
		{
			MethodName: "FlushTablets",
			Handler:    _TabletServerAdminService_FlushTablets_Handler,
		},
		{
			MethodName: "CountIntents",
			Handler:    _TabletServerAdminService_CountIntents_Handler,
		},
		{
			MethodName: "AddTableToTablet",
			Handler:    _TabletServerAdminService_AddTableToTablet_Handler,
		},
		{
			MethodName: "RemoveTableFromTablet",
			Handler:    _TabletServerAdminService_RemoveTableFromTablet_Handler,
		},
		{
			MethodName: "SplitTablet",
			Handler:    _TabletServerAdminService_SplitTablet_Handler,
		},
		{
			MethodName: "UpgradeYsql",
			Handler:    _TabletServerAdminService_UpgradeYsql_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/tserver/tserver_admin.proto",
}

TabletServerAdminService_ServiceDesc is the grpc.ServiceDesc for TabletServerAdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TabletServerBackupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.tserver.TabletServerBackupService",
	HandlerType: (*TabletServerBackupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TabletSnapshotOp",
			Handler:    _TabletServerBackupService_TabletSnapshotOp_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/tserver/backup.proto",
}

TabletServerBackupService_ServiceDesc is the grpc.ServiceDesc for TabletServerBackupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TabletServerForwardService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.tserver.TabletServerForwardService",
	HandlerType: (*TabletServerForwardServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Write",
			Handler:    _TabletServerForwardService_Write_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _TabletServerForwardService_Read_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/tserver/tserver_forward_service.proto",
}

TabletServerForwardService_ServiceDesc is the grpc.ServiceDesc for TabletServerForwardService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TabletServerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yb.tserver.TabletServerService",
	HandlerType: (*TabletServerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Write",
			Handler:    _TabletServerService_Write_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _TabletServerService_Read_Handler,
		},
		{
			MethodName: "VerifyTableRowRange",
			Handler:    _TabletServerService_VerifyTableRowRange_Handler,
		},
		{
			MethodName: "NoOp",
			Handler:    _TabletServerService_NoOp_Handler,
		},
		{
			MethodName: "ListTablets",
			Handler:    _TabletServerService_ListTablets_Handler,
		},
		{
			MethodName: "GetLogLocation",
			Handler:    _TabletServerService_GetLogLocation_Handler,
		},
		{
			MethodName: "Checksum",
			Handler:    _TabletServerService_Checksum_Handler,
		},
		{
			MethodName: "ListTabletsForTabletServer",
			Handler:    _TabletServerService_ListTabletsForTabletServer_Handler,
		},
		{
			MethodName: "ImportData",
			Handler:    _TabletServerService_ImportData_Handler,
		},
		{
			MethodName: "UpdateTransaction",
			Handler:    _TabletServerService_UpdateTransaction_Handler,
		},
		{
			MethodName: "GetTransactionStatus",
			Handler:    _TabletServerService_GetTransactionStatus_Handler,
		},
		{
			MethodName: "GetTransactionStatusAtParticipant",
			Handler:    _TabletServerService_GetTransactionStatusAtParticipant_Handler,
		},
		{
			MethodName: "AbortTransaction",
			Handler:    _TabletServerService_AbortTransaction_Handler,
		},
		{
			MethodName: "Truncate",
			Handler:    _TabletServerService_Truncate_Handler,
		},
		{
			MethodName: "GetTabletStatus",
			Handler:    _TabletServerService_GetTabletStatus_Handler,
		},
		{
			MethodName: "GetMasterAddresses",
			Handler:    _TabletServerService_GetMasterAddresses_Handler,
		},
		{
			MethodName: "Publish",
			Handler:    _TabletServerService_Publish_Handler,
		},
		{
			MethodName: "IsTabletServerReady",
			Handler:    _TabletServerService_IsTabletServerReady_Handler,
		},
		{
			MethodName: "TakeTransaction",
			Handler:    _TabletServerService_TakeTransaction_Handler,
		},
		{
			MethodName: "GetSplitKey",
			Handler:    _TabletServerService_GetSplitKey_Handler,
		},
		{
			MethodName: "GetSharedData",
			Handler:    _TabletServerService_GetSharedData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yb/tserver/tserver_service.proto",
}

TabletServerService_ServiceDesc is the grpc.ServiceDesc for TabletServerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAbacusServiceServer added in v2.11.2

func RegisterAbacusServiceServer(s grpc.ServiceRegistrar, srv AbacusServiceServer)

func RegisterCDCServiceServer

func RegisterCDCServiceServer(s grpc.ServiceRegistrar, srv CDCServiceServer)

func RegisterCalculatorServiceServer

func RegisterCalculatorServiceServer(s grpc.ServiceRegistrar, srv CalculatorServiceServer)

func RegisterConsensusServiceServer

func RegisterConsensusServiceServer(s grpc.ServiceRegistrar, srv ConsensusServiceServer)

func RegisterGenericServiceServer

func RegisterGenericServiceServer(s grpc.ServiceRegistrar, srv GenericServiceServer)

func RegisterMasterAdminServer added in v2.11.2

func RegisterMasterAdminServer(s grpc.ServiceRegistrar, srv MasterAdminServer)

func RegisterMasterBackupServer added in v2.11.2

func RegisterMasterBackupServer(s grpc.ServiceRegistrar, srv MasterBackupServer)

func RegisterMasterClientServer added in v2.11.2

func RegisterMasterClientServer(s grpc.ServiceRegistrar, srv MasterClientServer)

func RegisterMasterClusterServer added in v2.11.2

func RegisterMasterClusterServer(s grpc.ServiceRegistrar, srv MasterClusterServer)

func RegisterMasterDclServer added in v2.11.2

func RegisterMasterDclServer(s grpc.ServiceRegistrar, srv MasterDclServer)

func RegisterMasterDdlServer added in v2.11.2

func RegisterMasterDdlServer(s grpc.ServiceRegistrar, srv MasterDdlServer)

func RegisterMasterEncryptionServer added in v2.11.2

func RegisterMasterEncryptionServer(s grpc.ServiceRegistrar, srv MasterEncryptionServer)

func RegisterMasterHeartbeatServer added in v2.11.2

func RegisterMasterHeartbeatServer(s grpc.ServiceRegistrar, srv MasterHeartbeatServer)

func RegisterMasterReplicationServer added in v2.11.2

func RegisterMasterReplicationServer(s grpc.ServiceRegistrar, srv MasterReplicationServer)

func RegisterPgClientServiceServer

func RegisterPgClientServiceServer(s grpc.ServiceRegistrar, srv PgClientServiceServer)

func RegisterRemoteBootstrapServiceServer

func RegisterRemoteBootstrapServiceServer(s grpc.ServiceRegistrar, srv RemoteBootstrapServiceServer)

func RegisterTabletServerAdminServiceServer

func RegisterTabletServerAdminServiceServer(s grpc.ServiceRegistrar, srv TabletServerAdminServiceServer)

func RegisterTabletServerBackupServiceServer

func RegisterTabletServerBackupServiceServer(s grpc.ServiceRegistrar, srv TabletServerBackupServiceServer)

func RegisterTabletServerForwardServiceServer

func RegisterTabletServerForwardServiceServer(s grpc.ServiceRegistrar, srv TabletServerForwardServiceServer)

func RegisterTabletServerServiceServer

func RegisterTabletServerServiceServer(s grpc.ServiceRegistrar, srv TabletServerServiceServer)

Types

type AbacusServiceClient added in v2.11.2

type AbacusServiceClient interface {
	Concat(ctx context.Context, in *ConcatRequestPB, opts ...grpc.CallOption) (*ConcatResponsePB, error)
}

AbacusServiceClient is the client API for AbacusService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAbacusServiceClient added in v2.11.2

func NewAbacusServiceClient(cc grpc.ClientConnInterface) AbacusServiceClient

type AbacusServiceServer added in v2.11.2

type AbacusServiceServer interface {
	Concat(context.Context, *ConcatRequestPB) (*ConcatResponsePB, error)
}

AbacusServiceServer is the server API for AbacusService service. All implementations should embed UnimplementedAbacusServiceServer for forward compatibility

type AbortTransactionRequestPB

type AbortTransactionRequestPB struct {
	TabletId             []byte  `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	TransactionId        []byte  `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	PropagatedHybridTime *uint64 `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortTransactionRequestPB) Descriptor deprecated

func (*AbortTransactionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AbortTransactionRequestPB.ProtoReflect.Descriptor instead.

func (*AbortTransactionRequestPB) GetPropagatedHybridTime

func (x *AbortTransactionRequestPB) GetPropagatedHybridTime() uint64

func (*AbortTransactionRequestPB) GetTabletId

func (x *AbortTransactionRequestPB) GetTabletId() []byte

func (*AbortTransactionRequestPB) GetTransactionId

func (x *AbortTransactionRequestPB) GetTransactionId() []byte

func (*AbortTransactionRequestPB) ProtoMessage

func (*AbortTransactionRequestPB) ProtoMessage()

func (*AbortTransactionRequestPB) ProtoReflect

func (*AbortTransactionRequestPB) Reset

func (x *AbortTransactionRequestPB) Reset()

func (*AbortTransactionRequestPB) String

func (x *AbortTransactionRequestPB) String() string

type AbortTransactionResponsePB

type AbortTransactionResponsePB struct {

	// Error message, if any.
	Error  *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Status *TransactionStatus   `protobuf:"varint,2,opt,name=status,enum=yb.TransactionStatus" json:"status,omitempty"`
	// For description of status_hybrid_time see comment in TransactionStatusResult.
	StatusHybridTime     *uint64 `protobuf:"fixed64,3,opt,name=status_hybrid_time,json=statusHybridTime" json:"status_hybrid_time,omitempty"`
	PropagatedHybridTime *uint64 `protobuf:"fixed64,4,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	CoordinatorSafeTime  *uint64 `protobuf:"fixed64,5,opt,name=coordinator_safe_time,json=coordinatorSafeTime" json:"coordinator_safe_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortTransactionResponsePB) Descriptor deprecated

func (*AbortTransactionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AbortTransactionResponsePB.ProtoReflect.Descriptor instead.

func (*AbortTransactionResponsePB) GetCoordinatorSafeTime

func (x *AbortTransactionResponsePB) GetCoordinatorSafeTime() uint64

func (*AbortTransactionResponsePB) GetError

func (*AbortTransactionResponsePB) GetPropagatedHybridTime

func (x *AbortTransactionResponsePB) GetPropagatedHybridTime() uint64

func (*AbortTransactionResponsePB) GetStatus

func (*AbortTransactionResponsePB) GetStatusHybridTime

func (x *AbortTransactionResponsePB) GetStatusHybridTime() uint64

func (*AbortTransactionResponsePB) ProtoMessage

func (*AbortTransactionResponsePB) ProtoMessage()

func (*AbortTransactionResponsePB) ProtoReflect

func (*AbortTransactionResponsePB) Reset

func (x *AbortTransactionResponsePB) Reset()

func (*AbortTransactionResponsePB) String

func (x *AbortTransactionResponsePB) String() string

type AbortedSubTransactionSetPB

type AbortedSubTransactionSetPB struct {
	Set []uint32 `protobuf:"varint,1,rep,name=set" json:"set,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortedSubTransactionSetPB) Descriptor deprecated

func (*AbortedSubTransactionSetPB) Descriptor() ([]byte, []int)

Deprecated: Use AbortedSubTransactionSetPB.ProtoReflect.Descriptor instead.

func (*AbortedSubTransactionSetPB) GetSet

func (x *AbortedSubTransactionSetPB) GetSet() []uint32

func (*AbortedSubTransactionSetPB) ProtoMessage

func (*AbortedSubTransactionSetPB) ProtoMessage()

func (*AbortedSubTransactionSetPB) ProtoReflect

func (*AbortedSubTransactionSetPB) Reset

func (x *AbortedSubTransactionSetPB) Reset()

func (*AbortedSubTransactionSetPB) String

func (x *AbortedSubTransactionSetPB) String() string

type AddRequestPB

type AddRequestPB struct {
	X *uint32 `protobuf:"varint,1,req,name=x" json:"x,omitempty"`
	Y *uint32 `protobuf:"varint,2,req,name=y" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*AddRequestPB) Descriptor deprecated

func (*AddRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AddRequestPB.ProtoReflect.Descriptor instead.

func (*AddRequestPB) GetX

func (x *AddRequestPB) GetX() uint32

func (*AddRequestPB) GetY

func (x *AddRequestPB) GetY() uint32

func (*AddRequestPB) ProtoMessage

func (*AddRequestPB) ProtoMessage()

func (*AddRequestPB) ProtoReflect

func (x *AddRequestPB) ProtoReflect() protoreflect.Message

func (*AddRequestPB) Reset

func (x *AddRequestPB) Reset()

func (*AddRequestPB) String

func (x *AddRequestPB) String() string

type AddRequestPartialPB

type AddRequestPartialPB struct {
	X *uint32 `protobuf:"varint,1,req,name=x" json:"x,omitempty"`
	// contains filtered or unexported fields
}

Used by tests to simulate an old client which is missing a newly added required field.

func (*AddRequestPartialPB) Descriptor deprecated

func (*AddRequestPartialPB) Descriptor() ([]byte, []int)

Deprecated: Use AddRequestPartialPB.ProtoReflect.Descriptor instead.

func (*AddRequestPartialPB) GetX

func (x *AddRequestPartialPB) GetX() uint32

func (*AddRequestPartialPB) ProtoMessage

func (*AddRequestPartialPB) ProtoMessage()

func (*AddRequestPartialPB) ProtoReflect

func (x *AddRequestPartialPB) ProtoReflect() protoreflect.Message

func (*AddRequestPartialPB) Reset

func (x *AddRequestPartialPB) Reset()

func (*AddRequestPartialPB) String

func (x *AddRequestPartialPB) String() string

type AddResponsePB

type AddResponsePB struct {
	Result *uint32 `protobuf:"varint,1,req,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*AddResponsePB) Descriptor deprecated

func (*AddResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AddResponsePB.ProtoReflect.Descriptor instead.

func (*AddResponsePB) GetResult

func (x *AddResponsePB) GetResult() uint32

func (*AddResponsePB) ProtoMessage

func (*AddResponsePB) ProtoMessage()

func (*AddResponsePB) ProtoReflect

func (x *AddResponsePB) ProtoReflect() protoreflect.Message

func (*AddResponsePB) Reset

func (x *AddResponsePB) Reset()

func (*AddResponsePB) String

func (x *AddResponsePB) String() string

type AddTableToTabletRequestPB

type AddTableToTabletRequestPB struct {
	TabletId []byte       `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	AddTable *TableInfoPB `protobuf:"bytes,2,req,name=add_table,json=addTable" json:"add_table,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTableToTabletRequestPB) Descriptor deprecated

func (*AddTableToTabletRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AddTableToTabletRequestPB.ProtoReflect.Descriptor instead.

func (*AddTableToTabletRequestPB) GetAddTable

func (x *AddTableToTabletRequestPB) GetAddTable() *TableInfoPB

func (*AddTableToTabletRequestPB) GetTabletId

func (x *AddTableToTabletRequestPB) GetTabletId() []byte

func (*AddTableToTabletRequestPB) ProtoMessage

func (*AddTableToTabletRequestPB) ProtoMessage()

func (*AddTableToTabletRequestPB) ProtoReflect

func (*AddTableToTabletRequestPB) Reset

func (x *AddTableToTabletRequestPB) Reset()

func (*AddTableToTabletRequestPB) String

func (x *AddTableToTabletRequestPB) String() string

type AddTableToTabletResponsePB

type AddTableToTabletResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTableToTabletResponsePB) Descriptor deprecated

func (*AddTableToTabletResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AddTableToTabletResponsePB.ProtoReflect.Descriptor instead.

func (*AddTableToTabletResponsePB) GetError

func (*AddTableToTabletResponsePB) GetPropagatedHybridTime

func (x *AddTableToTabletResponsePB) GetPropagatedHybridTime() uint64

func (*AddTableToTabletResponsePB) ProtoMessage

func (*AddTableToTabletResponsePB) ProtoMessage()

func (*AddTableToTabletResponsePB) ProtoReflect

func (*AddTableToTabletResponsePB) Reset

func (x *AddTableToTabletResponsePB) Reset()

func (*AddTableToTabletResponsePB) String

func (x *AddTableToTabletResponsePB) String() string

type AddUniverseKeysRequestPB

type AddUniverseKeysRequestPB struct {
	UniverseKeys *UniverseKeysPB `protobuf:"bytes,1,opt,name=universe_keys,json=universeKeys" json:"universe_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUniverseKeysRequestPB) Descriptor deprecated

func (*AddUniverseKeysRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AddUniverseKeysRequestPB.ProtoReflect.Descriptor instead.

func (*AddUniverseKeysRequestPB) GetUniverseKeys

func (x *AddUniverseKeysRequestPB) GetUniverseKeys() *UniverseKeysPB

func (*AddUniverseKeysRequestPB) ProtoMessage

func (*AddUniverseKeysRequestPB) ProtoMessage()

func (*AddUniverseKeysRequestPB) ProtoReflect

func (x *AddUniverseKeysRequestPB) ProtoReflect() protoreflect.Message

func (*AddUniverseKeysRequestPB) Reset

func (x *AddUniverseKeysRequestPB) Reset()

func (*AddUniverseKeysRequestPB) String

func (x *AddUniverseKeysRequestPB) String() string

type AddUniverseKeysResponsePB

type AddUniverseKeysResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUniverseKeysResponsePB) Descriptor deprecated

func (*AddUniverseKeysResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AddUniverseKeysResponsePB.ProtoReflect.Descriptor instead.

func (*AddUniverseKeysResponsePB) GetError

func (*AddUniverseKeysResponsePB) ProtoMessage

func (*AddUniverseKeysResponsePB) ProtoMessage()

func (*AddUniverseKeysResponsePB) ProtoReflect

func (*AddUniverseKeysResponsePB) Reset

func (x *AddUniverseKeysResponsePB) Reset()

func (*AddUniverseKeysResponsePB) String

func (x *AddUniverseKeysResponsePB) String() string

type AlterNamespaceRequestPB

type AlterNamespaceRequestPB struct {
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// New name for the namespace in the alter operation.
	NewName *string `protobuf:"bytes,2,opt,name=new_name,json=newName" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterNamespaceRequestPB) Descriptor deprecated

func (*AlterNamespaceRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AlterNamespaceRequestPB.ProtoReflect.Descriptor instead.

func (*AlterNamespaceRequestPB) GetNamespace

func (*AlterNamespaceRequestPB) GetNewName

func (x *AlterNamespaceRequestPB) GetNewName() string

func (*AlterNamespaceRequestPB) ProtoMessage

func (*AlterNamespaceRequestPB) ProtoMessage()

func (*AlterNamespaceRequestPB) ProtoReflect

func (x *AlterNamespaceRequestPB) ProtoReflect() protoreflect.Message

func (*AlterNamespaceRequestPB) Reset

func (x *AlterNamespaceRequestPB) Reset()

func (*AlterNamespaceRequestPB) String

func (x *AlterNamespaceRequestPB) String() string

type AlterNamespaceResponsePB

type AlterNamespaceResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterNamespaceResponsePB) Descriptor deprecated

func (*AlterNamespaceResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AlterNamespaceResponsePB.ProtoReflect.Descriptor instead.

func (*AlterNamespaceResponsePB) GetError

func (x *AlterNamespaceResponsePB) GetError() *MasterErrorPB

func (*AlterNamespaceResponsePB) ProtoMessage

func (*AlterNamespaceResponsePB) ProtoMessage()

func (*AlterNamespaceResponsePB) ProtoReflect

func (x *AlterNamespaceResponsePB) ProtoReflect() protoreflect.Message

func (*AlterNamespaceResponsePB) Reset

func (x *AlterNamespaceResponsePB) Reset()

func (*AlterNamespaceResponsePB) String

func (x *AlterNamespaceResponsePB) String() string

type AlterRoleRequestPB

type AlterRoleRequestPB struct {
	Name       *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	SaltedHash *string `protobuf:"bytes,2,opt,name=salted_hash,json=saltedHash" json:"salted_hash,omitempty"`
	Login      *bool   `protobuf:"varint,3,opt,name=login" json:"login,omitempty"`
	Superuser  *bool   `protobuf:"varint,4,opt,name=superuser" json:"superuser,omitempty"`
	// Name of the role trying to alter the role.
	CurrentRole *string `protobuf:"bytes,5,opt,name=current_role,json=currentRole" json:"current_role,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterRoleRequestPB) Descriptor deprecated

func (*AlterRoleRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AlterRoleRequestPB.ProtoReflect.Descriptor instead.

func (*AlterRoleRequestPB) GetCurrentRole

func (x *AlterRoleRequestPB) GetCurrentRole() string

func (*AlterRoleRequestPB) GetLogin

func (x *AlterRoleRequestPB) GetLogin() bool

func (*AlterRoleRequestPB) GetName

func (x *AlterRoleRequestPB) GetName() string

func (*AlterRoleRequestPB) GetSaltedHash

func (x *AlterRoleRequestPB) GetSaltedHash() string

func (*AlterRoleRequestPB) GetSuperuser

func (x *AlterRoleRequestPB) GetSuperuser() bool

func (*AlterRoleRequestPB) ProtoMessage

func (*AlterRoleRequestPB) ProtoMessage()

func (*AlterRoleRequestPB) ProtoReflect

func (x *AlterRoleRequestPB) ProtoReflect() protoreflect.Message

func (*AlterRoleRequestPB) Reset

func (x *AlterRoleRequestPB) Reset()

func (*AlterRoleRequestPB) String

func (x *AlterRoleRequestPB) String() string

type AlterRoleResponsePB

type AlterRoleResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterRoleResponsePB) Descriptor deprecated

func (*AlterRoleResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AlterRoleResponsePB.ProtoReflect.Descriptor instead.

func (*AlterRoleResponsePB) GetError

func (x *AlterRoleResponsePB) GetError() *MasterErrorPB

func (*AlterRoleResponsePB) ProtoMessage

func (*AlterRoleResponsePB) ProtoMessage()

func (*AlterRoleResponsePB) ProtoReflect

func (x *AlterRoleResponsePB) ProtoReflect() protoreflect.Message

func (*AlterRoleResponsePB) Reset

func (x *AlterRoleResponsePB) Reset()

func (*AlterRoleResponsePB) String

func (x *AlterRoleResponsePB) String() string

type AlterTableRequestPB

type AlterTableRequestPB struct {
	Table            *TableIdentifierPB          `protobuf:"bytes,1,req,name=table" json:"table,omitempty"`
	AlterSchemaSteps []*AlterTableRequestPB_Step `protobuf:"bytes,2,rep,name=alter_schema_steps,json=alterSchemaSteps" json:"alter_schema_steps,omitempty"`
	NewTableName     *string                     `protobuf:"bytes,3,opt,name=new_table_name,json=newTableName" json:"new_table_name,omitempty"`
	NewNamespace     *NamespaceIdentifierPB      `protobuf:"bytes,4,opt,name=new_namespace,json=newNamespace" json:"new_namespace,omitempty"`
	AlterProperties  *TablePropertiesPB          `protobuf:"bytes,5,opt,name=alter_properties,json=alterProperties" json:"alter_properties,omitempty"`
	WalRetentionSecs *uint32                     `protobuf:"varint,6,opt,name=wal_retention_secs,json=walRetentionSecs" json:"wal_retention_secs,omitempty"`
	// If set to true, SendAlterTableRequest will be sent even if no changes are specified in this
	// request.
	// This is useful to trigger index permissions update.
	ForceSendAlterRequest *bool `` /* 128-byte string literal not displayed */
	// Replication information for this table.
	ReplicationInfo *ReplicationInfoPB `protobuf:"bytes,8,opt,name=replication_info,json=replicationInfo" json:"replication_info,omitempty"`
	// DDL Dependent upon Transaction success (abort removes). Used by YSQL.
	Transaction *TransactionMetadataPB `protobuf:"bytes,9,opt,name=transaction" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterTableRequestPB) Descriptor deprecated

func (*AlterTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AlterTableRequestPB.ProtoReflect.Descriptor instead.

func (*AlterTableRequestPB) GetAlterProperties

func (x *AlterTableRequestPB) GetAlterProperties() *TablePropertiesPB

func (*AlterTableRequestPB) GetAlterSchemaSteps

func (x *AlterTableRequestPB) GetAlterSchemaSteps() []*AlterTableRequestPB_Step

func (*AlterTableRequestPB) GetForceSendAlterRequest

func (x *AlterTableRequestPB) GetForceSendAlterRequest() bool

func (*AlterTableRequestPB) GetNewNamespace

func (x *AlterTableRequestPB) GetNewNamespace() *NamespaceIdentifierPB

func (*AlterTableRequestPB) GetNewTableName

func (x *AlterTableRequestPB) GetNewTableName() string

func (*AlterTableRequestPB) GetReplicationInfo

func (x *AlterTableRequestPB) GetReplicationInfo() *ReplicationInfoPB

func (*AlterTableRequestPB) GetTable

func (x *AlterTableRequestPB) GetTable() *TableIdentifierPB

func (*AlterTableRequestPB) GetTransaction

func (x *AlterTableRequestPB) GetTransaction() *TransactionMetadataPB

func (*AlterTableRequestPB) GetWalRetentionSecs

func (x *AlterTableRequestPB) GetWalRetentionSecs() uint32

func (*AlterTableRequestPB) ProtoMessage

func (*AlterTableRequestPB) ProtoMessage()

func (*AlterTableRequestPB) ProtoReflect

func (x *AlterTableRequestPB) ProtoReflect() protoreflect.Message

func (*AlterTableRequestPB) Reset

func (x *AlterTableRequestPB) Reset()

func (*AlterTableRequestPB) String

func (x *AlterTableRequestPB) String() string

type AlterTableRequestPB_AddColumn

type AlterTableRequestPB_AddColumn struct {

	// The schema to add.
	// NOTE: the 'id' field of the schema should not be provided here --
	// the server will assign an ID.
	Schema *ColumnSchemaPB `protobuf:"bytes,1,req,name=schema" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterTableRequestPB_AddColumn) Descriptor deprecated

func (*AlterTableRequestPB_AddColumn) Descriptor() ([]byte, []int)

Deprecated: Use AlterTableRequestPB_AddColumn.ProtoReflect.Descriptor instead.

func (*AlterTableRequestPB_AddColumn) GetSchema

func (*AlterTableRequestPB_AddColumn) ProtoMessage

func (*AlterTableRequestPB_AddColumn) ProtoMessage()

func (*AlterTableRequestPB_AddColumn) ProtoReflect

func (*AlterTableRequestPB_AddColumn) Reset

func (x *AlterTableRequestPB_AddColumn) Reset()

func (*AlterTableRequestPB_AddColumn) String

type AlterTableRequestPB_DropColumn

type AlterTableRequestPB_DropColumn struct {

	// Name of the column to drop.
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterTableRequestPB_DropColumn) Descriptor deprecated

func (*AlterTableRequestPB_DropColumn) Descriptor() ([]byte, []int)

Deprecated: Use AlterTableRequestPB_DropColumn.ProtoReflect.Descriptor instead.

func (*AlterTableRequestPB_DropColumn) GetName

func (*AlterTableRequestPB_DropColumn) ProtoMessage

func (*AlterTableRequestPB_DropColumn) ProtoMessage()

func (*AlterTableRequestPB_DropColumn) ProtoReflect

func (*AlterTableRequestPB_DropColumn) Reset

func (x *AlterTableRequestPB_DropColumn) Reset()

func (*AlterTableRequestPB_DropColumn) String

type AlterTableRequestPB_RenameColumn

type AlterTableRequestPB_RenameColumn struct {

	// Name of the column to rename;
	OldName *string `protobuf:"bytes,1,req,name=old_name,json=oldName" json:"old_name,omitempty"`
	NewName *string `protobuf:"bytes,2,req,name=new_name,json=newName" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterTableRequestPB_RenameColumn) Descriptor deprecated

func (*AlterTableRequestPB_RenameColumn) Descriptor() ([]byte, []int)

Deprecated: Use AlterTableRequestPB_RenameColumn.ProtoReflect.Descriptor instead.

func (*AlterTableRequestPB_RenameColumn) GetNewName

func (x *AlterTableRequestPB_RenameColumn) GetNewName() string

func (*AlterTableRequestPB_RenameColumn) GetOldName

func (x *AlterTableRequestPB_RenameColumn) GetOldName() string

func (*AlterTableRequestPB_RenameColumn) ProtoMessage

func (*AlterTableRequestPB_RenameColumn) ProtoMessage()

func (*AlterTableRequestPB_RenameColumn) ProtoReflect

func (*AlterTableRequestPB_RenameColumn) Reset

func (*AlterTableRequestPB_RenameColumn) String

type AlterTableRequestPB_Step

type AlterTableRequestPB_Step struct {
	Type *AlterTableRequestPB_StepType `protobuf:"varint,1,opt,name=type,enum=yb.master.AlterTableRequestPB_StepType,def=0" json:"type,omitempty"`
	// Exactly one of the following must be set, based on 'type'
	AddColumn    *AlterTableRequestPB_AddColumn    `protobuf:"bytes,2,opt,name=add_column,json=addColumn" json:"add_column,omitempty"`
	DropColumn   *AlterTableRequestPB_DropColumn   `protobuf:"bytes,3,opt,name=drop_column,json=dropColumn" json:"drop_column,omitempty"`
	RenameColumn *AlterTableRequestPB_RenameColumn `protobuf:"bytes,4,opt,name=rename_column,json=renameColumn" json:"rename_column,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterTableRequestPB_Step) Descriptor deprecated

func (*AlterTableRequestPB_Step) Descriptor() ([]byte, []int)

Deprecated: Use AlterTableRequestPB_Step.ProtoReflect.Descriptor instead.

func (*AlterTableRequestPB_Step) GetAddColumn

func (*AlterTableRequestPB_Step) GetDropColumn

func (*AlterTableRequestPB_Step) GetRenameColumn

func (*AlterTableRequestPB_Step) GetType

func (*AlterTableRequestPB_Step) ProtoMessage

func (*AlterTableRequestPB_Step) ProtoMessage()

func (*AlterTableRequestPB_Step) ProtoReflect

func (x *AlterTableRequestPB_Step) ProtoReflect() protoreflect.Message

func (*AlterTableRequestPB_Step) Reset

func (x *AlterTableRequestPB_Step) Reset()

func (*AlterTableRequestPB_Step) String

func (x *AlterTableRequestPB_Step) String() string

type AlterTableRequestPB_StepType

type AlterTableRequestPB_StepType int32
const (
	AlterTableRequestPB_UNKNOWN       AlterTableRequestPB_StepType = 0
	AlterTableRequestPB_ADD_COLUMN    AlterTableRequestPB_StepType = 1
	AlterTableRequestPB_DROP_COLUMN   AlterTableRequestPB_StepType = 2
	AlterTableRequestPB_RENAME_COLUMN AlterTableRequestPB_StepType = 3
	// TODO(KUDU-861): this will subsume RENAME_COLUMN, but not yet implemented
	// on the master side.
	AlterTableRequestPB_ALTER_COLUMN AlterTableRequestPB_StepType = 4
)

func (AlterTableRequestPB_StepType) Descriptor

func (AlterTableRequestPB_StepType) Enum

func (AlterTableRequestPB_StepType) EnumDescriptor deprecated

func (AlterTableRequestPB_StepType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AlterTableRequestPB_StepType.Descriptor instead.

func (AlterTableRequestPB_StepType) Number

func (AlterTableRequestPB_StepType) String

func (AlterTableRequestPB_StepType) Type

func (*AlterTableRequestPB_StepType) UnmarshalJSON deprecated

func (x *AlterTableRequestPB_StepType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type AlterTableResponsePB

type AlterTableResponsePB struct {

	// The error, if an error occurred with this request.
	Error         *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	SchemaVersion *uint32        `protobuf:"varint,2,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterTableResponsePB) Descriptor deprecated

func (*AlterTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AlterTableResponsePB.ProtoReflect.Descriptor instead.

func (*AlterTableResponsePB) GetError

func (x *AlterTableResponsePB) GetError() *MasterErrorPB

func (*AlterTableResponsePB) GetSchemaVersion

func (x *AlterTableResponsePB) GetSchemaVersion() uint32

func (*AlterTableResponsePB) ProtoMessage

func (*AlterTableResponsePB) ProtoMessage()

func (*AlterTableResponsePB) ProtoReflect

func (x *AlterTableResponsePB) ProtoReflect() protoreflect.Message

func (*AlterTableResponsePB) Reset

func (x *AlterTableResponsePB) Reset()

func (*AlterTableResponsePB) String

func (x *AlterTableResponsePB) String() string

type AlterUniverseReplicationRequestPB

type AlterUniverseReplicationRequestPB struct {
	ProducerId *string `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	// The below options are currently mutually exclusive.  Only 1 operation at a time.
	ProducerMasterAddresses  []*HostPortPB `protobuf:"bytes,2,rep,name=producer_master_addresses,json=producerMasterAddresses" json:"producer_master_addresses,omitempty"`
	ProducerTableIdsToAdd    []string      `protobuf:"bytes,4,rep,name=producer_table_ids_to_add,json=producerTableIdsToAdd" json:"producer_table_ids_to_add,omitempty"`
	ProducerTableIdsToRemove []string      `` /* 132-byte string literal not displayed */
	NewProducerUniverseId    *string       `protobuf:"bytes,7,opt,name=new_producer_universe_id,json=newProducerUniverseId" json:"new_producer_universe_id,omitempty"`
	// Optional bootstrap ids for the add table operation.
	ProducerBootstrapIdsToAdd []string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AlterUniverseReplicationRequestPB) Descriptor deprecated

func (*AlterUniverseReplicationRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AlterUniverseReplicationRequestPB.ProtoReflect.Descriptor instead.

func (*AlterUniverseReplicationRequestPB) GetNewProducerUniverseId added in v2.11.2

func (x *AlterUniverseReplicationRequestPB) GetNewProducerUniverseId() string

func (*AlterUniverseReplicationRequestPB) GetProducerBootstrapIdsToAdd added in v2.11.0

func (x *AlterUniverseReplicationRequestPB) GetProducerBootstrapIdsToAdd() []string

func (*AlterUniverseReplicationRequestPB) GetProducerId

func (x *AlterUniverseReplicationRequestPB) GetProducerId() string

func (*AlterUniverseReplicationRequestPB) GetProducerMasterAddresses

func (x *AlterUniverseReplicationRequestPB) GetProducerMasterAddresses() []*HostPortPB

func (*AlterUniverseReplicationRequestPB) GetProducerTableIdsToAdd

func (x *AlterUniverseReplicationRequestPB) GetProducerTableIdsToAdd() []string

func (*AlterUniverseReplicationRequestPB) GetProducerTableIdsToRemove

func (x *AlterUniverseReplicationRequestPB) GetProducerTableIdsToRemove() []string

func (*AlterUniverseReplicationRequestPB) ProtoMessage

func (*AlterUniverseReplicationRequestPB) ProtoMessage()

func (*AlterUniverseReplicationRequestPB) ProtoReflect

func (*AlterUniverseReplicationRequestPB) Reset

func (*AlterUniverseReplicationRequestPB) String

type AlterUniverseReplicationResponsePB

type AlterUniverseReplicationResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AlterUniverseReplicationResponsePB) Descriptor deprecated

func (*AlterUniverseReplicationResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AlterUniverseReplicationResponsePB.ProtoReflect.Descriptor instead.

func (*AlterUniverseReplicationResponsePB) GetError

func (*AlterUniverseReplicationResponsePB) ProtoMessage

func (*AlterUniverseReplicationResponsePB) ProtoMessage()

func (*AlterUniverseReplicationResponsePB) ProtoReflect

func (*AlterUniverseReplicationResponsePB) Reset

func (*AlterUniverseReplicationResponsePB) String

type Any added in v2.11.2

type Any struct {
	TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
	Value   []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Any) Descriptor deprecated added in v2.11.2

func (*Any) Descriptor() ([]byte, []int)

Deprecated: Use Any.ProtoReflect.Descriptor instead.

func (*Any) GetTypeUrl added in v2.11.2

func (x *Any) GetTypeUrl() string

func (*Any) GetValue added in v2.11.2

func (x *Any) GetValue() []byte

func (*Any) ProtoMessage added in v2.11.2

func (*Any) ProtoMessage()

func (*Any) ProtoReflect added in v2.11.2

func (x *Any) ProtoReflect() protoreflect.Message

func (*Any) Reset added in v2.11.2

func (x *Any) Reset()

func (*Any) String added in v2.11.2

func (x *Any) String() string

type AppStatusPB

type AppStatusPB struct {
	Code    *AppStatusPB_ErrorCode `protobuf:"varint,1,req,name=code,enum=yb.AppStatusPB_ErrorCode" json:"code,omitempty"`
	Message *string                `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	// For backward compatibility error_codes would also be filled.
	// But errors would have priority if both are set.
	//
	// Types that are assignable to ErrorCodes:
	//	*AppStatusPB_PosixCode
	//	*AppStatusPB_QlErrorCode
	ErrorCodes isAppStatusPB_ErrorCodes `protobuf_oneof:"error_codes"`
	SourceFile *string                  `protobuf:"bytes,6,opt,name=source_file,json=sourceFile" json:"source_file,omitempty"`
	SourceLine *int32                   `protobuf:"varint,7,opt,name=source_line,json=sourceLine" json:"source_line,omitempty"`
	// Stores encoded error codes of Status. See Status for details.
	Errors []byte `protobuf:"bytes,9,opt,name=errors" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

Error status returned by any RPC method. Every RPC method which could generate an application-level error should have this (or a more complex error result) as an optional field in its response.

This maps to yb::Status in C++.

func (*AppStatusPB) Descriptor deprecated

func (*AppStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use AppStatusPB.ProtoReflect.Descriptor instead.

func (*AppStatusPB) GetCode

func (x *AppStatusPB) GetCode() AppStatusPB_ErrorCode

func (*AppStatusPB) GetErrorCodes

func (m *AppStatusPB) GetErrorCodes() isAppStatusPB_ErrorCodes

func (*AppStatusPB) GetErrors

func (x *AppStatusPB) GetErrors() []byte

func (*AppStatusPB) GetMessage

func (x *AppStatusPB) GetMessage() string

func (*AppStatusPB) GetPosixCode

func (x *AppStatusPB) GetPosixCode() int32

func (*AppStatusPB) GetQlErrorCode

func (x *AppStatusPB) GetQlErrorCode() int64

func (*AppStatusPB) GetSourceFile

func (x *AppStatusPB) GetSourceFile() string

func (*AppStatusPB) GetSourceLine

func (x *AppStatusPB) GetSourceLine() int32

func (*AppStatusPB) ProtoMessage

func (*AppStatusPB) ProtoMessage()

func (*AppStatusPB) ProtoReflect

func (x *AppStatusPB) ProtoReflect() protoreflect.Message

func (*AppStatusPB) Reset

func (x *AppStatusPB) Reset()

func (*AppStatusPB) String

func (x *AppStatusPB) String() string

type AppStatusPB_ErrorCode

type AppStatusPB_ErrorCode int32
const (
	AppStatusPB_UNKNOWN_ERROR             AppStatusPB_ErrorCode = 999
	AppStatusPB_OK                        AppStatusPB_ErrorCode = 0
	AppStatusPB_NOT_FOUND                 AppStatusPB_ErrorCode = 1
	AppStatusPB_CORRUPTION                AppStatusPB_ErrorCode = 2
	AppStatusPB_NOT_SUPPORTED             AppStatusPB_ErrorCode = 3
	AppStatusPB_INVALID_ARGUMENT          AppStatusPB_ErrorCode = 4
	AppStatusPB_IO_ERROR                  AppStatusPB_ErrorCode = 5
	AppStatusPB_ALREADY_PRESENT           AppStatusPB_ErrorCode = 6
	AppStatusPB_RUNTIME_ERROR             AppStatusPB_ErrorCode = 7
	AppStatusPB_NETWORK_ERROR             AppStatusPB_ErrorCode = 8
	AppStatusPB_ILLEGAL_STATE             AppStatusPB_ErrorCode = 9
	AppStatusPB_NOT_AUTHORIZED            AppStatusPB_ErrorCode = 10
	AppStatusPB_ABORTED                   AppStatusPB_ErrorCode = 11
	AppStatusPB_REMOTE_ERROR              AppStatusPB_ErrorCode = 12
	AppStatusPB_SERVICE_UNAVAILABLE       AppStatusPB_ErrorCode = 13
	AppStatusPB_TIMED_OUT                 AppStatusPB_ErrorCode = 14
	AppStatusPB_UNINITIALIZED             AppStatusPB_ErrorCode = 15
	AppStatusPB_CONFIGURATION_ERROR       AppStatusPB_ErrorCode = 16
	AppStatusPB_INCOMPLETE                AppStatusPB_ErrorCode = 17
	AppStatusPB_END_OF_FILE               AppStatusPB_ErrorCode = 18
	AppStatusPB_INVALID_COMMAND           AppStatusPB_ErrorCode = 19
	AppStatusPB_QL_ERROR                  AppStatusPB_ErrorCode = 20
	AppStatusPB_INTERNAL_ERROR            AppStatusPB_ErrorCode = 21
	AppStatusPB_EXPIRED                   AppStatusPB_ErrorCode = 22
	AppStatusPB_LEADER_NOT_READY_TO_SERVE AppStatusPB_ErrorCode = 23
	AppStatusPB_LEADER_HAS_NO_LEASE       AppStatusPB_ErrorCode = 24
	AppStatusPB_TRY_AGAIN_CODE            AppStatusPB_ErrorCode = 25
	AppStatusPB_BUSY                      AppStatusPB_ErrorCode = 26
	AppStatusPB_SHUTDOWN_IN_PROGRESS      AppStatusPB_ErrorCode = 27
	AppStatusPB_MERGE_IN_PROGRESS         AppStatusPB_ErrorCode = 28
	AppStatusPB_COMBINED_ERROR            AppStatusPB_ErrorCode = 29
	AppStatusPB_SNAPSHOT_TOO_OLD          AppStatusPB_ErrorCode = 30
)

func (AppStatusPB_ErrorCode) Descriptor

func (AppStatusPB_ErrorCode) Enum

func (AppStatusPB_ErrorCode) EnumDescriptor deprecated

func (AppStatusPB_ErrorCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use AppStatusPB_ErrorCode.Descriptor instead.

func (AppStatusPB_ErrorCode) Number

func (AppStatusPB_ErrorCode) String

func (x AppStatusPB_ErrorCode) String() string

func (AppStatusPB_ErrorCode) Type

func (*AppStatusPB_ErrorCode) UnmarshalJSON deprecated

func (x *AppStatusPB_ErrorCode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type AppStatusPB_PosixCode

type AppStatusPB_PosixCode struct {
	PosixCode int32 `protobuf:"varint,4,opt,name=posix_code,json=posixCode,oneof"`
}

type AppStatusPB_QlErrorCode

type AppStatusPB_QlErrorCode struct {
	QlErrorCode int64 `protobuf:"varint,5,opt,name=ql_error_code,json=qlErrorCode,oneof"`
}

type ApplyExternalTransactionPB

type ApplyExternalTransactionPB struct {
	TransactionId    []byte  `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	CommitHybridTime *uint64 `protobuf:"fixed64,2,opt,name=commit_hybrid_time,json=commitHybridTime" json:"commit_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyExternalTransactionPB) Descriptor deprecated

func (*ApplyExternalTransactionPB) Descriptor() ([]byte, []int)

Deprecated: Use ApplyExternalTransactionPB.ProtoReflect.Descriptor instead.

func (*ApplyExternalTransactionPB) GetCommitHybridTime

func (x *ApplyExternalTransactionPB) GetCommitHybridTime() uint64

func (*ApplyExternalTransactionPB) GetTransactionId

func (x *ApplyExternalTransactionPB) GetTransactionId() []byte

func (*ApplyExternalTransactionPB) ProtoMessage

func (*ApplyExternalTransactionPB) ProtoMessage()

func (*ApplyExternalTransactionPB) ProtoReflect

func (*ApplyExternalTransactionPB) Reset

func (x *ApplyExternalTransactionPB) Reset()

func (*ApplyExternalTransactionPB) String

func (x *ApplyExternalTransactionPB) String() string

type ApplyTransactionStatePB

type ApplyTransactionStatePB struct {

	// Apply should be continued from this key in reverse index.
	Key []byte `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// Write id for first continued record.
	WriteId *uint32 `protobuf:"varint,2,opt,name=write_id,json=writeId" json:"write_id,omitempty"`
	// Transaction commit hybrid time.
	CommitHt *uint64 `protobuf:"fixed64,3,opt,name=commit_ht,json=commitHt" json:"commit_ht,omitempty"`
	// Set of aborted subtransactions.
	Aborted *AbortedSubTransactionSetPB `protobuf:"bytes,4,opt,name=aborted" json:"aborted,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyTransactionStatePB) Descriptor deprecated

func (*ApplyTransactionStatePB) Descriptor() ([]byte, []int)

Deprecated: Use ApplyTransactionStatePB.ProtoReflect.Descriptor instead.

func (*ApplyTransactionStatePB) GetAborted

func (*ApplyTransactionStatePB) GetCommitHt

func (x *ApplyTransactionStatePB) GetCommitHt() uint64

func (*ApplyTransactionStatePB) GetKey

func (x *ApplyTransactionStatePB) GetKey() []byte

func (*ApplyTransactionStatePB) GetWriteId

func (x *ApplyTransactionStatePB) GetWriteId() uint32

func (*ApplyTransactionStatePB) ProtoMessage

func (*ApplyTransactionStatePB) ProtoMessage()

func (*ApplyTransactionStatePB) ProtoReflect

func (x *ApplyTransactionStatePB) ProtoReflect() protoreflect.Message

func (*ApplyTransactionStatePB) Reset

func (x *ApplyTransactionStatePB) Reset()

func (*ApplyTransactionStatePB) String

func (x *ApplyTransactionStatePB) String() string

type AreLeadersOnPreferredOnlyRequestPB

type AreLeadersOnPreferredOnlyRequestPB struct {
	// contains filtered or unexported fields
}

func (*AreLeadersOnPreferredOnlyRequestPB) Descriptor deprecated

func (*AreLeadersOnPreferredOnlyRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use AreLeadersOnPreferredOnlyRequestPB.ProtoReflect.Descriptor instead.

func (*AreLeadersOnPreferredOnlyRequestPB) ProtoMessage

func (*AreLeadersOnPreferredOnlyRequestPB) ProtoMessage()

func (*AreLeadersOnPreferredOnlyRequestPB) ProtoReflect

func (*AreLeadersOnPreferredOnlyRequestPB) Reset

func (*AreLeadersOnPreferredOnlyRequestPB) String

type AreLeadersOnPreferredOnlyResponsePB

type AreLeadersOnPreferredOnlyResponsePB struct {

	// Any error being set implies that the leader load is not balanced across the servers.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AreLeadersOnPreferredOnlyResponsePB) Descriptor deprecated

func (*AreLeadersOnPreferredOnlyResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use AreLeadersOnPreferredOnlyResponsePB.ProtoReflect.Descriptor instead.

func (*AreLeadersOnPreferredOnlyResponsePB) GetError

func (*AreLeadersOnPreferredOnlyResponsePB) ProtoMessage

func (*AreLeadersOnPreferredOnlyResponsePB) ProtoMessage()

func (*AreLeadersOnPreferredOnlyResponsePB) ProtoReflect

func (*AreLeadersOnPreferredOnlyResponsePB) Reset

func (*AreLeadersOnPreferredOnlyResponsePB) String

type BackfillIndexRequestPB

type BackfillIndexRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId []byte `protobuf:"bytes,2,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Indexes on the _same table_ to backfill.
	Indexes              []*IndexInfoPB `protobuf:"bytes,3,rep,name=indexes" json:"indexes,omitempty"`
	SchemaVersion        *uint32        `protobuf:"varint,4,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	ReadAtHybridTime     *uint64        `protobuf:"fixed64,5,opt,name=read_at_hybrid_time,json=readAtHybridTime" json:"read_at_hybrid_time,omitempty"`
	StartKey             []byte         `protobuf:"bytes,6,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
	EndKey               []byte         `protobuf:"bytes,7,opt,name=end_key,json=endKey" json:"end_key,omitempty"`
	PropagatedHybridTime *uint64        `protobuf:"fixed64,8,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// Currently only used for YSQL.
	NamespaceName *string `protobuf:"bytes,9,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	// Indexed table ID so we can properly address a colocated table.
	IndexedTableId []byte `protobuf:"bytes,10,opt,name=indexed_table_id,json=indexedTableId" json:"indexed_table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackfillIndexRequestPB) Descriptor deprecated

func (*BackfillIndexRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use BackfillIndexRequestPB.ProtoReflect.Descriptor instead.

func (*BackfillIndexRequestPB) GetDestUuid

func (x *BackfillIndexRequestPB) GetDestUuid() []byte

func (*BackfillIndexRequestPB) GetEndKey

func (x *BackfillIndexRequestPB) GetEndKey() []byte

func (*BackfillIndexRequestPB) GetIndexedTableId

func (x *BackfillIndexRequestPB) GetIndexedTableId() []byte

func (*BackfillIndexRequestPB) GetIndexes

func (x *BackfillIndexRequestPB) GetIndexes() []*IndexInfoPB

func (*BackfillIndexRequestPB) GetNamespaceName

func (x *BackfillIndexRequestPB) GetNamespaceName() string

func (*BackfillIndexRequestPB) GetPropagatedHybridTime

func (x *BackfillIndexRequestPB) GetPropagatedHybridTime() uint64

func (*BackfillIndexRequestPB) GetReadAtHybridTime

func (x *BackfillIndexRequestPB) GetReadAtHybridTime() uint64

func (*BackfillIndexRequestPB) GetSchemaVersion

func (x *BackfillIndexRequestPB) GetSchemaVersion() uint32

func (*BackfillIndexRequestPB) GetStartKey

func (x *BackfillIndexRequestPB) GetStartKey() []byte

func (*BackfillIndexRequestPB) GetTabletId

func (x *BackfillIndexRequestPB) GetTabletId() []byte

func (*BackfillIndexRequestPB) ProtoMessage

func (*BackfillIndexRequestPB) ProtoMessage()

func (*BackfillIndexRequestPB) ProtoReflect

func (x *BackfillIndexRequestPB) ProtoReflect() protoreflect.Message

func (*BackfillIndexRequestPB) Reset

func (x *BackfillIndexRequestPB) Reset()

func (*BackfillIndexRequestPB) String

func (x *BackfillIndexRequestPB) String() string

type BackfillIndexResponsePB

type BackfillIndexResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// If non-empty, this is used to keep track of how far along
	// the backfill has completed, so that it can be resumed.
	// Encoded as the DocKey for the next row to be backfilled.
	BackfilledUntil []byte `protobuf:"bytes,3,opt,name=backfilled_until,json=backfilledUntil" json:"backfilled_until,omitempty"`
	// In case of a partial error, list of indexes that failed.
	FailedIndexIds [][]byte `protobuf:"bytes,4,rep,name=failed_index_ids,json=failedIndexIds" json:"failed_index_ids,omitempty"`
	// Returns the number of rows backfilled in the request.
	NumberRowsProcessed *uint64 `protobuf:"varint,5,opt,name=number_rows_processed,json=numberRowsProcessed" json:"number_rows_processed,omitempty"`
	// contains filtered or unexported fields
}

func (*BackfillIndexResponsePB) Descriptor deprecated

func (*BackfillIndexResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use BackfillIndexResponsePB.ProtoReflect.Descriptor instead.

func (*BackfillIndexResponsePB) GetBackfilledUntil

func (x *BackfillIndexResponsePB) GetBackfilledUntil() []byte

func (*BackfillIndexResponsePB) GetError

func (*BackfillIndexResponsePB) GetFailedIndexIds

func (x *BackfillIndexResponsePB) GetFailedIndexIds() [][]byte

func (*BackfillIndexResponsePB) GetNumberRowsProcessed

func (x *BackfillIndexResponsePB) GetNumberRowsProcessed() uint64

func (*BackfillIndexResponsePB) GetPropagatedHybridTime

func (x *BackfillIndexResponsePB) GetPropagatedHybridTime() uint64

func (*BackfillIndexResponsePB) ProtoMessage

func (*BackfillIndexResponsePB) ProtoMessage()

func (*BackfillIndexResponsePB) ProtoReflect

func (x *BackfillIndexResponsePB) ProtoReflect() protoreflect.Message

func (*BackfillIndexResponsePB) Reset

func (x *BackfillIndexResponsePB) Reset()

func (*BackfillIndexResponsePB) String

func (x *BackfillIndexResponsePB) String() string

type BackfillJobPB

type BackfillJobPB struct {
	Indexes []*IndexInfoPB `protobuf:"bytes,1,rep,name=indexes" json:"indexes,omitempty"`
	// Index's TableId -> State for each index.
	BackfillState map[string]BackfillJobPB_State `` /* 203-byte string literal not displayed */
	// Number of rows processed for this backfill task (the same for all indexes)
	NumRowsProcessed     *uint64 `protobuf:"varint,4,opt,name=num_rows_processed,json=numRowsProcessed,def=0" json:"num_rows_processed,omitempty"`
	BackfillingTimestamp *uint64 `protobuf:"varint,3,opt,name=backfilling_timestamp,json=backfillingTimestamp" json:"backfilling_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*BackfillJobPB) Descriptor deprecated

func (*BackfillJobPB) Descriptor() ([]byte, []int)

Deprecated: Use BackfillJobPB.ProtoReflect.Descriptor instead.

func (*BackfillJobPB) GetBackfillState

func (x *BackfillJobPB) GetBackfillState() map[string]BackfillJobPB_State

func (*BackfillJobPB) GetBackfillingTimestamp

func (x *BackfillJobPB) GetBackfillingTimestamp() uint64

func (*BackfillJobPB) GetIndexes

func (x *BackfillJobPB) GetIndexes() []*IndexInfoPB

func (*BackfillJobPB) GetNumRowsProcessed

func (x *BackfillJobPB) GetNumRowsProcessed() uint64

func (*BackfillJobPB) ProtoMessage

func (*BackfillJobPB) ProtoMessage()

func (*BackfillJobPB) ProtoReflect

func (x *BackfillJobPB) ProtoReflect() protoreflect.Message

func (*BackfillJobPB) Reset

func (x *BackfillJobPB) Reset()

func (*BackfillJobPB) String

func (x *BackfillJobPB) String() string

type BackfillJobPB_State

type BackfillJobPB_State int32
const (
	BackfillJobPB_IN_PROGRESS BackfillJobPB_State = 0
	BackfillJobPB_FAILED      BackfillJobPB_State = 1
	BackfillJobPB_SUCCESS     BackfillJobPB_State = 2
)

func (BackfillJobPB_State) Descriptor

func (BackfillJobPB_State) Enum

func (BackfillJobPB_State) EnumDescriptor deprecated

func (BackfillJobPB_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackfillJobPB_State.Descriptor instead.

func (BackfillJobPB_State) Number

func (BackfillJobPB_State) String

func (x BackfillJobPB_State) String() string

func (BackfillJobPB_State) Type

func (*BackfillJobPB_State) UnmarshalJSON deprecated

func (x *BackfillJobPB_State) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BackupRowEntryPB added in v2.11.2

type BackupRowEntryPB struct {
	Entry *SysRowEntry `protobuf:"bytes,1,opt,name=entry" json:"entry,omitempty"`
	// Used to disambiguate in case YSQL tables in different schema have same name.
	PgSchemaName []byte `protobuf:"bytes,2,opt,name=pg_schema_name,json=pgSchemaName" json:"pg_schema_name,omitempty"` // For 'entry.type' == TABLE only.
	// contains filtered or unexported fields
}

func (*BackupRowEntryPB) Descriptor deprecated added in v2.11.2

func (*BackupRowEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use BackupRowEntryPB.ProtoReflect.Descriptor instead.

func (*BackupRowEntryPB) GetEntry added in v2.11.2

func (x *BackupRowEntryPB) GetEntry() *SysRowEntry

func (*BackupRowEntryPB) GetPgSchemaName added in v2.11.2

func (x *BackupRowEntryPB) GetPgSchemaName() []byte

func (*BackupRowEntryPB) ProtoMessage added in v2.11.2

func (*BackupRowEntryPB) ProtoMessage()

func (*BackupRowEntryPB) ProtoReflect added in v2.11.2

func (x *BackupRowEntryPB) ProtoReflect() protoreflect.Message

func (*BackupRowEntryPB) Reset added in v2.11.2

func (x *BackupRowEntryPB) Reset()

func (*BackupRowEntryPB) String added in v2.11.2

func (x *BackupRowEntryPB) String() string

type BeginRemoteBootstrapSessionRequestPB

type BeginRemoteBootstrapSessionRequestPB struct {

	// permanent_uuid of the requesting peer.
	RequestorUuid []byte `protobuf:"bytes,1,req,name=requestor_uuid,json=requestorUuid" json:"requestor_uuid,omitempty"`
	// tablet_id of the tablet the requester desires to bootstrap from.
	TabletId []byte `protobuf:"bytes,2,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginRemoteBootstrapSessionRequestPB) Descriptor deprecated

func (*BeginRemoteBootstrapSessionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use BeginRemoteBootstrapSessionRequestPB.ProtoReflect.Descriptor instead.

func (*BeginRemoteBootstrapSessionRequestPB) GetRequestorUuid

func (x *BeginRemoteBootstrapSessionRequestPB) GetRequestorUuid() []byte

func (*BeginRemoteBootstrapSessionRequestPB) GetTabletId

func (x *BeginRemoteBootstrapSessionRequestPB) GetTabletId() []byte

func (*BeginRemoteBootstrapSessionRequestPB) ProtoMessage

func (*BeginRemoteBootstrapSessionRequestPB) ProtoMessage()

func (*BeginRemoteBootstrapSessionRequestPB) ProtoReflect

func (*BeginRemoteBootstrapSessionRequestPB) Reset

func (*BeginRemoteBootstrapSessionRequestPB) String

type BeginRemoteBootstrapSessionResponsePB

type BeginRemoteBootstrapSessionResponsePB struct {

	// Opaque session id assigned by the server.
	// No guarantees are made as to the format of the session id.
	SessionId []byte `protobuf:"bytes,1,req,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// Maximum session idle timeout between requests.
	// Learners will have to start over again if they reach this timeout.
	// A value of 0 means there is no timeout.
	SessionIdleTimeoutMillis *uint64 `` /* 131-byte string literal not displayed */
	// Active superblock at the time of the request.
	Superblock *RaftGroupReplicaSuperBlockPB `protobuf:"bytes,3,req,name=superblock" json:"superblock,omitempty"`
	// Identifiers for the WAL segments available for download.
	// Each WAL segment is keyed by its sequence number.
	DEPRECATEDWalSegmentSeqnos []uint64 `` /* 137-byte string literal not displayed */
	// Sequence number of first WAL segment available for download.
	FirstWalSegmentSeqno *uint64 `protobuf:"varint,6,opt,name=first_wal_segment_seqno,json=firstWalSegmentSeqno" json:"first_wal_segment_seqno,omitempty"`
	// A snapshot of the committed Consensus state at the time that the
	// remote bootstrap session was started.
	InitialCommittedCstate *ConsensusStatePB `protobuf:"bytes,5,req,name=initial_committed_cstate,json=initialCommittedCstate" json:"initial_committed_cstate,omitempty"`
	// contains filtered or unexported fields
}

func (*BeginRemoteBootstrapSessionResponsePB) Descriptor deprecated

func (*BeginRemoteBootstrapSessionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use BeginRemoteBootstrapSessionResponsePB.ProtoReflect.Descriptor instead.

func (*BeginRemoteBootstrapSessionResponsePB) GetDEPRECATEDWalSegmentSeqnos

func (x *BeginRemoteBootstrapSessionResponsePB) GetDEPRECATEDWalSegmentSeqnos() []uint64

func (*BeginRemoteBootstrapSessionResponsePB) GetFirstWalSegmentSeqno

func (x *BeginRemoteBootstrapSessionResponsePB) GetFirstWalSegmentSeqno() uint64

func (*BeginRemoteBootstrapSessionResponsePB) GetInitialCommittedCstate

func (x *BeginRemoteBootstrapSessionResponsePB) GetInitialCommittedCstate() *ConsensusStatePB

func (*BeginRemoteBootstrapSessionResponsePB) GetSessionId

func (x *BeginRemoteBootstrapSessionResponsePB) GetSessionId() []byte

func (*BeginRemoteBootstrapSessionResponsePB) GetSessionIdleTimeoutMillis

func (x *BeginRemoteBootstrapSessionResponsePB) GetSessionIdleTimeoutMillis() uint64

func (*BeginRemoteBootstrapSessionResponsePB) GetSuperblock

func (*BeginRemoteBootstrapSessionResponsePB) ProtoMessage

func (*BeginRemoteBootstrapSessionResponsePB) ProtoMessage()

func (*BeginRemoteBootstrapSessionResponsePB) ProtoReflect

func (*BeginRemoteBootstrapSessionResponsePB) Reset

func (*BeginRemoteBootstrapSessionResponsePB) String

type BlacklistPB

type BlacklistPB struct {
	Hosts []*HostPortPB `protobuf:"bytes,1,rep,name=hosts" json:"hosts,omitempty"`
	// Fields to track the number of replicas/leaders in current set of tablets which have a
	// blacklist server/leader. Client should not set this. Set by server side when persisting
	// the blacklist load.
	InitialReplicaLoad *int32 `protobuf:"varint,2,opt,name=initial_replica_load,json=initialReplicaLoad" json:"initial_replica_load,omitempty"`
	InitialLeaderLoad  *int32 `protobuf:"varint,3,opt,name=initial_leader_load,json=initialLeaderLoad" json:"initial_leader_load,omitempty"`
	// contains filtered or unexported fields
}

This is used to mark servers in the load balancer that should be considered for immediate removal of load and also prevented from being assigned any new load.

func (*BlacklistPB) Descriptor deprecated

func (*BlacklistPB) Descriptor() ([]byte, []int)

Deprecated: Use BlacklistPB.ProtoReflect.Descriptor instead.

func (*BlacklistPB) GetHosts

func (x *BlacklistPB) GetHosts() []*HostPortPB

func (*BlacklistPB) GetInitialLeaderLoad

func (x *BlacklistPB) GetInitialLeaderLoad() int32

func (*BlacklistPB) GetInitialReplicaLoad

func (x *BlacklistPB) GetInitialReplicaLoad() int32

func (*BlacklistPB) ProtoMessage

func (*BlacklistPB) ProtoMessage()

func (*BlacklistPB) ProtoReflect

func (x *BlacklistPB) ProtoReflect() protoreflect.Message

func (*BlacklistPB) Reset

func (x *BlacklistPB) Reset()

func (*BlacklistPB) String

func (x *BlacklistPB) String() string

type BlockIdPB

type BlockIdPB struct {
	Id *uint64 `protobuf:"fixed64,1,req,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockIdPB) Descriptor deprecated

func (*BlockIdPB) Descriptor() ([]byte, []int)

Deprecated: Use BlockIdPB.ProtoReflect.Descriptor instead.

func (*BlockIdPB) GetId

func (x *BlockIdPB) GetId() uint64

func (*BlockIdPB) ProtoMessage

func (*BlockIdPB) ProtoMessage()

func (*BlockIdPB) ProtoReflect

func (x *BlockIdPB) ProtoReflect() protoreflect.Message

func (*BlockIdPB) Reset

func (x *BlockIdPB) Reset()

func (*BlockIdPB) String

func (x *BlockIdPB) String() string

type BlockRecordPB

type BlockRecordPB struct {

	// The unique identifier of the block.
	BlockId *BlockIdPB `protobuf:"bytes,1,req,name=block_id,json=blockId" json:"block_id,omitempty"`
	// Whether this is a CREATE or a DELETE.
	OpType *BlockRecordType `protobuf:"varint,2,req,name=op_type,json=opType,enum=yb.BlockRecordType" json:"op_type,omitempty"`
	// The time at which this block record was created, expressed in terms of
	// microseconds since the epoch.
	TimestampUs *uint64 `protobuf:"varint,3,req,name=timestamp_us,json=timestampUs" json:"timestamp_us,omitempty"`
	// The offset of the block in the container data file.
	//
	// Required for CREATE.
	Offset *int64 `protobuf:"varint,4,opt,name=offset" json:"offset,omitempty"`
	// The length of the block in the container data file.
	//
	// Required for CREATE.
	Length *int64 `protobuf:"varint,5,opt,name=length" json:"length,omitempty"`
	// contains filtered or unexported fields
}

An element found in a container metadata file of the log-backed block storage implementation.

Each one tracks the existence (creation) or non-existence (deletion) of a particular block. They are written sequentially, with subsequent messages taking precedence over earlier ones (e.g. "CREATE foo" followed by "DELETE foo" means that block foo does not exist).

func (*BlockRecordPB) Descriptor deprecated

func (*BlockRecordPB) Descriptor() ([]byte, []int)

Deprecated: Use BlockRecordPB.ProtoReflect.Descriptor instead.

func (*BlockRecordPB) GetBlockId

func (x *BlockRecordPB) GetBlockId() *BlockIdPB

func (*BlockRecordPB) GetLength

func (x *BlockRecordPB) GetLength() int64

func (*BlockRecordPB) GetOffset

func (x *BlockRecordPB) GetOffset() int64

func (*BlockRecordPB) GetOpType

func (x *BlockRecordPB) GetOpType() BlockRecordType

func (*BlockRecordPB) GetTimestampUs

func (x *BlockRecordPB) GetTimestampUs() uint64

func (*BlockRecordPB) ProtoMessage

func (*BlockRecordPB) ProtoMessage()

func (*BlockRecordPB) ProtoReflect

func (x *BlockRecordPB) ProtoReflect() protoreflect.Message

func (*BlockRecordPB) Reset

func (x *BlockRecordPB) Reset()

func (*BlockRecordPB) String

func (x *BlockRecordPB) String() string

type BlockRecordType

type BlockRecordType int32

The kind of record.

const (
	BlockRecordType_UNKNOWN BlockRecordType = 0
	BlockRecordType_CREATE  BlockRecordType = 1
	BlockRecordType_DELETE  BlockRecordType = 2
)

func (BlockRecordType) Descriptor

func (BlockRecordType) Enum

func (x BlockRecordType) Enum() *BlockRecordType

func (BlockRecordType) EnumDescriptor deprecated

func (BlockRecordType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BlockRecordType.Descriptor instead.

func (BlockRecordType) Number

func (BlockRecordType) String

func (x BlockRecordType) String() string

func (BlockRecordType) Type

func (*BlockRecordType) UnmarshalJSON deprecated

func (x *BlockRecordType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type BootstrapProducerRequestPB

type BootstrapProducerRequestPB struct {
	TableIds []string `protobuf:"bytes,1,rep,name=table_ids,json=tableIds" json:"table_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BootstrapProducerRequestPB) Descriptor deprecated

func (*BootstrapProducerRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapProducerRequestPB.ProtoReflect.Descriptor instead.

func (*BootstrapProducerRequestPB) GetTableIds

func (x *BootstrapProducerRequestPB) GetTableIds() []string

func (*BootstrapProducerRequestPB) ProtoMessage

func (*BootstrapProducerRequestPB) ProtoMessage()

func (*BootstrapProducerRequestPB) ProtoReflect

func (*BootstrapProducerRequestPB) Reset

func (x *BootstrapProducerRequestPB) Reset()

func (*BootstrapProducerRequestPB) String

func (x *BootstrapProducerRequestPB) String() string

type BootstrapProducerResponsePB

type BootstrapProducerResponsePB struct {
	Error           *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	CdcBootstrapIds [][]byte    `protobuf:"bytes,2,rep,name=cdc_bootstrap_ids,json=cdcBootstrapIds" json:"cdc_bootstrap_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BootstrapProducerResponsePB) Descriptor deprecated

func (*BootstrapProducerResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapProducerResponsePB.ProtoReflect.Descriptor instead.

func (*BootstrapProducerResponsePB) GetCdcBootstrapIds

func (x *BootstrapProducerResponsePB) GetCdcBootstrapIds() [][]byte

func (*BootstrapProducerResponsePB) GetError

func (x *BootstrapProducerResponsePB) GetError() *CDCErrorPB

func (*BootstrapProducerResponsePB) ProtoMessage

func (*BootstrapProducerResponsePB) ProtoMessage()

func (*BootstrapProducerResponsePB) ProtoReflect

func (*BootstrapProducerResponsePB) Reset

func (x *BootstrapProducerResponsePB) Reset()

func (*BootstrapProducerResponsePB) String

func (x *BootstrapProducerResponsePB) String() string

type BoundaryValuesPB

type BoundaryValuesPB struct {
	Key          []byte                 `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Seqno        *uint64                `protobuf:"varint,2,opt,name=seqno" json:"seqno,omitempty"`
	UserFrontier *anypb.Any             `protobuf:"bytes,4,opt,name=user_frontier,json=userFrontier" json:"user_frontier,omitempty"`
	UserValues   []*UserBoundaryValuePB `protobuf:"bytes,3,rep,name=user_values,json=userValues" json:"user_values,omitempty"`
	// contains filtered or unexported fields
}

func (*BoundaryValuesPB) Descriptor deprecated

func (*BoundaryValuesPB) Descriptor() ([]byte, []int)

Deprecated: Use BoundaryValuesPB.ProtoReflect.Descriptor instead.

func (*BoundaryValuesPB) GetKey

func (x *BoundaryValuesPB) GetKey() []byte

func (*BoundaryValuesPB) GetSeqno

func (x *BoundaryValuesPB) GetSeqno() uint64

func (*BoundaryValuesPB) GetUserFrontier

func (x *BoundaryValuesPB) GetUserFrontier() *anypb.Any

func (*BoundaryValuesPB) GetUserValues

func (x *BoundaryValuesPB) GetUserValues() []*UserBoundaryValuePB

func (*BoundaryValuesPB) ProtoMessage

func (*BoundaryValuesPB) ProtoMessage()

func (*BoundaryValuesPB) ProtoReflect

func (x *BoundaryValuesPB) ProtoReflect() protoreflect.Message

func (*BoundaryValuesPB) Reset

func (x *BoundaryValuesPB) Reset()

func (*BoundaryValuesPB) String

func (x *BoundaryValuesPB) String() string

type CDCCheckpointPB

type CDCCheckpointPB struct {
	OpId *OpIdPB `protobuf:"bytes,1,opt,name=op_id,json=opId" json:"op_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCCheckpointPB) Descriptor deprecated

func (*CDCCheckpointPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCCheckpointPB.ProtoReflect.Descriptor instead.

func (*CDCCheckpointPB) GetOpId

func (x *CDCCheckpointPB) GetOpId() *OpIdPB

func (*CDCCheckpointPB) ProtoMessage

func (*CDCCheckpointPB) ProtoMessage()

func (*CDCCheckpointPB) ProtoReflect

func (x *CDCCheckpointPB) ProtoReflect() protoreflect.Message

func (*CDCCheckpointPB) Reset

func (x *CDCCheckpointPB) Reset()

func (*CDCCheckpointPB) String

func (x *CDCCheckpointPB) String() string

type CDCCheckpointType added in v2.13.0

type CDCCheckpointType int32
const (
	CDCCheckpointType_IMPLICIT CDCCheckpointType = 1 // Used for 2DC
	CDCCheckpointType_EXPLICIT CDCCheckpointType = 2 // Used for CDC
)

func (CDCCheckpointType) Descriptor added in v2.13.0

func (CDCCheckpointType) Enum added in v2.13.0

func (CDCCheckpointType) EnumDescriptor deprecated added in v2.13.0

func (CDCCheckpointType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCCheckpointType.Descriptor instead.

func (CDCCheckpointType) Number added in v2.13.0

func (CDCCheckpointType) String added in v2.13.0

func (x CDCCheckpointType) String() string

func (CDCCheckpointType) Type added in v2.13.0

func (*CDCCheckpointType) UnmarshalJSON deprecated added in v2.13.0

func (x *CDCCheckpointType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CDCErrorPB

type CDCErrorPB struct {

	// The error code.
	Code *CDCErrorPB_Code `protobuf:"varint,1,opt,name=code,enum=yb.cdc.CDCErrorPB_Code,def=1" json:"code,omitempty"`
	// The Status object for the error. This will include a textual
	// message that may be more useful to present in log messages, etc,
	// though its error code is less specific.
	Status *AppStatusPB `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCErrorPB) Descriptor deprecated

func (*CDCErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCErrorPB.ProtoReflect.Descriptor instead.

func (*CDCErrorPB) GetCode

func (x *CDCErrorPB) GetCode() CDCErrorPB_Code

func (*CDCErrorPB) GetStatus

func (x *CDCErrorPB) GetStatus() *AppStatusPB

func (*CDCErrorPB) ProtoMessage

func (*CDCErrorPB) ProtoMessage()

func (*CDCErrorPB) ProtoReflect

func (x *CDCErrorPB) ProtoReflect() protoreflect.Message

func (*CDCErrorPB) Reset

func (x *CDCErrorPB) Reset()

func (*CDCErrorPB) String

func (x *CDCErrorPB) String() string

type CDCErrorPB_Code

type CDCErrorPB_Code int32
const (
	// An error which has no more specific error code.
	// The code and message in 'status' may reveal more details.
	//
	// RPCs should avoid returning this, since callers will not be
	// able to easily parse the error.
	CDCErrorPB_UNKNOWN_ERROR        CDCErrorPB_Code = 1
	CDCErrorPB_TABLET_NOT_FOUND     CDCErrorPB_Code = 2
	CDCErrorPB_TABLE_NOT_FOUND      CDCErrorPB_Code = 3
	CDCErrorPB_SUBSCRIBER_NOT_FOUND CDCErrorPB_Code = 4
	CDCErrorPB_CHECKPOINT_TOO_OLD   CDCErrorPB_Code = 5
	CDCErrorPB_TABLET_NOT_RUNNING   CDCErrorPB_Code = 6
	CDCErrorPB_NOT_LEADER           CDCErrorPB_Code = 7 // deprecated. use TABLET_NOT_FOUND
	CDCErrorPB_LEADER_NOT_READY     CDCErrorPB_Code = 11
	CDCErrorPB_NOT_RUNNING          CDCErrorPB_Code = 8
	CDCErrorPB_INTERNAL_ERROR       CDCErrorPB_Code = 9
	CDCErrorPB_INVALID_REQUEST      CDCErrorPB_Code = 10
)

func (CDCErrorPB_Code) Descriptor

func (CDCErrorPB_Code) Enum

func (x CDCErrorPB_Code) Enum() *CDCErrorPB_Code

func (CDCErrorPB_Code) EnumDescriptor deprecated

func (CDCErrorPB_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCErrorPB_Code.Descriptor instead.

func (CDCErrorPB_Code) Number

func (CDCErrorPB_Code) String

func (x CDCErrorPB_Code) String() string

func (CDCErrorPB_Code) Type

func (*CDCErrorPB_Code) UnmarshalJSON deprecated

func (x *CDCErrorPB_Code) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CDCKeyValuePairPB

type CDCKeyValuePairPB struct {
	Key   []byte     `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value *QLValuePB `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCKeyValuePairPB) Descriptor deprecated

func (*CDCKeyValuePairPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCKeyValuePairPB.ProtoReflect.Descriptor instead.

func (*CDCKeyValuePairPB) GetKey

func (x *CDCKeyValuePairPB) GetKey() []byte

func (*CDCKeyValuePairPB) GetValue

func (x *CDCKeyValuePairPB) GetValue() *QLValuePB

func (*CDCKeyValuePairPB) ProtoMessage

func (*CDCKeyValuePairPB) ProtoMessage()

func (*CDCKeyValuePairPB) ProtoReflect

func (x *CDCKeyValuePairPB) ProtoReflect() protoreflect.Message

func (*CDCKeyValuePairPB) Reset

func (x *CDCKeyValuePairPB) Reset()

func (*CDCKeyValuePairPB) String

func (x *CDCKeyValuePairPB) String() string

type CDCListTabletsRequestPB

type CDCListTabletsRequestPB struct {
	StreamId *string `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	// local_only = true will only list tablets local to the tserver that receives the request.
	// local_only = false will list  all tablets for the stream.
	LocalOnly *bool `protobuf:"varint,2,opt,name=local_only,json=localOnly,def=0" json:"local_only,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCListTabletsRequestPB) Descriptor deprecated

func (*CDCListTabletsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCListTabletsRequestPB.ProtoReflect.Descriptor instead.

func (*CDCListTabletsRequestPB) GetLocalOnly

func (x *CDCListTabletsRequestPB) GetLocalOnly() bool

func (*CDCListTabletsRequestPB) GetStreamId

func (x *CDCListTabletsRequestPB) GetStreamId() string

func (*CDCListTabletsRequestPB) ProtoMessage

func (*CDCListTabletsRequestPB) ProtoMessage()

func (*CDCListTabletsRequestPB) ProtoReflect

func (x *CDCListTabletsRequestPB) ProtoReflect() protoreflect.Message

func (*CDCListTabletsRequestPB) Reset

func (x *CDCListTabletsRequestPB) Reset()

func (*CDCListTabletsRequestPB) String

func (x *CDCListTabletsRequestPB) String() string

type CDCListTabletsResponsePB

type CDCListTabletsResponsePB struct {
	Error   *CDCErrorPB    `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Tablets []*CDCTabletPB `protobuf:"bytes,2,rep,name=tablets" json:"tablets,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCListTabletsResponsePB) Descriptor deprecated

func (*CDCListTabletsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CDCListTabletsResponsePB.ProtoReflect.Descriptor instead.

func (*CDCListTabletsResponsePB) GetError

func (x *CDCListTabletsResponsePB) GetError() *CDCErrorPB

func (*CDCListTabletsResponsePB) GetTablets

func (x *CDCListTabletsResponsePB) GetTablets() []*CDCTabletPB

func (*CDCListTabletsResponsePB) ProtoMessage

func (*CDCListTabletsResponsePB) ProtoMessage()

func (*CDCListTabletsResponsePB) ProtoReflect

func (x *CDCListTabletsResponsePB) ProtoReflect() protoreflect.Message

func (*CDCListTabletsResponsePB) Reset

func (x *CDCListTabletsResponsePB) Reset()

func (*CDCListTabletsResponsePB) String

func (x *CDCListTabletsResponsePB) String() string

type CDCRecordFormat

type CDCRecordFormat int32
const (
	CDCRecordFormat_JSON  CDCRecordFormat = 1
	CDCRecordFormat_WAL   CDCRecordFormat = 2 // Used for 2DC.
	CDCRecordFormat_PROTO CDCRecordFormat = 3 // Used for CDCSDK in case of Debezium
)

func (CDCRecordFormat) Descriptor

func (CDCRecordFormat) Enum

func (x CDCRecordFormat) Enum() *CDCRecordFormat

func (CDCRecordFormat) EnumDescriptor deprecated

func (CDCRecordFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCRecordFormat.Descriptor instead.

func (CDCRecordFormat) Number

func (CDCRecordFormat) String

func (x CDCRecordFormat) String() string

func (CDCRecordFormat) Type

func (*CDCRecordFormat) UnmarshalJSON deprecated

func (x *CDCRecordFormat) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CDCRecordPB

type CDCRecordPB struct {
	Time      *uint64                    `protobuf:"varint,1,opt,name=time" json:"time,omitempty"`
	Operation *CDCRecordPB_OperationType `protobuf:"varint,2,opt,name=operation,enum=yb.cdc.CDCRecordPB_OperationType" json:"operation,omitempty"`
	// Primary key of the record that changed
	Key []*CDCKeyValuePairPB `protobuf:"bytes,3,rep,name=key" json:"key,omitempty"`
	// Key-value pairs (column_name : value) of changes / before record / after record
	Changes          []*CDCKeyValuePairPB `protobuf:"bytes,4,rep,name=changes" json:"changes,omitempty"`
	Before           []*CDCKeyValuePairPB `protobuf:"bytes,5,rep,name=before" json:"before,omitempty"` // NOT CURRENTLY USED
	After            []*CDCKeyValuePairPB `protobuf:"bytes,6,rep,name=after" json:"after,omitempty"`   // NOT CURRENTLY USED
	TransactionState *TransactionStatePB  `protobuf:"bytes,7,opt,name=transaction_state,json=transactionState" json:"transaction_state,omitempty"`
	// If transaction_state.status is APPLYING, then partitions will contain the partition for the
	// tablet being polled.
	Partition *PartitionPB `protobuf:"bytes,9,opt,name=partition" json:"partition,omitempty"`
	// If operation type is a SPLIT_OP, then include the split request.
	SplitTabletRequest *SplitTabletRequestPB `protobuf:"bytes,10,opt,name=split_tablet_request,json=splitTabletRequest" json:"split_tablet_request,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCRecordPB) Descriptor deprecated

func (*CDCRecordPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCRecordPB.ProtoReflect.Descriptor instead.

func (*CDCRecordPB) GetAfter

func (x *CDCRecordPB) GetAfter() []*CDCKeyValuePairPB

func (*CDCRecordPB) GetBefore

func (x *CDCRecordPB) GetBefore() []*CDCKeyValuePairPB

func (*CDCRecordPB) GetChanges

func (x *CDCRecordPB) GetChanges() []*CDCKeyValuePairPB

func (*CDCRecordPB) GetKey

func (x *CDCRecordPB) GetKey() []*CDCKeyValuePairPB

func (*CDCRecordPB) GetOperation

func (x *CDCRecordPB) GetOperation() CDCRecordPB_OperationType

func (*CDCRecordPB) GetPartition

func (x *CDCRecordPB) GetPartition() *PartitionPB

func (*CDCRecordPB) GetSplitTabletRequest added in v2.13.0

func (x *CDCRecordPB) GetSplitTabletRequest() *SplitTabletRequestPB

func (*CDCRecordPB) GetTime

func (x *CDCRecordPB) GetTime() uint64

func (*CDCRecordPB) GetTransactionState

func (x *CDCRecordPB) GetTransactionState() *TransactionStatePB

func (*CDCRecordPB) ProtoMessage

func (*CDCRecordPB) ProtoMessage()

func (*CDCRecordPB) ProtoReflect

func (x *CDCRecordPB) ProtoReflect() protoreflect.Message

func (*CDCRecordPB) Reset

func (x *CDCRecordPB) Reset()

func (*CDCRecordPB) String

func (x *CDCRecordPB) String() string

type CDCRecordPB_OperationType

type CDCRecordPB_OperationType int32
const (
	CDCRecordPB_WRITE    CDCRecordPB_OperationType = 1
	CDCRecordPB_DELETE   CDCRecordPB_OperationType = 2
	CDCRecordPB_APPLY    CDCRecordPB_OperationType = 3
	CDCRecordPB_SPLIT_OP CDCRecordPB_OperationType = 4
)

func (CDCRecordPB_OperationType) Descriptor

func (CDCRecordPB_OperationType) Enum

func (CDCRecordPB_OperationType) EnumDescriptor deprecated

func (CDCRecordPB_OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCRecordPB_OperationType.Descriptor instead.

func (CDCRecordPB_OperationType) Number

func (CDCRecordPB_OperationType) String

func (x CDCRecordPB_OperationType) String() string

func (CDCRecordPB_OperationType) Type

func (*CDCRecordPB_OperationType) UnmarshalJSON deprecated

func (x *CDCRecordPB_OperationType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CDCRecordType

type CDCRecordType int32
const (
	CDCRecordType_CHANGE CDCRecordType = 1
	CDCRecordType_AFTER  CDCRecordType = 2
	CDCRecordType_ALL    CDCRecordType = 3
)

func (CDCRecordType) Descriptor

func (CDCRecordType) Enum

func (x CDCRecordType) Enum() *CDCRecordType

func (CDCRecordType) EnumDescriptor deprecated

func (CDCRecordType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCRecordType.Descriptor instead.

func (CDCRecordType) Number

func (CDCRecordType) String

func (x CDCRecordType) String() string

func (CDCRecordType) Type

func (*CDCRecordType) UnmarshalJSON deprecated

func (x *CDCRecordType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CDCRequestSource added in v2.13.0

type CDCRequestSource int32
const (
	CDCRequestSource_XCLUSTER CDCRequestSource = 1 // Used for 2DC
	CDCRequestSource_CDCSDK   CDCRequestSource = 2 // Used for CDC
)

func (CDCRequestSource) Descriptor added in v2.13.0

func (CDCRequestSource) Enum added in v2.13.0

func (CDCRequestSource) EnumDescriptor deprecated added in v2.13.0

func (CDCRequestSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use CDCRequestSource.Descriptor instead.

func (CDCRequestSource) Number added in v2.13.0

func (CDCRequestSource) String added in v2.13.0

func (x CDCRequestSource) String() string

func (CDCRequestSource) Type added in v2.13.0

func (*CDCRequestSource) UnmarshalJSON deprecated added in v2.13.0

func (x *CDCRequestSource) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type CDCSDKCheckpointPB added in v2.13.0

type CDCSDKCheckpointPB struct {
	Term  *int64 `protobuf:"varint,1,opt,name=term" json:"term,omitempty"`
	Index *int64 `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
	// write_id, key which is the reverse_index_iterator are used to resume from partially
	// streamed intents when the number of intents to be streamed are more than the intent max batch
	// size
	Key     []byte `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"`
	WriteId *int32 `protobuf:"varint,4,opt,name=write_id,json=writeId,def=0" json:"write_id,omitempty"`
	// snapshot_time is used in the context of bootstrap process
	SnapshotTime *uint64 `protobuf:"varint,5,opt,name=snapshot_time,json=snapshotTime" json:"snapshot_time,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCSDKCheckpointPB) Descriptor deprecated added in v2.13.0

func (*CDCSDKCheckpointPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCSDKCheckpointPB.ProtoReflect.Descriptor instead.

func (*CDCSDKCheckpointPB) GetIndex added in v2.13.0

func (x *CDCSDKCheckpointPB) GetIndex() int64

func (*CDCSDKCheckpointPB) GetKey added in v2.13.0

func (x *CDCSDKCheckpointPB) GetKey() []byte

func (*CDCSDKCheckpointPB) GetSnapshotTime added in v2.13.0

func (x *CDCSDKCheckpointPB) GetSnapshotTime() uint64

func (*CDCSDKCheckpointPB) GetTerm added in v2.13.0

func (x *CDCSDKCheckpointPB) GetTerm() int64

func (*CDCSDKCheckpointPB) GetWriteId added in v2.13.0

func (x *CDCSDKCheckpointPB) GetWriteId() int32

func (*CDCSDKCheckpointPB) ProtoMessage added in v2.13.0

func (*CDCSDKCheckpointPB) ProtoMessage()

func (*CDCSDKCheckpointPB) ProtoReflect added in v2.13.0

func (x *CDCSDKCheckpointPB) ProtoReflect() protoreflect.Message

func (*CDCSDKCheckpointPB) Reset added in v2.13.0

func (x *CDCSDKCheckpointPB) Reset()

func (*CDCSDKCheckpointPB) String added in v2.13.0

func (x *CDCSDKCheckpointPB) String() string

type CDCSDKColumnInfoPB added in v2.13.0

type CDCSDKColumnInfoPB struct {
	Name       *string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Type       *QLTypePB `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	IsKey      *bool     `protobuf:"varint,3,opt,name=is_key,json=isKey,def=0" json:"is_key,omitempty"`
	IsHashKey  *bool     `protobuf:"varint,4,opt,name=is_hash_key,json=isHashKey,def=0" json:"is_hash_key,omitempty"`
	IsNullable *bool     `protobuf:"varint,5,opt,name=is_nullable,json=isNullable,def=0" json:"is_nullable,omitempty"`
	Oid        *int32    `protobuf:"varint,6,opt,name=oid,def=0" json:"oid,omitempty"`
	// contains filtered or unexported fields
}

CDCSDK: Column information used in case of DDL, as part of schema info

func (*CDCSDKColumnInfoPB) Descriptor deprecated added in v2.13.0

func (*CDCSDKColumnInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCSDKColumnInfoPB.ProtoReflect.Descriptor instead.

func (*CDCSDKColumnInfoPB) GetIsHashKey added in v2.13.0

func (x *CDCSDKColumnInfoPB) GetIsHashKey() bool

func (*CDCSDKColumnInfoPB) GetIsKey added in v2.13.0

func (x *CDCSDKColumnInfoPB) GetIsKey() bool

func (*CDCSDKColumnInfoPB) GetIsNullable added in v2.13.0

func (x *CDCSDKColumnInfoPB) GetIsNullable() bool

func (*CDCSDKColumnInfoPB) GetName added in v2.13.0

func (x *CDCSDKColumnInfoPB) GetName() string

func (*CDCSDKColumnInfoPB) GetOid added in v2.13.0

func (x *CDCSDKColumnInfoPB) GetOid() int32

func (*CDCSDKColumnInfoPB) GetType added in v2.13.0

func (x *CDCSDKColumnInfoPB) GetType() *QLTypePB

func (*CDCSDKColumnInfoPB) ProtoMessage added in v2.13.0

func (*CDCSDKColumnInfoPB) ProtoMessage()

func (*CDCSDKColumnInfoPB) ProtoReflect added in v2.13.0

func (x *CDCSDKColumnInfoPB) ProtoReflect() protoreflect.Message

func (*CDCSDKColumnInfoPB) Reset added in v2.13.0

func (x *CDCSDKColumnInfoPB) Reset()

func (*CDCSDKColumnInfoPB) String added in v2.13.0

func (x *CDCSDKColumnInfoPB) String() string

type CDCSDKOpIdPB added in v2.13.0

type CDCSDKOpIdPB struct {

	// The term of an operation or the leader's sequence id.
	Term       *int64  `protobuf:"varint,1,opt,name=term" json:"term,omitempty"`
	Index      *int64  `protobuf:"varint,2,opt,name=index" json:"index,omitempty"`
	WriteId    *uint32 `protobuf:"varint,3,opt,name=write_id,json=writeId,def=0" json:"write_id,omitempty"`
	WriteIdKey []byte  `protobuf:"bytes,4,opt,name=write_id_key,json=writeIdKey,def=" json:"write_id_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCSDKOpIdPB) Descriptor deprecated added in v2.13.0

func (*CDCSDKOpIdPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCSDKOpIdPB.ProtoReflect.Descriptor instead.

func (*CDCSDKOpIdPB) GetIndex added in v2.13.0

func (x *CDCSDKOpIdPB) GetIndex() int64

func (*CDCSDKOpIdPB) GetTerm added in v2.13.0

func (x *CDCSDKOpIdPB) GetTerm() int64

func (*CDCSDKOpIdPB) GetWriteId added in v2.13.0

func (x *CDCSDKOpIdPB) GetWriteId() uint32

func (*CDCSDKOpIdPB) GetWriteIdKey added in v2.13.0

func (x *CDCSDKOpIdPB) GetWriteIdKey() []byte

func (*CDCSDKOpIdPB) ProtoMessage added in v2.13.0

func (*CDCSDKOpIdPB) ProtoMessage()

func (*CDCSDKOpIdPB) ProtoReflect added in v2.13.0

func (x *CDCSDKOpIdPB) ProtoReflect() protoreflect.Message

func (*CDCSDKOpIdPB) Reset added in v2.13.0

func (x *CDCSDKOpIdPB) Reset()

func (*CDCSDKOpIdPB) String added in v2.13.0

func (x *CDCSDKOpIdPB) String() string

type CDCSDKProtoRecordPB added in v2.13.0

type CDCSDKProtoRecordPB struct {
	RowMessage *RowMessage `protobuf:"bytes,1,opt,name=row_message,json=rowMessage" json:"row_message,omitempty"`
	// Op id information to identify duplicate entries
	CdcSdkOpId *CDCSDKOpIdPB `protobuf:"bytes,2,opt,name=cdc_sdk_op_id,json=cdcSdkOpId" json:"cdc_sdk_op_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCSDKProtoRecordPB) Descriptor deprecated added in v2.13.0

func (*CDCSDKProtoRecordPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCSDKProtoRecordPB.ProtoReflect.Descriptor instead.

func (*CDCSDKProtoRecordPB) GetCdcSdkOpId added in v2.13.0

func (x *CDCSDKProtoRecordPB) GetCdcSdkOpId() *CDCSDKOpIdPB

func (*CDCSDKProtoRecordPB) GetRowMessage added in v2.13.0

func (x *CDCSDKProtoRecordPB) GetRowMessage() *RowMessage

func (*CDCSDKProtoRecordPB) ProtoMessage added in v2.13.0

func (*CDCSDKProtoRecordPB) ProtoMessage()

func (*CDCSDKProtoRecordPB) ProtoReflect added in v2.13.0

func (x *CDCSDKProtoRecordPB) ProtoReflect() protoreflect.Message

func (*CDCSDKProtoRecordPB) Reset added in v2.13.0

func (x *CDCSDKProtoRecordPB) Reset()

func (*CDCSDKProtoRecordPB) String added in v2.13.0

func (x *CDCSDKProtoRecordPB) String() string

type CDCSDKSchemaPB added in v2.13.0

type CDCSDKSchemaPB struct {

	// List of columns with associated column properties
	ColumnInfo []*CDCSDKColumnInfoPB `protobuf:"bytes,1,rep,name=column_info,json=columnInfo" json:"column_info,omitempty"`
	// Table properties
	TabInfo *CDCSDKTablePropertiesPB `protobuf:"bytes,2,opt,name=tab_info,json=tabInfo" json:"tab_info,omitempty"`
	// contains filtered or unexported fields
}

CDCSDK: Schema information

func (*CDCSDKSchemaPB) Descriptor deprecated added in v2.13.0

func (*CDCSDKSchemaPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCSDKSchemaPB.ProtoReflect.Descriptor instead.

func (*CDCSDKSchemaPB) GetColumnInfo added in v2.13.0

func (x *CDCSDKSchemaPB) GetColumnInfo() []*CDCSDKColumnInfoPB

func (*CDCSDKSchemaPB) GetTabInfo added in v2.13.0

func (x *CDCSDKSchemaPB) GetTabInfo() *CDCSDKTablePropertiesPB

func (*CDCSDKSchemaPB) ProtoMessage added in v2.13.0

func (*CDCSDKSchemaPB) ProtoMessage()

func (*CDCSDKSchemaPB) ProtoReflect added in v2.13.0

func (x *CDCSDKSchemaPB) ProtoReflect() protoreflect.Message

func (*CDCSDKSchemaPB) Reset added in v2.13.0

func (x *CDCSDKSchemaPB) Reset()

func (*CDCSDKSchemaPB) String added in v2.13.0

func (x *CDCSDKSchemaPB) String() string

type CDCSDKTablePropertiesPB added in v2.13.0

type CDCSDKTablePropertiesPB struct {
	DefaultTimeToLive  *uint64 `protobuf:"varint,1,opt,name=default_time_to_live,json=defaultTimeToLive" json:"default_time_to_live,omitempty"`
	NumTablets         *int32  `protobuf:"varint,2,opt,name=num_tablets,json=numTablets,def=0" json:"num_tablets,omitempty"`
	IsYsqlCatalogTable *bool   `protobuf:"varint,3,opt,name=is_ysql_catalog_table,json=isYsqlCatalogTable,def=0" json:"is_ysql_catalog_table,omitempty"`
	// contains filtered or unexported fields
}

CDCSDK: Table properties used in case of DDL, as part of schema info

func (*CDCSDKTablePropertiesPB) Descriptor deprecated added in v2.13.0

func (*CDCSDKTablePropertiesPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCSDKTablePropertiesPB.ProtoReflect.Descriptor instead.

func (*CDCSDKTablePropertiesPB) GetDefaultTimeToLive added in v2.13.0

func (x *CDCSDKTablePropertiesPB) GetDefaultTimeToLive() uint64

func (*CDCSDKTablePropertiesPB) GetIsYsqlCatalogTable added in v2.13.0

func (x *CDCSDKTablePropertiesPB) GetIsYsqlCatalogTable() bool

func (*CDCSDKTablePropertiesPB) GetNumTablets added in v2.13.0

func (x *CDCSDKTablePropertiesPB) GetNumTablets() int32

func (*CDCSDKTablePropertiesPB) ProtoMessage added in v2.13.0

func (*CDCSDKTablePropertiesPB) ProtoMessage()

func (*CDCSDKTablePropertiesPB) ProtoReflect added in v2.13.0

func (x *CDCSDKTablePropertiesPB) ProtoReflect() protoreflect.Message

func (*CDCSDKTablePropertiesPB) Reset added in v2.13.0

func (x *CDCSDKTablePropertiesPB) Reset()

func (*CDCSDKTablePropertiesPB) String added in v2.13.0

func (x *CDCSDKTablePropertiesPB) String() string

type CDCServiceClient

CDCServiceClient is the client API for CDCService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCDCServiceClient

func NewCDCServiceClient(cc grpc.ClientConnInterface) CDCServiceClient

type CDCServiceServer

CDCServiceServer is the server API for CDCService service. All implementations should embed UnimplementedCDCServiceServer for forward compatibility

type CDCStreamInfoPB

type CDCStreamInfoPB struct {
	StreamId    []byte                `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	TableId     [][]byte              `protobuf:"bytes,2,rep,name=table_id,json=tableId" json:"table_id,omitempty"`
	Options     []*CDCStreamOptionsPB `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
	NamespaceId []byte                `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCStreamInfoPB) Descriptor deprecated

func (*CDCStreamInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCStreamInfoPB.ProtoReflect.Descriptor instead.

func (*CDCStreamInfoPB) GetNamespaceId added in v2.13.0

func (x *CDCStreamInfoPB) GetNamespaceId() []byte

func (*CDCStreamInfoPB) GetOptions

func (x *CDCStreamInfoPB) GetOptions() []*CDCStreamOptionsPB

func (*CDCStreamInfoPB) GetStreamId

func (x *CDCStreamInfoPB) GetStreamId() []byte

func (*CDCStreamInfoPB) GetTableId

func (x *CDCStreamInfoPB) GetTableId() [][]byte

func (*CDCStreamInfoPB) ProtoMessage

func (*CDCStreamInfoPB) ProtoMessage()

func (*CDCStreamInfoPB) ProtoReflect

func (x *CDCStreamInfoPB) ProtoReflect() protoreflect.Message

func (*CDCStreamInfoPB) Reset

func (x *CDCStreamInfoPB) Reset()

func (*CDCStreamInfoPB) String

func (x *CDCStreamInfoPB) String() string

type CDCStreamOptionsPB

type CDCStreamOptionsPB struct {
	Key   *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value []byte  `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Options for CDC stream. This will include details such as: Stream sink: YB Universe / Kafka / Elastic Search. Log retention time: Amount of time to retain logs for CDC. Sink details: For example, Kafka cluster IP, port.

func (*CDCStreamOptionsPB) Descriptor deprecated

func (*CDCStreamOptionsPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCStreamOptionsPB.ProtoReflect.Descriptor instead.

func (*CDCStreamOptionsPB) GetKey

func (x *CDCStreamOptionsPB) GetKey() string

func (*CDCStreamOptionsPB) GetValue

func (x *CDCStreamOptionsPB) GetValue() []byte

func (*CDCStreamOptionsPB) ProtoMessage

func (*CDCStreamOptionsPB) ProtoMessage()

func (*CDCStreamOptionsPB) ProtoReflect

func (x *CDCStreamOptionsPB) ProtoReflect() protoreflect.Message

func (*CDCStreamOptionsPB) Reset

func (x *CDCStreamOptionsPB) Reset()

func (*CDCStreamOptionsPB) String

func (x *CDCStreamOptionsPB) String() string

type CDCTabletPB

type CDCTabletPB struct {
	TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Tservers holding data for the tablet.
	Tservers []*CDCTabletPB_ReplicaPB `protobuf:"bytes,2,rep,name=tservers" json:"tservers,omitempty"`
	// contains filtered or unexported fields
}

func (*CDCTabletPB) Descriptor deprecated

func (*CDCTabletPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCTabletPB.ProtoReflect.Descriptor instead.

func (*CDCTabletPB) GetTabletId

func (x *CDCTabletPB) GetTabletId() []byte

func (*CDCTabletPB) GetTservers

func (x *CDCTabletPB) GetTservers() []*CDCTabletPB_ReplicaPB

func (*CDCTabletPB) ProtoMessage

func (*CDCTabletPB) ProtoMessage()

func (*CDCTabletPB) ProtoReflect

func (x *CDCTabletPB) ProtoReflect() protoreflect.Message

func (*CDCTabletPB) Reset

func (x *CDCTabletPB) Reset()

func (*CDCTabletPB) String

func (x *CDCTabletPB) String() string

type CDCTabletPB_ReplicaPB

type CDCTabletPB_ReplicaPB struct {
	BroadcastAddresses []*HostPortPB `protobuf:"bytes,1,rep,name=broadcast_addresses,json=broadcastAddresses" json:"broadcast_addresses,omitempty"` // Don't use private_rpc_addresses since we're cross-universe
	// contains filtered or unexported fields
}

func (*CDCTabletPB_ReplicaPB) Descriptor deprecated

func (*CDCTabletPB_ReplicaPB) Descriptor() ([]byte, []int)

Deprecated: Use CDCTabletPB_ReplicaPB.ProtoReflect.Descriptor instead.

func (*CDCTabletPB_ReplicaPB) GetBroadcastAddresses

func (x *CDCTabletPB_ReplicaPB) GetBroadcastAddresses() []*HostPortPB

func (*CDCTabletPB_ReplicaPB) ProtoMessage

func (*CDCTabletPB_ReplicaPB) ProtoMessage()

func (*CDCTabletPB_ReplicaPB) ProtoReflect

func (x *CDCTabletPB_ReplicaPB) ProtoReflect() protoreflect.Message

func (*CDCTabletPB_ReplicaPB) Reset

func (x *CDCTabletPB_ReplicaPB) Reset()

func (*CDCTabletPB_ReplicaPB) String

func (x *CDCTabletPB_ReplicaPB) String() string

type CQLCallDetailsPB

type CQLCallDetailsPB struct {
	Type        *string                   `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	CallDetails []*CQLStatementsDetailsPB `protobuf:"bytes,2,rep,name=call_details,json=callDetails" json:"call_details,omitempty"`
	// contains filtered or unexported fields
}

func (*CQLCallDetailsPB) Descriptor deprecated

func (*CQLCallDetailsPB) Descriptor() ([]byte, []int)

Deprecated: Use CQLCallDetailsPB.ProtoReflect.Descriptor instead.

func (*CQLCallDetailsPB) GetCallDetails

func (x *CQLCallDetailsPB) GetCallDetails() []*CQLStatementsDetailsPB

func (*CQLCallDetailsPB) GetType

func (x *CQLCallDetailsPB) GetType() string

func (*CQLCallDetailsPB) ProtoMessage

func (*CQLCallDetailsPB) ProtoMessage()

func (*CQLCallDetailsPB) ProtoReflect

func (x *CQLCallDetailsPB) ProtoReflect() protoreflect.Message

func (*CQLCallDetailsPB) Reset

func (x *CQLCallDetailsPB) Reset()

func (*CQLCallDetailsPB) String

func (x *CQLCallDetailsPB) String() string

type CQLConnectionDetailsPB

type CQLConnectionDetailsPB struct {
	Keyspace *string `protobuf:"bytes,1,opt,name=keyspace" json:"keyspace,omitempty"`
	// contains filtered or unexported fields
}

func (*CQLConnectionDetailsPB) Descriptor deprecated

func (*CQLConnectionDetailsPB) Descriptor() ([]byte, []int)

Deprecated: Use CQLConnectionDetailsPB.ProtoReflect.Descriptor instead.

func (*CQLConnectionDetailsPB) GetKeyspace

func (x *CQLConnectionDetailsPB) GetKeyspace() string

func (*CQLConnectionDetailsPB) ProtoMessage

func (*CQLConnectionDetailsPB) ProtoMessage()

func (*CQLConnectionDetailsPB) ProtoReflect

func (x *CQLConnectionDetailsPB) ProtoReflect() protoreflect.Message

func (*CQLConnectionDetailsPB) Reset

func (x *CQLConnectionDetailsPB) Reset()

func (*CQLConnectionDetailsPB) String

func (x *CQLConnectionDetailsPB) String() string

type CQLStatementsDetailsPB

type CQLStatementsDetailsPB struct {
	SqlId     *string `protobuf:"bytes,1,opt,name=sql_id,json=sqlId" json:"sql_id,omitempty"`
	SqlString *string `protobuf:"bytes,2,opt,name=sql_string,json=sqlString" json:"sql_string,omitempty"`
	Params    *string `protobuf:"bytes,3,opt,name=params" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*CQLStatementsDetailsPB) Descriptor deprecated

func (*CQLStatementsDetailsPB) Descriptor() ([]byte, []int)

Deprecated: Use CQLStatementsDetailsPB.ProtoReflect.Descriptor instead.

func (*CQLStatementsDetailsPB) GetParams added in v2.11.0

func (x *CQLStatementsDetailsPB) GetParams() string

func (*CQLStatementsDetailsPB) GetSqlId

func (x *CQLStatementsDetailsPB) GetSqlId() string

func (*CQLStatementsDetailsPB) GetSqlString

func (x *CQLStatementsDetailsPB) GetSqlString() string

func (*CQLStatementsDetailsPB) ProtoMessage

func (*CQLStatementsDetailsPB) ProtoMessage()

func (*CQLStatementsDetailsPB) ProtoReflect

func (x *CQLStatementsDetailsPB) ProtoReflect() protoreflect.Message

func (*CQLStatementsDetailsPB) Reset

func (x *CQLStatementsDetailsPB) Reset()

func (*CQLStatementsDetailsPB) String

func (x *CQLStatementsDetailsPB) String() string

type CalculatorError

type CalculatorError struct {
	ExtraErrorData *string `protobuf:"bytes,1,req,name=extra_error_data,json=extraErrorData" json:"extra_error_data,omitempty"`
	// contains filtered or unexported fields
}

func (*CalculatorError) Descriptor deprecated

func (*CalculatorError) Descriptor() ([]byte, []int)

Deprecated: Use CalculatorError.ProtoReflect.Descriptor instead.

func (*CalculatorError) GetExtraErrorData

func (x *CalculatorError) GetExtraErrorData() string

func (*CalculatorError) ProtoMessage

func (*CalculatorError) ProtoMessage()

func (*CalculatorError) ProtoReflect

func (x *CalculatorError) ProtoReflect() protoreflect.Message

func (*CalculatorError) Reset

func (x *CalculatorError) Reset()

func (*CalculatorError) String

func (x *CalculatorError) String() string

type CalculatorServiceClient

CalculatorServiceClient is the client API for CalculatorService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CalculatorServiceServer

CalculatorServiceServer is the server API for CalculatorService service. All implementations should embed UnimplementedCalculatorServiceServer for forward compatibility

type ChangeConfigRecordPB

type ChangeConfigRecordPB struct {
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// The old committed configuration config for verification purposes.
	OldConfig *RaftConfigPB `protobuf:"bytes,2,req,name=old_config,json=oldConfig" json:"old_config,omitempty"`
	// The new configuration to set the configuration to.
	NewConfig *RaftConfigPB `protobuf:"bytes,3,req,name=new_config,json=newConfig" json:"new_config,omitempty"`
	// contains filtered or unexported fields
}

A configuration change request for the tablet with 'tablet_id'. This message is dynamically generated by the leader when AddServer() or RemoveServer() is called, and is what gets replicated to the log.

func (*ChangeConfigRecordPB) Descriptor deprecated

func (*ChangeConfigRecordPB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeConfigRecordPB.ProtoReflect.Descriptor instead.

func (*ChangeConfigRecordPB) GetNewConfig

func (x *ChangeConfigRecordPB) GetNewConfig() *RaftConfigPB

func (*ChangeConfigRecordPB) GetOldConfig

func (x *ChangeConfigRecordPB) GetOldConfig() *RaftConfigPB

func (*ChangeConfigRecordPB) GetTabletId

func (x *ChangeConfigRecordPB) GetTabletId() []byte

func (*ChangeConfigRecordPB) ProtoMessage

func (*ChangeConfigRecordPB) ProtoMessage()

func (*ChangeConfigRecordPB) ProtoReflect

func (x *ChangeConfigRecordPB) ProtoReflect() protoreflect.Message

func (*ChangeConfigRecordPB) Reset

func (x *ChangeConfigRecordPB) Reset()

func (*ChangeConfigRecordPB) String

func (x *ChangeConfigRecordPB) String() string

type ChangeConfigRequestPB

type ChangeConfigRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,4,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// The type of config change requested.
	// This field must be specified, but is left as optional due to being an enum.
	Type *ChangeConfigType `protobuf:"varint,2,opt,name=type,enum=yb.consensus.ChangeConfigType" json:"type,omitempty"`
	// The peer to add or remove.
	// When 'type' == ADD_SERVER, both the permanent_uuid and last_known_addr
	// fields must be set. For REMOVE_SERVER, either the permanent_uuid field or
	// last_known_addr should be set - 'use_host' is for using the latter.
	Server *RaftPeerPB `protobuf:"bytes,3,opt,name=server" json:"server,omitempty"`
	// The OpId index of the committed config to replace.
	// This optional parameter is here to provide an atomic (compare-and-swap)
	// ChangeConfig operation. The ChangeConfig() operation will fail if this
	// parameter is specified and the committed config does not have a matching
	// opid_index. See also the definition of RaftConfigPB.
	CasConfigOpidIndex *int64 `protobuf:"varint,5,opt,name=cas_config_opid_index,json=casConfigOpidIndex" json:"cas_config_opid_index,omitempty"`
	// For REMOVE case, when this is set, we assume that the peer is dead and will not
	// affect the quorum anymore. So we skip checking/using its server uuid and remove
	// it based on the ip/port info from 'server'.
	UseHost *bool `protobuf:"varint,6,opt,name=use_host,json=useHost,def=0" json:"use_host,omitempty"`
	// contains filtered or unexported fields
}

A configuration change request for the tablet with 'tablet_id'. These requests are restricted to one-by-one operations, as specified in Diego Ongaro's Raft PhD thesis. This is the RPC request, but it does not end up in the log. See also ChangeConfigRecordPB.

func (*ChangeConfigRequestPB) Descriptor deprecated

func (*ChangeConfigRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeConfigRequestPB.ProtoReflect.Descriptor instead.

func (*ChangeConfigRequestPB) GetCasConfigOpidIndex

func (x *ChangeConfigRequestPB) GetCasConfigOpidIndex() int64

func (*ChangeConfigRequestPB) GetDestUuid

func (x *ChangeConfigRequestPB) GetDestUuid() []byte

func (*ChangeConfigRequestPB) GetServer

func (x *ChangeConfigRequestPB) GetServer() *RaftPeerPB

func (*ChangeConfigRequestPB) GetTabletId

func (x *ChangeConfigRequestPB) GetTabletId() []byte

func (*ChangeConfigRequestPB) GetType

func (*ChangeConfigRequestPB) GetUseHost

func (x *ChangeConfigRequestPB) GetUseHost() bool

func (*ChangeConfigRequestPB) ProtoMessage

func (*ChangeConfigRequestPB) ProtoMessage()

func (*ChangeConfigRequestPB) ProtoReflect

func (x *ChangeConfigRequestPB) ProtoReflect() protoreflect.Message

func (*ChangeConfigRequestPB) Reset

func (x *ChangeConfigRequestPB) Reset()

func (*ChangeConfigRequestPB) String

func (x *ChangeConfigRequestPB) String() string

type ChangeConfigResponsePB

type ChangeConfigResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// The hybrid_time chosen by the server for this change config operation.
	// TODO: At the time of writing, this field is never set in the response.
	// TODO: Propagate signed hybrid_times. See KUDU-611.
	HybridTime *uint64 `protobuf:"fixed64,2,opt,name=hybrid_time,json=hybridTime" json:"hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

The configuration change response. If any immediate error occurred the 'error' field is set with it.

func (*ChangeConfigResponsePB) Descriptor deprecated

func (*ChangeConfigResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeConfigResponsePB.ProtoReflect.Descriptor instead.

func (*ChangeConfigResponsePB) GetError

func (*ChangeConfigResponsePB) GetHybridTime

func (x *ChangeConfigResponsePB) GetHybridTime() uint64

func (*ChangeConfigResponsePB) ProtoMessage

func (*ChangeConfigResponsePB) ProtoMessage()

func (*ChangeConfigResponsePB) ProtoReflect

func (x *ChangeConfigResponsePB) ProtoReflect() protoreflect.Message

func (*ChangeConfigResponsePB) Reset

func (x *ChangeConfigResponsePB) Reset()

func (*ChangeConfigResponsePB) String

func (x *ChangeConfigResponsePB) String() string

type ChangeConfigType

type ChangeConfigType int32
const (
	ChangeConfigType_UNKNOWN_CHANGE ChangeConfigType = 0
	ChangeConfigType_ADD_SERVER     ChangeConfigType = 1
	ChangeConfigType_REMOVE_SERVER  ChangeConfigType = 2
	ChangeConfigType_CHANGE_ROLE    ChangeConfigType = 3
)

func (ChangeConfigType) Descriptor

func (ChangeConfigType) Enum

func (ChangeConfigType) EnumDescriptor deprecated

func (ChangeConfigType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ChangeConfigType.Descriptor instead.

func (ChangeConfigType) Number

func (ChangeConfigType) String

func (x ChangeConfigType) String() string

func (ChangeConfigType) Type

func (*ChangeConfigType) UnmarshalJSON deprecated

func (x *ChangeConfigType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ChangeEncryptionInfoRequestPB

type ChangeEncryptionInfoRequestPB struct {
	EncryptionEnabled *bool   `protobuf:"varint,1,opt,name=encryption_enabled,json=encryptionEnabled" json:"encryption_enabled,omitempty"`
	KeyPath           *string `protobuf:"bytes,2,opt,name=key_path,json=keyPath" json:"key_path,omitempty"`
	VersionId         *string `protobuf:"bytes,3,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
	InMemory          *bool   `protobuf:"varint,4,opt,name=in_memory,json=inMemory" json:"in_memory,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeEncryptionInfoRequestPB) Descriptor deprecated

func (*ChangeEncryptionInfoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeEncryptionInfoRequestPB.ProtoReflect.Descriptor instead.

func (*ChangeEncryptionInfoRequestPB) GetEncryptionEnabled

func (x *ChangeEncryptionInfoRequestPB) GetEncryptionEnabled() bool

func (*ChangeEncryptionInfoRequestPB) GetInMemory

func (x *ChangeEncryptionInfoRequestPB) GetInMemory() bool

func (*ChangeEncryptionInfoRequestPB) GetKeyPath

func (x *ChangeEncryptionInfoRequestPB) GetKeyPath() string

func (*ChangeEncryptionInfoRequestPB) GetVersionId

func (x *ChangeEncryptionInfoRequestPB) GetVersionId() string

func (*ChangeEncryptionInfoRequestPB) ProtoMessage

func (*ChangeEncryptionInfoRequestPB) ProtoMessage()

func (*ChangeEncryptionInfoRequestPB) ProtoReflect

func (*ChangeEncryptionInfoRequestPB) Reset

func (x *ChangeEncryptionInfoRequestPB) Reset()

func (*ChangeEncryptionInfoRequestPB) String

type ChangeEncryptionInfoResponsePB

type ChangeEncryptionInfoResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeEncryptionInfoResponsePB) Descriptor deprecated

func (*ChangeEncryptionInfoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeEncryptionInfoResponsePB.ProtoReflect.Descriptor instead.

func (*ChangeEncryptionInfoResponsePB) GetError

func (*ChangeEncryptionInfoResponsePB) ProtoMessage

func (*ChangeEncryptionInfoResponsePB) ProtoMessage()

func (*ChangeEncryptionInfoResponsePB) ProtoReflect

func (*ChangeEncryptionInfoResponsePB) Reset

func (x *ChangeEncryptionInfoResponsePB) Reset()

func (*ChangeEncryptionInfoResponsePB) String

type ChangeLoadBalancerStateRequestPB

type ChangeLoadBalancerStateRequestPB struct {
	IsEnabled *bool `protobuf:"varint,1,opt,name=is_enabled,json=isEnabled" json:"is_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeLoadBalancerStateRequestPB) Descriptor deprecated

func (*ChangeLoadBalancerStateRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeLoadBalancerStateRequestPB.ProtoReflect.Descriptor instead.

func (*ChangeLoadBalancerStateRequestPB) GetIsEnabled

func (x *ChangeLoadBalancerStateRequestPB) GetIsEnabled() bool

func (*ChangeLoadBalancerStateRequestPB) ProtoMessage

func (*ChangeLoadBalancerStateRequestPB) ProtoMessage()

func (*ChangeLoadBalancerStateRequestPB) ProtoReflect

func (*ChangeLoadBalancerStateRequestPB) Reset

func (*ChangeLoadBalancerStateRequestPB) String

type ChangeLoadBalancerStateResponsePB

type ChangeLoadBalancerStateResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeLoadBalancerStateResponsePB) Descriptor deprecated

func (*ChangeLoadBalancerStateResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeLoadBalancerStateResponsePB.ProtoReflect.Descriptor instead.

func (*ChangeLoadBalancerStateResponsePB) GetError

func (*ChangeLoadBalancerStateResponsePB) ProtoMessage

func (*ChangeLoadBalancerStateResponsePB) ProtoMessage()

func (*ChangeLoadBalancerStateResponsePB) ProtoReflect

func (*ChangeLoadBalancerStateResponsePB) Reset

func (*ChangeLoadBalancerStateResponsePB) String

type ChangeMasterClusterConfigRequestPB

type ChangeMasterClusterConfigRequestPB struct {
	ClusterConfig *SysClusterConfigEntryPB `protobuf:"bytes,1,opt,name=cluster_config,json=clusterConfig" json:"cluster_config,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeMasterClusterConfigRequestPB) Descriptor deprecated

func (*ChangeMasterClusterConfigRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeMasterClusterConfigRequestPB.ProtoReflect.Descriptor instead.

func (*ChangeMasterClusterConfigRequestPB) GetClusterConfig

func (*ChangeMasterClusterConfigRequestPB) ProtoMessage

func (*ChangeMasterClusterConfigRequestPB) ProtoMessage()

func (*ChangeMasterClusterConfigRequestPB) ProtoReflect

func (*ChangeMasterClusterConfigRequestPB) Reset

func (*ChangeMasterClusterConfigRequestPB) String

type ChangeMasterClusterConfigResponsePB

type ChangeMasterClusterConfigResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeMasterClusterConfigResponsePB) Descriptor deprecated

func (*ChangeMasterClusterConfigResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeMasterClusterConfigResponsePB.ProtoReflect.Descriptor instead.

func (*ChangeMasterClusterConfigResponsePB) GetError

func (*ChangeMasterClusterConfigResponsePB) ProtoMessage

func (*ChangeMasterClusterConfigResponsePB) ProtoMessage()

func (*ChangeMasterClusterConfigResponsePB) ProtoReflect

func (*ChangeMasterClusterConfigResponsePB) Reset

func (*ChangeMasterClusterConfigResponsePB) String

type ChangeMetadataRequestPB

type ChangeMetadataRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,5,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// TODO: Replace with the table descriptor
	// (Schema, Column IDs, Column Attributes)
	Schema               *SchemaPB      `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"`
	Indexes              []*IndexInfoPB `protobuf:"bytes,7,rep,name=indexes" json:"indexes,omitempty"`
	SchemaVersion        *uint32        `protobuf:"varint,3,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	NewTableName         *string        `protobuf:"bytes,4,opt,name=new_table_name,json=newTableName" json:"new_table_name,omitempty"`
	PropagatedHybridTime *uint64        `protobuf:"fixed64,6,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	AddTable             *TableInfoPB   `protobuf:"bytes,8,opt,name=add_table,json=addTable" json:"add_table,omitempty"`
	WalRetentionSecs     *uint32        `protobuf:"varint,9,opt,name=wal_retention_secs,json=walRetentionSecs" json:"wal_retention_secs,omitempty"`
	RemoveTableId        []byte         `protobuf:"bytes,10,opt,name=remove_table_id,json=removeTableId" json:"remove_table_id,omitempty"`
	// Note that we don't use the value of this and just check has_mark_backfill_done.
	MarkBackfillDone *bool `protobuf:"varint,11,opt,name=mark_backfill_done,json=markBackfillDone" json:"mark_backfill_done,omitempty"`
	// Used for alter schema on a non-primary table (e.g. colocated user table).
	AlterTableId []byte `protobuf:"bytes,12,opt,name=alter_table_id,json=alterTableId" json:"alter_table_id,omitempty"`
	// Used to update schema of a colocated user table upon backfill completion.
	BackfillDoneTableId []byte `protobuf:"bytes,13,opt,name=backfill_done_table_id,json=backfillDoneTableId" json:"backfill_done_table_id,omitempty"`
	// Transactions will be aborted except the one with this id which triggered the AlterTable.
	TransactionId []byte `protobuf:"bytes,14,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"` // 16 byte uuid
	// Used for AlterTable to determine if active transactions on the tablet needs to be aborted.
	ShouldAbortActiveTxns *bool `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ChangeMetadataRequestPB) Descriptor deprecated

func (*ChangeMetadataRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeMetadataRequestPB.ProtoReflect.Descriptor instead.

func (*ChangeMetadataRequestPB) GetAddTable

func (x *ChangeMetadataRequestPB) GetAddTable() *TableInfoPB

func (*ChangeMetadataRequestPB) GetAlterTableId

func (x *ChangeMetadataRequestPB) GetAlterTableId() []byte

func (*ChangeMetadataRequestPB) GetBackfillDoneTableId

func (x *ChangeMetadataRequestPB) GetBackfillDoneTableId() []byte

func (*ChangeMetadataRequestPB) GetDestUuid

func (x *ChangeMetadataRequestPB) GetDestUuid() []byte

func (*ChangeMetadataRequestPB) GetIndexes

func (x *ChangeMetadataRequestPB) GetIndexes() []*IndexInfoPB

func (*ChangeMetadataRequestPB) GetMarkBackfillDone

func (x *ChangeMetadataRequestPB) GetMarkBackfillDone() bool

func (*ChangeMetadataRequestPB) GetNewTableName

func (x *ChangeMetadataRequestPB) GetNewTableName() string

func (*ChangeMetadataRequestPB) GetPropagatedHybridTime

func (x *ChangeMetadataRequestPB) GetPropagatedHybridTime() uint64

func (*ChangeMetadataRequestPB) GetRemoveTableId

func (x *ChangeMetadataRequestPB) GetRemoveTableId() []byte

func (*ChangeMetadataRequestPB) GetSchema

func (x *ChangeMetadataRequestPB) GetSchema() *SchemaPB

func (*ChangeMetadataRequestPB) GetSchemaVersion

func (x *ChangeMetadataRequestPB) GetSchemaVersion() uint32

func (*ChangeMetadataRequestPB) GetShouldAbortActiveTxns

func (x *ChangeMetadataRequestPB) GetShouldAbortActiveTxns() bool

func (*ChangeMetadataRequestPB) GetTabletId

func (x *ChangeMetadataRequestPB) GetTabletId() []byte

func (*ChangeMetadataRequestPB) GetTransactionId

func (x *ChangeMetadataRequestPB) GetTransactionId() []byte

func (*ChangeMetadataRequestPB) GetWalRetentionSecs

func (x *ChangeMetadataRequestPB) GetWalRetentionSecs() uint32

func (*ChangeMetadataRequestPB) ProtoMessage

func (*ChangeMetadataRequestPB) ProtoMessage()

func (*ChangeMetadataRequestPB) ProtoReflect

func (x *ChangeMetadataRequestPB) ProtoReflect() protoreflect.Message

func (*ChangeMetadataRequestPB) Reset

func (x *ChangeMetadataRequestPB) Reset()

func (*ChangeMetadataRequestPB) String

func (x *ChangeMetadataRequestPB) String() string

type ChangeMetadataResponsePB

type ChangeMetadataResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeMetadataResponsePB) Descriptor deprecated

func (*ChangeMetadataResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ChangeMetadataResponsePB.ProtoReflect.Descriptor instead.

func (*ChangeMetadataResponsePB) GetError

func (*ChangeMetadataResponsePB) GetPropagatedHybridTime

func (x *ChangeMetadataResponsePB) GetPropagatedHybridTime() uint64

func (*ChangeMetadataResponsePB) ProtoMessage

func (*ChangeMetadataResponsePB) ProtoMessage()

func (*ChangeMetadataResponsePB) ProtoReflect

func (x *ChangeMetadataResponsePB) ProtoReflect() protoreflect.Message

func (*ChangeMetadataResponsePB) Reset

func (x *ChangeMetadataResponsePB) Reset()

func (*ChangeMetadataResponsePB) String

func (x *ChangeMetadataResponsePB) String() string

type CheckRemoteBootstrapSessionActiveRequestPB

type CheckRemoteBootstrapSessionActiveRequestPB struct {

	// Valid Session ID returned by a BeginRemoteBootstrapSession() RPC call.
	SessionId []byte `protobuf:"bytes,1,req,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// Set keepalive to true to reset the session timeout timer.
	Keepalive *bool `protobuf:"varint,2,opt,name=keepalive,def=0" json:"keepalive,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRemoteBootstrapSessionActiveRequestPB) Descriptor deprecated

Deprecated: Use CheckRemoteBootstrapSessionActiveRequestPB.ProtoReflect.Descriptor instead.

func (*CheckRemoteBootstrapSessionActiveRequestPB) GetKeepalive

func (*CheckRemoteBootstrapSessionActiveRequestPB) GetSessionId

func (*CheckRemoteBootstrapSessionActiveRequestPB) ProtoMessage

func (*CheckRemoteBootstrapSessionActiveRequestPB) ProtoReflect

func (*CheckRemoteBootstrapSessionActiveRequestPB) Reset

func (*CheckRemoteBootstrapSessionActiveRequestPB) String

type CheckRemoteBootstrapSessionActiveResponsePB

type CheckRemoteBootstrapSessionActiveResponsePB struct {

	// Whether the given session id represents an active remote bootstrap session.
	SessionIsActive *bool `protobuf:"varint,1,req,name=session_is_active,json=sessionIsActive" json:"session_is_active,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRemoteBootstrapSessionActiveResponsePB) Descriptor deprecated

Deprecated: Use CheckRemoteBootstrapSessionActiveResponsePB.ProtoReflect.Descriptor instead.

func (*CheckRemoteBootstrapSessionActiveResponsePB) GetSessionIsActive

func (x *CheckRemoteBootstrapSessionActiveResponsePB) GetSessionIsActive() bool

func (*CheckRemoteBootstrapSessionActiveResponsePB) ProtoMessage

func (*CheckRemoteBootstrapSessionActiveResponsePB) ProtoReflect

func (*CheckRemoteBootstrapSessionActiveResponsePB) Reset

func (*CheckRemoteBootstrapSessionActiveResponsePB) String

type ChecksumRequestPB

type ChecksumRequestPB struct {
	TabletId         []byte              `protobuf:"bytes,6,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	ConsistencyLevel *YBConsistencyLevel `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ChecksumRequestPB) Descriptor deprecated

func (*ChecksumRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ChecksumRequestPB.ProtoReflect.Descriptor instead.

func (*ChecksumRequestPB) GetConsistencyLevel

func (x *ChecksumRequestPB) GetConsistencyLevel() YBConsistencyLevel

func (*ChecksumRequestPB) GetTabletId

func (x *ChecksumRequestPB) GetTabletId() []byte

func (*ChecksumRequestPB) ProtoMessage

func (*ChecksumRequestPB) ProtoMessage()

func (*ChecksumRequestPB) ProtoReflect

func (x *ChecksumRequestPB) ProtoReflect() protoreflect.Message

func (*ChecksumRequestPB) Reset

func (x *ChecksumRequestPB) Reset()

func (*ChecksumRequestPB) String

func (x *ChecksumRequestPB) String() string

type ChecksumResponsePB

type ChecksumResponsePB struct {

	// Error message, if any.
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// The (possibly partial) checksum of the tablet data.
	// This checksum is only complete if 'has_more_results' is false.
	Checksum *uint64 `protobuf:"varint,2,opt,name=checksum" json:"checksum,omitempty"`
	// contains filtered or unexported fields
}

func (*ChecksumResponsePB) Descriptor deprecated

func (*ChecksumResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ChecksumResponsePB.ProtoReflect.Descriptor instead.

func (*ChecksumResponsePB) GetChecksum

func (x *ChecksumResponsePB) GetChecksum() uint64

func (*ChecksumResponsePB) GetError

func (x *ChecksumResponsePB) GetError() *TabletServerErrorPB

func (*ChecksumResponsePB) ProtoMessage

func (*ChecksumResponsePB) ProtoMessage()

func (*ChecksumResponsePB) ProtoReflect

func (x *ChecksumResponsePB) ProtoReflect() protoreflect.Message

func (*ChecksumResponsePB) Reset

func (x *ChecksumResponsePB) Reset()

func (*ChecksumResponsePB) String

func (x *ChecksumResponsePB) String() string

type ChildTransactionDataPB

type ChildTransactionDataPB struct {
	Metadata    *TransactionMetadataPB `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	ReadTime    *ReadHybridTimePB      `protobuf:"bytes,2,opt,name=read_time,json=readTime" json:"read_time,omitempty"`
	LocalLimits map[string]uint64      `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

For clarification of field meaning see comments of appropriate fields in YBTransaction::Impl

func (*ChildTransactionDataPB) Descriptor deprecated

func (*ChildTransactionDataPB) Descriptor() ([]byte, []int)

Deprecated: Use ChildTransactionDataPB.ProtoReflect.Descriptor instead.

func (*ChildTransactionDataPB) GetLocalLimits

func (x *ChildTransactionDataPB) GetLocalLimits() map[string]uint64

func (*ChildTransactionDataPB) GetMetadata

func (*ChildTransactionDataPB) GetReadTime

func (x *ChildTransactionDataPB) GetReadTime() *ReadHybridTimePB

func (*ChildTransactionDataPB) ProtoMessage

func (*ChildTransactionDataPB) ProtoMessage()

func (*ChildTransactionDataPB) ProtoReflect

func (x *ChildTransactionDataPB) ProtoReflect() protoreflect.Message

func (*ChildTransactionDataPB) Reset

func (x *ChildTransactionDataPB) Reset()

func (*ChildTransactionDataPB) String

func (x *ChildTransactionDataPB) String() string

type ChildTransactionResultPB

type ChildTransactionResultPB struct {
	Tablets       []*TransactionInvolvedTabletPB `protobuf:"bytes,1,rep,name=tablets" json:"tablets,omitempty"`
	RestartReadHt *uint64                        `protobuf:"fixed64,2,opt,name=restart_read_ht,json=restartReadHt" json:"restart_read_ht,omitempty"`
	ReadRestarts  map[string]uint64              `` /* 166-byte string literal not displayed */
	UsedReadTime  *ReadHybridTimePB              `protobuf:"bytes,4,opt,name=used_read_time,json=usedReadTime" json:"used_read_time,omitempty"`
	// contains filtered or unexported fields
}

For clarification of field meaning see comments of appropriate fields in YBTransaction::Impl

func (*ChildTransactionResultPB) Descriptor deprecated

func (*ChildTransactionResultPB) Descriptor() ([]byte, []int)

Deprecated: Use ChildTransactionResultPB.ProtoReflect.Descriptor instead.

func (*ChildTransactionResultPB) GetReadRestarts

func (x *ChildTransactionResultPB) GetReadRestarts() map[string]uint64

func (*ChildTransactionResultPB) GetRestartReadHt

func (x *ChildTransactionResultPB) GetRestartReadHt() uint64

func (*ChildTransactionResultPB) GetTablets

func (*ChildTransactionResultPB) GetUsedReadTime

func (x *ChildTransactionResultPB) GetUsedReadTime() *ReadHybridTimePB

func (*ChildTransactionResultPB) ProtoMessage

func (*ChildTransactionResultPB) ProtoMessage()

func (*ChildTransactionResultPB) ProtoReflect

func (x *ChildTransactionResultPB) ProtoReflect() protoreflect.Message

func (*ChildTransactionResultPB) Reset

func (x *ChildTransactionResultPB) Reset()

func (*ChildTransactionResultPB) String

func (x *ChildTransactionResultPB) String() string

type CloudInfoPB

type CloudInfoPB struct {
	PlacementCloud  *string `protobuf:"bytes,1,opt,name=placement_cloud,json=placementCloud" json:"placement_cloud,omitempty"`
	PlacementRegion *string `protobuf:"bytes,2,opt,name=placement_region,json=placementRegion" json:"placement_region,omitempty"`
	PlacementZone   *string `protobuf:"bytes,3,opt,name=placement_zone,json=placementZone" json:"placement_zone,omitempty"`
	// contains filtered or unexported fields
}

func (*CloudInfoPB) Descriptor deprecated

func (*CloudInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use CloudInfoPB.ProtoReflect.Descriptor instead.

func (*CloudInfoPB) GetPlacementCloud

func (x *CloudInfoPB) GetPlacementCloud() string

func (*CloudInfoPB) GetPlacementRegion

func (x *CloudInfoPB) GetPlacementRegion() string

func (*CloudInfoPB) GetPlacementZone

func (x *CloudInfoPB) GetPlacementZone() string

func (*CloudInfoPB) ProtoMessage

func (*CloudInfoPB) ProtoMessage()

func (*CloudInfoPB) ProtoReflect

func (x *CloudInfoPB) ProtoReflect() protoreflect.Message

func (*CloudInfoPB) Reset

func (x *CloudInfoPB) Reset()

func (*CloudInfoPB) String

func (x *CloudInfoPB) String() string

type ColocatedTableIdentifierPB

type ColocatedTableIdentifierPB struct {

	// Note: an absent value means NULL.
	//
	// Types that are assignable to Value:
	//	*ColocatedTableIdentifierPB_PgtableId
	//	*ColocatedTableIdentifierPB_CotableId
	Value isColocatedTableIdentifierPB_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*ColocatedTableIdentifierPB) Descriptor deprecated

func (*ColocatedTableIdentifierPB) Descriptor() ([]byte, []int)

Deprecated: Use ColocatedTableIdentifierPB.ProtoReflect.Descriptor instead.

func (*ColocatedTableIdentifierPB) GetCotableId

func (x *ColocatedTableIdentifierPB) GetCotableId() []byte

func (*ColocatedTableIdentifierPB) GetPgtableId

func (x *ColocatedTableIdentifierPB) GetPgtableId() uint32

func (*ColocatedTableIdentifierPB) GetValue

func (m *ColocatedTableIdentifierPB) GetValue() isColocatedTableIdentifierPB_Value

func (*ColocatedTableIdentifierPB) ProtoMessage

func (*ColocatedTableIdentifierPB) ProtoMessage()

func (*ColocatedTableIdentifierPB) ProtoReflect

func (*ColocatedTableIdentifierPB) Reset

func (x *ColocatedTableIdentifierPB) Reset()

func (*ColocatedTableIdentifierPB) String

func (x *ColocatedTableIdentifierPB) String() string

type ColocatedTableIdentifierPB_CotableId

type ColocatedTableIdentifierPB_CotableId struct {
	// Colocated YSQL system tables use 16-byte UUID.
	CotableId []byte `protobuf:"bytes,2,opt,name=cotable_id,json=cotableId,oneof"`
}

type ColocatedTableIdentifierPB_PgtableId

type ColocatedTableIdentifierPB_PgtableId struct {
	// Colocated YSQL user tables use 4-byte PG table ID.
	PgtableId uint32 `protobuf:"varint,1,opt,name=pgtable_id,json=pgtableId,oneof"`
}

type ColumnSchemaPB

type ColumnSchemaPB struct {
	Id          *uint32   `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name        *string   `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	Type        *QLTypePB `protobuf:"bytes,3,req,name=type" json:"type,omitempty"`
	IsKey       *bool     `protobuf:"varint,4,opt,name=is_key,json=isKey,def=0" json:"is_key,omitempty"`
	IsHashKey   *bool     `protobuf:"varint,5,opt,name=is_hash_key,json=isHashKey,def=0" json:"is_hash_key,omitempty"`
	IsNullable  *bool     `protobuf:"varint,6,opt,name=is_nullable,json=isNullable,def=0" json:"is_nullable,omitempty"`
	IsStatic    *bool     `protobuf:"varint,7,opt,name=is_static,json=isStatic,def=0" json:"is_static,omitempty"`
	IsCounter   *bool     `protobuf:"varint,8,opt,name=is_counter,json=isCounter,def=0" json:"is_counter,omitempty"`
	Order       *int32    `protobuf:"varint,12,opt,name=order,def=0" json:"order,omitempty"`
	SortingType *uint32   `protobuf:"varint,9,opt,name=sorting_type,json=sortingType,def=0" json:"sorting_type,omitempty"`
	// Added pg_type_oid for decoding the column value for CDC in 2.13.
	// If the cluster has been upgraded, the value will be default and not the expected value.
	PgTypeOid *uint32 `protobuf:"varint,14,opt,name=pg_type_oid,json=pgTypeOid,def=0" json:"pg_type_oid,omitempty"`
	// The JSON attribute was mistakenly placed here, but it is not used.
	// To be safe, it's left here for now.
	// JSON attribute (for c->'a'->>'b' case).
	OBSOLETEJsonOperations []*QLJsonOperationPB `protobuf:"bytes,13,rep,name=OBSOLETE_json_operations,json=OBSOLETEJsonOperations" json:"OBSOLETE_json_operations,omitempty"`
	// contains filtered or unexported fields
}

TODO: Differentiate between the schema attributes that are only relevant to the server (e.g., encoding and compression) and those that also matter to the client.

func (*ColumnSchemaPB) Descriptor deprecated

func (*ColumnSchemaPB) Descriptor() ([]byte, []int)

Deprecated: Use ColumnSchemaPB.ProtoReflect.Descriptor instead.

func (*ColumnSchemaPB) GetId

func (x *ColumnSchemaPB) GetId() uint32

func (*ColumnSchemaPB) GetIsCounter

func (x *ColumnSchemaPB) GetIsCounter() bool

func (*ColumnSchemaPB) GetIsHashKey

func (x *ColumnSchemaPB) GetIsHashKey() bool

func (*ColumnSchemaPB) GetIsKey

func (x *ColumnSchemaPB) GetIsKey() bool

func (*ColumnSchemaPB) GetIsNullable

func (x *ColumnSchemaPB) GetIsNullable() bool

func (*ColumnSchemaPB) GetIsStatic

func (x *ColumnSchemaPB) GetIsStatic() bool

func (*ColumnSchemaPB) GetName

func (x *ColumnSchemaPB) GetName() string

func (*ColumnSchemaPB) GetOBSOLETEJsonOperations

func (x *ColumnSchemaPB) GetOBSOLETEJsonOperations() []*QLJsonOperationPB

func (*ColumnSchemaPB) GetOrder

func (x *ColumnSchemaPB) GetOrder() int32

func (*ColumnSchemaPB) GetPgTypeOid added in v2.13.0

func (x *ColumnSchemaPB) GetPgTypeOid() uint32

func (*ColumnSchemaPB) GetSortingType

func (x *ColumnSchemaPB) GetSortingType() uint32

func (*ColumnSchemaPB) GetType

func (x *ColumnSchemaPB) GetType() *QLTypePB

func (*ColumnSchemaPB) ProtoMessage

func (*ColumnSchemaPB) ProtoMessage()

func (*ColumnSchemaPB) ProtoReflect

func (x *ColumnSchemaPB) ProtoReflect() protoreflect.Message

func (*ColumnSchemaPB) Reset

func (x *ColumnSchemaPB) Reset()

func (*ColumnSchemaPB) String

func (x *ColumnSchemaPB) String() string

type CompactSysCatalogRequestPB added in v2.11.2

type CompactSysCatalogRequestPB struct {
	// contains filtered or unexported fields
}

func (*CompactSysCatalogRequestPB) Descriptor deprecated added in v2.11.2

func (*CompactSysCatalogRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CompactSysCatalogRequestPB.ProtoReflect.Descriptor instead.

func (*CompactSysCatalogRequestPB) ProtoMessage added in v2.11.2

func (*CompactSysCatalogRequestPB) ProtoMessage()

func (*CompactSysCatalogRequestPB) ProtoReflect added in v2.11.2

func (*CompactSysCatalogRequestPB) Reset added in v2.11.2

func (x *CompactSysCatalogRequestPB) Reset()

func (*CompactSysCatalogRequestPB) String added in v2.11.2

func (x *CompactSysCatalogRequestPB) String() string

type CompactSysCatalogResponsePB added in v2.11.2

type CompactSysCatalogResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CompactSysCatalogResponsePB) Descriptor deprecated added in v2.11.2

func (*CompactSysCatalogResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CompactSysCatalogResponsePB.ProtoReflect.Descriptor instead.

func (*CompactSysCatalogResponsePB) GetError added in v2.11.2

func (*CompactSysCatalogResponsePB) ProtoMessage added in v2.11.2

func (*CompactSysCatalogResponsePB) ProtoMessage()

func (*CompactSysCatalogResponsePB) ProtoReflect added in v2.11.2

func (*CompactSysCatalogResponsePB) Reset added in v2.11.2

func (x *CompactSysCatalogResponsePB) Reset()

func (*CompactSysCatalogResponsePB) String added in v2.11.2

func (x *CompactSysCatalogResponsePB) String() string

type ConcatRequestPB added in v2.11.2

type ConcatRequestPB struct {
	Lhs *string `protobuf:"bytes,1,opt,name=lhs" json:"lhs,omitempty"`
	Rhs *string `protobuf:"bytes,2,opt,name=rhs" json:"rhs,omitempty"`
	// contains filtered or unexported fields
}

func (*ConcatRequestPB) Descriptor deprecated added in v2.11.2

func (*ConcatRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ConcatRequestPB.ProtoReflect.Descriptor instead.

func (*ConcatRequestPB) GetLhs added in v2.11.2

func (x *ConcatRequestPB) GetLhs() string

func (*ConcatRequestPB) GetRhs added in v2.11.2

func (x *ConcatRequestPB) GetRhs() string

func (*ConcatRequestPB) ProtoMessage added in v2.11.2

func (*ConcatRequestPB) ProtoMessage()

func (*ConcatRequestPB) ProtoReflect added in v2.11.2

func (x *ConcatRequestPB) ProtoReflect() protoreflect.Message

func (*ConcatRequestPB) Reset added in v2.11.2

func (x *ConcatRequestPB) Reset()

func (*ConcatRequestPB) String added in v2.11.2

func (x *ConcatRequestPB) String() string

type ConcatResponsePB added in v2.11.2

type ConcatResponsePB struct {
	Result *string `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*ConcatResponsePB) Descriptor deprecated added in v2.11.2

func (*ConcatResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ConcatResponsePB.ProtoReflect.Descriptor instead.

func (*ConcatResponsePB) GetResult added in v2.11.2

func (x *ConcatResponsePB) GetResult() string

func (*ConcatResponsePB) ProtoMessage added in v2.11.2

func (*ConcatResponsePB) ProtoMessage()

func (*ConcatResponsePB) ProtoReflect added in v2.11.2

func (x *ConcatResponsePB) ProtoReflect() protoreflect.Message

func (*ConcatResponsePB) Reset added in v2.11.2

func (x *ConcatResponsePB) Reset()

func (*ConcatResponsePB) String added in v2.11.2

func (x *ConcatResponsePB) String() string

type ConsensusConfigType

type ConsensusConfigType int32
const (
	ConsensusConfigType_CONSENSUS_CONFIG_UNKNOWN ConsensusConfigType = 999
	// Committed consensus config. This includes the consensus configuration that
	// has been serialized through consensus and committed, thus having a valid
	// opid_index field set.
	ConsensusConfigType_CONSENSUS_CONFIG_COMMITTED ConsensusConfigType = 1
	// Active consensus config. This could be a pending consensus config that
	// has not yet been committed. If the config is not committed, its opid_index
	// field will not be set.
	ConsensusConfigType_CONSENSUS_CONFIG_ACTIVE ConsensusConfigType = 2
)

func (ConsensusConfigType) Descriptor

func (ConsensusConfigType) Enum

func (ConsensusConfigType) EnumDescriptor deprecated

func (ConsensusConfigType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConsensusConfigType.Descriptor instead.

func (ConsensusConfigType) Number

func (ConsensusConfigType) String

func (x ConsensusConfigType) String() string

func (ConsensusConfigType) Type

func (*ConsensusConfigType) UnmarshalJSON deprecated

func (x *ConsensusConfigType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ConsensusErrorPB

type ConsensusErrorPB struct {

	// The error code.
	Code *ConsensusErrorPB_Code `protobuf:"varint,1,req,name=code,enum=yb.consensus.ConsensusErrorPB_Code" json:"code,omitempty"`
	// The Status object for the error. This will include a textual
	// message that may be more useful to present in log messages, etc,
	// though its error code is less specific.
	Status *AppStatusPB `protobuf:"bytes,2,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Consensus-specific errors use this protobuf

func (*ConsensusErrorPB) Descriptor deprecated

func (*ConsensusErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusErrorPB.ProtoReflect.Descriptor instead.

func (*ConsensusErrorPB) GetCode

func (*ConsensusErrorPB) GetStatus

func (x *ConsensusErrorPB) GetStatus() *AppStatusPB

func (*ConsensusErrorPB) ProtoMessage

func (*ConsensusErrorPB) ProtoMessage()

func (*ConsensusErrorPB) ProtoReflect

func (x *ConsensusErrorPB) ProtoReflect() protoreflect.Message

func (*ConsensusErrorPB) Reset

func (x *ConsensusErrorPB) Reset()

func (*ConsensusErrorPB) String

func (x *ConsensusErrorPB) String() string

type ConsensusErrorPB_Code

type ConsensusErrorPB_Code int32

The codes for consensus responses. These are set in the status when some consensus internal error occurs and require special handling by the caller. A generic error code is purposefully absent since generic errors should use tserver.TabletServerErrorPB.

const (
	ConsensusErrorPB_UNKNOWN ConsensusErrorPB_Code = 0
	// Invalid term.
	// Sent by peers in response to leader RPCs whenever the term
	// of one of the messages sent in a batch is lower than the
	// the term the peer is expecting.
	ConsensusErrorPB_INVALID_TERM ConsensusErrorPB_Code = 2
	// For leader election.
	// The last OpId logged by the candidate is older than the last OpId logged
	// by the local peer.
	ConsensusErrorPB_LAST_OPID_TOO_OLD ConsensusErrorPB_Code = 3
	// For leader election.
	// The local replica has already voted for another candidate in this term.
	ConsensusErrorPB_ALREADY_VOTED ConsensusErrorPB_Code = 4
	// The replica does not recognize the caller's request as coming from a
	// member of the configuration.
	ConsensusErrorPB_NOT_IN_QUORUM ConsensusErrorPB_Code = 5
	// The responder's last entry didn't match the caller's preceding entry.
	ConsensusErrorPB_PRECEDING_ENTRY_DIDNT_MATCH ConsensusErrorPB_Code = 6
	// The local replica is either a leader, or has heard from a valid leader
	// more recently than the election timeout, so believes the leader to be alive.
	ConsensusErrorPB_LEADER_IS_ALIVE ConsensusErrorPB_Code = 7
	// The local replica is in the middle of servicing either another vote
	// or an update from a valid leader.
	ConsensusErrorPB_CONSENSUS_BUSY ConsensusErrorPB_Code = 8
	// The local replica was unable to prepare a single transaction.
	ConsensusErrorPB_CANNOT_PREPARE ConsensusErrorPB_Code = 9
	// Split operation has been added to this Raft group log.
	ConsensusErrorPB_TABLET_SPLIT ConsensusErrorPB_Code = 10
)

func (ConsensusErrorPB_Code) Descriptor

func (ConsensusErrorPB_Code) Enum

func (ConsensusErrorPB_Code) EnumDescriptor deprecated

func (ConsensusErrorPB_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConsensusErrorPB_Code.Descriptor instead.

func (ConsensusErrorPB_Code) Number

func (ConsensusErrorPB_Code) String

func (x ConsensusErrorPB_Code) String() string

func (ConsensusErrorPB_Code) Type

func (*ConsensusErrorPB_Code) UnmarshalJSON deprecated

func (x *ConsensusErrorPB_Code) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ConsensusFrontierPB

type ConsensusFrontierPB struct {
	OpId                           *OpIdPB `protobuf:"bytes,1,opt,name=op_id,json=opId" json:"op_id,omitempty"`
	HybridTime                     *uint64 `protobuf:"fixed64,2,opt,name=hybrid_time,json=hybridTime" json:"hybrid_time,omitempty"`
	HistoryCutoff                  *uint64 `protobuf:"fixed64,3,opt,name=history_cutoff,json=historyCutoff" json:"history_cutoff,omitempty"`
	HybridTimeFilter               *uint64 `protobuf:"fixed64,4,opt,name=hybrid_time_filter,json=hybridTimeFilter" json:"hybrid_time_filter,omitempty"`
	MaxValueLevelTtlExpirationTime *uint64 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConsensusFrontierPB) Descriptor deprecated

func (*ConsensusFrontierPB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusFrontierPB.ProtoReflect.Descriptor instead.

func (*ConsensusFrontierPB) GetHistoryCutoff

func (x *ConsensusFrontierPB) GetHistoryCutoff() uint64

func (*ConsensusFrontierPB) GetHybridTime

func (x *ConsensusFrontierPB) GetHybridTime() uint64

func (*ConsensusFrontierPB) GetHybridTimeFilter

func (x *ConsensusFrontierPB) GetHybridTimeFilter() uint64

func (*ConsensusFrontierPB) GetMaxValueLevelTtlExpirationTime

func (x *ConsensusFrontierPB) GetMaxValueLevelTtlExpirationTime() uint64

func (*ConsensusFrontierPB) GetOpId

func (x *ConsensusFrontierPB) GetOpId() *OpIdPB

func (*ConsensusFrontierPB) ProtoMessage

func (*ConsensusFrontierPB) ProtoMessage()

func (*ConsensusFrontierPB) ProtoReflect

func (x *ConsensusFrontierPB) ProtoReflect() protoreflect.Message

func (*ConsensusFrontierPB) Reset

func (x *ConsensusFrontierPB) Reset()

func (*ConsensusFrontierPB) String

func (x *ConsensusFrontierPB) String() string

type ConsensusMetadataPB

type ConsensusMetadataPB struct {

	// Last-committed peership.
	CommittedConfig *RaftConfigPB `protobuf:"bytes,1,req,name=committed_config,json=committedConfig" json:"committed_config,omitempty"`
	// Latest term this server has seen.
	// When a configuration is first created, initialized to 0.
	//
	// Whenever a new election is started, the candidate increments this by one
	// and requests votes from peers.
	//
	// If any RPC or RPC response is received from another node containing a term higher
	// than this one, the server should step down to FOLLOWER and set its current_term to
	// match the caller's term.
	//
	// If a follower receives an UpdateConsensus RPC with a term lower than this
	// term, then that implies that the RPC is coming from a former LEADER who has
	// not realized yet that its term is over. In that case, we will reject the
	// UpdateConsensus() call with ConsensusErrorPB::INVALID_TERM.
	//
	// If a follower receives a RequestConsensusVote() RPC with an earlier term,
	// the vote is denied.
	CurrentTerm *int64 `protobuf:"varint,2,req,name=current_term,json=currentTerm" json:"current_term,omitempty"`
	// Permanent UUID of the candidate voted for in 'current_term', or not present
	// if no vote was made in the current term.
	VotedFor            *string `protobuf:"bytes,3,opt,name=voted_for,json=votedFor" json:"voted_for,omitempty"`
	SplitParentTabletId []byte  `protobuf:"bytes,4,opt,name=split_parent_tablet_id,json=splitParentTabletId" json:"split_parent_tablet_id,omitempty"`
	// contains filtered or unexported fields
}

This PB is used to serialize all of the persistent state needed for Consensus that is not in the WAL, such as leader election and communication on startup.

func (*ConsensusMetadataPB) Descriptor deprecated

func (*ConsensusMetadataPB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusMetadataPB.ProtoReflect.Descriptor instead.

func (*ConsensusMetadataPB) GetCommittedConfig

func (x *ConsensusMetadataPB) GetCommittedConfig() *RaftConfigPB

func (*ConsensusMetadataPB) GetCurrentTerm

func (x *ConsensusMetadataPB) GetCurrentTerm() int64

func (*ConsensusMetadataPB) GetSplitParentTabletId

func (x *ConsensusMetadataPB) GetSplitParentTabletId() []byte

func (*ConsensusMetadataPB) GetVotedFor

func (x *ConsensusMetadataPB) GetVotedFor() string

func (*ConsensusMetadataPB) ProtoMessage

func (*ConsensusMetadataPB) ProtoMessage()

func (*ConsensusMetadataPB) ProtoReflect

func (x *ConsensusMetadataPB) ProtoReflect() protoreflect.Message

func (*ConsensusMetadataPB) Reset

func (x *ConsensusMetadataPB) Reset()

func (*ConsensusMetadataPB) String

func (x *ConsensusMetadataPB) String() string

type ConsensusNoOpRequestPB

type ConsensusNoOpRequestPB struct {

	// Allows to set a dummy payload, for tests.
	PayloadForTests []byte `protobuf:"bytes,1,opt,name=payload_for_tests,json=payloadForTests" json:"payload_for_tests,omitempty"`
	// contains filtered or unexported fields
}

NoOp requests, mostly used in tests.

func (*ConsensusNoOpRequestPB) Descriptor deprecated

func (*ConsensusNoOpRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusNoOpRequestPB.ProtoReflect.Descriptor instead.

func (*ConsensusNoOpRequestPB) GetPayloadForTests

func (x *ConsensusNoOpRequestPB) GetPayloadForTests() []byte

func (*ConsensusNoOpRequestPB) ProtoMessage

func (*ConsensusNoOpRequestPB) ProtoMessage()

func (*ConsensusNoOpRequestPB) ProtoReflect

func (x *ConsensusNoOpRequestPB) ProtoReflect() protoreflect.Message

func (*ConsensusNoOpRequestPB) Reset

func (x *ConsensusNoOpRequestPB) Reset()

func (*ConsensusNoOpRequestPB) String

func (x *ConsensusNoOpRequestPB) String() string

type ConsensusNoOpResponsePB

type ConsensusNoOpResponsePB struct {

	// Allows to set a dummy payload, for tests.
	PayloadForTests []byte `protobuf:"bytes,1,opt,name=payload_for_tests,json=payloadForTests" json:"payload_for_tests,omitempty"`
	// contains filtered or unexported fields
}

NoOp responses, mostly used in tests.

func (*ConsensusNoOpResponsePB) Descriptor deprecated

func (*ConsensusNoOpResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusNoOpResponsePB.ProtoReflect.Descriptor instead.

func (*ConsensusNoOpResponsePB) GetPayloadForTests

func (x *ConsensusNoOpResponsePB) GetPayloadForTests() []byte

func (*ConsensusNoOpResponsePB) ProtoMessage

func (*ConsensusNoOpResponsePB) ProtoMessage()

func (*ConsensusNoOpResponsePB) ProtoReflect

func (x *ConsensusNoOpResponsePB) ProtoReflect() protoreflect.Message

func (*ConsensusNoOpResponsePB) Reset

func (x *ConsensusNoOpResponsePB) Reset()

func (*ConsensusNoOpResponsePB) String

func (x *ConsensusNoOpResponsePB) String() string

type ConsensusRequestPB

type ConsensusRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte  `protobuf:"bytes,7,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId *string `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// The uuid of the peer making the call.
	CallerUuid []byte `protobuf:"bytes,2,req,name=caller_uuid,json=callerUuid" json:"caller_uuid,omitempty"`
	// The caller's term. As only leaders can send messages,
	// replicas will accept all messages as long as the term
	// is equal to or higher than the last term they know about.
	// If a leader receives a request with a term higher than its own,
	// it will step down and enter FOLLOWER state (see Raft sec. 5.1).
	CallerTerm *int64 `protobuf:"varint,3,req,name=caller_term,json=callerTerm" json:"caller_term,omitempty"`
	// The id of the operation immediately preceding the first
	// operation in 'ops'. If the replica is receiving 'ops' for
	// the first time 'preceding_id' must match the replica's
	// last operation.
	//
	// This must be set if 'ops' is non-empty.
	PrecedingId *OpIdPB `protobuf:"bytes,4,opt,name=preceding_id,json=precedingId" json:"preceding_id,omitempty"`
	// The id of the last committed operation in the configuration. This is the
	// id of the last operation the leader deemed committed from a consensus
	// standpoint (not the last operation the leader applied).
	//
	// Raft calls this field 'leaderCommit'.
	CommittedOpId *OpIdPB `protobuf:"bytes,5,req,name=committed_op_id,json=committedOpId" json:"committed_op_id,omitempty"`
	// Sequence of operations to be replicated by this peer.
	// These will be committed when committed_index advances above their
	// respective OpIds. In some cases committed_index can indicate that
	// these operations are already committed, in which case they will be
	// committed during the same request.
	Ops []*ReplicateMsg `protobuf:"bytes,6,rep,name=ops" json:"ops,omitempty"`
	// Leader lease duration in milliseconds. A leader is not allowed to serve up-to-date reads
	// until it is able to replicate a lease extension. A new leader cannot assume its
	// responsibilities until this amount time has definitely passed since the old leader sent the
	// consensus request. Due to potential clock skew, we are not sending a timestamp, but an amount
	// of time followers have to wait.
	LeaderLeaseDurationMs *int32 `protobuf:"varint,8,opt,name=leader_lease_duration_ms,json=leaderLeaseDurationMs" json:"leader_lease_duration_ms,omitempty"`
	// Leader lease expiration, physical part of hybrid time. A new leader cannot add new
	// entries to RAFT log until hybrid time passes this expiration.
	HtLeaseExpiration *uint64 `protobuf:"fixed64,9,opt,name=ht_lease_expiration,json=htLeaseExpiration" json:"ht_lease_expiration,omitempty"`
	// Safe time measured on the leader at the time this request was generated.
	PropagatedSafeTime *uint64 `protobuf:"fixed64,10,opt,name=propagated_safe_time,json=propagatedSafeTime" json:"propagated_safe_time,omitempty"`
	// Hybrid time on the leader when this request was generated.
	PropagatedHybridTime *uint64 `protobuf:"fixed64,11,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

A consensus request message, the basic unit of a consensus round.

func (*ConsensusRequestPB) Descriptor deprecated

func (*ConsensusRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusRequestPB.ProtoReflect.Descriptor instead.

func (*ConsensusRequestPB) GetCallerTerm

func (x *ConsensusRequestPB) GetCallerTerm() int64

func (*ConsensusRequestPB) GetCallerUuid

func (x *ConsensusRequestPB) GetCallerUuid() []byte

func (*ConsensusRequestPB) GetCommittedOpId

func (x *ConsensusRequestPB) GetCommittedOpId() *OpIdPB

func (*ConsensusRequestPB) GetDestUuid

func (x *ConsensusRequestPB) GetDestUuid() []byte

func (*ConsensusRequestPB) GetHtLeaseExpiration

func (x *ConsensusRequestPB) GetHtLeaseExpiration() uint64

func (*ConsensusRequestPB) GetLeaderLeaseDurationMs

func (x *ConsensusRequestPB) GetLeaderLeaseDurationMs() int32

func (*ConsensusRequestPB) GetOps

func (x *ConsensusRequestPB) GetOps() []*ReplicateMsg

func (*ConsensusRequestPB) GetPrecedingId

func (x *ConsensusRequestPB) GetPrecedingId() *OpIdPB

func (*ConsensusRequestPB) GetPropagatedHybridTime

func (x *ConsensusRequestPB) GetPropagatedHybridTime() uint64

func (*ConsensusRequestPB) GetPropagatedSafeTime

func (x *ConsensusRequestPB) GetPropagatedSafeTime() uint64

func (*ConsensusRequestPB) GetTabletId

func (x *ConsensusRequestPB) GetTabletId() string

func (*ConsensusRequestPB) ProtoMessage

func (*ConsensusRequestPB) ProtoMessage()

func (*ConsensusRequestPB) ProtoReflect

func (x *ConsensusRequestPB) ProtoReflect() protoreflect.Message

func (*ConsensusRequestPB) Reset

func (x *ConsensusRequestPB) Reset()

func (*ConsensusRequestPB) String

func (x *ConsensusRequestPB) String() string

type ConsensusResponsePB

type ConsensusResponsePB struct {

	// The uuid of the peer making the response.
	ResponderUuid []byte `protobuf:"bytes,1,opt,name=responder_uuid,json=responderUuid" json:"responder_uuid,omitempty"`
	// The current term of the peer making the response.
	// This is used to update the caller (and make it step down if it is
	// out of date).
	ResponderTerm *int64 `protobuf:"varint,2,opt,name=responder_term,json=responderTerm" json:"responder_term,omitempty"`
	// The current consensus status of the receiver peer.
	Status *ConsensusStatusPB `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	// A generic error message (such as tablet not found), per operation
	// error messages are sent along with the consensus status.
	Error *TabletServerErrorPB `protobuf:"bytes,999,opt,name=error" json:"error,omitempty"`
	// Number of SST files in this follower regular db.
	NumSstFiles *int64 `protobuf:"varint,5,opt,name=num_sst_files,json=numSstFiles" json:"num_sst_files,omitempty"`
	// Hybrid time on the follower when this request was processed.
	PropagatedHybridTime *uint64 `protobuf:"fixed64,6,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ConsensusResponsePB) Descriptor deprecated

func (*ConsensusResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusResponsePB.ProtoReflect.Descriptor instead.

func (*ConsensusResponsePB) GetError

func (*ConsensusResponsePB) GetNumSstFiles

func (x *ConsensusResponsePB) GetNumSstFiles() int64

func (*ConsensusResponsePB) GetPropagatedHybridTime

func (x *ConsensusResponsePB) GetPropagatedHybridTime() uint64

func (*ConsensusResponsePB) GetResponderTerm

func (x *ConsensusResponsePB) GetResponderTerm() int64

func (*ConsensusResponsePB) GetResponderUuid

func (x *ConsensusResponsePB) GetResponderUuid() []byte

func (*ConsensusResponsePB) GetStatus

func (x *ConsensusResponsePB) GetStatus() *ConsensusStatusPB

func (*ConsensusResponsePB) ProtoMessage

func (*ConsensusResponsePB) ProtoMessage()

func (*ConsensusResponsePB) ProtoReflect

func (x *ConsensusResponsePB) ProtoReflect() protoreflect.Message

func (*ConsensusResponsePB) Reset

func (x *ConsensusResponsePB) Reset()

func (*ConsensusResponsePB) String

func (x *ConsensusResponsePB) String() string

type ConsensusServiceClient

type ConsensusServiceClient interface {
	// Analogous to AppendEntries in Raft, but only used for followers.
	UpdateConsensus(ctx context.Context, in *ConsensusRequestPB, opts ...grpc.CallOption) (*ConsensusResponsePB, error)
	// Similar to UpdateConsensus but takes a batch of ConsensusRequestPB
	// and returns a batch of ConsensusResponsePB.
	MultiRaftUpdateConsensus(ctx context.Context, in *MultiRaftConsensusRequestPB, opts ...grpc.CallOption) (*MultiRaftConsensusResponsePB, error)
	// RequestVote() from Raft.
	RequestConsensusVote(ctx context.Context, in *VoteRequestPB, opts ...grpc.CallOption) (*VoteResponsePB, error)
	// Implements all of the one-by-one config change operations, including
	// AddServer() and RemoveServer() from the Raft specification, as well as
	// an operation to change the role of a server between VOTER and PRE_VOTER.
	// An OK response means the operation was successful.
	ChangeConfig(ctx context.Context, in *ChangeConfigRequestPB, opts ...grpc.CallOption) (*ChangeConfigResponsePB, error)
	// Implements unsafe config change operation for manual recovery use cases.
	UnsafeChangeConfig(ctx context.Context, in *UnsafeChangeConfigRequestPB, opts ...grpc.CallOption) (*UnsafeChangeConfigResponsePB, error)
	GetNodeInstance(ctx context.Context, in *GetNodeInstanceRequestPB, opts ...grpc.CallOption) (*GetNodeInstanceResponsePB, error)
	// Force this node to run a leader election.
	RunLeaderElection(ctx context.Context, in *RunLeaderElectionRequestPB, opts ...grpc.CallOption) (*RunLeaderElectionResponsePB, error)
	// Notify originator about lost election, so it could reset its timeout.
	LeaderElectionLost(ctx context.Context, in *LeaderElectionLostRequestPB, opts ...grpc.CallOption) (*LeaderElectionLostResponsePB, error)
	// Force this node to step down as leader.
	LeaderStepDown(ctx context.Context, in *LeaderStepDownRequestPB, opts ...grpc.CallOption) (*LeaderStepDownResponsePB, error)
	// Get the latest committed or received opid on the server.
	GetLastOpId(ctx context.Context, in *GetLastOpIdRequestPB, opts ...grpc.CallOption) (*GetLastOpIdResponsePB, error)
	// Returns the committed Consensus state.
	GetConsensusState(ctx context.Context, in *GetConsensusStateRequestPB, opts ...grpc.CallOption) (*GetConsensusStateResponsePB, error)
	// Instruct this server to remotely bootstrap a tablet from another host.
	StartRemoteBootstrap(ctx context.Context, in *StartRemoteBootstrapRequestPB, opts ...grpc.CallOption) (*StartRemoteBootstrapResponsePB, error)
}

ConsensusServiceClient is the client API for ConsensusService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ConsensusServiceServer

type ConsensusServiceServer interface {
	// Analogous to AppendEntries in Raft, but only used for followers.
	UpdateConsensus(context.Context, *ConsensusRequestPB) (*ConsensusResponsePB, error)
	// Similar to UpdateConsensus but takes a batch of ConsensusRequestPB
	// and returns a batch of ConsensusResponsePB.
	MultiRaftUpdateConsensus(context.Context, *MultiRaftConsensusRequestPB) (*MultiRaftConsensusResponsePB, error)
	// RequestVote() from Raft.
	RequestConsensusVote(context.Context, *VoteRequestPB) (*VoteResponsePB, error)
	// Implements all of the one-by-one config change operations, including
	// AddServer() and RemoveServer() from the Raft specification, as well as
	// an operation to change the role of a server between VOTER and PRE_VOTER.
	// An OK response means the operation was successful.
	ChangeConfig(context.Context, *ChangeConfigRequestPB) (*ChangeConfigResponsePB, error)
	// Implements unsafe config change operation for manual recovery use cases.
	UnsafeChangeConfig(context.Context, *UnsafeChangeConfigRequestPB) (*UnsafeChangeConfigResponsePB, error)
	GetNodeInstance(context.Context, *GetNodeInstanceRequestPB) (*GetNodeInstanceResponsePB, error)
	// Force this node to run a leader election.
	RunLeaderElection(context.Context, *RunLeaderElectionRequestPB) (*RunLeaderElectionResponsePB, error)
	// Notify originator about lost election, so it could reset its timeout.
	LeaderElectionLost(context.Context, *LeaderElectionLostRequestPB) (*LeaderElectionLostResponsePB, error)
	// Force this node to step down as leader.
	LeaderStepDown(context.Context, *LeaderStepDownRequestPB) (*LeaderStepDownResponsePB, error)
	// Get the latest committed or received opid on the server.
	GetLastOpId(context.Context, *GetLastOpIdRequestPB) (*GetLastOpIdResponsePB, error)
	// Returns the committed Consensus state.
	GetConsensusState(context.Context, *GetConsensusStateRequestPB) (*GetConsensusStateResponsePB, error)
	// Instruct this server to remotely bootstrap a tablet from another host.
	StartRemoteBootstrap(context.Context, *StartRemoteBootstrapRequestPB) (*StartRemoteBootstrapResponsePB, error)
}

ConsensusServiceServer is the server API for ConsensusService service. All implementations should embed UnimplementedConsensusServiceServer for forward compatibility

type ConsensusStatePB

type ConsensusStatePB struct {

	// A configuration is always guaranteed to have a known term.
	CurrentTerm *int64 `protobuf:"varint,1,req,name=current_term,json=currentTerm" json:"current_term,omitempty"`
	// There may not always be a leader of a configuration at any given time.
	//
	// The node that the local peer considers to be leader changes based on rules defined in the Raft
	// specification. Roughly, this corresponds either to being elected leader (in the case that the
	// local peer is the leader), or when an update is accepted from another node, which basically
	// just amounts to a term check on the UpdateConsensus() RPC request.
	//
	// Whenever the local peer sees a new term, the leader flag is cleared until a new leader is
	// acknowledged based on the above critera. Simply casting a vote for a peer is not sufficient to
	// assume that that peer has won the election, so we do not update this field based on our vote.
	//
	// The leader listed here, if any, should always be a member of 'configuration', and the term that
	// the node is leader of _must_ equal the term listed above in the 'current_term' field. The
	// Master will use the combination of current term and leader uuid to determine when to update its
	// cache of the current leader for client lookup purposes.
	//
	// There is a corner case in Raft where a node may be elected leader of a pending (uncommitted)
	// configuration. In such a case, if the leader of the pending configuration is not a member of
	// the committed configuration, and it is the committed configuration that is being reported, then
	// the leader_uuid field should be cleared by the process filling in the ConsensusStatePB object.
	LeaderUuid *string `protobuf:"bytes,2,opt,name=leader_uuid,json=leaderUuid" json:"leader_uuid,omitempty"`
	// The peers. In some contexts, this will be the committed configuration, which will always have
	// configuration.opid_index set. In other contexts, this may a "pending" configuration, which is
	// active but in the process of being committed.  In any case, initial peership is set on tablet
	// start, so this field should always be present.
	Config *RaftConfigPB `protobuf:"bytes,3,req,name=config" json:"config,omitempty"`
	// contains filtered or unexported fields
}

Represents a snapshot of a configuration at a given moment in time.

func (*ConsensusStatePB) Descriptor deprecated

func (*ConsensusStatePB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusStatePB.ProtoReflect.Descriptor instead.

func (*ConsensusStatePB) GetConfig

func (x *ConsensusStatePB) GetConfig() *RaftConfigPB

func (*ConsensusStatePB) GetCurrentTerm

func (x *ConsensusStatePB) GetCurrentTerm() int64

func (*ConsensusStatePB) GetLeaderUuid

func (x *ConsensusStatePB) GetLeaderUuid() string

func (*ConsensusStatePB) ProtoMessage

func (*ConsensusStatePB) ProtoMessage()

func (*ConsensusStatePB) ProtoReflect

func (x *ConsensusStatePB) ProtoReflect() protoreflect.Message

func (*ConsensusStatePB) Reset

func (x *ConsensusStatePB) Reset()

func (*ConsensusStatePB) String

func (x *ConsensusStatePB) String() string

type ConsensusStatusPB

type ConsensusStatusPB struct {

	// The last message received (and replicated) by the peer.
	LastReceived *OpIdPB `protobuf:"bytes,1,req,name=last_received,json=lastReceived" json:"last_received,omitempty"`
	// The id of the last op that was replicated by the current leader.
	// This doesn't necessarily mean that the term of this op equals the current
	// term, since the current leader may be replicating ops from a prior term.
	// Unset if none currently received.
	//
	// In the case where there is a log matching property error
	// (PRECEDING_ENTRY_DIDNT_MATCH), this field is important and may still be
	// set, since the leader queue uses this field in conjuction with
	// last_received to decide on the next id to send to the follower.
	LastReceivedCurrentLeader *OpIdPB `` /* 133-byte string literal not displayed */
	// The last committed index that is known to the peer.
	LastCommittedIdx *int64 `protobuf:"varint,2,opt,name=last_committed_idx,json=lastCommittedIdx" json:"last_committed_idx,omitempty"`
	// The last operation applied by the peer.
	LastApplied *OpIdPB `protobuf:"bytes,5,opt,name=last_applied,json=lastApplied" json:"last_applied,omitempty"`
	// When the last request failed for some consensus related (internal) reason.
	// In some cases the error will have a specific code that the caller will
	// have to handle in certain ways.
	Error *ConsensusErrorPB `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

Status message received in the peer responses.

func (*ConsensusStatusPB) Descriptor deprecated

func (*ConsensusStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use ConsensusStatusPB.ProtoReflect.Descriptor instead.

func (*ConsensusStatusPB) GetError

func (x *ConsensusStatusPB) GetError() *ConsensusErrorPB

func (*ConsensusStatusPB) GetLastApplied

func (x *ConsensusStatusPB) GetLastApplied() *OpIdPB

func (*ConsensusStatusPB) GetLastCommittedIdx

func (x *ConsensusStatusPB) GetLastCommittedIdx() int64

func (*ConsensusStatusPB) GetLastReceived

func (x *ConsensusStatusPB) GetLastReceived() *OpIdPB

func (*ConsensusStatusPB) GetLastReceivedCurrentLeader

func (x *ConsensusStatusPB) GetLastReceivedCurrentLeader() *OpIdPB

func (*ConsensusStatusPB) ProtoMessage

func (*ConsensusStatusPB) ProtoMessage()

func (*ConsensusStatusPB) ProtoReflect

func (x *ConsensusStatusPB) ProtoReflect() protoreflect.Message

func (*ConsensusStatusPB) Reset

func (x *ConsensusStatusPB) Reset()

func (*ConsensusStatusPB) String

func (x *ConsensusStatusPB) String() string

type ConsumerRegistryPB

type ConsumerRegistryPB struct {

	// Map from producer universe uuid to metadata for that producer.
	ProducerMap map[string]*ProducerEntryPB `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConsumerRegistryPB) Descriptor deprecated

func (*ConsumerRegistryPB) Descriptor() ([]byte, []int)

Deprecated: Use ConsumerRegistryPB.ProtoReflect.Descriptor instead.

func (*ConsumerRegistryPB) GetProducerMap

func (x *ConsumerRegistryPB) GetProducerMap() map[string]*ProducerEntryPB

func (*ConsumerRegistryPB) ProtoMessage

func (*ConsumerRegistryPB) ProtoMessage()

func (*ConsumerRegistryPB) ProtoReflect

func (x *ConsumerRegistryPB) ProtoReflect() protoreflect.Message

func (*ConsumerRegistryPB) Reset

func (x *ConsumerRegistryPB) Reset()

func (*ConsumerRegistryPB) String

func (x *ConsumerRegistryPB) String() string

type ContainerSupHeaderPB

type ContainerSupHeaderPB struct {

	// The protobuf schema for the messages expected in this container.
	//
	// This schema is complete, that is, it includes all of its dependencies
	// (i.e. other schemas defined in .proto files imported by this schema's
	// .proto file).
	Protos *descriptorpb.FileDescriptorSet `protobuf:"bytes,1,req,name=protos" json:"protos,omitempty"`
	// The PB message type expected in each data entry in this container. Must
	// be fully qualified (i.e. yb.tablet.RaftGroupReplicaSuperBlockPB).
	PbType *string `protobuf:"bytes,2,req,name=pb_type,json=pbType" json:"pb_type,omitempty"`
	// contains filtered or unexported fields
}

Supplemental protobuf container header, after the main header (see pb_util.h for details).

func (*ContainerSupHeaderPB) Descriptor deprecated

func (*ContainerSupHeaderPB) Descriptor() ([]byte, []int)

Deprecated: Use ContainerSupHeaderPB.ProtoReflect.Descriptor instead.

func (*ContainerSupHeaderPB) GetPbType

func (x *ContainerSupHeaderPB) GetPbType() string

func (*ContainerSupHeaderPB) GetProtos

func (*ContainerSupHeaderPB) ProtoMessage

func (*ContainerSupHeaderPB) ProtoMessage()

func (*ContainerSupHeaderPB) ProtoReflect

func (x *ContainerSupHeaderPB) ProtoReflect() protoreflect.Message

func (*ContainerSupHeaderPB) Reset

func (x *ContainerSupHeaderPB) Reset()

func (*ContainerSupHeaderPB) String

func (x *ContainerSupHeaderPB) String() string

type CopartitionTableRequestPB

type CopartitionTableRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid  []byte  `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TableId   []byte  `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	TabletId  []byte  `protobuf:"bytes,3,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	TableName *string `protobuf:"bytes,4,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CopartitionTableRequestPB) Descriptor deprecated

func (*CopartitionTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CopartitionTableRequestPB.ProtoReflect.Descriptor instead.

func (*CopartitionTableRequestPB) GetDestUuid

func (x *CopartitionTableRequestPB) GetDestUuid() []byte

func (*CopartitionTableRequestPB) GetTableId

func (x *CopartitionTableRequestPB) GetTableId() []byte

func (*CopartitionTableRequestPB) GetTableName

func (x *CopartitionTableRequestPB) GetTableName() string

func (*CopartitionTableRequestPB) GetTabletId

func (x *CopartitionTableRequestPB) GetTabletId() []byte

func (*CopartitionTableRequestPB) ProtoMessage

func (*CopartitionTableRequestPB) ProtoMessage()

func (*CopartitionTableRequestPB) ProtoReflect

func (*CopartitionTableRequestPB) Reset

func (x *CopartitionTableRequestPB) Reset()

func (*CopartitionTableRequestPB) String

func (x *CopartitionTableRequestPB) String() string

type CopartitionTableResponsePB

type CopartitionTableResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CopartitionTableResponsePB) Descriptor deprecated

func (*CopartitionTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CopartitionTableResponsePB.ProtoReflect.Descriptor instead.

func (*CopartitionTableResponsePB) GetError

func (*CopartitionTableResponsePB) ProtoMessage

func (*CopartitionTableResponsePB) ProtoMessage()

func (*CopartitionTableResponsePB) ProtoReflect

func (*CopartitionTableResponsePB) Reset

func (x *CopartitionTableResponsePB) Reset()

func (*CopartitionTableResponsePB) String

func (x *CopartitionTableResponsePB) String() string

type CountIntentsRequestPB

type CountIntentsRequestPB struct {
	// contains filtered or unexported fields
}

func (*CountIntentsRequestPB) Descriptor deprecated

func (*CountIntentsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CountIntentsRequestPB.ProtoReflect.Descriptor instead.

func (*CountIntentsRequestPB) ProtoMessage

func (*CountIntentsRequestPB) ProtoMessage()

func (*CountIntentsRequestPB) ProtoReflect

func (x *CountIntentsRequestPB) ProtoReflect() protoreflect.Message

func (*CountIntentsRequestPB) Reset

func (x *CountIntentsRequestPB) Reset()

func (*CountIntentsRequestPB) String

func (x *CountIntentsRequestPB) String() string

type CountIntentsResponsePB

type CountIntentsResponsePB struct {
	Error      *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	NumIntents *int64               `protobuf:"varint,2,opt,name=num_intents,json=numIntents" json:"num_intents,omitempty"`
	// contains filtered or unexported fields
}

func (*CountIntentsResponsePB) Descriptor deprecated

func (*CountIntentsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CountIntentsResponsePB.ProtoReflect.Descriptor instead.

func (*CountIntentsResponsePB) GetError

func (*CountIntentsResponsePB) GetNumIntents

func (x *CountIntentsResponsePB) GetNumIntents() int64

func (*CountIntentsResponsePB) ProtoMessage

func (*CountIntentsResponsePB) ProtoMessage()

func (*CountIntentsResponsePB) ProtoReflect

func (x *CountIntentsResponsePB) ProtoReflect() protoreflect.Message

func (*CountIntentsResponsePB) Reset

func (x *CountIntentsResponsePB) Reset()

func (*CountIntentsResponsePB) String

func (x *CountIntentsResponsePB) String() string

type CreateCDCStreamRequestPB

type CreateCDCStreamRequestPB struct {

	// Table to set up CDC on.
	TableId        *string            `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	RecordType     *CDCRecordType     `protobuf:"varint,2,opt,name=record_type,json=recordType,enum=yb.cdc.CDCRecordType,def=1" json:"record_type,omitempty"`
	RecordFormat   *CDCRecordFormat   `protobuf:"varint,3,opt,name=record_format,json=recordFormat,enum=yb.cdc.CDCRecordFormat,def=1" json:"record_format,omitempty"`
	NamespaceName  *string            `protobuf:"bytes,4,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	SourceType     *CDCRequestSource  `protobuf:"varint,5,opt,name=source_type,json=sourceType,enum=yb.cdc.CDCRequestSource,def=1" json:"source_type,omitempty"`
	CheckpointType *CDCCheckpointType `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateCDCStreamRequestPB) Descriptor deprecated

func (*CreateCDCStreamRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateCDCStreamRequestPB.ProtoReflect.Descriptor instead.

func (*CreateCDCStreamRequestPB) GetCheckpointType added in v2.13.0

func (x *CreateCDCStreamRequestPB) GetCheckpointType() CDCCheckpointType

func (*CreateCDCStreamRequestPB) GetNamespaceName added in v2.13.0

func (x *CreateCDCStreamRequestPB) GetNamespaceName() string

func (*CreateCDCStreamRequestPB) GetRecordFormat

func (x *CreateCDCStreamRequestPB) GetRecordFormat() CDCRecordFormat

func (*CreateCDCStreamRequestPB) GetRecordType

func (x *CreateCDCStreamRequestPB) GetRecordType() CDCRecordType

func (*CreateCDCStreamRequestPB) GetSourceType added in v2.13.0

func (x *CreateCDCStreamRequestPB) GetSourceType() CDCRequestSource

func (*CreateCDCStreamRequestPB) GetTableId

func (x *CreateCDCStreamRequestPB) GetTableId() string

func (*CreateCDCStreamRequestPB) ProtoMessage

func (*CreateCDCStreamRequestPB) ProtoMessage()

func (*CreateCDCStreamRequestPB) ProtoReflect

func (x *CreateCDCStreamRequestPB) ProtoReflect() protoreflect.Message

func (*CreateCDCStreamRequestPB) Reset

func (x *CreateCDCStreamRequestPB) Reset()

func (*CreateCDCStreamRequestPB) String

func (x *CreateCDCStreamRequestPB) String() string

type CreateCDCStreamResponsePB

type CreateCDCStreamResponsePB struct {
	Error      *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	StreamId   []byte      `protobuf:"bytes,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	DbStreamId []byte      `protobuf:"bytes,3,opt,name=db_stream_id,json=dbStreamId" json:"db_stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCDCStreamResponsePB) Descriptor deprecated

func (*CreateCDCStreamResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateCDCStreamResponsePB.ProtoReflect.Descriptor instead.

func (*CreateCDCStreamResponsePB) GetDbStreamId added in v2.13.0

func (x *CreateCDCStreamResponsePB) GetDbStreamId() []byte

func (*CreateCDCStreamResponsePB) GetError

func (x *CreateCDCStreamResponsePB) GetError() *CDCErrorPB

func (*CreateCDCStreamResponsePB) GetStreamId

func (x *CreateCDCStreamResponsePB) GetStreamId() []byte

func (*CreateCDCStreamResponsePB) ProtoMessage

func (*CreateCDCStreamResponsePB) ProtoMessage()

func (*CreateCDCStreamResponsePB) ProtoReflect

func (*CreateCDCStreamResponsePB) Reset

func (x *CreateCDCStreamResponsePB) Reset()

func (*CreateCDCStreamResponsePB) String

func (x *CreateCDCStreamResponsePB) String() string

type CreateNamespaceRequestPB

type CreateNamespaceRequestPB struct {

	// Namespace name.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Database type.
	DatabaseType *YQLDatabase `protobuf:"varint,2,opt,name=database_type,json=databaseType,enum=yb.YQLDatabase,def=2" json:"database_type,omitempty"`
	// For RBAC.
	CreatorRoleName *string `protobuf:"bytes,3,opt,name=creator_role_name,json=creatorRoleName" json:"creator_role_name,omitempty"`
	// For Postgres:
	NamespaceId       []byte  `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`                     // id to assign to this namespace.
	SourceNamespaceId []byte  `protobuf:"bytes,5,opt,name=source_namespace_id,json=sourceNamespaceId" json:"source_namespace_id,omitempty"` // namespace id of the source database to copy from.
	NextPgOid         *uint32 `protobuf:"varint,6,opt,name=next_pg_oid,json=nextPgOid" json:"next_pg_oid,omitempty"`                        // Next oid to assign. Ignored when source_namespace_id is given
	// and the next_pg_oid from source namespace will be used.
	// DDL Dependent upon Transaction success (abort removes). Used by YSQL.
	Transaction *TransactionMetadataPB `protobuf:"bytes,8,opt,name=transaction" json:"transaction,omitempty"`
	// True if the namespace is colocated.
	Colocated *bool `protobuf:"varint,7,opt,name=colocated,def=0" json:"colocated,omitempty"`
	// contains filtered or unexported fields
}

============================================================================

Namespace  (default namespace = ANY placement)

============================================================================ Database type is added to metadata entries such that PGSQL clients cannot delete or connect to CQL database_type and vice versa.

func (*CreateNamespaceRequestPB) Descriptor deprecated

func (*CreateNamespaceRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateNamespaceRequestPB.ProtoReflect.Descriptor instead.

func (*CreateNamespaceRequestPB) GetColocated

func (x *CreateNamespaceRequestPB) GetColocated() bool

func (*CreateNamespaceRequestPB) GetCreatorRoleName

func (x *CreateNamespaceRequestPB) GetCreatorRoleName() string

func (*CreateNamespaceRequestPB) GetDatabaseType

func (x *CreateNamespaceRequestPB) GetDatabaseType() YQLDatabase

func (*CreateNamespaceRequestPB) GetName

func (x *CreateNamespaceRequestPB) GetName() string

func (*CreateNamespaceRequestPB) GetNamespaceId

func (x *CreateNamespaceRequestPB) GetNamespaceId() []byte

func (*CreateNamespaceRequestPB) GetNextPgOid

func (x *CreateNamespaceRequestPB) GetNextPgOid() uint32

func (*CreateNamespaceRequestPB) GetSourceNamespaceId

func (x *CreateNamespaceRequestPB) GetSourceNamespaceId() []byte

func (*CreateNamespaceRequestPB) GetTransaction

func (x *CreateNamespaceRequestPB) GetTransaction() *TransactionMetadataPB

func (*CreateNamespaceRequestPB) ProtoMessage

func (*CreateNamespaceRequestPB) ProtoMessage()

func (*CreateNamespaceRequestPB) ProtoReflect

func (x *CreateNamespaceRequestPB) ProtoReflect() protoreflect.Message

func (*CreateNamespaceRequestPB) Reset

func (x *CreateNamespaceRequestPB) Reset()

func (*CreateNamespaceRequestPB) String

func (x *CreateNamespaceRequestPB) String() string

type CreateNamespaceResponsePB

type CreateNamespaceResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Id    []byte         `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNamespaceResponsePB) Descriptor deprecated

func (*CreateNamespaceResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateNamespaceResponsePB.ProtoReflect.Descriptor instead.

func (*CreateNamespaceResponsePB) GetError

func (*CreateNamespaceResponsePB) GetId

func (x *CreateNamespaceResponsePB) GetId() []byte

func (*CreateNamespaceResponsePB) ProtoMessage

func (*CreateNamespaceResponsePB) ProtoMessage()

func (*CreateNamespaceResponsePB) ProtoReflect

func (*CreateNamespaceResponsePB) Reset

func (x *CreateNamespaceResponsePB) Reset()

func (*CreateNamespaceResponsePB) String

func (x *CreateNamespaceResponsePB) String() string

type CreateRoleRequestPB

type CreateRoleRequestPB struct {
	Name       *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	SaltedHash *string `protobuf:"bytes,2,opt,name=salted_hash,json=saltedHash" json:"salted_hash,omitempty"`
	Login      *bool   `protobuf:"varint,3,opt,name=login" json:"login,omitempty"`
	Superuser  *bool   `protobuf:"varint,4,opt,name=superuser" json:"superuser,omitempty"`
	// Name of the role creating this role.
	CreatorRoleName *string `protobuf:"bytes,5,opt,name=creator_role_name,json=creatorRoleName" json:"creator_role_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleRequestPB) Descriptor deprecated

func (*CreateRoleRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleRequestPB.ProtoReflect.Descriptor instead.

func (*CreateRoleRequestPB) GetCreatorRoleName

func (x *CreateRoleRequestPB) GetCreatorRoleName() string

func (*CreateRoleRequestPB) GetLogin

func (x *CreateRoleRequestPB) GetLogin() bool

func (*CreateRoleRequestPB) GetName

func (x *CreateRoleRequestPB) GetName() string

func (*CreateRoleRequestPB) GetSaltedHash

func (x *CreateRoleRequestPB) GetSaltedHash() string

func (*CreateRoleRequestPB) GetSuperuser

func (x *CreateRoleRequestPB) GetSuperuser() bool

func (*CreateRoleRequestPB) ProtoMessage

func (*CreateRoleRequestPB) ProtoMessage()

func (*CreateRoleRequestPB) ProtoReflect

func (x *CreateRoleRequestPB) ProtoReflect() protoreflect.Message

func (*CreateRoleRequestPB) Reset

func (x *CreateRoleRequestPB) Reset()

func (*CreateRoleRequestPB) String

func (x *CreateRoleRequestPB) String() string

type CreateRoleResponsePB

type CreateRoleResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleResponsePB) Descriptor deprecated

func (*CreateRoleResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleResponsePB.ProtoReflect.Descriptor instead.

func (*CreateRoleResponsePB) GetError

func (x *CreateRoleResponsePB) GetError() *MasterErrorPB

func (*CreateRoleResponsePB) ProtoMessage

func (*CreateRoleResponsePB) ProtoMessage()

func (*CreateRoleResponsePB) ProtoReflect

func (x *CreateRoleResponsePB) ProtoReflect() protoreflect.Message

func (*CreateRoleResponsePB) Reset

func (x *CreateRoleResponsePB) Reset()

func (*CreateRoleResponsePB) String

func (x *CreateRoleResponsePB) String() string

type CreateSnapshotRequestPB added in v2.11.2

type CreateSnapshotRequestPB struct {
	Tables           []*TableIdentifierPB `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	TransactionAware *bool                `protobuf:"varint,2,opt,name=transaction_aware,json=transactionAware" json:"transaction_aware,omitempty"`
	// Automatically add table indexes into the snapshot.
	AddIndexes *bool `protobuf:"varint,3,opt,name=add_indexes,json=addIndexes,def=0" json:"add_indexes,omitempty"`
	// Interpet this snapshot as imported:
	// Snapshot will be created as COMPLETE and no tablet operations will be performed.
	Imported   *bool  `protobuf:"varint,4,opt,name=imported" json:"imported,omitempty"`
	ScheduleId []byte `protobuf:"bytes,5,opt,name=schedule_id,json=scheduleId" json:"schedule_id,omitempty"` // Create snapshot to this schedule. Other fields are ignored.
	// contains filtered or unexported fields
}

func (*CreateSnapshotRequestPB) Descriptor deprecated added in v2.11.2

func (*CreateSnapshotRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateSnapshotRequestPB.ProtoReflect.Descriptor instead.

func (*CreateSnapshotRequestPB) GetAddIndexes added in v2.11.2

func (x *CreateSnapshotRequestPB) GetAddIndexes() bool

func (*CreateSnapshotRequestPB) GetImported added in v2.11.2

func (x *CreateSnapshotRequestPB) GetImported() bool

func (*CreateSnapshotRequestPB) GetScheduleId added in v2.11.2

func (x *CreateSnapshotRequestPB) GetScheduleId() []byte

func (*CreateSnapshotRequestPB) GetTables added in v2.11.2

func (x *CreateSnapshotRequestPB) GetTables() []*TableIdentifierPB

func (*CreateSnapshotRequestPB) GetTransactionAware added in v2.11.2

func (x *CreateSnapshotRequestPB) GetTransactionAware() bool

func (*CreateSnapshotRequestPB) ProtoMessage added in v2.11.2

func (*CreateSnapshotRequestPB) ProtoMessage()

func (*CreateSnapshotRequestPB) ProtoReflect added in v2.11.2

func (x *CreateSnapshotRequestPB) ProtoReflect() protoreflect.Message

func (*CreateSnapshotRequestPB) Reset added in v2.11.2

func (x *CreateSnapshotRequestPB) Reset()

func (*CreateSnapshotRequestPB) String added in v2.11.2

func (x *CreateSnapshotRequestPB) String() string

type CreateSnapshotResponsePB added in v2.11.2

type CreateSnapshotResponsePB struct {
	Error      *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	SnapshotId []byte         `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSnapshotResponsePB) Descriptor deprecated added in v2.11.2

func (*CreateSnapshotResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateSnapshotResponsePB.ProtoReflect.Descriptor instead.

func (*CreateSnapshotResponsePB) GetError added in v2.11.2

func (x *CreateSnapshotResponsePB) GetError() *MasterErrorPB

func (*CreateSnapshotResponsePB) GetSnapshotId added in v2.11.2

func (x *CreateSnapshotResponsePB) GetSnapshotId() []byte

func (*CreateSnapshotResponsePB) ProtoMessage added in v2.11.2

func (*CreateSnapshotResponsePB) ProtoMessage()

func (*CreateSnapshotResponsePB) ProtoReflect added in v2.11.2

func (x *CreateSnapshotResponsePB) ProtoReflect() protoreflect.Message

func (*CreateSnapshotResponsePB) Reset added in v2.11.2

func (x *CreateSnapshotResponsePB) Reset()

func (*CreateSnapshotResponsePB) String added in v2.11.2

func (x *CreateSnapshotResponsePB) String() string

type CreateSnapshotScheduleRequestPB added in v2.11.2

type CreateSnapshotScheduleRequestPB struct {
	Options *SnapshotScheduleOptionsPB `protobuf:"bytes,1,opt,name=options" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSnapshotScheduleRequestPB) Descriptor deprecated added in v2.11.2

func (*CreateSnapshotScheduleRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateSnapshotScheduleRequestPB.ProtoReflect.Descriptor instead.

func (*CreateSnapshotScheduleRequestPB) GetOptions added in v2.11.2

func (*CreateSnapshotScheduleRequestPB) ProtoMessage added in v2.11.2

func (*CreateSnapshotScheduleRequestPB) ProtoMessage()

func (*CreateSnapshotScheduleRequestPB) ProtoReflect added in v2.11.2

func (*CreateSnapshotScheduleRequestPB) Reset added in v2.11.2

func (*CreateSnapshotScheduleRequestPB) String added in v2.11.2

type CreateSnapshotScheduleResponsePB added in v2.11.2

type CreateSnapshotScheduleResponsePB struct {
	Error              *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	SnapshotScheduleId []byte         `protobuf:"bytes,2,opt,name=snapshot_schedule_id,json=snapshotScheduleId" json:"snapshot_schedule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSnapshotScheduleResponsePB) Descriptor deprecated added in v2.11.2

func (*CreateSnapshotScheduleResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateSnapshotScheduleResponsePB.ProtoReflect.Descriptor instead.

func (*CreateSnapshotScheduleResponsePB) GetError added in v2.11.2

func (*CreateSnapshotScheduleResponsePB) GetSnapshotScheduleId added in v2.11.2

func (x *CreateSnapshotScheduleResponsePB) GetSnapshotScheduleId() []byte

func (*CreateSnapshotScheduleResponsePB) ProtoMessage added in v2.11.2

func (*CreateSnapshotScheduleResponsePB) ProtoMessage()

func (*CreateSnapshotScheduleResponsePB) ProtoReflect added in v2.11.2

func (*CreateSnapshotScheduleResponsePB) Reset added in v2.11.2

func (*CreateSnapshotScheduleResponsePB) String added in v2.11.2

type CreateTableRequestPB

type CreateTableRequestPB struct {
	Name   *string   `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Schema *SchemaPB `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"`
	// Specifies number of tablets to create. If it's not set here
	// 'SchemaPB::TablePropertiesPB::num_tablets' from 'schema' field will be used.
	NumTablets      *int32                 `protobuf:"varint,3,opt,name=num_tablets,json=numTablets" json:"num_tablets,omitempty"`
	PartitionSchema *PartitionSchemaPB     `protobuf:"bytes,5,opt,name=partition_schema,json=partitionSchema" json:"partition_schema,omitempty"`
	ReplicationInfo *ReplicationInfoPB     `protobuf:"bytes,6,opt,name=replication_info,json=replicationInfo" json:"replication_info,omitempty"`
	TableType       *TableType             `protobuf:"varint,7,opt,name=table_type,json=tableType,enum=yb.TableType,def=2" json:"table_type,omitempty"`
	Namespace       *NamespaceIdentifierPB `protobuf:"bytes,8,opt,name=namespace" json:"namespace,omitempty"`
	// For index table.
	IndexInfo         *IndexInfoPB `protobuf:"bytes,16,opt,name=index_info,json=indexInfo" json:"index_info,omitempty"`
	IndexedTableId    []byte       `protobuf:"bytes,9,opt,name=indexed_table_id,json=indexedTableId" json:"indexed_table_id,omitempty"`                  // Indexed table id of this index.
	IsLocalIndex      *bool        `protobuf:"varint,10,opt,name=is_local_index,json=isLocalIndex,def=0" json:"is_local_index,omitempty"`                // Is a local index?
	IsUniqueIndex     *bool        `protobuf:"varint,11,opt,name=is_unique_index,json=isUniqueIndex,def=0" json:"is_unique_index,omitempty"`             // Is a unique index?
	SkipIndexBackfill *bool        `protobuf:"varint,18,opt,name=skip_index_backfill,json=skipIndexBackfill,def=0" json:"skip_index_backfill,omitempty"` // Skip online schema migration for
	// index?
	IsBackfillDeferred *bool `protobuf:"varint,23,opt,name=is_backfill_deferred,json=isBackfillDeferred,def=0" json:"is_backfill_deferred,omitempty"` // Defer backfill for batching later?
	// For RBAC.
	CreatorRoleName *string `protobuf:"bytes,12,opt,name=creator_role_name,json=creatorRoleName" json:"creator_role_name,omitempty"`
	// For Postgres:
	TableId          []byte `protobuf:"bytes,13,opt,name=table_id,json=tableId" json:"table_id,omitempty"`                                       // id to assign to this table.
	IsPgCatalogTable *bool  `protobuf:"varint,14,opt,name=is_pg_catalog_table,json=isPgCatalogTable,def=0" json:"is_pg_catalog_table,omitempty"` // Is this a sys catalog table?
	IsPgSharedTable  *bool  `protobuf:"varint,15,opt,name=is_pg_shared_table,json=isPgSharedTable,def=0" json:"is_pg_shared_table,omitempty"`    // Is this a shared table?
	// Is this a colocated table? This field is only applicable for a colocated database.
	Colocated *bool `protobuf:"varint,17,opt,name=colocated,def=1" json:"colocated,omitempty"`
	// This is only applicable for tablegroups. Eventually colocated will be deprecated.
	TablegroupId []byte `protobuf:"bytes,19,opt,name=tablegroup_id,json=tablegroupId" json:"tablegroup_id,omitempty"`
	// DDL Dependent upon Transaction success (abort removes). Used by YSQL.
	Transaction *TransactionMetadataPB `protobuf:"bytes,20,opt,name=transaction" json:"transaction,omitempty"`
	// For YSQL tables, this denotes the tablespace that this table is associated with.
	TablespaceId []byte `protobuf:"bytes,21,opt,name=tablespace_id,json=tablespaceId" json:"tablespace_id,omitempty"`
	// This field should be used to create or restore table with a fixed set of partitions.
	Partitions       []*PartitionPB `protobuf:"bytes,22,rep,name=partitions" json:"partitions,omitempty"`
	MatviewPgTableId []byte         `protobuf:"bytes,24,opt,name=matview_pg_table_id,json=matviewPgTableId" json:"matview_pg_table_id,omitempty"`
	// contains filtered or unexported fields
}

Create table request (including index table)

func (*CreateTableRequestPB) Descriptor deprecated

func (*CreateTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTableRequestPB.ProtoReflect.Descriptor instead.

func (*CreateTableRequestPB) GetColocated

func (x *CreateTableRequestPB) GetColocated() bool

func (*CreateTableRequestPB) GetCreatorRoleName

func (x *CreateTableRequestPB) GetCreatorRoleName() string

func (*CreateTableRequestPB) GetIndexInfo

func (x *CreateTableRequestPB) GetIndexInfo() *IndexInfoPB

func (*CreateTableRequestPB) GetIndexedTableId

func (x *CreateTableRequestPB) GetIndexedTableId() []byte

func (*CreateTableRequestPB) GetIsBackfillDeferred

func (x *CreateTableRequestPB) GetIsBackfillDeferred() bool

func (*CreateTableRequestPB) GetIsLocalIndex

func (x *CreateTableRequestPB) GetIsLocalIndex() bool

func (*CreateTableRequestPB) GetIsPgCatalogTable

func (x *CreateTableRequestPB) GetIsPgCatalogTable() bool

func (*CreateTableRequestPB) GetIsPgSharedTable

func (x *CreateTableRequestPB) GetIsPgSharedTable() bool

func (*CreateTableRequestPB) GetIsUniqueIndex

func (x *CreateTableRequestPB) GetIsUniqueIndex() bool

func (*CreateTableRequestPB) GetMatviewPgTableId added in v2.13.0

func (x *CreateTableRequestPB) GetMatviewPgTableId() []byte

func (*CreateTableRequestPB) GetName

func (x *CreateTableRequestPB) GetName() string

func (*CreateTableRequestPB) GetNamespace

func (x *CreateTableRequestPB) GetNamespace() *NamespaceIdentifierPB

func (*CreateTableRequestPB) GetNumTablets

func (x *CreateTableRequestPB) GetNumTablets() int32

func (*CreateTableRequestPB) GetPartitionSchema

func (x *CreateTableRequestPB) GetPartitionSchema() *PartitionSchemaPB

func (*CreateTableRequestPB) GetPartitions

func (x *CreateTableRequestPB) GetPartitions() []*PartitionPB

func (*CreateTableRequestPB) GetReplicationInfo

func (x *CreateTableRequestPB) GetReplicationInfo() *ReplicationInfoPB

func (*CreateTableRequestPB) GetSchema

func (x *CreateTableRequestPB) GetSchema() *SchemaPB

func (*CreateTableRequestPB) GetSkipIndexBackfill

func (x *CreateTableRequestPB) GetSkipIndexBackfill() bool

func (*CreateTableRequestPB) GetTableId

func (x *CreateTableRequestPB) GetTableId() []byte

func (*CreateTableRequestPB) GetTableType

func (x *CreateTableRequestPB) GetTableType() TableType

func (*CreateTableRequestPB) GetTablegroupId

func (x *CreateTableRequestPB) GetTablegroupId() []byte

func (*CreateTableRequestPB) GetTablespaceId

func (x *CreateTableRequestPB) GetTablespaceId() []byte

func (*CreateTableRequestPB) GetTransaction

func (x *CreateTableRequestPB) GetTransaction() *TransactionMetadataPB

func (*CreateTableRequestPB) ProtoMessage

func (*CreateTableRequestPB) ProtoMessage()

func (*CreateTableRequestPB) ProtoReflect

func (x *CreateTableRequestPB) ProtoReflect() protoreflect.Message

func (*CreateTableRequestPB) Reset

func (x *CreateTableRequestPB) Reset()

func (*CreateTableRequestPB) String

func (x *CreateTableRequestPB) String() string

type CreateTableResponsePB

type CreateTableResponsePB struct {

	// The error, if an error occurred with this request.
	Error   *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	TableId []byte         `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTableResponsePB) Descriptor deprecated

func (*CreateTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTableResponsePB.ProtoReflect.Descriptor instead.

func (*CreateTableResponsePB) GetError

func (x *CreateTableResponsePB) GetError() *MasterErrorPB

func (*CreateTableResponsePB) GetTableId

func (x *CreateTableResponsePB) GetTableId() []byte

func (*CreateTableResponsePB) ProtoMessage

func (*CreateTableResponsePB) ProtoMessage()

func (*CreateTableResponsePB) ProtoReflect

func (x *CreateTableResponsePB) ProtoReflect() protoreflect.Message

func (*CreateTableResponsePB) Reset

func (x *CreateTableResponsePB) Reset()

func (*CreateTableResponsePB) String

func (x *CreateTableResponsePB) String() string

type CreateTablegroupRequestPB

type CreateTablegroupRequestPB struct {
	Id            []byte  `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	NamespaceId   []byte  `protobuf:"bytes,2,req,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	NamespaceName *string `protobuf:"bytes,3,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	// This denotes the tablespace that this tablegroup is associated with.
	TablespaceId []byte `protobuf:"bytes,4,opt,name=tablespace_id,json=tablespaceId" json:"tablespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTablegroupRequestPB) Descriptor deprecated

func (*CreateTablegroupRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTablegroupRequestPB.ProtoReflect.Descriptor instead.

func (*CreateTablegroupRequestPB) GetId

func (x *CreateTablegroupRequestPB) GetId() []byte

func (*CreateTablegroupRequestPB) GetNamespaceId

func (x *CreateTablegroupRequestPB) GetNamespaceId() []byte

func (*CreateTablegroupRequestPB) GetNamespaceName

func (x *CreateTablegroupRequestPB) GetNamespaceName() string

func (*CreateTablegroupRequestPB) GetTablespaceId added in v2.13.0

func (x *CreateTablegroupRequestPB) GetTablespaceId() []byte

func (*CreateTablegroupRequestPB) ProtoMessage

func (*CreateTablegroupRequestPB) ProtoMessage()

func (*CreateTablegroupRequestPB) ProtoReflect

func (*CreateTablegroupRequestPB) Reset

func (x *CreateTablegroupRequestPB) Reset()

func (*CreateTablegroupRequestPB) String

func (x *CreateTablegroupRequestPB) String() string

type CreateTablegroupResponsePB

type CreateTablegroupResponsePB struct {

	// The error, if an error occurred with this request.
	Error           *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	ParentTableId   []byte         `protobuf:"bytes,2,opt,name=parent_table_id,json=parentTableId" json:"parent_table_id,omitempty"`
	ParentTableName []byte         `protobuf:"bytes,3,opt,name=parent_table_name,json=parentTableName" json:"parent_table_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTablegroupResponsePB) Descriptor deprecated

func (*CreateTablegroupResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTablegroupResponsePB.ProtoReflect.Descriptor instead.

func (*CreateTablegroupResponsePB) GetError

func (*CreateTablegroupResponsePB) GetParentTableId

func (x *CreateTablegroupResponsePB) GetParentTableId() []byte

func (*CreateTablegroupResponsePB) GetParentTableName

func (x *CreateTablegroupResponsePB) GetParentTableName() []byte

func (*CreateTablegroupResponsePB) ProtoMessage

func (*CreateTablegroupResponsePB) ProtoMessage()

func (*CreateTablegroupResponsePB) ProtoReflect

func (*CreateTablegroupResponsePB) Reset

func (x *CreateTablegroupResponsePB) Reset()

func (*CreateTablegroupResponsePB) String

func (x *CreateTablegroupResponsePB) String() string

type CreateTabletRequestPB

type CreateTabletRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,8,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TableId  []byte `protobuf:"bytes,1,req,name=table_id,json=tableId" json:"table_id,omitempty"`
	TabletId []byte `protobuf:"bytes,2,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// DEPRECATED.
	StartKey []byte `protobuf:"bytes,3,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
	// DEPRECATED.
	EndKey []byte `protobuf:"bytes,4,opt,name=end_key,json=endKey" json:"end_key,omitempty"`
	// The partition of the tablet.
	Partition     *PartitionPB `protobuf:"bytes,9,opt,name=partition" json:"partition,omitempty"`
	NamespaceId   []byte       `protobuf:"bytes,14,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	NamespaceName []byte       `protobuf:"bytes,15,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	TableName     *string      `protobuf:"bytes,5,req,name=table_name,json=tableName" json:"table_name,omitempty"`
	TableType     *TableType   `protobuf:"varint,11,opt,name=table_type,json=tableType,enum=yb.TableType" json:"table_type,omitempty"`
	Schema        *SchemaPB    `protobuf:"bytes,6,req,name=schema" json:"schema,omitempty"`
	// The partition schema of the table which the tablet belongs to.
	PartitionSchema *PartitionSchemaPB `protobuf:"bytes,10,opt,name=partition_schema,json=partitionSchema" json:"partition_schema,omitempty"`
	// Initial consensus configuration for the tablet.
	Config *RaftConfigPB `protobuf:"bytes,7,req,name=config" json:"config,omitempty"`
	// For index table: information about this index.
	IndexInfo *IndexInfoPB `protobuf:"bytes,12,opt,name=index_info,json=indexInfo" json:"index_info,omitempty"`
	// True if the tablet is colocated.
	Colocated         *bool    `protobuf:"varint,13,opt,name=colocated,def=0" json:"colocated,omitempty"`
	SnapshotSchedules [][]byte `protobuf:"bytes,16,rep,name=snapshot_schedules,json=snapshotSchedules" json:"snapshot_schedules,omitempty"`
	// contains filtered or unexported fields
}

A create tablet request.

func (*CreateTabletRequestPB) Descriptor deprecated

func (*CreateTabletRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTabletRequestPB.ProtoReflect.Descriptor instead.

func (*CreateTabletRequestPB) GetColocated

func (x *CreateTabletRequestPB) GetColocated() bool

func (*CreateTabletRequestPB) GetConfig

func (x *CreateTabletRequestPB) GetConfig() *RaftConfigPB

func (*CreateTabletRequestPB) GetDestUuid

func (x *CreateTabletRequestPB) GetDestUuid() []byte

func (*CreateTabletRequestPB) GetEndKey

func (x *CreateTabletRequestPB) GetEndKey() []byte

func (*CreateTabletRequestPB) GetIndexInfo

func (x *CreateTabletRequestPB) GetIndexInfo() *IndexInfoPB

func (*CreateTabletRequestPB) GetNamespaceId

func (x *CreateTabletRequestPB) GetNamespaceId() []byte

func (*CreateTabletRequestPB) GetNamespaceName

func (x *CreateTabletRequestPB) GetNamespaceName() []byte

func (*CreateTabletRequestPB) GetPartition

func (x *CreateTabletRequestPB) GetPartition() *PartitionPB

func (*CreateTabletRequestPB) GetPartitionSchema

func (x *CreateTabletRequestPB) GetPartitionSchema() *PartitionSchemaPB

func (*CreateTabletRequestPB) GetSchema

func (x *CreateTabletRequestPB) GetSchema() *SchemaPB

func (*CreateTabletRequestPB) GetSnapshotSchedules

func (x *CreateTabletRequestPB) GetSnapshotSchedules() [][]byte

func (*CreateTabletRequestPB) GetStartKey

func (x *CreateTabletRequestPB) GetStartKey() []byte

func (*CreateTabletRequestPB) GetTableId

func (x *CreateTabletRequestPB) GetTableId() []byte

func (*CreateTabletRequestPB) GetTableName

func (x *CreateTabletRequestPB) GetTableName() string

func (*CreateTabletRequestPB) GetTableType

func (x *CreateTabletRequestPB) GetTableType() TableType

func (*CreateTabletRequestPB) GetTabletId

func (x *CreateTabletRequestPB) GetTabletId() []byte

func (*CreateTabletRequestPB) ProtoMessage

func (*CreateTabletRequestPB) ProtoMessage()

func (*CreateTabletRequestPB) ProtoReflect

func (x *CreateTabletRequestPB) ProtoReflect() protoreflect.Message

func (*CreateTabletRequestPB) Reset

func (x *CreateTabletRequestPB) Reset()

func (*CreateTabletRequestPB) String

func (x *CreateTabletRequestPB) String() string

type CreateTabletResponsePB

type CreateTabletResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTabletResponsePB) Descriptor deprecated

func (*CreateTabletResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTabletResponsePB.ProtoReflect.Descriptor instead.

func (*CreateTabletResponsePB) GetError

func (*CreateTabletResponsePB) ProtoMessage

func (*CreateTabletResponsePB) ProtoMessage()

func (*CreateTabletResponsePB) ProtoReflect

func (x *CreateTabletResponsePB) ProtoReflect() protoreflect.Message

func (*CreateTabletResponsePB) Reset

func (x *CreateTabletResponsePB) Reset()

func (*CreateTabletResponsePB) String

func (x *CreateTabletResponsePB) String() string

type CreateTransactionStatusTableRequestPB added in v2.11.0

type CreateTransactionStatusTableRequestPB struct {
	TableName *string `protobuf:"bytes,1,req,name=table_name,json=tableName" json:"table_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTransactionStatusTableRequestPB) Descriptor deprecated added in v2.11.0

func (*CreateTransactionStatusTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTransactionStatusTableRequestPB.ProtoReflect.Descriptor instead.

func (*CreateTransactionStatusTableRequestPB) GetTableName added in v2.11.0

func (*CreateTransactionStatusTableRequestPB) ProtoMessage added in v2.11.0

func (*CreateTransactionStatusTableRequestPB) ProtoMessage()

func (*CreateTransactionStatusTableRequestPB) ProtoReflect added in v2.11.0

func (*CreateTransactionStatusTableRequestPB) Reset added in v2.11.0

func (*CreateTransactionStatusTableRequestPB) String added in v2.11.0

type CreateTransactionStatusTableResponsePB added in v2.11.0

type CreateTransactionStatusTableResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTransactionStatusTableResponsePB) Descriptor deprecated added in v2.11.0

func (*CreateTransactionStatusTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateTransactionStatusTableResponsePB.ProtoReflect.Descriptor instead.

func (*CreateTransactionStatusTableResponsePB) GetError added in v2.11.0

func (*CreateTransactionStatusTableResponsePB) ProtoMessage added in v2.11.0

func (*CreateTransactionStatusTableResponsePB) ProtoReflect added in v2.11.0

func (*CreateTransactionStatusTableResponsePB) Reset added in v2.11.0

func (*CreateTransactionStatusTableResponsePB) String added in v2.11.0

type CreateUDTypeRequestPB

type CreateUDTypeRequestPB struct {
	Namespace  *NamespaceIdentifierPB `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	Name       *string                `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	FieldNames []string               `protobuf:"bytes,3,rep,name=field_names,json=fieldNames" json:"field_names,omitempty"`
	FieldTypes []*QLTypePB            `protobuf:"bytes,4,rep,name=field_types,json=fieldTypes" json:"field_types,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUDTypeRequestPB) Descriptor deprecated

func (*CreateUDTypeRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use CreateUDTypeRequestPB.ProtoReflect.Descriptor instead.

func (*CreateUDTypeRequestPB) GetFieldNames

func (x *CreateUDTypeRequestPB) GetFieldNames() []string

func (*CreateUDTypeRequestPB) GetFieldTypes

func (x *CreateUDTypeRequestPB) GetFieldTypes() []*QLTypePB

func (*CreateUDTypeRequestPB) GetName

func (x *CreateUDTypeRequestPB) GetName() string

func (*CreateUDTypeRequestPB) GetNamespace

func (x *CreateUDTypeRequestPB) GetNamespace() *NamespaceIdentifierPB

func (*CreateUDTypeRequestPB) ProtoMessage

func (*CreateUDTypeRequestPB) ProtoMessage()

func (*CreateUDTypeRequestPB) ProtoReflect

func (x *CreateUDTypeRequestPB) ProtoReflect() protoreflect.Message

func (*CreateUDTypeRequestPB) Reset

func (x *CreateUDTypeRequestPB) Reset()

func (*CreateUDTypeRequestPB) String

func (x *CreateUDTypeRequestPB) String() string

type CreateUDTypeResponsePB

type CreateUDTypeResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Id    []byte         `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUDTypeResponsePB) Descriptor deprecated

func (*CreateUDTypeResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use CreateUDTypeResponsePB.ProtoReflect.Descriptor instead.

func (*CreateUDTypeResponsePB) GetError

func (x *CreateUDTypeResponsePB) GetError() *MasterErrorPB

func (*CreateUDTypeResponsePB) GetId

func (x *CreateUDTypeResponsePB) GetId() []byte

func (*CreateUDTypeResponsePB) ProtoMessage

func (*CreateUDTypeResponsePB) ProtoMessage()

func (*CreateUDTypeResponsePB) ProtoReflect

func (x *CreateUDTypeResponsePB) ProtoReflect() protoreflect.Message

func (*CreateUDTypeResponsePB) Reset

func (x *CreateUDTypeResponsePB) Reset()

func (*CreateUDTypeResponsePB) String

func (x *CreateUDTypeResponsePB) String() string

type DataChunkPB

type DataChunkPB struct {

	// Offset into the complete data block or file that 'data' starts at.
	Offset *uint64 `protobuf:"varint,1,req,name=offset" json:"offset,omitempty"`
	// Actual bytes of data from the data block, starting at 'offset'.
	Data []byte `protobuf:"bytes,2,req,name=data" json:"data,omitempty"`
	// CRC32C of the bytes contained in 'data'.
	Crc32 *uint32 `protobuf:"fixed32,3,req,name=crc32" json:"crc32,omitempty"`
	// Full length, in bytes, of the complete data block or file on the server.
	// The number of bytes returned in 'data' can certainly be less than this.
	TotalDataLength *int64 `protobuf:"varint,4,req,name=total_data_length,json=totalDataLength" json:"total_data_length,omitempty"`
	// contains filtered or unexported fields
}

A chunk of data (a slice of a block, file, etc).

func (*DataChunkPB) Descriptor deprecated

func (*DataChunkPB) Descriptor() ([]byte, []int)

Deprecated: Use DataChunkPB.ProtoReflect.Descriptor instead.

func (*DataChunkPB) GetCrc32

func (x *DataChunkPB) GetCrc32() uint32

func (*DataChunkPB) GetData

func (x *DataChunkPB) GetData() []byte

func (*DataChunkPB) GetOffset

func (x *DataChunkPB) GetOffset() uint64

func (*DataChunkPB) GetTotalDataLength

func (x *DataChunkPB) GetTotalDataLength() int64

func (*DataChunkPB) ProtoMessage

func (*DataChunkPB) ProtoMessage()

func (*DataChunkPB) ProtoReflect

func (x *DataChunkPB) ProtoReflect() protoreflect.Message

func (*DataChunkPB) Reset

func (x *DataChunkPB) Reset()

func (*DataChunkPB) String

func (x *DataChunkPB) String() string

type DataIdPB

type DataIdPB struct {

	// Indicator whether it's a block or log segment id.
	Type            *DataIdPB_IdType `protobuf:"varint,1,req,name=type,enum=yb.tserver.DataIdPB_IdType" json:"type,omitempty"`
	WalSegmentSeqno *uint64          `protobuf:"varint,3,opt,name=wal_segment_seqno,json=walSegmentSeqno" json:"wal_segment_seqno,omitempty"` // To fetch a log segment.
	FileName        *string          `protobuf:"bytes,4,opt,name=file_name,json=fileName" json:"file_name,omitempty"`                         // To fetch a RocksDB file.
	SnapshotId      []byte           `protobuf:"bytes,5,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`                   // To fetch a Snapshot file.
	// contains filtered or unexported fields
}

A "union" type that allows the same RPC call to fetch different types of data (data blocks or log files).

func (*DataIdPB) Descriptor deprecated

func (*DataIdPB) Descriptor() ([]byte, []int)

Deprecated: Use DataIdPB.ProtoReflect.Descriptor instead.

func (*DataIdPB) GetFileName

func (x *DataIdPB) GetFileName() string

func (*DataIdPB) GetSnapshotId

func (x *DataIdPB) GetSnapshotId() []byte

func (*DataIdPB) GetType

func (x *DataIdPB) GetType() DataIdPB_IdType

func (*DataIdPB) GetWalSegmentSeqno

func (x *DataIdPB) GetWalSegmentSeqno() uint64

func (*DataIdPB) ProtoMessage

func (*DataIdPB) ProtoMessage()

func (*DataIdPB) ProtoReflect

func (x *DataIdPB) ProtoReflect() protoreflect.Message

func (*DataIdPB) Reset

func (x *DataIdPB) Reset()

func (*DataIdPB) String

func (x *DataIdPB) String() string

type DataIdPB_IdType

type DataIdPB_IdType int32
const (
	DataIdPB_UNKNOWN       DataIdPB_IdType = 0
	DataIdPB_LOG_SEGMENT   DataIdPB_IdType = 2
	DataIdPB_ROCKSDB_FILE  DataIdPB_IdType = 3
	DataIdPB_SNAPSHOT_FILE DataIdPB_IdType = 4
)

func (DataIdPB_IdType) Descriptor

func (DataIdPB_IdType) Enum

func (x DataIdPB_IdType) Enum() *DataIdPB_IdType

func (DataIdPB_IdType) EnumDescriptor deprecated

func (DataIdPB_IdType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataIdPB_IdType.Descriptor instead.

func (DataIdPB_IdType) Number

func (DataIdPB_IdType) String

func (x DataIdPB_IdType) String() string

func (DataIdPB_IdType) Type

func (*DataIdPB_IdType) UnmarshalJSON deprecated

func (x *DataIdPB_IdType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DataType

type DataType int32

To ensure compatibility between release versions, the numeric values of these datatypes cannot be changed once the types are implemented and released.

Make sure this is in sync with YBCPgDataType in ybc_pg_typedefs.h.

const (
	DataType_UNKNOWN_DATA      DataType = 999
	DataType_NULL_VALUE_TYPE   DataType = 0
	DataType_INT8              DataType = 1
	DataType_INT16             DataType = 2
	DataType_INT32             DataType = 3
	DataType_INT64             DataType = 4
	DataType_STRING            DataType = 5
	DataType_BOOL              DataType = 6
	DataType_FLOAT             DataType = 7
	DataType_DOUBLE            DataType = 8
	DataType_BINARY            DataType = 9
	DataType_TIMESTAMP         DataType = 10
	DataType_DECIMAL           DataType = 11
	DataType_VARINT            DataType = 12
	DataType_INET              DataType = 13
	DataType_LIST              DataType = 14
	DataType_MAP               DataType = 15
	DataType_SET               DataType = 16
	DataType_UUID              DataType = 17
	DataType_TIMEUUID          DataType = 18
	DataType_TUPLE             DataType = 19 // TUPLE is not yet fully implemented, but it is a CQL type.
	DataType_TYPEARGS          DataType = 20
	DataType_USER_DEFINED_TYPE DataType = 21
	DataType_FROZEN            DataType = 22
	DataType_DATE              DataType = 23
	DataType_TIME              DataType = 24
	DataType_JSONB             DataType = 25
	// All unsigned datatypes will be removed from QL because databases do not have these types.
	DataType_UINT8    DataType = 100
	DataType_UINT16   DataType = 101
	DataType_UINT32   DataType = 102
	DataType_UINT64   DataType = 103
	DataType_GIN_NULL DataType = 104
)

func (DataType) Descriptor

func (DataType) Descriptor() protoreflect.EnumDescriptor

func (DataType) Enum

func (x DataType) Enum() *DataType

func (DataType) EnumDescriptor deprecated

func (DataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataType.Descriptor instead.

func (DataType) Number

func (x DataType) Number() protoreflect.EnumNumber

func (DataType) String

func (x DataType) String() string

func (DataType) Type

func (*DataType) UnmarshalJSON deprecated

func (x *DataType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DatumMessagePB added in v2.13.0

type DatumMessagePB struct {
	ColumnName *string `protobuf:"bytes,1,opt,name=column_name,json=columnName" json:"column_name,omitempty"`
	ColumnType *int64  `protobuf:"varint,2,opt,name=column_type,json=columnType" json:"column_type,omitempty"`
	// Types that are assignable to Datum:
	//	*DatumMessagePB_DatumInt32
	//	*DatumMessagePB_DatumInt64
	//	*DatumMessagePB_DatumFloat
	//	*DatumMessagePB_DatumDouble
	//	*DatumMessagePB_DatumBool
	//	*DatumMessagePB_DatumString
	//	*DatumMessagePB_DatumBytes
	//	*DatumMessagePB_DatumMissing
	Datum isDatumMessagePB_Datum `protobuf_oneof:"datum"`
	// contains filtered or unexported fields
}

func (*DatumMessagePB) Descriptor deprecated added in v2.13.0

func (*DatumMessagePB) Descriptor() ([]byte, []int)

Deprecated: Use DatumMessagePB.ProtoReflect.Descriptor instead.

func (*DatumMessagePB) GetColumnName added in v2.13.0

func (x *DatumMessagePB) GetColumnName() string

func (*DatumMessagePB) GetColumnType added in v2.13.0

func (x *DatumMessagePB) GetColumnType() int64

func (*DatumMessagePB) GetDatum added in v2.13.0

func (m *DatumMessagePB) GetDatum() isDatumMessagePB_Datum

func (*DatumMessagePB) GetDatumBool added in v2.13.0

func (x *DatumMessagePB) GetDatumBool() bool

func (*DatumMessagePB) GetDatumBytes added in v2.13.0

func (x *DatumMessagePB) GetDatumBytes() []byte

func (*DatumMessagePB) GetDatumDouble added in v2.13.0

func (x *DatumMessagePB) GetDatumDouble() float64

func (*DatumMessagePB) GetDatumFloat added in v2.13.0

func (x *DatumMessagePB) GetDatumFloat() float32

func (*DatumMessagePB) GetDatumInt32 added in v2.13.0

func (x *DatumMessagePB) GetDatumInt32() int32

func (*DatumMessagePB) GetDatumInt64 added in v2.13.0

func (x *DatumMessagePB) GetDatumInt64() int64

func (*DatumMessagePB) GetDatumMissing added in v2.13.0

func (x *DatumMessagePB) GetDatumMissing() bool

func (*DatumMessagePB) GetDatumString added in v2.13.0

func (x *DatumMessagePB) GetDatumString() string

func (*DatumMessagePB) ProtoMessage added in v2.13.0

func (*DatumMessagePB) ProtoMessage()

func (*DatumMessagePB) ProtoReflect added in v2.13.0

func (x *DatumMessagePB) ProtoReflect() protoreflect.Message

func (*DatumMessagePB) Reset added in v2.13.0

func (x *DatumMessagePB) Reset()

func (*DatumMessagePB) String added in v2.13.0

func (x *DatumMessagePB) String() string

type DatumMessagePB_DatumBool added in v2.13.0

type DatumMessagePB_DatumBool struct {
	DatumBool bool `protobuf:"varint,7,opt,name=datum_bool,json=datumBool,oneof"`
}

type DatumMessagePB_DatumBytes added in v2.13.0

type DatumMessagePB_DatumBytes struct {
	DatumBytes []byte `protobuf:"bytes,9,opt,name=datum_bytes,json=datumBytes,oneof"`
}

type DatumMessagePB_DatumDouble added in v2.13.0

type DatumMessagePB_DatumDouble struct {
	DatumDouble float64 `protobuf:"fixed64,6,opt,name=datum_double,json=datumDouble,oneof"`
}

type DatumMessagePB_DatumFloat added in v2.13.0

type DatumMessagePB_DatumFloat struct {
	DatumFloat float32 `protobuf:"fixed32,5,opt,name=datum_float,json=datumFloat,oneof"`
}

type DatumMessagePB_DatumInt32 added in v2.13.0

type DatumMessagePB_DatumInt32 struct {
	DatumInt32 int32 `protobuf:"varint,3,opt,name=datum_int32,json=datumInt32,oneof"`
}

type DatumMessagePB_DatumInt64 added in v2.13.0

type DatumMessagePB_DatumInt64 struct {
	DatumInt64 int64 `protobuf:"varint,4,opt,name=datum_int64,json=datumInt64,oneof"`
}

type DatumMessagePB_DatumMissing added in v2.13.0

type DatumMessagePB_DatumMissing struct {
	DatumMissing bool `protobuf:"varint,10,opt,name=datum_missing,json=datumMissing,oneof"`
}

type DatumMessagePB_DatumString added in v2.13.0

type DatumMessagePB_DatumString struct {
	DatumString string `protobuf:"bytes,8,opt,name=datum_string,json=datumString,oneof"`
}

type DdlLogEntryPB

type DdlLogEntryPB struct {
	TableType     *TableType `protobuf:"varint,1,opt,name=table_type,json=tableType,enum=yb.TableType" json:"table_type,omitempty"`
	NamespaceName *string    `protobuf:"bytes,2,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	NamespaceId   *string    `protobuf:"bytes,3,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	TableName     *string    `protobuf:"bytes,4,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	TableId       *string    `protobuf:"bytes,5,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	Action        *string    `protobuf:"bytes,6,opt,name=action" json:"action,omitempty"`
	Time          *uint64    `protobuf:"fixed64,7,opt,name=time" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*DdlLogEntryPB) Descriptor deprecated

func (*DdlLogEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use DdlLogEntryPB.ProtoReflect.Descriptor instead.

func (*DdlLogEntryPB) GetAction

func (x *DdlLogEntryPB) GetAction() string

func (*DdlLogEntryPB) GetNamespaceId

func (x *DdlLogEntryPB) GetNamespaceId() string

func (*DdlLogEntryPB) GetNamespaceName

func (x *DdlLogEntryPB) GetNamespaceName() string

func (*DdlLogEntryPB) GetTableId

func (x *DdlLogEntryPB) GetTableId() string

func (*DdlLogEntryPB) GetTableName

func (x *DdlLogEntryPB) GetTableName() string

func (*DdlLogEntryPB) GetTableType

func (x *DdlLogEntryPB) GetTableType() TableType

func (*DdlLogEntryPB) GetTime

func (x *DdlLogEntryPB) GetTime() uint64

func (*DdlLogEntryPB) ProtoMessage

func (*DdlLogEntryPB) ProtoMessage()

func (*DdlLogEntryPB) ProtoReflect

func (x *DdlLogEntryPB) ProtoReflect() protoreflect.Message

func (*DdlLogEntryPB) Reset

func (x *DdlLogEntryPB) Reset()

func (*DdlLogEntryPB) String

func (x *DdlLogEntryPB) String() string

type DdlLogRequestPB

type DdlLogRequestPB struct {
	// contains filtered or unexported fields
}

func (*DdlLogRequestPB) Descriptor deprecated

func (*DdlLogRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DdlLogRequestPB.ProtoReflect.Descriptor instead.

func (*DdlLogRequestPB) ProtoMessage

func (*DdlLogRequestPB) ProtoMessage()

func (*DdlLogRequestPB) ProtoReflect

func (x *DdlLogRequestPB) ProtoReflect() protoreflect.Message

func (*DdlLogRequestPB) Reset

func (x *DdlLogRequestPB) Reset()

func (*DdlLogRequestPB) String

func (x *DdlLogRequestPB) String() string

type DdlLogResponsePB

type DdlLogResponsePB struct {
	Error   *MasterErrorPB   `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Entries []*DdlLogEntryPB `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*DdlLogResponsePB) Descriptor deprecated

func (*DdlLogResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DdlLogResponsePB.ProtoReflect.Descriptor instead.

func (*DdlLogResponsePB) GetEntries

func (x *DdlLogResponsePB) GetEntries() []*DdlLogEntryPB

func (*DdlLogResponsePB) GetError

func (x *DdlLogResponsePB) GetError() *MasterErrorPB

func (*DdlLogResponsePB) ProtoMessage

func (*DdlLogResponsePB) ProtoMessage()

func (*DdlLogResponsePB) ProtoReflect

func (x *DdlLogResponsePB) ProtoReflect() protoreflect.Message

func (*DdlLogResponsePB) Reset

func (x *DdlLogResponsePB) Reset()

func (*DdlLogResponsePB) String

func (x *DdlLogResponsePB) String() string

type DeleteCDCStreamRequestPB

type DeleteCDCStreamRequestPB struct {
	StreamId     [][]byte `protobuf:"bytes,1,rep,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	IgnoreErrors *bool    `protobuf:"varint,2,opt,name=ignore_errors,json=ignoreErrors,def=0" json:"ignore_errors,omitempty"`
	ForceDelete  *bool    `protobuf:"varint,3,opt,name=force_delete,json=forceDelete,def=0" json:"force_delete,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCDCStreamRequestPB) Descriptor deprecated

func (*DeleteCDCStreamRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCDCStreamRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteCDCStreamRequestPB) GetForceDelete added in v2.13.0

func (x *DeleteCDCStreamRequestPB) GetForceDelete() bool

func (*DeleteCDCStreamRequestPB) GetIgnoreErrors added in v2.13.0

func (x *DeleteCDCStreamRequestPB) GetIgnoreErrors() bool

func (*DeleteCDCStreamRequestPB) GetStreamId

func (x *DeleteCDCStreamRequestPB) GetStreamId() [][]byte

func (*DeleteCDCStreamRequestPB) ProtoMessage

func (*DeleteCDCStreamRequestPB) ProtoMessage()

func (*DeleteCDCStreamRequestPB) ProtoReflect

func (x *DeleteCDCStreamRequestPB) ProtoReflect() protoreflect.Message

func (*DeleteCDCStreamRequestPB) Reset

func (x *DeleteCDCStreamRequestPB) Reset()

func (*DeleteCDCStreamRequestPB) String

func (x *DeleteCDCStreamRequestPB) String() string

type DeleteCDCStreamResponsePB

type DeleteCDCStreamResponsePB struct {
	Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteCDCStreamResponsePB) Descriptor deprecated

func (*DeleteCDCStreamResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCDCStreamResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteCDCStreamResponsePB) GetError

func (x *DeleteCDCStreamResponsePB) GetError() *CDCErrorPB

func (*DeleteCDCStreamResponsePB) ProtoMessage

func (*DeleteCDCStreamResponsePB) ProtoMessage()

func (*DeleteCDCStreamResponsePB) ProtoReflect

func (*DeleteCDCStreamResponsePB) Reset

func (x *DeleteCDCStreamResponsePB) Reset()

func (*DeleteCDCStreamResponsePB) String

func (x *DeleteCDCStreamResponsePB) String() string

type DeleteNamespaceRequestPB

type DeleteNamespaceRequestPB struct {
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// Database type.
	DatabaseType *YQLDatabase `protobuf:"varint,2,opt,name=database_type,json=databaseType,enum=yb.YQLDatabase,def=2" json:"database_type,omitempty"`
	// contains filtered or unexported fields
}

Database type is added to metadata entries such that PGSQL clients cannot delete or connect to CQL database_type and vice versa.

func (*DeleteNamespaceRequestPB) Descriptor deprecated

func (*DeleteNamespaceRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNamespaceRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceRequestPB) GetDatabaseType

func (x *DeleteNamespaceRequestPB) GetDatabaseType() YQLDatabase

func (*DeleteNamespaceRequestPB) GetNamespace

func (*DeleteNamespaceRequestPB) ProtoMessage

func (*DeleteNamespaceRequestPB) ProtoMessage()

func (*DeleteNamespaceRequestPB) ProtoReflect

func (x *DeleteNamespaceRequestPB) ProtoReflect() protoreflect.Message

func (*DeleteNamespaceRequestPB) Reset

func (x *DeleteNamespaceRequestPB) Reset()

func (*DeleteNamespaceRequestPB) String

func (x *DeleteNamespaceRequestPB) String() string

type DeleteNamespaceResponsePB

type DeleteNamespaceResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNamespaceResponsePB) Descriptor deprecated

func (*DeleteNamespaceResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNamespaceResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteNamespaceResponsePB) GetError

func (*DeleteNamespaceResponsePB) ProtoMessage

func (*DeleteNamespaceResponsePB) ProtoMessage()

func (*DeleteNamespaceResponsePB) ProtoReflect

func (*DeleteNamespaceResponsePB) Reset

func (x *DeleteNamespaceResponsePB) Reset()

func (*DeleteNamespaceResponsePB) String

func (x *DeleteNamespaceResponsePB) String() string

type DeleteNotServingTabletRequestPB

type DeleteNotServingTabletRequestPB struct {
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotServingTabletRequestPB) Descriptor deprecated

func (*DeleteNotServingTabletRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNotServingTabletRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteNotServingTabletRequestPB) GetTabletId

func (x *DeleteNotServingTabletRequestPB) GetTabletId() []byte

func (*DeleteNotServingTabletRequestPB) ProtoMessage

func (*DeleteNotServingTabletRequestPB) ProtoMessage()

func (*DeleteNotServingTabletRequestPB) ProtoReflect

func (*DeleteNotServingTabletRequestPB) Reset

func (*DeleteNotServingTabletRequestPB) String

type DeleteNotServingTabletResponsePB

type DeleteNotServingTabletResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteNotServingTabletResponsePB) Descriptor deprecated

func (*DeleteNotServingTabletResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNotServingTabletResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteNotServingTabletResponsePB) GetError

func (*DeleteNotServingTabletResponsePB) ProtoMessage

func (*DeleteNotServingTabletResponsePB) ProtoMessage()

func (*DeleteNotServingTabletResponsePB) ProtoReflect

func (*DeleteNotServingTabletResponsePB) Reset

func (*DeleteNotServingTabletResponsePB) String

type DeletePlanPB

type DeletePlanPB struct {
	DeleteType *string `protobuf:"bytes,1,opt,name=delete_type,json=deleteType" json:"delete_type,omitempty"`
	// For delete, scan_type is currently either primary key lookup or range scan.
	ScanType      *string `protobuf:"bytes,2,opt,name=scan_type,json=scanType" json:"scan_type,omitempty"`
	KeyConditions *string `protobuf:"bytes,3,opt,name=key_conditions,json=keyConditions" json:"key_conditions,omitempty"`
	Filter        *string `protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"`
	OutputWidth   *int32  `protobuf:"varint,5,opt,name=output_width,json=outputWidth" json:"output_width,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePlanPB) Descriptor deprecated

func (*DeletePlanPB) Descriptor() ([]byte, []int)

Deprecated: Use DeletePlanPB.ProtoReflect.Descriptor instead.

func (*DeletePlanPB) GetDeleteType

func (x *DeletePlanPB) GetDeleteType() string

func (*DeletePlanPB) GetFilter

func (x *DeletePlanPB) GetFilter() string

func (*DeletePlanPB) GetKeyConditions

func (x *DeletePlanPB) GetKeyConditions() string

func (*DeletePlanPB) GetOutputWidth

func (x *DeletePlanPB) GetOutputWidth() int32

func (*DeletePlanPB) GetScanType

func (x *DeletePlanPB) GetScanType() string

func (*DeletePlanPB) ProtoMessage

func (*DeletePlanPB) ProtoMessage()

func (*DeletePlanPB) ProtoReflect

func (x *DeletePlanPB) ProtoReflect() protoreflect.Message

func (*DeletePlanPB) Reset

func (x *DeletePlanPB) Reset()

func (*DeletePlanPB) String

func (x *DeletePlanPB) String() string

type DeleteRoleRequestPB

type DeleteRoleRequestPB struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Name of the role trying to drop the role.
	CurrentRole *string `protobuf:"bytes,2,opt,name=current_role,json=currentRole" json:"current_role,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleRequestPB) Descriptor deprecated

func (*DeleteRoleRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequestPB) GetCurrentRole

func (x *DeleteRoleRequestPB) GetCurrentRole() string

func (*DeleteRoleRequestPB) GetName

func (x *DeleteRoleRequestPB) GetName() string

func (*DeleteRoleRequestPB) ProtoMessage

func (*DeleteRoleRequestPB) ProtoMessage()

func (*DeleteRoleRequestPB) ProtoReflect

func (x *DeleteRoleRequestPB) ProtoReflect() protoreflect.Message

func (*DeleteRoleRequestPB) Reset

func (x *DeleteRoleRequestPB) Reset()

func (*DeleteRoleRequestPB) String

func (x *DeleteRoleRequestPB) String() string

type DeleteRoleResponsePB

type DeleteRoleResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleResponsePB) Descriptor deprecated

func (*DeleteRoleResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteRoleResponsePB) GetError

func (x *DeleteRoleResponsePB) GetError() *MasterErrorPB

func (*DeleteRoleResponsePB) ProtoMessage

func (*DeleteRoleResponsePB) ProtoMessage()

func (*DeleteRoleResponsePB) ProtoReflect

func (x *DeleteRoleResponsePB) ProtoReflect() protoreflect.Message

func (*DeleteRoleResponsePB) Reset

func (x *DeleteRoleResponsePB) Reset()

func (*DeleteRoleResponsePB) String

func (x *DeleteRoleResponsePB) String() string

type DeleteSnapshotRequestPB added in v2.11.2

type DeleteSnapshotRequestPB struct {
	SnapshotId []byte `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSnapshotRequestPB) Descriptor deprecated added in v2.11.2

func (*DeleteSnapshotRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSnapshotRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotRequestPB) GetSnapshotId added in v2.11.2

func (x *DeleteSnapshotRequestPB) GetSnapshotId() []byte

func (*DeleteSnapshotRequestPB) ProtoMessage added in v2.11.2

func (*DeleteSnapshotRequestPB) ProtoMessage()

func (*DeleteSnapshotRequestPB) ProtoReflect added in v2.11.2

func (x *DeleteSnapshotRequestPB) ProtoReflect() protoreflect.Message

func (*DeleteSnapshotRequestPB) Reset added in v2.11.2

func (x *DeleteSnapshotRequestPB) Reset()

func (*DeleteSnapshotRequestPB) String added in v2.11.2

func (x *DeleteSnapshotRequestPB) String() string

type DeleteSnapshotResponsePB added in v2.11.2

type DeleteSnapshotResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSnapshotResponsePB) Descriptor deprecated added in v2.11.2

func (*DeleteSnapshotResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSnapshotResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotResponsePB) GetError added in v2.11.2

func (x *DeleteSnapshotResponsePB) GetError() *MasterErrorPB

func (*DeleteSnapshotResponsePB) ProtoMessage added in v2.11.2

func (*DeleteSnapshotResponsePB) ProtoMessage()

func (*DeleteSnapshotResponsePB) ProtoReflect added in v2.11.2

func (x *DeleteSnapshotResponsePB) ProtoReflect() protoreflect.Message

func (*DeleteSnapshotResponsePB) Reset added in v2.11.2

func (x *DeleteSnapshotResponsePB) Reset()

func (*DeleteSnapshotResponsePB) String added in v2.11.2

func (x *DeleteSnapshotResponsePB) String() string

type DeleteSnapshotScheduleRequestPB added in v2.11.2

type DeleteSnapshotScheduleRequestPB struct {
	SnapshotScheduleId []byte `protobuf:"bytes,1,opt,name=snapshot_schedule_id,json=snapshotScheduleId" json:"snapshot_schedule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSnapshotScheduleRequestPB) Descriptor deprecated added in v2.11.2

func (*DeleteSnapshotScheduleRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSnapshotScheduleRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotScheduleRequestPB) GetSnapshotScheduleId added in v2.11.2

func (x *DeleteSnapshotScheduleRequestPB) GetSnapshotScheduleId() []byte

func (*DeleteSnapshotScheduleRequestPB) ProtoMessage added in v2.11.2

func (*DeleteSnapshotScheduleRequestPB) ProtoMessage()

func (*DeleteSnapshotScheduleRequestPB) ProtoReflect added in v2.11.2

func (*DeleteSnapshotScheduleRequestPB) Reset added in v2.11.2

func (*DeleteSnapshotScheduleRequestPB) String added in v2.11.2

type DeleteSnapshotScheduleResponsePB added in v2.11.2

type DeleteSnapshotScheduleResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSnapshotScheduleResponsePB) Descriptor deprecated added in v2.11.2

func (*DeleteSnapshotScheduleResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSnapshotScheduleResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotScheduleResponsePB) GetError added in v2.11.2

func (*DeleteSnapshotScheduleResponsePB) ProtoMessage added in v2.11.2

func (*DeleteSnapshotScheduleResponsePB) ProtoMessage()

func (*DeleteSnapshotScheduleResponsePB) ProtoReflect added in v2.11.2

func (*DeleteSnapshotScheduleResponsePB) Reset added in v2.11.2

func (*DeleteSnapshotScheduleResponsePB) String added in v2.11.2

type DeleteTableRequestPB

type DeleteTableRequestPB struct {
	Table        *TableIdentifierPB `protobuf:"bytes,1,req,name=table" json:"table,omitempty"`
	IsIndexTable *bool              `protobuf:"varint,2,opt,name=is_index_table,json=isIndexTable,def=0" json:"is_index_table,omitempty"`
	// contains filtered or unexported fields
}

Delete table request (including index table).

func (*DeleteTableRequestPB) Descriptor deprecated

func (*DeleteTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTableRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteTableRequestPB) GetIsIndexTable

func (x *DeleteTableRequestPB) GetIsIndexTable() bool

func (*DeleteTableRequestPB) GetTable

func (x *DeleteTableRequestPB) GetTable() *TableIdentifierPB

func (*DeleteTableRequestPB) ProtoMessage

func (*DeleteTableRequestPB) ProtoMessage()

func (*DeleteTableRequestPB) ProtoReflect

func (x *DeleteTableRequestPB) ProtoReflect() protoreflect.Message

func (*DeleteTableRequestPB) Reset

func (x *DeleteTableRequestPB) Reset()

func (*DeleteTableRequestPB) String

func (x *DeleteTableRequestPB) String() string

type DeleteTableResponsePB

type DeleteTableResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// table_id for the requested table.
	TableId []byte `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// Deleted table ids. Includes the requested table, and also
	// any index tables that it may have.
	DeletedTableIds [][]byte `protobuf:"bytes,4,rep,name=deleted_table_ids,json=deletedTableIds" json:"deleted_table_ids,omitempty"`
	// For index table, the indexed table of this index.
	IndexedTable *TableIdentifierPB `protobuf:"bytes,3,opt,name=indexed_table,json=indexedTable" json:"indexed_table,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTableResponsePB) Descriptor deprecated

func (*DeleteTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTableResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteTableResponsePB) GetDeletedTableIds

func (x *DeleteTableResponsePB) GetDeletedTableIds() [][]byte

func (*DeleteTableResponsePB) GetError

func (x *DeleteTableResponsePB) GetError() *MasterErrorPB

func (*DeleteTableResponsePB) GetIndexedTable

func (x *DeleteTableResponsePB) GetIndexedTable() *TableIdentifierPB

func (*DeleteTableResponsePB) GetTableId

func (x *DeleteTableResponsePB) GetTableId() []byte

func (*DeleteTableResponsePB) ProtoMessage

func (*DeleteTableResponsePB) ProtoMessage()

func (*DeleteTableResponsePB) ProtoReflect

func (x *DeleteTableResponsePB) ProtoReflect() protoreflect.Message

func (*DeleteTableResponsePB) Reset

func (x *DeleteTableResponsePB) Reset()

func (*DeleteTableResponsePB) String

func (x *DeleteTableResponsePB) String() string

type DeleteTablegroupRequestPB

type DeleteTablegroupRequestPB struct {
	Id          []byte `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	NamespaceId []byte `protobuf:"bytes,2,req,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTablegroupRequestPB) Descriptor deprecated

func (*DeleteTablegroupRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTablegroupRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteTablegroupRequestPB) GetId

func (x *DeleteTablegroupRequestPB) GetId() []byte

func (*DeleteTablegroupRequestPB) GetNamespaceId

func (x *DeleteTablegroupRequestPB) GetNamespaceId() []byte

func (*DeleteTablegroupRequestPB) ProtoMessage

func (*DeleteTablegroupRequestPB) ProtoMessage()

func (*DeleteTablegroupRequestPB) ProtoReflect

func (*DeleteTablegroupRequestPB) Reset

func (x *DeleteTablegroupRequestPB) Reset()

func (*DeleteTablegroupRequestPB) String

func (x *DeleteTablegroupRequestPB) String() string

type DeleteTablegroupResponsePB

type DeleteTablegroupResponsePB struct {

	// The error, if an error occurred with this request.
	Error         *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	ParentTableId []byte         `protobuf:"bytes,2,opt,name=parent_table_id,json=parentTableId" json:"parent_table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTablegroupResponsePB) Descriptor deprecated

func (*DeleteTablegroupResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTablegroupResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteTablegroupResponsePB) GetError

func (*DeleteTablegroupResponsePB) GetParentTableId

func (x *DeleteTablegroupResponsePB) GetParentTableId() []byte

func (*DeleteTablegroupResponsePB) ProtoMessage

func (*DeleteTablegroupResponsePB) ProtoMessage()

func (*DeleteTablegroupResponsePB) ProtoReflect

func (*DeleteTablegroupResponsePB) Reset

func (x *DeleteTablegroupResponsePB) Reset()

func (*DeleteTablegroupResponsePB) String

func (x *DeleteTablegroupResponsePB) String() string

type DeleteTabletRequestPB

type DeleteTabletRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,4,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Reason the tablet is being deleted (for logging purposes)
	Reason *string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"`
	// Must be one of TABLET_DATA_DELETED (for table deletes) or
	// TABLET_DATA_TOMBSTONED (for replica retirement).
	DeleteType *TabletDataState `protobuf:"varint,3,opt,name=delete_type,json=deleteType,enum=yb.tablet.TabletDataState,def=3" json:"delete_type,omitempty"`
	// The highest allowed OpId index of the latest known committed config.
	// This optional parameter is here to provide an atomic (compare-and-swap)
	// DeleteTablet operation. If this parameter is specified, the DeleteTablet()
	// operation will succeed only if the committed config has an opid_index that
	// is less than or equal to this value.
	// See also the definition of RaftConfigPB.
	// Note: At the time of this writing, there is a small race between checking
	// the value of the committed config opid index and shutting down the tablet
	// for deletion. See comments in ts_tablet_manager.cc
	CasConfigOpidIndexLessOrEqual *int64 `` /* 152-byte string literal not displayed */
	// Hide tablet instead of deleting it.
	HideOnly *bool `protobuf:"varint,6,opt,name=hide_only,json=hideOnly" json:"hide_only,omitempty"`
	// contains filtered or unexported fields
}

A delete tablet request.

func (*DeleteTabletRequestPB) Descriptor deprecated

func (*DeleteTabletRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTabletRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteTabletRequestPB) GetCasConfigOpidIndexLessOrEqual

func (x *DeleteTabletRequestPB) GetCasConfigOpidIndexLessOrEqual() int64

func (*DeleteTabletRequestPB) GetDeleteType

func (x *DeleteTabletRequestPB) GetDeleteType() TabletDataState

func (*DeleteTabletRequestPB) GetDestUuid

func (x *DeleteTabletRequestPB) GetDestUuid() []byte

func (*DeleteTabletRequestPB) GetHideOnly

func (x *DeleteTabletRequestPB) GetHideOnly() bool

func (*DeleteTabletRequestPB) GetReason

func (x *DeleteTabletRequestPB) GetReason() string

func (*DeleteTabletRequestPB) GetTabletId

func (x *DeleteTabletRequestPB) GetTabletId() []byte

func (*DeleteTabletRequestPB) ProtoMessage

func (*DeleteTabletRequestPB) ProtoMessage()

func (*DeleteTabletRequestPB) ProtoReflect

func (x *DeleteTabletRequestPB) ProtoReflect() protoreflect.Message

func (*DeleteTabletRequestPB) Reset

func (x *DeleteTabletRequestPB) Reset()

func (*DeleteTabletRequestPB) String

func (x *DeleteTabletRequestPB) String() string

type DeleteTabletResponsePB

type DeleteTabletResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTabletResponsePB) Descriptor deprecated

func (*DeleteTabletResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTabletResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteTabletResponsePB) GetError

func (*DeleteTabletResponsePB) ProtoMessage

func (*DeleteTabletResponsePB) ProtoMessage()

func (*DeleteTabletResponsePB) ProtoReflect

func (x *DeleteTabletResponsePB) ProtoReflect() protoreflect.Message

func (*DeleteTabletResponsePB) Reset

func (x *DeleteTabletResponsePB) Reset()

func (*DeleteTabletResponsePB) String

func (x *DeleteTabletResponsePB) String() string

type DeleteUDTypeRequestPB

type DeleteUDTypeRequestPB struct {
	Type *UDTypeIdentifierPB `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUDTypeRequestPB) Descriptor deprecated

func (*DeleteUDTypeRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUDTypeRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteUDTypeRequestPB) GetType

func (*DeleteUDTypeRequestPB) ProtoMessage

func (*DeleteUDTypeRequestPB) ProtoMessage()

func (*DeleteUDTypeRequestPB) ProtoReflect

func (x *DeleteUDTypeRequestPB) ProtoReflect() protoreflect.Message

func (*DeleteUDTypeRequestPB) Reset

func (x *DeleteUDTypeRequestPB) Reset()

func (*DeleteUDTypeRequestPB) String

func (x *DeleteUDTypeRequestPB) String() string

type DeleteUDTypeResponsePB

type DeleteUDTypeResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUDTypeResponsePB) Descriptor deprecated

func (*DeleteUDTypeResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUDTypeResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteUDTypeResponsePB) GetError

func (x *DeleteUDTypeResponsePB) GetError() *MasterErrorPB

func (*DeleteUDTypeResponsePB) ProtoMessage

func (*DeleteUDTypeResponsePB) ProtoMessage()

func (*DeleteUDTypeResponsePB) ProtoReflect

func (x *DeleteUDTypeResponsePB) ProtoReflect() protoreflect.Message

func (*DeleteUDTypeResponsePB) Reset

func (x *DeleteUDTypeResponsePB) Reset()

func (*DeleteUDTypeResponsePB) String

func (x *DeleteUDTypeResponsePB) String() string

type DeleteUniverseReplicationRequestPB

type DeleteUniverseReplicationRequestPB struct {
	ProducerId   *string `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	IgnoreErrors *bool   `protobuf:"varint,2,opt,name=ignore_errors,json=ignoreErrors,def=0" json:"ignore_errors,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUniverseReplicationRequestPB) Descriptor deprecated

func (*DeleteUniverseReplicationRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUniverseReplicationRequestPB.ProtoReflect.Descriptor instead.

func (*DeleteUniverseReplicationRequestPB) GetIgnoreErrors added in v2.13.0

func (x *DeleteUniverseReplicationRequestPB) GetIgnoreErrors() bool

func (*DeleteUniverseReplicationRequestPB) GetProducerId

func (x *DeleteUniverseReplicationRequestPB) GetProducerId() string

func (*DeleteUniverseReplicationRequestPB) ProtoMessage

func (*DeleteUniverseReplicationRequestPB) ProtoMessage()

func (*DeleteUniverseReplicationRequestPB) ProtoReflect

func (*DeleteUniverseReplicationRequestPB) Reset

func (*DeleteUniverseReplicationRequestPB) String

type DeleteUniverseReplicationResponsePB

type DeleteUniverseReplicationResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// In case force is set, then still return any ignored warnings.
	Warnings []*AppStatusPB `protobuf:"bytes,2,rep,name=warnings" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUniverseReplicationResponsePB) Descriptor deprecated

func (*DeleteUniverseReplicationResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUniverseReplicationResponsePB.ProtoReflect.Descriptor instead.

func (*DeleteUniverseReplicationResponsePB) GetError

func (*DeleteUniverseReplicationResponsePB) GetWarnings

func (*DeleteUniverseReplicationResponsePB) ProtoMessage

func (*DeleteUniverseReplicationResponsePB) ProtoMessage()

func (*DeleteUniverseReplicationResponsePB) ProtoReflect

func (*DeleteUniverseReplicationResponsePB) Reset

func (*DeleteUniverseReplicationResponsePB) String

type DeletedColumnPB

type DeletedColumnPB struct {

	// Required. Column Id.
	ColumnId *int32 `protobuf:"varint,1,opt,name=column_id,json=columnId" json:"column_id,omitempty"`
	// Required. Hybrid Time when column was deleted on this tablet.
	DeletedHybridTime *uint64 `protobuf:"fixed64,2,opt,name=deleted_hybrid_time,json=deletedHybridTime" json:"deleted_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedColumnPB) Descriptor deprecated

func (*DeletedColumnPB) Descriptor() ([]byte, []int)

Deprecated: Use DeletedColumnPB.ProtoReflect.Descriptor instead.

func (*DeletedColumnPB) GetColumnId

func (x *DeletedColumnPB) GetColumnId() int32

func (*DeletedColumnPB) GetDeletedHybridTime

func (x *DeletedColumnPB) GetDeletedHybridTime() uint64

func (*DeletedColumnPB) ProtoMessage

func (*DeletedColumnPB) ProtoMessage()

func (*DeletedColumnPB) ProtoReflect

func (x *DeletedColumnPB) ProtoReflect() protoreflect.Message

func (*DeletedColumnPB) Reset

func (x *DeletedColumnPB) Reset()

func (*DeletedColumnPB) String

func (x *DeletedColumnPB) String() string

type DeletedFilePB

type DeletedFilePB struct {
	Level      *uint32 `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
	FileNumber *uint64 `protobuf:"varint,2,opt,name=file_number,json=fileNumber" json:"file_number,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedFilePB) Descriptor deprecated

func (*DeletedFilePB) Descriptor() ([]byte, []int)

Deprecated: Use DeletedFilePB.ProtoReflect.Descriptor instead.

func (*DeletedFilePB) GetFileNumber

func (x *DeletedFilePB) GetFileNumber() uint64

func (*DeletedFilePB) GetLevel

func (x *DeletedFilePB) GetLevel() uint32

func (*DeletedFilePB) ProtoMessage

func (*DeletedFilePB) ProtoMessage()

func (*DeletedFilePB) ProtoReflect

func (x *DeletedFilePB) ProtoReflect() protoreflect.Message

func (*DeletedFilePB) Reset

func (x *DeletedFilePB) Reset()

func (*DeletedFilePB) String

func (x *DeletedFilePB) String() string

type DisconnectRequestPB

type DisconnectRequestPB struct {
	// contains filtered or unexported fields
}

func (*DisconnectRequestPB) Descriptor deprecated

func (*DisconnectRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DisconnectRequestPB.ProtoReflect.Descriptor instead.

func (*DisconnectRequestPB) ProtoMessage

func (*DisconnectRequestPB) ProtoMessage()

func (*DisconnectRequestPB) ProtoReflect

func (x *DisconnectRequestPB) ProtoReflect() protoreflect.Message

func (*DisconnectRequestPB) Reset

func (x *DisconnectRequestPB) Reset()

func (*DisconnectRequestPB) String

func (x *DisconnectRequestPB) String() string

type DisconnectResponsePB

type DisconnectResponsePB struct {
	// contains filtered or unexported fields
}

func (*DisconnectResponsePB) Descriptor deprecated

func (*DisconnectResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DisconnectResponsePB.ProtoReflect.Descriptor instead.

func (*DisconnectResponsePB) ProtoMessage

func (*DisconnectResponsePB) ProtoMessage()

func (*DisconnectResponsePB) ProtoReflect

func (x *DisconnectResponsePB) ProtoReflect() protoreflect.Message

func (*DisconnectResponsePB) Reset

func (x *DisconnectResponsePB) Reset()

func (*DisconnectResponsePB) String

func (x *DisconnectResponsePB) String() string

type DriverType

type DriverType int32

The transaction driver type: indicates whether a transaction is being executed on a leader or a replica.

const (
	DriverType_UNKNOWN_DRIVER DriverType = 0
	DriverType_LEADER         DriverType = 1
	DriverType_REPLICA        DriverType = 2
)

func (DriverType) Descriptor

func (DriverType) Descriptor() protoreflect.EnumDescriptor

func (DriverType) Enum

func (x DriverType) Enum() *DriverType

func (DriverType) EnumDescriptor deprecated

func (DriverType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DriverType.Descriptor instead.

func (DriverType) Number

func (x DriverType) Number() protoreflect.EnumNumber

func (DriverType) String

func (x DriverType) String() string

func (DriverType) Type

func (*DriverType) UnmarshalJSON deprecated

func (x *DriverType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type DumpMasterStateRequestPB

type DumpMasterStateRequestPB struct {

	// Dump on-disk state known to this master - including sys.catalog and raft config related info
	OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,def=1" json:"on_disk,omitempty"`
	// If set to true, the leader sends request to all current peers to dump their state too.
	// The on_disk is sent along to peers too.
	PeersAlso *bool `protobuf:"varint,2,opt,name=peers_also,json=peersAlso,def=0" json:"peers_also,omitempty"`
	// If set to true, the dump will be returned back as a string in the response.
	// Else the dump will be saved into the master respective log files.
	ReturnDumpAsString *bool `protobuf:"varint,3,opt,name=return_dump_as_string,json=returnDumpAsString,def=0" json:"return_dump_as_string,omitempty"`
	// contains filtered or unexported fields
}

Make the masters dump all their in-memory and on-disk state to their respective log files. Sent to the master leader first, and then propogated to its peers if peers_also is set to true.

func (*DumpMasterStateRequestPB) Descriptor deprecated

func (*DumpMasterStateRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DumpMasterStateRequestPB.ProtoReflect.Descriptor instead.

func (*DumpMasterStateRequestPB) GetOnDisk

func (x *DumpMasterStateRequestPB) GetOnDisk() bool

func (*DumpMasterStateRequestPB) GetPeersAlso

func (x *DumpMasterStateRequestPB) GetPeersAlso() bool

func (*DumpMasterStateRequestPB) GetReturnDumpAsString

func (x *DumpMasterStateRequestPB) GetReturnDumpAsString() bool

func (*DumpMasterStateRequestPB) ProtoMessage

func (*DumpMasterStateRequestPB) ProtoMessage()

func (*DumpMasterStateRequestPB) ProtoReflect

func (x *DumpMasterStateRequestPB) ProtoReflect() protoreflect.Message

func (*DumpMasterStateRequestPB) Reset

func (x *DumpMasterStateRequestPB) Reset()

func (*DumpMasterStateRequestPB) String

func (x *DumpMasterStateRequestPB) String() string

type DumpMasterStateResponsePB

type DumpMasterStateResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Dump  *string        `protobuf:"bytes,2,opt,name=dump" json:"dump,omitempty"`
	// contains filtered or unexported fields
}

func (*DumpMasterStateResponsePB) Descriptor deprecated

func (*DumpMasterStateResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DumpMasterStateResponsePB.ProtoReflect.Descriptor instead.

func (*DumpMasterStateResponsePB) GetDump

func (x *DumpMasterStateResponsePB) GetDump() string

func (*DumpMasterStateResponsePB) GetError

func (*DumpMasterStateResponsePB) ProtoMessage

func (*DumpMasterStateResponsePB) ProtoMessage()

func (*DumpMasterStateResponsePB) ProtoReflect

func (*DumpMasterStateResponsePB) Reset

func (x *DumpMasterStateResponsePB) Reset()

func (*DumpMasterStateResponsePB) String

func (x *DumpMasterStateResponsePB) String() string

type DumpRunningRpcsRequestPB

type DumpRunningRpcsRequestPB struct {
	IncludeTraces *bool `protobuf:"varint,1,opt,name=include_traces,json=includeTraces,def=0" json:"include_traces,omitempty"`
	DumpTimedOut  *bool `protobuf:"varint,2,opt,name=dump_timed_out,json=dumpTimedOut" json:"dump_timed_out,omitempty"`
	// contains filtered or unexported fields
}

func (*DumpRunningRpcsRequestPB) Descriptor deprecated

func (*DumpRunningRpcsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use DumpRunningRpcsRequestPB.ProtoReflect.Descriptor instead.

func (*DumpRunningRpcsRequestPB) GetDumpTimedOut

func (x *DumpRunningRpcsRequestPB) GetDumpTimedOut() bool

func (*DumpRunningRpcsRequestPB) GetIncludeTraces

func (x *DumpRunningRpcsRequestPB) GetIncludeTraces() bool

func (*DumpRunningRpcsRequestPB) ProtoMessage

func (*DumpRunningRpcsRequestPB) ProtoMessage()

func (*DumpRunningRpcsRequestPB) ProtoReflect

func (x *DumpRunningRpcsRequestPB) ProtoReflect() protoreflect.Message

func (*DumpRunningRpcsRequestPB) Reset

func (x *DumpRunningRpcsRequestPB) Reset()

func (*DumpRunningRpcsRequestPB) String

func (x *DumpRunningRpcsRequestPB) String() string

type DumpRunningRpcsResponsePB

type DumpRunningRpcsResponsePB struct {
	InboundConnections  []*RpcConnectionPB `protobuf:"bytes,1,rep,name=inbound_connections,json=inboundConnections" json:"inbound_connections,omitempty"`
	OutboundConnections []*RpcConnectionPB `protobuf:"bytes,2,rep,name=outbound_connections,json=outboundConnections" json:"outbound_connections,omitempty"`
	// contains filtered or unexported fields
}

func (*DumpRunningRpcsResponsePB) Descriptor deprecated

func (*DumpRunningRpcsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use DumpRunningRpcsResponsePB.ProtoReflect.Descriptor instead.

func (*DumpRunningRpcsResponsePB) GetInboundConnections

func (x *DumpRunningRpcsResponsePB) GetInboundConnections() []*RpcConnectionPB

func (*DumpRunningRpcsResponsePB) GetOutboundConnections

func (x *DumpRunningRpcsResponsePB) GetOutboundConnections() []*RpcConnectionPB

func (*DumpRunningRpcsResponsePB) ProtoMessage

func (*DumpRunningRpcsResponsePB) ProtoMessage()

func (*DumpRunningRpcsResponsePB) ProtoReflect

func (*DumpRunningRpcsResponsePB) Reset

func (x *DumpRunningRpcsResponsePB) Reset()

func (*DumpRunningRpcsResponsePB) String

func (x *DumpRunningRpcsResponsePB) String() string

type EchoRequestPB

type EchoRequestPB struct {
	Data *string `protobuf:"bytes,1,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*EchoRequestPB) Descriptor deprecated

func (*EchoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use EchoRequestPB.ProtoReflect.Descriptor instead.

func (*EchoRequestPB) GetData

func (x *EchoRequestPB) GetData() string

func (*EchoRequestPB) ProtoMessage

func (*EchoRequestPB) ProtoMessage()

func (*EchoRequestPB) ProtoReflect

func (x *EchoRequestPB) ProtoReflect() protoreflect.Message

func (*EchoRequestPB) Reset

func (x *EchoRequestPB) Reset()

func (*EchoRequestPB) String

func (x *EchoRequestPB) String() string

type EchoResponsePB

type EchoResponsePB struct {
	Data *string `protobuf:"bytes,1,req,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*EchoResponsePB) Descriptor deprecated

func (*EchoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use EchoResponsePB.ProtoReflect.Descriptor instead.

func (*EchoResponsePB) GetData

func (x *EchoResponsePB) GetData() string

func (*EchoResponsePB) ProtoMessage

func (*EchoResponsePB) ProtoMessage()

func (*EchoResponsePB) ProtoReflect

func (x *EchoResponsePB) ProtoReflect() protoreflect.Message

func (*EchoResponsePB) Reset

func (x *EchoResponsePB) Reset()

func (*EchoResponsePB) String

func (x *EchoResponsePB) String() string

type EmptyMessagePB

type EmptyMessagePB struct {
	// contains filtered or unexported fields
}

An emtpy message. Since CQL RPC server bypasses protobuf to handle requests and responses but RPC context expects the request and response messages to be present, we set up an empty message inside RPC context to satisfy it.

func (*EmptyMessagePB) Descriptor deprecated

func (*EmptyMessagePB) Descriptor() ([]byte, []int)

Deprecated: Use EmptyMessagePB.ProtoReflect.Descriptor instead.

func (*EmptyMessagePB) ProtoMessage

func (*EmptyMessagePB) ProtoMessage()

func (*EmptyMessagePB) ProtoReflect

func (x *EmptyMessagePB) ProtoReflect() protoreflect.Message

func (*EmptyMessagePB) Reset

func (x *EmptyMessagePB) Reset()

func (*EmptyMessagePB) String

func (x *EmptyMessagePB) String() string

type EncryptionInfoPB

type EncryptionInfoPB struct {
	EncryptionEnabled          *bool   `protobuf:"varint,1,opt,name=encryption_enabled,json=encryptionEnabled" json:"encryption_enabled,omitempty"`
	UniverseKeyRegistryEncoded []byte  `` /* 136-byte string literal not displayed */
	KeyPath                    *string `protobuf:"bytes,3,opt,name=key_path,json=keyPath" json:"key_path,omitempty"`
	LatestVersionId            *string `protobuf:"bytes,4,opt,name=latest_version_id,json=latestVersionId" json:"latest_version_id,omitempty"`
	KeyInMemory                *bool   `protobuf:"varint,5,opt,name=key_in_memory,json=keyInMemory" json:"key_in_memory,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptionInfoPB) Descriptor deprecated

func (*EncryptionInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionInfoPB.ProtoReflect.Descriptor instead.

func (*EncryptionInfoPB) GetEncryptionEnabled

func (x *EncryptionInfoPB) GetEncryptionEnabled() bool

func (*EncryptionInfoPB) GetKeyInMemory

func (x *EncryptionInfoPB) GetKeyInMemory() bool

func (*EncryptionInfoPB) GetKeyPath

func (x *EncryptionInfoPB) GetKeyPath() string

func (*EncryptionInfoPB) GetLatestVersionId

func (x *EncryptionInfoPB) GetLatestVersionId() string

func (*EncryptionInfoPB) GetUniverseKeyRegistryEncoded

func (x *EncryptionInfoPB) GetUniverseKeyRegistryEncoded() []byte

func (*EncryptionInfoPB) ProtoMessage

func (*EncryptionInfoPB) ProtoMessage()

func (*EncryptionInfoPB) ProtoReflect

func (x *EncryptionInfoPB) ProtoReflect() protoreflect.Message

func (*EncryptionInfoPB) Reset

func (x *EncryptionInfoPB) Reset()

func (*EncryptionInfoPB) String

func (x *EncryptionInfoPB) String() string

type EncryptionParamsPB

type EncryptionParamsPB struct {
	DataKey []byte `protobuf:"bytes,1,opt,name=data_key,json=dataKey,proto3" json:"data_key,omitempty"`
	Nonce   []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Counter int32  `protobuf:"varint,3,opt,name=counter,proto3" json:"counter,omitempty"`
	// When computing counter increment, do we want to overflow the counter into the rest of the
	// initialization vector as part of the new format.
	OpensslCompatibleCounterOverflow bool `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EncryptionParamsPB) Descriptor deprecated

func (*EncryptionParamsPB) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionParamsPB.ProtoReflect.Descriptor instead.

func (*EncryptionParamsPB) GetCounter

func (x *EncryptionParamsPB) GetCounter() int32

func (*EncryptionParamsPB) GetDataKey

func (x *EncryptionParamsPB) GetDataKey() []byte

func (*EncryptionParamsPB) GetNonce

func (x *EncryptionParamsPB) GetNonce() []byte

func (*EncryptionParamsPB) GetOpensslCompatibleCounterOverflow

func (x *EncryptionParamsPB) GetOpensslCompatibleCounterOverflow() bool

func (*EncryptionParamsPB) ProtoMessage

func (*EncryptionParamsPB) ProtoMessage()

func (*EncryptionParamsPB) ProtoReflect

func (x *EncryptionParamsPB) ProtoReflect() protoreflect.Message

func (*EncryptionParamsPB) Reset

func (x *EncryptionParamsPB) Reset()

func (*EncryptionParamsPB) String

func (x *EncryptionParamsPB) String() string

type EndRemoteBootstrapSessionRequestPB

type EndRemoteBootstrapSessionRequestPB struct {
	SessionId []byte `protobuf:"bytes,1,req,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// Set to true if bootstrap is successful.
	IsSuccess *bool `protobuf:"varint,2,req,name=is_success,json=isSuccess" json:"is_success,omitempty"`
	// Client-provided error message. The server will log this error so that an
	// admin can identify when bad things are happening with remote bootstrap.
	Error *AppStatusPB `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	// True if we should not remove session on this request, and it will be removed by upcoming
	// RemoveRemoteBootstrapSession.
	KeepSession *bool `protobuf:"varint,4,opt,name=keep_session,json=keepSession,def=0" json:"keep_session,omitempty"`
	// contains filtered or unexported fields
}

func (*EndRemoteBootstrapSessionRequestPB) Descriptor deprecated

func (*EndRemoteBootstrapSessionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use EndRemoteBootstrapSessionRequestPB.ProtoReflect.Descriptor instead.

func (*EndRemoteBootstrapSessionRequestPB) GetError

func (*EndRemoteBootstrapSessionRequestPB) GetIsSuccess

func (x *EndRemoteBootstrapSessionRequestPB) GetIsSuccess() bool

func (*EndRemoteBootstrapSessionRequestPB) GetKeepSession

func (x *EndRemoteBootstrapSessionRequestPB) GetKeepSession() bool

func (*EndRemoteBootstrapSessionRequestPB) GetSessionId

func (x *EndRemoteBootstrapSessionRequestPB) GetSessionId() []byte

func (*EndRemoteBootstrapSessionRequestPB) ProtoMessage

func (*EndRemoteBootstrapSessionRequestPB) ProtoMessage()

func (*EndRemoteBootstrapSessionRequestPB) ProtoReflect

func (*EndRemoteBootstrapSessionRequestPB) Reset

func (*EndRemoteBootstrapSessionRequestPB) String

type EndRemoteBootstrapSessionResponsePB

type EndRemoteBootstrapSessionResponsePB struct {
	SessionKept *bool `protobuf:"varint,1,opt,name=session_kept,json=sessionKept,def=0" json:"session_kept,omitempty"`
	// contains filtered or unexported fields
}

func (*EndRemoteBootstrapSessionResponsePB) Descriptor deprecated

func (*EndRemoteBootstrapSessionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use EndRemoteBootstrapSessionResponsePB.ProtoReflect.Descriptor instead.

func (*EndRemoteBootstrapSessionResponsePB) GetSessionKept

func (x *EndRemoteBootstrapSessionResponsePB) GetSessionKept() bool

func (*EndRemoteBootstrapSessionResponsePB) ProtoMessage

func (*EndRemoteBootstrapSessionResponsePB) ProtoMessage()

func (*EndRemoteBootstrapSessionResponsePB) ProtoReflect

func (*EndRemoteBootstrapSessionResponsePB) Reset

func (*EndRemoteBootstrapSessionResponsePB) String

type ErrorStatusPB

type ErrorStatusPB struct {
	Message *string `protobuf:"bytes,1,req,name=message" json:"message,omitempty"`
	// TODO: Make code required?
	Code *ErrorStatusPB_RpcErrorCodePB `protobuf:"varint,2,opt,name=code,enum=yb.rpc.ErrorStatusPB_RpcErrorCodePB" json:"code,omitempty"` // Specific error identifier.
	// contains filtered or unexported fields
}

Sent as response when is_error == true.

func (*ErrorStatusPB) Descriptor deprecated

func (*ErrorStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use ErrorStatusPB.ProtoReflect.Descriptor instead.

func (*ErrorStatusPB) GetCode

func (*ErrorStatusPB) GetMessage

func (x *ErrorStatusPB) GetMessage() string

func (*ErrorStatusPB) ProtoMessage

func (*ErrorStatusPB) ProtoMessage()

func (*ErrorStatusPB) ProtoReflect

func (x *ErrorStatusPB) ProtoReflect() protoreflect.Message

func (*ErrorStatusPB) Reset

func (x *ErrorStatusPB) Reset()

func (*ErrorStatusPB) String

func (x *ErrorStatusPB) String() string

type ErrorStatusPB_RpcErrorCodePB

type ErrorStatusPB_RpcErrorCodePB int32

These codes have all been inherited from Hadoop's RPC mechanism.

const (
	ErrorStatusPB_FATAL_UNKNOWN ErrorStatusPB_RpcErrorCodePB = 10
	// Non-fatal RPC errors. Connection should be left open for future RPC calls.
	//------------------------------------------------------------
	// The application generated an error status. See the message field for
	// more details.
	ErrorStatusPB_ERROR_APPLICATION ErrorStatusPB_RpcErrorCodePB = 1
	// The specified method was not valid.
	ErrorStatusPB_ERROR_NO_SUCH_METHOD ErrorStatusPB_RpcErrorCodePB = 2
	// The specified service was not valid.
	ErrorStatusPB_ERROR_NO_SUCH_SERVICE ErrorStatusPB_RpcErrorCodePB = 3
	// The server is overloaded - the client should try again shortly.
	ErrorStatusPB_ERROR_SERVER_TOO_BUSY ErrorStatusPB_RpcErrorCodePB = 4
	// The request parameter was not parseable or was missing required fields.
	ErrorStatusPB_ERROR_INVALID_REQUEST ErrorStatusPB_RpcErrorCodePB = 5
	// FATAL_* errors indicate that the client should shut down the connection.
	//------------------------------------------------------------
	// The RPC server is already shutting down.
	ErrorStatusPB_FATAL_SERVER_SHUTTING_DOWN ErrorStatusPB_RpcErrorCodePB = 11
	// Could not deserialize RPC request.
	ErrorStatusPB_FATAL_DESERIALIZING_REQUEST ErrorStatusPB_RpcErrorCodePB = 13
	// IPC Layer version mismatch.
	ErrorStatusPB_FATAL_VERSION_MISMATCH ErrorStatusPB_RpcErrorCodePB = 14
	// Auth failed.
	ErrorStatusPB_FATAL_UNAUTHORIZED ErrorStatusPB_RpcErrorCodePB = 15
)

func (ErrorStatusPB_RpcErrorCodePB) Descriptor

func (ErrorStatusPB_RpcErrorCodePB) Enum

func (ErrorStatusPB_RpcErrorCodePB) EnumDescriptor deprecated

func (ErrorStatusPB_RpcErrorCodePB) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorStatusPB_RpcErrorCodePB.Descriptor instead.

func (ErrorStatusPB_RpcErrorCodePB) Number

func (ErrorStatusPB_RpcErrorCodePB) String

func (ErrorStatusPB_RpcErrorCodePB) Type

func (*ErrorStatusPB_RpcErrorCodePB) UnmarshalJSON deprecated

func (x *ErrorStatusPB_RpcErrorCodePB) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ExplainPlanPB

type ExplainPlanPB struct {

	// Types that are assignable to Plan:
	//	*ExplainPlanPB_SelectPlan
	//	*ExplainPlanPB_InsertPlan
	//	*ExplainPlanPB_UpdatePlan
	//	*ExplainPlanPB_DeletePlan
	Plan isExplainPlanPB_Plan `protobuf_oneof:"plan"`
	// contains filtered or unexported fields
}

func (*ExplainPlanPB) Descriptor deprecated

func (*ExplainPlanPB) Descriptor() ([]byte, []int)

Deprecated: Use ExplainPlanPB.ProtoReflect.Descriptor instead.

func (*ExplainPlanPB) GetDeletePlan

func (x *ExplainPlanPB) GetDeletePlan() *DeletePlanPB

func (*ExplainPlanPB) GetInsertPlan

func (x *ExplainPlanPB) GetInsertPlan() *InsertPlanPB

func (*ExplainPlanPB) GetPlan

func (m *ExplainPlanPB) GetPlan() isExplainPlanPB_Plan

func (*ExplainPlanPB) GetSelectPlan

func (x *ExplainPlanPB) GetSelectPlan() *SelectPlanPB

func (*ExplainPlanPB) GetUpdatePlan

func (x *ExplainPlanPB) GetUpdatePlan() *UpdatePlanPB

func (*ExplainPlanPB) ProtoMessage

func (*ExplainPlanPB) ProtoMessage()

func (*ExplainPlanPB) ProtoReflect

func (x *ExplainPlanPB) ProtoReflect() protoreflect.Message

func (*ExplainPlanPB) Reset

func (x *ExplainPlanPB) Reset()

func (*ExplainPlanPB) String

func (x *ExplainPlanPB) String() string

type ExplainPlanPB_DeletePlan

type ExplainPlanPB_DeletePlan struct {
	DeletePlan *DeletePlanPB `protobuf:"bytes,4,opt,name=delete_plan,json=deletePlan,oneof"`
}

type ExplainPlanPB_InsertPlan

type ExplainPlanPB_InsertPlan struct {
	InsertPlan *InsertPlanPB `protobuf:"bytes,2,opt,name=insert_plan,json=insertPlan,oneof"`
}

type ExplainPlanPB_SelectPlan

type ExplainPlanPB_SelectPlan struct {
	SelectPlan *SelectPlanPB `protobuf:"bytes,1,opt,name=select_plan,json=selectPlan,oneof"`
}

type ExplainPlanPB_UpdatePlan

type ExplainPlanPB_UpdatePlan struct {
	UpdatePlan *UpdatePlanPB `protobuf:"bytes,3,opt,name=update_plan,json=updatePlan,oneof"`
}

type ExportedTabletMetadataChanges

type ExportedTabletMetadataChanges struct {
	MetadataChanges []*ChangeMetadataRequestPB `protobuf:"bytes,1,rep,name=metadata_changes,json=metadataChanges" json:"metadata_changes,omitempty"`
	// contains filtered or unexported fields
}

This is used to export tablet metadata changes to a protobuf file to be reloaded on a new cluster startup to avoid running initdb.

func (*ExportedTabletMetadataChanges) Descriptor deprecated

func (*ExportedTabletMetadataChanges) Descriptor() ([]byte, []int)

Deprecated: Use ExportedTabletMetadataChanges.ProtoReflect.Descriptor instead.

func (*ExportedTabletMetadataChanges) GetMetadataChanges

func (x *ExportedTabletMetadataChanges) GetMetadataChanges() []*ChangeMetadataRequestPB

func (*ExportedTabletMetadataChanges) ProtoMessage

func (*ExportedTabletMetadataChanges) ProtoMessage()

func (*ExportedTabletMetadataChanges) ProtoReflect

func (*ExportedTabletMetadataChanges) Reset

func (x *ExportedTabletMetadataChanges) Reset()

func (*ExportedTabletMetadataChanges) String

type FetchDataRequestPB

type FetchDataRequestPB struct {

	// Valid Session ID returned by a BeginRemoteBootstrapSession() RPC call.
	SessionId []byte `protobuf:"bytes,1,req,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// The server will use this ID to determine the key and type of data
	// that was requested.
	DataId *DataIdPB `protobuf:"bytes,2,req,name=data_id,json=dataId" json:"data_id,omitempty"`
	// Offset into data to start reading from.
	// If not specified, the server will send the data from offset 0.
	Offset *uint64 `protobuf:"varint,3,opt,name=offset,def=0" json:"offset,omitempty"`
	// Maximum length of the chunk of data to return.
	// If max_length is not specified, or if the server's max is less than the
	// requested max, the server will use its own max.
	MaxLength *int64 `protobuf:"varint,4,opt,name=max_length,json=maxLength,def=0" json:"max_length,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchDataRequestPB) Descriptor deprecated

func (*FetchDataRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use FetchDataRequestPB.ProtoReflect.Descriptor instead.

func (*FetchDataRequestPB) GetDataId

func (x *FetchDataRequestPB) GetDataId() *DataIdPB

func (*FetchDataRequestPB) GetMaxLength

func (x *FetchDataRequestPB) GetMaxLength() int64

func (*FetchDataRequestPB) GetOffset

func (x *FetchDataRequestPB) GetOffset() uint64

func (*FetchDataRequestPB) GetSessionId

func (x *FetchDataRequestPB) GetSessionId() []byte

func (*FetchDataRequestPB) ProtoMessage

func (*FetchDataRequestPB) ProtoMessage()

func (*FetchDataRequestPB) ProtoReflect

func (x *FetchDataRequestPB) ProtoReflect() protoreflect.Message

func (*FetchDataRequestPB) Reset

func (x *FetchDataRequestPB) Reset()

func (*FetchDataRequestPB) String

func (x *FetchDataRequestPB) String() string

type FetchDataResponsePB

type FetchDataResponsePB struct {

	// The server will automatically release the resources (i.e. close file, free
	// read buffers) for a given data resource after the last byte is read.
	// So, per-resource, chunks are optimized to be fetched in-order.
	Chunk *DataChunkPB `protobuf:"bytes,1,req,name=chunk" json:"chunk,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchDataResponsePB) Descriptor deprecated

func (*FetchDataResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use FetchDataResponsePB.ProtoReflect.Descriptor instead.

func (*FetchDataResponsePB) GetChunk

func (x *FetchDataResponsePB) GetChunk() *DataChunkPB

func (*FetchDataResponsePB) ProtoMessage

func (*FetchDataResponsePB) ProtoMessage()

func (*FetchDataResponsePB) ProtoReflect

func (x *FetchDataResponsePB) ProtoReflect() protoreflect.Message

func (*FetchDataResponsePB) Reset

func (x *FetchDataResponsePB) Reset()

func (*FetchDataResponsePB) String

func (x *FetchDataResponsePB) String() string

type FilePB

type FilePB struct {

	// Required. File name (no path).
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Required.
	SizeBytes *uint64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes" json:"size_bytes,omitempty"`
	// Used to avoid copying same files over network, so we could hardlink them.
	Inode *uint64 `protobuf:"varint,3,opt,name=inode" json:"inode,omitempty"`
	// contains filtered or unexported fields
}

func (*FilePB) Descriptor deprecated

func (*FilePB) Descriptor() ([]byte, []int)

Deprecated: Use FilePB.ProtoReflect.Descriptor instead.

func (*FilePB) GetInode

func (x *FilePB) GetInode() uint64

func (*FilePB) GetName

func (x *FilePB) GetName() string

func (*FilePB) GetSizeBytes

func (x *FilePB) GetSizeBytes() uint64

func (*FilePB) ProtoMessage

func (*FilePB) ProtoMessage()

func (*FilePB) ProtoReflect

func (x *FilePB) ProtoReflect() protoreflect.Message

func (*FilePB) Reset

func (x *FilePB) Reset()

func (*FilePB) String

func (x *FilePB) String() string

type FlushCoverageRequestPB

type FlushCoverageRequestPB struct {
	// contains filtered or unexported fields
}

Attempt to flush coverage information to disk, if running a coverage build.

func (*FlushCoverageRequestPB) Descriptor deprecated

func (*FlushCoverageRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use FlushCoverageRequestPB.ProtoReflect.Descriptor instead.

func (*FlushCoverageRequestPB) ProtoMessage

func (*FlushCoverageRequestPB) ProtoMessage()

func (*FlushCoverageRequestPB) ProtoReflect

func (x *FlushCoverageRequestPB) ProtoReflect() protoreflect.Message

func (*FlushCoverageRequestPB) Reset

func (x *FlushCoverageRequestPB) Reset()

func (*FlushCoverageRequestPB) String

func (x *FlushCoverageRequestPB) String() string

type FlushCoverageResponsePB

type FlushCoverageResponsePB struct {

	// If the current build is not a coverage build, returns false.
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*FlushCoverageResponsePB) Descriptor deprecated

func (*FlushCoverageResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use FlushCoverageResponsePB.ProtoReflect.Descriptor instead.

func (*FlushCoverageResponsePB) GetSuccess

func (x *FlushCoverageResponsePB) GetSuccess() bool

func (*FlushCoverageResponsePB) ProtoMessage

func (*FlushCoverageResponsePB) ProtoMessage()

func (*FlushCoverageResponsePB) ProtoReflect

func (x *FlushCoverageResponsePB) ProtoReflect() protoreflect.Message

func (*FlushCoverageResponsePB) Reset

func (x *FlushCoverageResponsePB) Reset()

func (*FlushCoverageResponsePB) String

func (x *FlushCoverageResponsePB) String() string

type FlushSysCatalogRequestPB added in v2.11.2

type FlushSysCatalogRequestPB struct {
	// contains filtered or unexported fields
}

func (*FlushSysCatalogRequestPB) Descriptor deprecated added in v2.11.2

func (*FlushSysCatalogRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use FlushSysCatalogRequestPB.ProtoReflect.Descriptor instead.

func (*FlushSysCatalogRequestPB) ProtoMessage added in v2.11.2

func (*FlushSysCatalogRequestPB) ProtoMessage()

func (*FlushSysCatalogRequestPB) ProtoReflect added in v2.11.2

func (x *FlushSysCatalogRequestPB) ProtoReflect() protoreflect.Message

func (*FlushSysCatalogRequestPB) Reset added in v2.11.2

func (x *FlushSysCatalogRequestPB) Reset()

func (*FlushSysCatalogRequestPB) String added in v2.11.2

func (x *FlushSysCatalogRequestPB) String() string

type FlushSysCatalogResponsePB added in v2.11.2

type FlushSysCatalogResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*FlushSysCatalogResponsePB) Descriptor deprecated added in v2.11.2

func (*FlushSysCatalogResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use FlushSysCatalogResponsePB.ProtoReflect.Descriptor instead.

func (*FlushSysCatalogResponsePB) GetError added in v2.11.2

func (*FlushSysCatalogResponsePB) ProtoMessage added in v2.11.2

func (*FlushSysCatalogResponsePB) ProtoMessage()

func (*FlushSysCatalogResponsePB) ProtoReflect added in v2.11.2

func (*FlushSysCatalogResponsePB) Reset added in v2.11.2

func (x *FlushSysCatalogResponsePB) Reset()

func (*FlushSysCatalogResponsePB) String added in v2.11.2

func (x *FlushSysCatalogResponsePB) String() string

type FlushTablesRequestPB

type FlushTablesRequestPB struct {
	Tables []*TableIdentifierPB `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	// Whether we want to compact the tablets instead of flushing them.
	IsCompaction *bool `protobuf:"varint,2,opt,name=is_compaction,json=isCompaction" json:"is_compaction,omitempty"`
	// Whether we want to include index tables in this flush. If there are index tables in the tables
	// field this field must be set to false, otherwise the request will fail.
	AddIndexes *bool `protobuf:"varint,3,opt,name=add_indexes,json=addIndexes" json:"add_indexes,omitempty"`
	// contains filtered or unexported fields
}

TODO: rename to FlushOrCompact TablesRequestPB https://github.com/YugaByte/yugabyte-db/issues/729

func (*FlushTablesRequestPB) Descriptor deprecated

func (*FlushTablesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use FlushTablesRequestPB.ProtoReflect.Descriptor instead.

func (*FlushTablesRequestPB) GetAddIndexes

func (x *FlushTablesRequestPB) GetAddIndexes() bool

func (*FlushTablesRequestPB) GetIsCompaction

func (x *FlushTablesRequestPB) GetIsCompaction() bool

func (*FlushTablesRequestPB) GetTables

func (x *FlushTablesRequestPB) GetTables() []*TableIdentifierPB

func (*FlushTablesRequestPB) ProtoMessage

func (*FlushTablesRequestPB) ProtoMessage()

func (*FlushTablesRequestPB) ProtoReflect

func (x *FlushTablesRequestPB) ProtoReflect() protoreflect.Message

func (*FlushTablesRequestPB) Reset

func (x *FlushTablesRequestPB) Reset()

func (*FlushTablesRequestPB) String

func (x *FlushTablesRequestPB) String() string

type FlushTablesResponsePB

type FlushTablesResponsePB struct {
	Error          *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	FlushRequestId []byte         `protobuf:"bytes,2,opt,name=flush_request_id,json=flushRequestId" json:"flush_request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*FlushTablesResponsePB) Descriptor deprecated

func (*FlushTablesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use FlushTablesResponsePB.ProtoReflect.Descriptor instead.

func (*FlushTablesResponsePB) GetError

func (x *FlushTablesResponsePB) GetError() *MasterErrorPB

func (*FlushTablesResponsePB) GetFlushRequestId

func (x *FlushTablesResponsePB) GetFlushRequestId() []byte

func (*FlushTablesResponsePB) ProtoMessage

func (*FlushTablesResponsePB) ProtoMessage()

func (*FlushTablesResponsePB) ProtoReflect

func (x *FlushTablesResponsePB) ProtoReflect() protoreflect.Message

func (*FlushTablesResponsePB) Reset

func (x *FlushTablesResponsePB) Reset()

func (*FlushTablesResponsePB) String

func (x *FlushTablesResponsePB) String() string

type FlushTabletsRequestPB

type FlushTabletsRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	// Tablets to flush.
	TabletIds            [][]byte `protobuf:"bytes,2,rep,name=tablet_ids,json=tabletIds" json:"tablet_ids,omitempty"`
	PropagatedHybridTime *uint64  `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// Actual operation that we plan to perform.
	Operation *FlushTabletsRequestPB_Operation `protobuf:"varint,4,opt,name=operation,enum=yb.tserver.FlushTabletsRequestPB_Operation" json:"operation,omitempty"`
	// Whether we want to flush or compact all tablets in the server.
	AllTablets *bool `protobuf:"varint,5,opt,name=all_tablets,json=allTablets" json:"all_tablets,omitempty"`
	// contains filtered or unexported fields
}

TODO: rename this to FlushOrCompactTabletsRequestPB

func (*FlushTabletsRequestPB) Descriptor deprecated

func (*FlushTabletsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use FlushTabletsRequestPB.ProtoReflect.Descriptor instead.

func (*FlushTabletsRequestPB) GetAllTablets

func (x *FlushTabletsRequestPB) GetAllTablets() bool

func (*FlushTabletsRequestPB) GetDestUuid

func (x *FlushTabletsRequestPB) GetDestUuid() []byte

func (*FlushTabletsRequestPB) GetOperation

func (*FlushTabletsRequestPB) GetPropagatedHybridTime

func (x *FlushTabletsRequestPB) GetPropagatedHybridTime() uint64

func (*FlushTabletsRequestPB) GetTabletIds

func (x *FlushTabletsRequestPB) GetTabletIds() [][]byte

func (*FlushTabletsRequestPB) ProtoMessage

func (*FlushTabletsRequestPB) ProtoMessage()

func (*FlushTabletsRequestPB) ProtoReflect

func (x *FlushTabletsRequestPB) ProtoReflect() protoreflect.Message

func (*FlushTabletsRequestPB) Reset

func (x *FlushTabletsRequestPB) Reset()

func (*FlushTabletsRequestPB) String

func (x *FlushTabletsRequestPB) String() string

type FlushTabletsRequestPB_Operation

type FlushTabletsRequestPB_Operation int32
const (
	FlushTabletsRequestPB_FLUSH   FlushTabletsRequestPB_Operation = 0
	FlushTabletsRequestPB_COMPACT FlushTabletsRequestPB_Operation = 1
	FlushTabletsRequestPB_LOG_GC  FlushTabletsRequestPB_Operation = 2
)

func (FlushTabletsRequestPB_Operation) Descriptor

func (FlushTabletsRequestPB_Operation) Enum

func (FlushTabletsRequestPB_Operation) EnumDescriptor deprecated

func (FlushTabletsRequestPB_Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use FlushTabletsRequestPB_Operation.Descriptor instead.

func (FlushTabletsRequestPB_Operation) Number

func (FlushTabletsRequestPB_Operation) String

func (FlushTabletsRequestPB_Operation) Type

func (*FlushTabletsRequestPB_Operation) UnmarshalJSON deprecated

func (x *FlushTabletsRequestPB_Operation) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type FlushTabletsResponsePB

type FlushTabletsResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	FailedTabletId       []byte               `protobuf:"bytes,2,opt,name=failed_tablet_id,json=failedTabletId" json:"failed_tablet_id,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*FlushTabletsResponsePB) Descriptor deprecated

func (*FlushTabletsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use FlushTabletsResponsePB.ProtoReflect.Descriptor instead.

func (*FlushTabletsResponsePB) GetError

func (*FlushTabletsResponsePB) GetFailedTabletId

func (x *FlushTabletsResponsePB) GetFailedTabletId() []byte

func (*FlushTabletsResponsePB) GetPropagatedHybridTime

func (x *FlushTabletsResponsePB) GetPropagatedHybridTime() uint64

func (*FlushTabletsResponsePB) ProtoMessage

func (*FlushTabletsResponsePB) ProtoMessage()

func (*FlushTabletsResponsePB) ProtoReflect

func (x *FlushTabletsResponsePB) ProtoReflect() protoreflect.Message

func (*FlushTabletsResponsePB) Reset

func (x *FlushTabletsResponsePB) Reset()

func (*FlushTabletsResponsePB) String

func (x *FlushTabletsResponsePB) String() string

type ForwardRequestPB

type ForwardRequestPB struct {
	Host *string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
	Port *uint32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Used to test connectivity between servers. Client asks one server to forward request to another.

func (*ForwardRequestPB) Descriptor deprecated

func (*ForwardRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ForwardRequestPB.ProtoReflect.Descriptor instead.

func (*ForwardRequestPB) GetHost

func (x *ForwardRequestPB) GetHost() string

func (*ForwardRequestPB) GetPort

func (x *ForwardRequestPB) GetPort() uint32

func (*ForwardRequestPB) ProtoMessage

func (*ForwardRequestPB) ProtoMessage()

func (*ForwardRequestPB) ProtoReflect

func (x *ForwardRequestPB) ProtoReflect() protoreflect.Message

func (*ForwardRequestPB) Reset

func (x *ForwardRequestPB) Reset()

func (*ForwardRequestPB) String

func (x *ForwardRequestPB) String() string

type ForwardResponsePB

type ForwardResponsePB struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Name of server that handled this request.
	// contains filtered or unexported fields
}

func (*ForwardResponsePB) Descriptor deprecated

func (*ForwardResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ForwardResponsePB.ProtoReflect.Descriptor instead.

func (*ForwardResponsePB) GetName

func (x *ForwardResponsePB) GetName() string

func (*ForwardResponsePB) ProtoMessage

func (*ForwardResponsePB) ProtoMessage()

func (*ForwardResponsePB) ProtoReflect

func (x *ForwardResponsePB) ProtoReflect() protoreflect.Message

func (*ForwardResponsePB) Reset

func (x *ForwardResponsePB) Reset()

func (*ForwardResponsePB) String

func (x *ForwardResponsePB) String() string

type GenericServiceClient

GenericServiceClient is the client API for GenericService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type GenericServiceServer

GenericServiceServer is the server API for GenericService service. All implementations should embed UnimplementedGenericServiceServer for forward compatibility

type GetBackfillJobsRequestPB

type GetBackfillJobsRequestPB struct {

	// The indexed table identifier. Used for YCQL tables from yb-admin.
	TableIdentifier *TableIdentifierPB `protobuf:"bytes,1,opt,name=table_identifier,json=tableIdentifier" json:"table_identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackfillJobsRequestPB) Descriptor deprecated

func (*GetBackfillJobsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetBackfillJobsRequestPB.ProtoReflect.Descriptor instead.

func (*GetBackfillJobsRequestPB) GetTableIdentifier

func (x *GetBackfillJobsRequestPB) GetTableIdentifier() *TableIdentifierPB

func (*GetBackfillJobsRequestPB) ProtoMessage

func (*GetBackfillJobsRequestPB) ProtoMessage()

func (*GetBackfillJobsRequestPB) ProtoReflect

func (x *GetBackfillJobsRequestPB) ProtoReflect() protoreflect.Message

func (*GetBackfillJobsRequestPB) Reset

func (x *GetBackfillJobsRequestPB) Reset()

func (*GetBackfillJobsRequestPB) String

func (x *GetBackfillJobsRequestPB) String() string

type GetBackfillJobsResponsePB

type GetBackfillJobsResponsePB struct {
	BackfillJobs []*BackfillJobPB `protobuf:"bytes,1,rep,name=backfill_jobs,json=backfillJobs" json:"backfill_jobs,omitempty"`
	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackfillJobsResponsePB) Descriptor deprecated

func (*GetBackfillJobsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetBackfillJobsResponsePB.ProtoReflect.Descriptor instead.

func (*GetBackfillJobsResponsePB) GetBackfillJobs

func (x *GetBackfillJobsResponsePB) GetBackfillJobs() []*BackfillJobPB

func (*GetBackfillJobsResponsePB) GetError

func (*GetBackfillJobsResponsePB) ProtoMessage

func (*GetBackfillJobsResponsePB) ProtoMessage()

func (*GetBackfillJobsResponsePB) ProtoReflect

func (*GetBackfillJobsResponsePB) Reset

func (x *GetBackfillJobsResponsePB) Reset()

func (*GetBackfillJobsResponsePB) String

func (x *GetBackfillJobsResponsePB) String() string

type GetCDCDBStreamInfoRequestPB added in v2.13.0

type GetCDCDBStreamInfoRequestPB struct {
	DbStreamId []byte `protobuf:"bytes,1,opt,name=db_stream_id,json=dbStreamId" json:"db_stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCDCDBStreamInfoRequestPB) Descriptor deprecated added in v2.13.0

func (*GetCDCDBStreamInfoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetCDCDBStreamInfoRequestPB.ProtoReflect.Descriptor instead.

func (*GetCDCDBStreamInfoRequestPB) GetDbStreamId added in v2.13.0

func (x *GetCDCDBStreamInfoRequestPB) GetDbStreamId() []byte

func (*GetCDCDBStreamInfoRequestPB) ProtoMessage added in v2.13.0

func (*GetCDCDBStreamInfoRequestPB) ProtoMessage()

func (*GetCDCDBStreamInfoRequestPB) ProtoReflect added in v2.13.0

func (*GetCDCDBStreamInfoRequestPB) Reset added in v2.13.0

func (x *GetCDCDBStreamInfoRequestPB) Reset()

func (*GetCDCDBStreamInfoRequestPB) String added in v2.13.0

func (x *GetCDCDBStreamInfoRequestPB) String() string

type GetCDCDBStreamInfoResponsePB added in v2.13.0

type GetCDCDBStreamInfoResponsePB struct {
	Error       *CDCErrorPB  `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	NamespaceId []byte       `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	TableInfo   []*TableInfo `protobuf:"bytes,3,rep,name=table_info,json=tableInfo" json:"table_info,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCDCDBStreamInfoResponsePB) Descriptor deprecated added in v2.13.0

func (*GetCDCDBStreamInfoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetCDCDBStreamInfoResponsePB.ProtoReflect.Descriptor instead.

func (*GetCDCDBStreamInfoResponsePB) GetError added in v2.13.0

func (*GetCDCDBStreamInfoResponsePB) GetNamespaceId added in v2.13.0

func (x *GetCDCDBStreamInfoResponsePB) GetNamespaceId() []byte

func (*GetCDCDBStreamInfoResponsePB) GetTableInfo added in v2.13.0

func (x *GetCDCDBStreamInfoResponsePB) GetTableInfo() []*TableInfo

func (*GetCDCDBStreamInfoResponsePB) ProtoMessage added in v2.13.0

func (*GetCDCDBStreamInfoResponsePB) ProtoMessage()

func (*GetCDCDBStreamInfoResponsePB) ProtoReflect added in v2.13.0

func (*GetCDCDBStreamInfoResponsePB) Reset added in v2.13.0

func (x *GetCDCDBStreamInfoResponsePB) Reset()

func (*GetCDCDBStreamInfoResponsePB) String added in v2.13.0

type GetCDCStreamRequestPB

type GetCDCStreamRequestPB struct {
	StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCDCStreamRequestPB) Descriptor deprecated

func (*GetCDCStreamRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetCDCStreamRequestPB.ProtoReflect.Descriptor instead.

func (*GetCDCStreamRequestPB) GetStreamId

func (x *GetCDCStreamRequestPB) GetStreamId() []byte

func (*GetCDCStreamRequestPB) ProtoMessage

func (*GetCDCStreamRequestPB) ProtoMessage()

func (*GetCDCStreamRequestPB) ProtoReflect

func (x *GetCDCStreamRequestPB) ProtoReflect() protoreflect.Message

func (*GetCDCStreamRequestPB) Reset

func (x *GetCDCStreamRequestPB) Reset()

func (*GetCDCStreamRequestPB) String

func (x *GetCDCStreamRequestPB) String() string

type GetCDCStreamResponsePB

type GetCDCStreamResponsePB struct {

	// The error, if an error occurred with this request.
	Error  *MasterErrorPB   `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Stream *CDCStreamInfoPB `protobuf:"bytes,2,opt,name=stream" json:"stream,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCDCStreamResponsePB) Descriptor deprecated

func (*GetCDCStreamResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetCDCStreamResponsePB.ProtoReflect.Descriptor instead.

func (*GetCDCStreamResponsePB) GetError

func (x *GetCDCStreamResponsePB) GetError() *MasterErrorPB

func (*GetCDCStreamResponsePB) GetStream

func (x *GetCDCStreamResponsePB) GetStream() *CDCStreamInfoPB

func (*GetCDCStreamResponsePB) ProtoMessage

func (*GetCDCStreamResponsePB) ProtoMessage()

func (*GetCDCStreamResponsePB) ProtoReflect

func (x *GetCDCStreamResponsePB) ProtoReflect() protoreflect.Message

func (*GetCDCStreamResponsePB) Reset

func (x *GetCDCStreamResponsePB) Reset()

func (*GetCDCStreamResponsePB) String

func (x *GetCDCStreamResponsePB) String() string

type GetChangesRequestPB

type GetChangesRequestPB struct {
	StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	// Tablet to get the changes for.
	TabletId []byte `protobuf:"bytes,2,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Checkpoint to start reading from (exclusive).
	// Start reading from the first record after this checkpoint.
	FromCheckpoint *CDCCheckpointPB `protobuf:"bytes,3,opt,name=from_checkpoint,json=fromCheckpoint" json:"from_checkpoint,omitempty"`
	// Maximum records to read.
	MaxRecords *uint32 `protobuf:"varint,4,opt,name=max_records,json=maxRecords" json:"max_records,omitempty"`
	// Whether the caller knows the tablet address or needs to use us as a proxy.
	ServeAsProxy         *bool               `protobuf:"varint,5,opt,name=serve_as_proxy,json=serveAsProxy,def=1" json:"serve_as_proxy,omitempty"`
	DbStreamId           []byte              `protobuf:"bytes,6,opt,name=db_stream_id,json=dbStreamId" json:"db_stream_id,omitempty"`
	TableId              []byte              `protobuf:"bytes,7,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	FromCdcSdkCheckpoint *CDCSDKCheckpointPB `protobuf:"bytes,8,opt,name=from_cdc_sdk_checkpoint,json=fromCdcSdkCheckpoint" json:"from_cdc_sdk_checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangesRequestPB) Descriptor deprecated

func (*GetChangesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetChangesRequestPB.ProtoReflect.Descriptor instead.

func (*GetChangesRequestPB) GetDbStreamId added in v2.13.0

func (x *GetChangesRequestPB) GetDbStreamId() []byte

func (*GetChangesRequestPB) GetFromCdcSdkCheckpoint added in v2.13.0

func (x *GetChangesRequestPB) GetFromCdcSdkCheckpoint() *CDCSDKCheckpointPB

func (*GetChangesRequestPB) GetFromCheckpoint

func (x *GetChangesRequestPB) GetFromCheckpoint() *CDCCheckpointPB

func (*GetChangesRequestPB) GetMaxRecords

func (x *GetChangesRequestPB) GetMaxRecords() uint32

func (*GetChangesRequestPB) GetServeAsProxy

func (x *GetChangesRequestPB) GetServeAsProxy() bool

func (*GetChangesRequestPB) GetStreamId

func (x *GetChangesRequestPB) GetStreamId() []byte

func (*GetChangesRequestPB) GetTableId added in v2.13.0

func (x *GetChangesRequestPB) GetTableId() []byte

func (*GetChangesRequestPB) GetTabletId

func (x *GetChangesRequestPB) GetTabletId() []byte

func (*GetChangesRequestPB) ProtoMessage

func (*GetChangesRequestPB) ProtoMessage()

func (*GetChangesRequestPB) ProtoReflect

func (x *GetChangesRequestPB) ProtoReflect() protoreflect.Message

func (*GetChangesRequestPB) Reset

func (x *GetChangesRequestPB) Reset()

func (*GetChangesRequestPB) String

func (x *GetChangesRequestPB) String() string

type GetChangesResponsePB

type GetChangesResponsePB struct {
	Error        *CDCErrorPB      `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	RecordType   *CDCRecordType   `protobuf:"varint,2,opt,name=record_type,json=recordType,enum=yb.cdc.CDCRecordType,def=1" json:"record_type,omitempty"`
	RecordFormat *CDCRecordFormat `protobuf:"varint,3,opt,name=record_format,json=recordFormat,enum=yb.cdc.CDCRecordFormat" json:"record_format,omitempty"`
	Records      []*CDCRecordPB   `protobuf:"bytes,4,rep,name=records" json:"records,omitempty"`
	// Checkpoint that consumers can send back in GetChanges RPC
	// to mark CDC records until this checkpoint as committed.
	Checkpoint *CDCCheckpointPB `protobuf:"bytes,5,opt,name=checkpoint" json:"checkpoint,omitempty"`
	// In case the tablet is no longer hosted on this tserver, provide the list of tservers holding
	// data for the tablet.
	Tserver []*HostPortPB `protobuf:"bytes,6,rep,name=tserver" json:"tserver,omitempty"`
	// repeated CDCSDKRecordPB cdc_sdk_records = 7;
	CdcSdkProtoRecords []*CDCSDKProtoRecordPB `protobuf:"bytes,8,rep,name=cdc_sdk_proto_records,json=cdcSdkProtoRecords" json:"cdc_sdk_proto_records,omitempty"`
	// In addition to the op id info, cdc_sdk_checkpoint also stores the info about write_id and
	// reverse_index_key so that it could be used  to resume partially streamed intents
	CdcSdkCheckpoint *CDCSDKCheckpointPB `protobuf:"bytes,9,opt,name=cdc_sdk_checkpoint,json=cdcSdkCheckpoint" json:"cdc_sdk_checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChangesResponsePB) Descriptor deprecated

func (*GetChangesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetChangesResponsePB.ProtoReflect.Descriptor instead.

func (*GetChangesResponsePB) GetCdcSdkCheckpoint added in v2.13.0

func (x *GetChangesResponsePB) GetCdcSdkCheckpoint() *CDCSDKCheckpointPB

func (*GetChangesResponsePB) GetCdcSdkProtoRecords added in v2.13.0

func (x *GetChangesResponsePB) GetCdcSdkProtoRecords() []*CDCSDKProtoRecordPB

func (*GetChangesResponsePB) GetCheckpoint

func (x *GetChangesResponsePB) GetCheckpoint() *CDCCheckpointPB

func (*GetChangesResponsePB) GetError

func (x *GetChangesResponsePB) GetError() *CDCErrorPB

func (*GetChangesResponsePB) GetRecordFormat

func (x *GetChangesResponsePB) GetRecordFormat() CDCRecordFormat

func (*GetChangesResponsePB) GetRecordType

func (x *GetChangesResponsePB) GetRecordType() CDCRecordType

func (*GetChangesResponsePB) GetRecords

func (x *GetChangesResponsePB) GetRecords() []*CDCRecordPB

func (*GetChangesResponsePB) GetTserver

func (x *GetChangesResponsePB) GetTserver() []*HostPortPB

func (*GetChangesResponsePB) ProtoMessage

func (*GetChangesResponsePB) ProtoMessage()

func (*GetChangesResponsePB) ProtoReflect

func (x *GetChangesResponsePB) ProtoReflect() protoreflect.Message

func (*GetChangesResponsePB) Reset

func (x *GetChangesResponsePB) Reset()

func (*GetChangesResponsePB) String

func (x *GetChangesResponsePB) String() string

type GetCheckpointRequestPB

type GetCheckpointRequestPB struct {
	StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	TabletId []byte `protobuf:"bytes,2,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCheckpointRequestPB) Descriptor deprecated

func (*GetCheckpointRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetCheckpointRequestPB.ProtoReflect.Descriptor instead.

func (*GetCheckpointRequestPB) GetStreamId

func (x *GetCheckpointRequestPB) GetStreamId() []byte

func (*GetCheckpointRequestPB) GetTabletId

func (x *GetCheckpointRequestPB) GetTabletId() []byte

func (*GetCheckpointRequestPB) ProtoMessage

func (*GetCheckpointRequestPB) ProtoMessage()

func (*GetCheckpointRequestPB) ProtoReflect

func (x *GetCheckpointRequestPB) ProtoReflect() protoreflect.Message

func (*GetCheckpointRequestPB) Reset

func (x *GetCheckpointRequestPB) Reset()

func (*GetCheckpointRequestPB) String

func (x *GetCheckpointRequestPB) String() string

type GetCheckpointResponsePB

type GetCheckpointResponsePB struct {
	Error      *CDCErrorPB      `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Checkpoint *CDCCheckpointPB `protobuf:"bytes,2,opt,name=checkpoint" json:"checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCheckpointResponsePB) Descriptor deprecated

func (*GetCheckpointResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetCheckpointResponsePB.ProtoReflect.Descriptor instead.

func (*GetCheckpointResponsePB) GetCheckpoint

func (x *GetCheckpointResponsePB) GetCheckpoint() *CDCCheckpointPB

func (*GetCheckpointResponsePB) GetError

func (x *GetCheckpointResponsePB) GetError() *CDCErrorPB

func (*GetCheckpointResponsePB) ProtoMessage

func (*GetCheckpointResponsePB) ProtoMessage()

func (*GetCheckpointResponsePB) ProtoReflect

func (x *GetCheckpointResponsePB) ProtoReflect() protoreflect.Message

func (*GetCheckpointResponsePB) Reset

func (x *GetCheckpointResponsePB) Reset()

func (*GetCheckpointResponsePB) String

func (x *GetCheckpointResponsePB) String() string

type GetColocatedTabletSchemaRequestPB

type GetColocatedTabletSchemaRequestPB struct {
	ParentColocatedTable *TableIdentifierPB `protobuf:"bytes,1,req,name=parent_colocated_table,json=parentColocatedTable" json:"parent_colocated_table,omitempty"`
	// contains filtered or unexported fields
}

func (*GetColocatedTabletSchemaRequestPB) Descriptor deprecated

func (*GetColocatedTabletSchemaRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetColocatedTabletSchemaRequestPB.ProtoReflect.Descriptor instead.

func (*GetColocatedTabletSchemaRequestPB) GetParentColocatedTable

func (x *GetColocatedTabletSchemaRequestPB) GetParentColocatedTable() *TableIdentifierPB

func (*GetColocatedTabletSchemaRequestPB) ProtoMessage

func (*GetColocatedTabletSchemaRequestPB) ProtoMessage()

func (*GetColocatedTabletSchemaRequestPB) ProtoReflect

func (*GetColocatedTabletSchemaRequestPB) Reset

func (*GetColocatedTabletSchemaRequestPB) String

type GetColocatedTabletSchemaResponsePB

type GetColocatedTabletSchemaResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// List of all colocated user tables in this colocated database.
	GetTableSchemaResponsePbs []*GetTableSchemaResponsePB `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetColocatedTabletSchemaResponsePB) Descriptor deprecated

func (*GetColocatedTabletSchemaResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetColocatedTabletSchemaResponsePB.ProtoReflect.Descriptor instead.

func (*GetColocatedTabletSchemaResponsePB) GetError

func (*GetColocatedTabletSchemaResponsePB) GetGetTableSchemaResponsePbs

func (x *GetColocatedTabletSchemaResponsePB) GetGetTableSchemaResponsePbs() []*GetTableSchemaResponsePB

func (*GetColocatedTabletSchemaResponsePB) ProtoMessage

func (*GetColocatedTabletSchemaResponsePB) ProtoMessage()

func (*GetColocatedTabletSchemaResponsePB) ProtoReflect

func (*GetColocatedTabletSchemaResponsePB) Reset

func (*GetColocatedTabletSchemaResponsePB) String

type GetConsensusStateRequestPB

type GetConsensusStateRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,2,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	// The id of the tablet.
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Whether to fetch the committed or active consensus state.
	Type *ConsensusConfigType `protobuf:"varint,3,opt,name=type,enum=yb.consensus.ConsensusConfigType,def=1" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConsensusStateRequestPB) Descriptor deprecated

func (*GetConsensusStateRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetConsensusStateRequestPB.ProtoReflect.Descriptor instead.

func (*GetConsensusStateRequestPB) GetDestUuid

func (x *GetConsensusStateRequestPB) GetDestUuid() []byte

func (*GetConsensusStateRequestPB) GetTabletId

func (x *GetConsensusStateRequestPB) GetTabletId() []byte

func (*GetConsensusStateRequestPB) GetType

func (*GetConsensusStateRequestPB) ProtoMessage

func (*GetConsensusStateRequestPB) ProtoMessage()

func (*GetConsensusStateRequestPB) ProtoReflect

func (*GetConsensusStateRequestPB) Reset

func (x *GetConsensusStateRequestPB) Reset()

func (*GetConsensusStateRequestPB) String

func (x *GetConsensusStateRequestPB) String() string

type GetConsensusStateResponsePB

type GetConsensusStateResponsePB struct {
	Cstate *ConsensusStatePB `protobuf:"bytes,1,opt,name=cstate" json:"cstate,omitempty"`
	// A generic error message (such as tablet not found).
	Error *TabletServerErrorPB `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	// Allows returning the leader lease status in the same RPC. Useful for waiting for the leader
	// to be allowed to serve requests.
	LeaderLeaseStatus *LeaderLeaseStatus `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetConsensusStateResponsePB) Descriptor deprecated

func (*GetConsensusStateResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetConsensusStateResponsePB.ProtoReflect.Descriptor instead.

func (*GetConsensusStateResponsePB) GetCstate

func (*GetConsensusStateResponsePB) GetError

func (*GetConsensusStateResponsePB) GetLeaderLeaseStatus

func (x *GetConsensusStateResponsePB) GetLeaderLeaseStatus() LeaderLeaseStatus

func (*GetConsensusStateResponsePB) ProtoMessage

func (*GetConsensusStateResponsePB) ProtoMessage()

func (*GetConsensusStateResponsePB) ProtoReflect

func (*GetConsensusStateResponsePB) Reset

func (x *GetConsensusStateResponsePB) Reset()

func (*GetConsensusStateResponsePB) String

func (x *GetConsensusStateResponsePB) String() string

type GetFlagRequestPB

type GetFlagRequestPB struct {
	Flag *string `protobuf:"bytes,1,opt,name=flag" json:"flag,omitempty"`
	// contains filtered or unexported fields
}

Get the value of the gflag with the given flag name.

func (*GetFlagRequestPB) Descriptor deprecated

func (*GetFlagRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetFlagRequestPB.ProtoReflect.Descriptor instead.

func (*GetFlagRequestPB) GetFlag

func (x *GetFlagRequestPB) GetFlag() string

func (*GetFlagRequestPB) ProtoMessage

func (*GetFlagRequestPB) ProtoMessage()

func (*GetFlagRequestPB) ProtoReflect

func (x *GetFlagRequestPB) ProtoReflect() protoreflect.Message

func (*GetFlagRequestPB) Reset

func (x *GetFlagRequestPB) Reset()

func (*GetFlagRequestPB) String

func (x *GetFlagRequestPB) String() string

type GetFlagResponsePB

type GetFlagResponsePB struct {
	Valid *bool   `protobuf:"varint,1,opt,name=valid,def=1" json:"valid,omitempty"`
	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

If the flag name is valid, the value is set to its current value. Else the valid field will be set to false.

func (*GetFlagResponsePB) Descriptor deprecated

func (*GetFlagResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetFlagResponsePB.ProtoReflect.Descriptor instead.

func (*GetFlagResponsePB) GetValid

func (x *GetFlagResponsePB) GetValid() bool

func (*GetFlagResponsePB) GetValue

func (x *GetFlagResponsePB) GetValue() string

func (*GetFlagResponsePB) ProtoMessage

func (*GetFlagResponsePB) ProtoMessage()

func (*GetFlagResponsePB) ProtoReflect

func (x *GetFlagResponsePB) ProtoReflect() protoreflect.Message

func (*GetFlagResponsePB) Reset

func (x *GetFlagResponsePB) Reset()

func (*GetFlagResponsePB) String

func (x *GetFlagResponsePB) String() string

type GetLastOpIdRequestPB

type GetLastOpIdRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,2,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	// the id of the tablet
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Whether to return the last-received or last-committed OpId.
	OpidType *OpIdType      `protobuf:"varint,3,opt,name=opid_type,json=opidType,enum=yb.consensus.OpIdType,def=1" json:"opid_type,omitempty"`
	OpType   *OperationType `protobuf:"varint,4,opt,name=op_type,json=opType,enum=yb.consensus.OperationType" json:"op_type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLastOpIdRequestPB) Descriptor deprecated

func (*GetLastOpIdRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetLastOpIdRequestPB.ProtoReflect.Descriptor instead.

func (*GetLastOpIdRequestPB) GetDestUuid

func (x *GetLastOpIdRequestPB) GetDestUuid() []byte

func (*GetLastOpIdRequestPB) GetOpType

func (x *GetLastOpIdRequestPB) GetOpType() OperationType

func (*GetLastOpIdRequestPB) GetOpidType

func (x *GetLastOpIdRequestPB) GetOpidType() OpIdType

func (*GetLastOpIdRequestPB) GetTabletId

func (x *GetLastOpIdRequestPB) GetTabletId() []byte

func (*GetLastOpIdRequestPB) ProtoMessage

func (*GetLastOpIdRequestPB) ProtoMessage()

func (*GetLastOpIdRequestPB) ProtoReflect

func (x *GetLastOpIdRequestPB) ProtoReflect() protoreflect.Message

func (*GetLastOpIdRequestPB) Reset

func (x *GetLastOpIdRequestPB) Reset()

func (*GetLastOpIdRequestPB) String

func (x *GetLastOpIdRequestPB) String() string

type GetLastOpIdResponsePB

type GetLastOpIdResponsePB struct {
	Opid *OpIdPB `protobuf:"bytes,1,opt,name=opid" json:"opid,omitempty"`
	// A generic error message (such as tablet not found).
	Error *TabletServerErrorPB `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLastOpIdResponsePB) Descriptor deprecated

func (*GetLastOpIdResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetLastOpIdResponsePB.ProtoReflect.Descriptor instead.

func (*GetLastOpIdResponsePB) GetError

func (*GetLastOpIdResponsePB) GetOpid

func (x *GetLastOpIdResponsePB) GetOpid() *OpIdPB

func (*GetLastOpIdResponsePB) ProtoMessage

func (*GetLastOpIdResponsePB) ProtoMessage()

func (*GetLastOpIdResponsePB) ProtoReflect

func (x *GetLastOpIdResponsePB) ProtoReflect() protoreflect.Message

func (*GetLastOpIdResponsePB) Reset

func (x *GetLastOpIdResponsePB) Reset()

func (*GetLastOpIdResponsePB) String

func (x *GetLastOpIdResponsePB) String() string

type GetLatestEntryOpIdRequestPB

type GetLatestEntryOpIdRequestPB struct {
	TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestEntryOpIdRequestPB) Descriptor deprecated

func (*GetLatestEntryOpIdRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetLatestEntryOpIdRequestPB.ProtoReflect.Descriptor instead.

func (*GetLatestEntryOpIdRequestPB) GetTabletId

func (x *GetLatestEntryOpIdRequestPB) GetTabletId() []byte

func (*GetLatestEntryOpIdRequestPB) ProtoMessage

func (*GetLatestEntryOpIdRequestPB) ProtoMessage()

func (*GetLatestEntryOpIdRequestPB) ProtoReflect

func (*GetLatestEntryOpIdRequestPB) Reset

func (x *GetLatestEntryOpIdRequestPB) Reset()

func (*GetLatestEntryOpIdRequestPB) String

func (x *GetLatestEntryOpIdRequestPB) String() string

type GetLatestEntryOpIdResponsePB

type GetLatestEntryOpIdResponsePB struct {
	Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	OpId  *OpIdPB     `protobuf:"bytes,2,opt,name=op_id,json=opId" json:"op_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLatestEntryOpIdResponsePB) Descriptor deprecated

func (*GetLatestEntryOpIdResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetLatestEntryOpIdResponsePB.ProtoReflect.Descriptor instead.

func (*GetLatestEntryOpIdResponsePB) GetError

func (*GetLatestEntryOpIdResponsePB) GetOpId

func (x *GetLatestEntryOpIdResponsePB) GetOpId() *OpIdPB

func (*GetLatestEntryOpIdResponsePB) ProtoMessage

func (*GetLatestEntryOpIdResponsePB) ProtoMessage()

func (*GetLatestEntryOpIdResponsePB) ProtoReflect

func (*GetLatestEntryOpIdResponsePB) Reset

func (x *GetLatestEntryOpIdResponsePB) Reset()

func (*GetLatestEntryOpIdResponsePB) String

type GetLeaderBlacklistPercentRequestPB

type GetLeaderBlacklistPercentRequestPB struct {
	// contains filtered or unexported fields
}

Get the percentage of tablet leadership that got moved as part of a leader blacklist config change. Handled by the master leader and picked up by new leader on failover.

func (*GetLeaderBlacklistPercentRequestPB) Descriptor deprecated

func (*GetLeaderBlacklistPercentRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetLeaderBlacklistPercentRequestPB.ProtoReflect.Descriptor instead.

func (*GetLeaderBlacklistPercentRequestPB) ProtoMessage

func (*GetLeaderBlacklistPercentRequestPB) ProtoMessage()

func (*GetLeaderBlacklistPercentRequestPB) ProtoReflect

func (*GetLeaderBlacklistPercentRequestPB) Reset

func (*GetLeaderBlacklistPercentRequestPB) String

type GetLoadBalancerStateRequestPB

type GetLoadBalancerStateRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetLoadBalancerStateRequestPB) Descriptor deprecated

func (*GetLoadBalancerStateRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetLoadBalancerStateRequestPB.ProtoReflect.Descriptor instead.

func (*GetLoadBalancerStateRequestPB) ProtoMessage

func (*GetLoadBalancerStateRequestPB) ProtoMessage()

func (*GetLoadBalancerStateRequestPB) ProtoReflect

func (*GetLoadBalancerStateRequestPB) Reset

func (x *GetLoadBalancerStateRequestPB) Reset()

func (*GetLoadBalancerStateRequestPB) String

type GetLoadBalancerStateResponsePB

type GetLoadBalancerStateResponsePB struct {
	Error     *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	IsEnabled *bool          `protobuf:"varint,2,opt,name=is_enabled,json=isEnabled" json:"is_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLoadBalancerStateResponsePB) Descriptor deprecated

func (*GetLoadBalancerStateResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetLoadBalancerStateResponsePB.ProtoReflect.Descriptor instead.

func (*GetLoadBalancerStateResponsePB) GetError

func (*GetLoadBalancerStateResponsePB) GetIsEnabled

func (x *GetLoadBalancerStateResponsePB) GetIsEnabled() bool

func (*GetLoadBalancerStateResponsePB) ProtoMessage

func (*GetLoadBalancerStateResponsePB) ProtoMessage()

func (*GetLoadBalancerStateResponsePB) ProtoReflect

func (*GetLoadBalancerStateResponsePB) Reset

func (x *GetLoadBalancerStateResponsePB) Reset()

func (*GetLoadBalancerStateResponsePB) String

type GetLoadMovePercentRequestPB

type GetLoadMovePercentRequestPB struct {
	// contains filtered or unexported fields
}

Get the percentage of tablet data that got moved as part of a blacklist config change. Handled by the master leader and picked up by new leader on failover.

func (*GetLoadMovePercentRequestPB) Descriptor deprecated

func (*GetLoadMovePercentRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetLoadMovePercentRequestPB.ProtoReflect.Descriptor instead.

func (*GetLoadMovePercentRequestPB) ProtoMessage

func (*GetLoadMovePercentRequestPB) ProtoMessage()

func (*GetLoadMovePercentRequestPB) ProtoReflect

func (*GetLoadMovePercentRequestPB) Reset

func (x *GetLoadMovePercentRequestPB) Reset()

func (*GetLoadMovePercentRequestPB) String

func (x *GetLoadMovePercentRequestPB) String() string

type GetLoadMovePercentResponsePB

type GetLoadMovePercentResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// To be deprecated. Replaced by "100 * (total - remaining) / total".
	Percent   *float64 `protobuf:"fixed64,2,opt,name=percent" json:"percent,omitempty"`
	Remaining *uint64  `protobuf:"varint,3,opt,name=remaining" json:"remaining,omitempty"`
	Total     *uint64  `protobuf:"varint,4,opt,name=total" json:"total,omitempty"`
	// contains filtered or unexported fields
}

When no errors, the percent reflects the progress of load removal from the blacklisted tservers.

func (*GetLoadMovePercentResponsePB) Descriptor deprecated

func (*GetLoadMovePercentResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetLoadMovePercentResponsePB.ProtoReflect.Descriptor instead.

func (*GetLoadMovePercentResponsePB) GetError

func (*GetLoadMovePercentResponsePB) GetPercent

func (x *GetLoadMovePercentResponsePB) GetPercent() float64

func (*GetLoadMovePercentResponsePB) GetRemaining

func (x *GetLoadMovePercentResponsePB) GetRemaining() uint64

func (*GetLoadMovePercentResponsePB) GetTotal

func (x *GetLoadMovePercentResponsePB) GetTotal() uint64

func (*GetLoadMovePercentResponsePB) ProtoMessage

func (*GetLoadMovePercentResponsePB) ProtoMessage()

func (*GetLoadMovePercentResponsePB) ProtoReflect

func (*GetLoadMovePercentResponsePB) Reset

func (x *GetLoadMovePercentResponsePB) Reset()

func (*GetLoadMovePercentResponsePB) String

type GetLogLocationRequestPB

type GetLogLocationRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetLogLocationRequestPB) Descriptor deprecated

func (*GetLogLocationRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetLogLocationRequestPB.ProtoReflect.Descriptor instead.

func (*GetLogLocationRequestPB) ProtoMessage

func (*GetLogLocationRequestPB) ProtoMessage()

func (*GetLogLocationRequestPB) ProtoReflect

func (x *GetLogLocationRequestPB) ProtoReflect() protoreflect.Message

func (*GetLogLocationRequestPB) Reset

func (x *GetLogLocationRequestPB) Reset()

func (*GetLogLocationRequestPB) String

func (x *GetLogLocationRequestPB) String() string

type GetLogLocationResponsePB

type GetLogLocationResponsePB struct {
	LogLocation *string `protobuf:"bytes,1,opt,name=log_location,json=logLocation" json:"log_location,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLogLocationResponsePB) Descriptor deprecated

func (*GetLogLocationResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetLogLocationResponsePB.ProtoReflect.Descriptor instead.

func (*GetLogLocationResponsePB) GetLogLocation

func (x *GetLogLocationResponsePB) GetLogLocation() string

func (*GetLogLocationResponsePB) ProtoMessage

func (*GetLogLocationResponsePB) ProtoMessage()

func (*GetLogLocationResponsePB) ProtoReflect

func (x *GetLogLocationResponsePB) ProtoReflect() protoreflect.Message

func (*GetLogLocationResponsePB) Reset

func (x *GetLogLocationResponsePB) Reset()

func (*GetLogLocationResponsePB) String

func (x *GetLogLocationResponsePB) String() string

type GetMasterAddressesRequestPB

type GetMasterAddressesRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetMasterAddressesRequestPB) Descriptor deprecated

func (*GetMasterAddressesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetMasterAddressesRequestPB.ProtoReflect.Descriptor instead.

func (*GetMasterAddressesRequestPB) ProtoMessage

func (*GetMasterAddressesRequestPB) ProtoMessage()

func (*GetMasterAddressesRequestPB) ProtoReflect

func (*GetMasterAddressesRequestPB) Reset

func (x *GetMasterAddressesRequestPB) Reset()

func (*GetMasterAddressesRequestPB) String

func (x *GetMasterAddressesRequestPB) String() string

type GetMasterAddressesResponsePB

type GetMasterAddressesResponsePB struct {
	Error           *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	MasterAddresses *string              `protobuf:"bytes,2,opt,name=master_addresses,json=masterAddresses" json:"master_addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMasterAddressesResponsePB) Descriptor deprecated

func (*GetMasterAddressesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetMasterAddressesResponsePB.ProtoReflect.Descriptor instead.

func (*GetMasterAddressesResponsePB) GetError

func (*GetMasterAddressesResponsePB) GetMasterAddresses

func (x *GetMasterAddressesResponsePB) GetMasterAddresses() string

func (*GetMasterAddressesResponsePB) ProtoMessage

func (*GetMasterAddressesResponsePB) ProtoMessage()

func (*GetMasterAddressesResponsePB) ProtoReflect

func (*GetMasterAddressesResponsePB) Reset

func (x *GetMasterAddressesResponsePB) Reset()

func (*GetMasterAddressesResponsePB) String

type GetMasterClusterConfigRequestPB

type GetMasterClusterConfigRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetMasterClusterConfigRequestPB) Descriptor deprecated

func (*GetMasterClusterConfigRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetMasterClusterConfigRequestPB.ProtoReflect.Descriptor instead.

func (*GetMasterClusterConfigRequestPB) ProtoMessage

func (*GetMasterClusterConfigRequestPB) ProtoMessage()

func (*GetMasterClusterConfigRequestPB) ProtoReflect

func (*GetMasterClusterConfigRequestPB) Reset

func (*GetMasterClusterConfigRequestPB) String

type GetMasterClusterConfigResponsePB

type GetMasterClusterConfigResponsePB struct {
	Error         *MasterErrorPB           `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	ClusterConfig *SysClusterConfigEntryPB `protobuf:"bytes,2,opt,name=cluster_config,json=clusterConfig" json:"cluster_config,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMasterClusterConfigResponsePB) Descriptor deprecated

func (*GetMasterClusterConfigResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetMasterClusterConfigResponsePB.ProtoReflect.Descriptor instead.

func (*GetMasterClusterConfigResponsePB) GetClusterConfig

func (*GetMasterClusterConfigResponsePB) GetError

func (*GetMasterClusterConfigResponsePB) ProtoMessage

func (*GetMasterClusterConfigResponsePB) ProtoMessage()

func (*GetMasterClusterConfigResponsePB) ProtoReflect

func (*GetMasterClusterConfigResponsePB) Reset

func (*GetMasterClusterConfigResponsePB) String

type GetMasterRegistrationRequestPB

type GetMasterRegistrationRequestPB struct {
	// contains filtered or unexported fields
}

GetMasterRegistrationRequest/Response: get the instance id and HTTP/RPC addresses for this Master server.

func (*GetMasterRegistrationRequestPB) Descriptor deprecated

func (*GetMasterRegistrationRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetMasterRegistrationRequestPB.ProtoReflect.Descriptor instead.

func (*GetMasterRegistrationRequestPB) ProtoMessage

func (*GetMasterRegistrationRequestPB) ProtoMessage()

func (*GetMasterRegistrationRequestPB) ProtoReflect

func (*GetMasterRegistrationRequestPB) Reset

func (x *GetMasterRegistrationRequestPB) Reset()

func (*GetMasterRegistrationRequestPB) String

type GetMasterRegistrationResponsePB

type GetMasterRegistrationResponsePB struct {

	// Node instance information is always set.
	InstanceId *NodeInstancePB `protobuf:"bytes,1,req,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
	// These fields are optional, as they won't be set if there's an
	// error retrieving the host/port information.
	Registration *ServerRegistrationPB `protobuf:"bytes,2,opt,name=registration" json:"registration,omitempty"`
	// This server's role in the consensus configuration.
	Role *PeerRole `protobuf:"varint,3,opt,name=role,enum=yb.PeerRole" json:"role,omitempty"`
	// Set if there an error retrieving the registration information.
	Error *MasterErrorPB `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

TODO: Just use ServerRegistration here.

func (*GetMasterRegistrationResponsePB) Descriptor deprecated

func (*GetMasterRegistrationResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetMasterRegistrationResponsePB.ProtoReflect.Descriptor instead.

func (*GetMasterRegistrationResponsePB) GetError

func (*GetMasterRegistrationResponsePB) GetInstanceId

func (x *GetMasterRegistrationResponsePB) GetInstanceId() *NodeInstancePB

func (*GetMasterRegistrationResponsePB) GetRegistration

func (*GetMasterRegistrationResponsePB) GetRole

func (*GetMasterRegistrationResponsePB) ProtoMessage

func (*GetMasterRegistrationResponsePB) ProtoMessage()

func (*GetMasterRegistrationResponsePB) ProtoReflect

func (*GetMasterRegistrationResponsePB) Reset

func (*GetMasterRegistrationResponsePB) String

type GetNamespaceInfoRequestPB

type GetNamespaceInfoRequestPB struct {
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNamespaceInfoRequestPB) Descriptor deprecated

func (*GetNamespaceInfoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetNamespaceInfoRequestPB.ProtoReflect.Descriptor instead.

func (*GetNamespaceInfoRequestPB) GetNamespace

func (*GetNamespaceInfoRequestPB) ProtoMessage

func (*GetNamespaceInfoRequestPB) ProtoMessage()

func (*GetNamespaceInfoRequestPB) ProtoReflect

func (*GetNamespaceInfoRequestPB) Reset

func (x *GetNamespaceInfoRequestPB) Reset()

func (*GetNamespaceInfoRequestPB) String

func (x *GetNamespaceInfoRequestPB) String() string

type GetNamespaceInfoResponsePB

type GetNamespaceInfoResponsePB struct {

	// The error, if an error occurred with this request.
	Error     *MasterErrorPB         `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
	Colocated *bool                  `protobuf:"varint,3,opt,name=colocated" json:"colocated,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNamespaceInfoResponsePB) Descriptor deprecated

func (*GetNamespaceInfoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetNamespaceInfoResponsePB.ProtoReflect.Descriptor instead.

func (*GetNamespaceInfoResponsePB) GetColocated

func (x *GetNamespaceInfoResponsePB) GetColocated() bool

func (*GetNamespaceInfoResponsePB) GetError

func (*GetNamespaceInfoResponsePB) GetNamespace

func (*GetNamespaceInfoResponsePB) ProtoMessage

func (*GetNamespaceInfoResponsePB) ProtoMessage()

func (*GetNamespaceInfoResponsePB) ProtoReflect

func (*GetNamespaceInfoResponsePB) Reset

func (x *GetNamespaceInfoResponsePB) Reset()

func (*GetNamespaceInfoResponsePB) String

func (x *GetNamespaceInfoResponsePB) String() string

type GetNodeInstanceRequestPB

type GetNodeInstanceRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetNodeInstanceRequestPB) Descriptor deprecated

func (*GetNodeInstanceRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeInstanceRequestPB.ProtoReflect.Descriptor instead.

func (*GetNodeInstanceRequestPB) ProtoMessage

func (*GetNodeInstanceRequestPB) ProtoMessage()

func (*GetNodeInstanceRequestPB) ProtoReflect

func (x *GetNodeInstanceRequestPB) ProtoReflect() protoreflect.Message

func (*GetNodeInstanceRequestPB) Reset

func (x *GetNodeInstanceRequestPB) Reset()

func (*GetNodeInstanceRequestPB) String

func (x *GetNodeInstanceRequestPB) String() string

type GetNodeInstanceResponsePB

type GetNodeInstanceResponsePB struct {
	NodeInstance *NodeInstancePB       `protobuf:"bytes,1,opt,name=node_instance,json=nodeInstance" json:"node_instance,omitempty"`
	Registration *ServerRegistrationPB `protobuf:"bytes,2,opt,name=registration" json:"registration,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNodeInstanceResponsePB) Descriptor deprecated

func (*GetNodeInstanceResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetNodeInstanceResponsePB.ProtoReflect.Descriptor instead.

func (*GetNodeInstanceResponsePB) GetNodeInstance

func (x *GetNodeInstanceResponsePB) GetNodeInstance() *NodeInstancePB

func (*GetNodeInstanceResponsePB) GetRegistration

func (x *GetNodeInstanceResponsePB) GetRegistration() *ServerRegistrationPB

func (*GetNodeInstanceResponsePB) ProtoMessage

func (*GetNodeInstanceResponsePB) ProtoMessage()

func (*GetNodeInstanceResponsePB) ProtoReflect

func (*GetNodeInstanceResponsePB) Reset

func (x *GetNodeInstanceResponsePB) Reset()

func (*GetNodeInstanceResponsePB) String

func (x *GetNodeInstanceResponsePB) String() string

type GetPermissionsRequestPB

type GetPermissionsRequestPB struct {

	// Only get the permissions if the cache version in the master is greater than this version.
	IfVersionGreaterThan *uint64 `protobuf:"varint,1,opt,name=if_version_greater_than,json=ifVersionGreaterThan" json:"if_version_greater_than,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionsRequestPB) Descriptor deprecated

func (*GetPermissionsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetPermissionsRequestPB.ProtoReflect.Descriptor instead.

func (*GetPermissionsRequestPB) GetIfVersionGreaterThan

func (x *GetPermissionsRequestPB) GetIfVersionGreaterThan() uint64

func (*GetPermissionsRequestPB) ProtoMessage

func (*GetPermissionsRequestPB) ProtoMessage()

func (*GetPermissionsRequestPB) ProtoReflect

func (x *GetPermissionsRequestPB) ProtoReflect() protoreflect.Message

func (*GetPermissionsRequestPB) Reset

func (x *GetPermissionsRequestPB) Reset()

func (*GetPermissionsRequestPB) String

func (x *GetPermissionsRequestPB) String() string

type GetPermissionsResponsePB

type GetPermissionsResponsePB struct {
	Version         *uint64                 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	Error           *MasterErrorPB          `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	RolePermissions []*RolePermissionInfoPB `protobuf:"bytes,3,rep,name=role_permissions,json=rolePermissions" json:"role_permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionsResponsePB) Descriptor deprecated

func (*GetPermissionsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetPermissionsResponsePB.ProtoReflect.Descriptor instead.

func (*GetPermissionsResponsePB) GetError

func (x *GetPermissionsResponsePB) GetError() *MasterErrorPB

func (*GetPermissionsResponsePB) GetRolePermissions

func (x *GetPermissionsResponsePB) GetRolePermissions() []*RolePermissionInfoPB

func (*GetPermissionsResponsePB) GetVersion

func (x *GetPermissionsResponsePB) GetVersion() uint64

func (*GetPermissionsResponsePB) ProtoMessage

func (*GetPermissionsResponsePB) ProtoMessage()

func (*GetPermissionsResponsePB) ProtoReflect

func (x *GetPermissionsResponsePB) ProtoReflect() protoreflect.Message

func (*GetPermissionsResponsePB) Reset

func (x *GetPermissionsResponsePB) Reset()

func (*GetPermissionsResponsePB) String

func (x *GetPermissionsResponsePB) String() string

type GetSafeTimeRequestPB

type GetSafeTimeRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid                 []byte  `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId                 []byte  `protobuf:"bytes,2,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	SchemaVersion            *uint32 `protobuf:"varint,3,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	PropagatedHybridTime     *uint64 `protobuf:"fixed64,4,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	MinHybridTimeForBackfill *uint64 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetSafeTimeRequestPB) Descriptor deprecated

func (*GetSafeTimeRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetSafeTimeRequestPB.ProtoReflect.Descriptor instead.

func (*GetSafeTimeRequestPB) GetDestUuid

func (x *GetSafeTimeRequestPB) GetDestUuid() []byte

func (*GetSafeTimeRequestPB) GetMinHybridTimeForBackfill

func (x *GetSafeTimeRequestPB) GetMinHybridTimeForBackfill() uint64

func (*GetSafeTimeRequestPB) GetPropagatedHybridTime

func (x *GetSafeTimeRequestPB) GetPropagatedHybridTime() uint64

func (*GetSafeTimeRequestPB) GetSchemaVersion

func (x *GetSafeTimeRequestPB) GetSchemaVersion() uint32

func (*GetSafeTimeRequestPB) GetTabletId

func (x *GetSafeTimeRequestPB) GetTabletId() []byte

func (*GetSafeTimeRequestPB) ProtoMessage

func (*GetSafeTimeRequestPB) ProtoMessage()

func (*GetSafeTimeRequestPB) ProtoReflect

func (x *GetSafeTimeRequestPB) ProtoReflect() protoreflect.Message

func (*GetSafeTimeRequestPB) Reset

func (x *GetSafeTimeRequestPB) Reset()

func (*GetSafeTimeRequestPB) String

func (x *GetSafeTimeRequestPB) String() string

type GetSafeTimeResponsePB

type GetSafeTimeResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	SafeTime             *uint64              `protobuf:"fixed64,2,opt,name=safe_time,json=safeTime" json:"safe_time,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSafeTimeResponsePB) Descriptor deprecated

func (*GetSafeTimeResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetSafeTimeResponsePB.ProtoReflect.Descriptor instead.

func (*GetSafeTimeResponsePB) GetError

func (*GetSafeTimeResponsePB) GetPropagatedHybridTime

func (x *GetSafeTimeResponsePB) GetPropagatedHybridTime() uint64

func (*GetSafeTimeResponsePB) GetSafeTime

func (x *GetSafeTimeResponsePB) GetSafeTime() uint64

func (*GetSafeTimeResponsePB) ProtoMessage

func (*GetSafeTimeResponsePB) ProtoMessage()

func (*GetSafeTimeResponsePB) ProtoReflect

func (x *GetSafeTimeResponsePB) ProtoReflect() protoreflect.Message

func (*GetSafeTimeResponsePB) Reset

func (x *GetSafeTimeResponsePB) Reset()

func (*GetSafeTimeResponsePB) String

func (x *GetSafeTimeResponsePB) String() string

type GetSharedDataRequestPB

type GetSharedDataRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetSharedDataRequestPB) Descriptor deprecated

func (*GetSharedDataRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetSharedDataRequestPB.ProtoReflect.Descriptor instead.

func (*GetSharedDataRequestPB) ProtoMessage

func (*GetSharedDataRequestPB) ProtoMessage()

func (*GetSharedDataRequestPB) ProtoReflect

func (x *GetSharedDataRequestPB) ProtoReflect() protoreflect.Message

func (*GetSharedDataRequestPB) Reset

func (x *GetSharedDataRequestPB) Reset()

func (*GetSharedDataRequestPB) String

func (x *GetSharedDataRequestPB) String() string

type GetSharedDataResponsePB

type GetSharedDataResponsePB struct {
	Data []byte `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSharedDataResponsePB) Descriptor deprecated

func (*GetSharedDataResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetSharedDataResponsePB.ProtoReflect.Descriptor instead.

func (*GetSharedDataResponsePB) GetData

func (x *GetSharedDataResponsePB) GetData() []byte

func (*GetSharedDataResponsePB) ProtoMessage

func (*GetSharedDataResponsePB) ProtoMessage()

func (*GetSharedDataResponsePB) ProtoReflect

func (x *GetSharedDataResponsePB) ProtoReflect() protoreflect.Message

func (*GetSharedDataResponsePB) Reset

func (x *GetSharedDataResponsePB) Reset()

func (*GetSharedDataResponsePB) String

func (x *GetSharedDataResponsePB) String() string

type GetSplitKeyRequestPB

type GetSplitKeyRequestPB struct {
	TabletId             []byte  `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	PropagatedHybridTime *uint64 `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSplitKeyRequestPB) Descriptor deprecated

func (*GetSplitKeyRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetSplitKeyRequestPB.ProtoReflect.Descriptor instead.

func (*GetSplitKeyRequestPB) GetPropagatedHybridTime

func (x *GetSplitKeyRequestPB) GetPropagatedHybridTime() uint64

func (*GetSplitKeyRequestPB) GetTabletId

func (x *GetSplitKeyRequestPB) GetTabletId() []byte

func (*GetSplitKeyRequestPB) ProtoMessage

func (*GetSplitKeyRequestPB) ProtoMessage()

func (*GetSplitKeyRequestPB) ProtoReflect

func (x *GetSplitKeyRequestPB) ProtoReflect() protoreflect.Message

func (*GetSplitKeyRequestPB) Reset

func (x *GetSplitKeyRequestPB) Reset()

func (*GetSplitKeyRequestPB) String

func (x *GetSplitKeyRequestPB) String() string

type GetSplitKeyResponsePB

type GetSplitKeyResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	SplitPartitionKey    []byte               `protobuf:"bytes,2,opt,name=split_partition_key,json=splitPartitionKey" json:"split_partition_key,omitempty"`
	SplitEncodedKey      []byte               `protobuf:"bytes,3,opt,name=split_encoded_key,json=splitEncodedKey" json:"split_encoded_key,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,4,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSplitKeyResponsePB) Descriptor deprecated

func (*GetSplitKeyResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetSplitKeyResponsePB.ProtoReflect.Descriptor instead.

func (*GetSplitKeyResponsePB) GetError

func (*GetSplitKeyResponsePB) GetPropagatedHybridTime

func (x *GetSplitKeyResponsePB) GetPropagatedHybridTime() uint64

func (*GetSplitKeyResponsePB) GetSplitEncodedKey

func (x *GetSplitKeyResponsePB) GetSplitEncodedKey() []byte

func (*GetSplitKeyResponsePB) GetSplitPartitionKey

func (x *GetSplitKeyResponsePB) GetSplitPartitionKey() []byte

func (*GetSplitKeyResponsePB) ProtoMessage

func (*GetSplitKeyResponsePB) ProtoMessage()

func (*GetSplitKeyResponsePB) ProtoReflect

func (x *GetSplitKeyResponsePB) ProtoReflect() protoreflect.Message

func (*GetSplitKeyResponsePB) Reset

func (x *GetSplitKeyResponsePB) Reset()

func (*GetSplitKeyResponsePB) String

func (x *GetSplitKeyResponsePB) String() string

type GetStatusRequestPB

type GetStatusRequestPB struct {
	// contains filtered or unexported fields
}

Requests the server's status and version info

func (*GetStatusRequestPB) Descriptor deprecated

func (*GetStatusRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusRequestPB.ProtoReflect.Descriptor instead.

func (*GetStatusRequestPB) ProtoMessage

func (*GetStatusRequestPB) ProtoMessage()

func (*GetStatusRequestPB) ProtoReflect

func (x *GetStatusRequestPB) ProtoReflect() protoreflect.Message

func (*GetStatusRequestPB) Reset

func (x *GetStatusRequestPB) Reset()

func (*GetStatusRequestPB) String

func (x *GetStatusRequestPB) String() string

type GetStatusResponsePB

type GetStatusResponsePB struct {
	Status *ServerStatusPB `protobuf:"bytes,1,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatusResponsePB) Descriptor deprecated

func (*GetStatusResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetStatusResponsePB.ProtoReflect.Descriptor instead.

func (*GetStatusResponsePB) GetStatus

func (x *GetStatusResponsePB) GetStatus() *ServerStatusPB

func (*GetStatusResponsePB) ProtoMessage

func (*GetStatusResponsePB) ProtoMessage()

func (*GetStatusResponsePB) ProtoReflect

func (x *GetStatusResponsePB) ProtoReflect() protoreflect.Message

func (*GetStatusResponsePB) Reset

func (x *GetStatusResponsePB) Reset()

func (*GetStatusResponsePB) String

func (x *GetStatusResponsePB) String() string

type GetTableLocationsRequestPB

type GetTableLocationsRequestPB struct {
	Table *TableIdentifierPB `protobuf:"bytes,1,req,name=table" json:"table,omitempty"`
	// Partition-key range.
	PartitionKeyStart     []byte  `protobuf:"bytes,3,opt,name=partition_key_start,json=partitionKeyStart" json:"partition_key_start,omitempty"`
	PartitionKeyEnd       []byte  `protobuf:"bytes,4,opt,name=partition_key_end,json=partitionKeyEnd" json:"partition_key_end,omitempty"`
	MaxReturnedLocations  *uint32 `protobuf:"varint,5,opt,name=max_returned_locations,json=maxReturnedLocations,def=10" json:"max_returned_locations,omitempty"`
	RequireTabletsRunning *bool   `protobuf:"varint,6,opt,name=require_tablets_running,json=requireTabletsRunning" json:"require_tablets_running,omitempty"`
	// If true, then return any hidden tablets as well. Does not work with partition key ranges.
	IncludeInactive *bool `protobuf:"varint,7,opt,name=include_inactive,json=includeInactive" json:"include_inactive,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTableLocationsRequestPB) Descriptor deprecated

func (*GetTableLocationsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetTableLocationsRequestPB.ProtoReflect.Descriptor instead.

func (*GetTableLocationsRequestPB) GetIncludeInactive added in v2.11.2

func (x *GetTableLocationsRequestPB) GetIncludeInactive() bool

func (*GetTableLocationsRequestPB) GetMaxReturnedLocations

func (x *GetTableLocationsRequestPB) GetMaxReturnedLocations() uint32

func (*GetTableLocationsRequestPB) GetPartitionKeyEnd

func (x *GetTableLocationsRequestPB) GetPartitionKeyEnd() []byte

func (*GetTableLocationsRequestPB) GetPartitionKeyStart

func (x *GetTableLocationsRequestPB) GetPartitionKeyStart() []byte

func (*GetTableLocationsRequestPB) GetRequireTabletsRunning

func (x *GetTableLocationsRequestPB) GetRequireTabletsRunning() bool

func (*GetTableLocationsRequestPB) GetTable

func (*GetTableLocationsRequestPB) ProtoMessage

func (*GetTableLocationsRequestPB) ProtoMessage()

func (*GetTableLocationsRequestPB) ProtoReflect

func (*GetTableLocationsRequestPB) Reset

func (x *GetTableLocationsRequestPB) Reset()

func (*GetTableLocationsRequestPB) String

func (x *GetTableLocationsRequestPB) String() string

type GetTableLocationsResponsePB

type GetTableLocationsResponsePB struct {

	// The error, if an error occurred with this request.
	Error           *MasterErrorPB       `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	TabletLocations []*TabletLocationsPB `protobuf:"bytes,2,rep,name=tablet_locations,json=tabletLocations" json:"tablet_locations,omitempty"`
	TableType       *TableType           `protobuf:"varint,3,opt,name=table_type,json=tableType,enum=yb.TableType" json:"table_type,omitempty"`
	// See SysTablesEntryPB for field with the same name.
	PartitionListVersion *uint32 `protobuf:"varint,4,opt,name=partition_list_version,json=partitionListVersion" json:"partition_list_version,omitempty"`
	Creating             *bool   `protobuf:"varint,5,opt,name=creating" json:"creating,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTableLocationsResponsePB) Descriptor deprecated

func (*GetTableLocationsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetTableLocationsResponsePB.ProtoReflect.Descriptor instead.

func (*GetTableLocationsResponsePB) GetCreating

func (x *GetTableLocationsResponsePB) GetCreating() bool

func (*GetTableLocationsResponsePB) GetError

func (*GetTableLocationsResponsePB) GetPartitionListVersion

func (x *GetTableLocationsResponsePB) GetPartitionListVersion() uint32

func (*GetTableLocationsResponsePB) GetTableType

func (x *GetTableLocationsResponsePB) GetTableType() TableType

func (*GetTableLocationsResponsePB) GetTabletLocations

func (x *GetTableLocationsResponsePB) GetTabletLocations() []*TabletLocationsPB

func (*GetTableLocationsResponsePB) ProtoMessage

func (*GetTableLocationsResponsePB) ProtoMessage()

func (*GetTableLocationsResponsePB) ProtoReflect

func (*GetTableLocationsResponsePB) Reset

func (x *GetTableLocationsResponsePB) Reset()

func (*GetTableLocationsResponsePB) String

func (x *GetTableLocationsResponsePB) String() string

type GetTableSchemaRequestPB

type GetTableSchemaRequestPB struct {
	Table *TableIdentifierPB `protobuf:"bytes,1,req,name=table" json:"table,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTableSchemaRequestPB) Descriptor deprecated

func (*GetTableSchemaRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetTableSchemaRequestPB.ProtoReflect.Descriptor instead.

func (*GetTableSchemaRequestPB) GetTable

func (*GetTableSchemaRequestPB) ProtoMessage

func (*GetTableSchemaRequestPB) ProtoMessage()

func (*GetTableSchemaRequestPB) ProtoReflect

func (x *GetTableSchemaRequestPB) ProtoReflect() protoreflect.Message

func (*GetTableSchemaRequestPB) Reset

func (x *GetTableSchemaRequestPB) Reset()

func (*GetTableSchemaRequestPB) String

func (x *GetTableSchemaRequestPB) String() string

type GetTableSchemaResponsePB

type GetTableSchemaResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// This is the schema that every TS should be able to understand
	// if your alter is keeping the schema compatible.
	// In case of an alter table in progress, this is the previous schema;
	// otherwise it is the latest schema.
	Schema *SchemaPB `protobuf:"bytes,2,opt,name=schema" json:"schema,omitempty"`
	// Table schema version
	Version *uint32 `protobuf:"varint,9,opt,name=version" json:"version,omitempty"`
	// The table's partition schema.
	PartitionSchema *PartitionSchemaPB `protobuf:"bytes,5,opt,name=partition_schema,json=partitionSchema" json:"partition_schema,omitempty"`
	ReplicationInfo *ReplicationInfoPB `protobuf:"bytes,3,opt,name=replication_info,json=replicationInfo" json:"replication_info,omitempty"`
	// True if the create operation is completed, false otherwise.
	CreateTableDone *bool `protobuf:"varint,6,opt,name=create_table_done,json=createTableDone" json:"create_table_done,omitempty"`
	// The table type.
	TableType *TableType `protobuf:"varint,7,opt,name=table_type,json=tableType,enum=yb.TableType" json:"table_type,omitempty"`
	// Table identifier
	Identifier *TableIdentifierPB `protobuf:"bytes,8,opt,name=identifier" json:"identifier,omitempty"`
	// Secondary indexes of the table.
	Indexes []*IndexInfoPB `protobuf:"bytes,10,rep,name=indexes" json:"indexes,omitempty"`
	// For index table: [to be deprecated and replaced by "index_info"]
	OBSOLETEIndexedTableId []byte `protobuf:"bytes,11,opt,name=OBSOLETE_indexed_table_id,json=OBSOLETEIndexedTableId" json:"OBSOLETE_indexed_table_id,omitempty"` // Indexed table id of this index.
	// For index table: information about this index.
	IndexInfo *IndexInfoPB `protobuf:"bytes,12,opt,name=index_info,json=indexInfo" json:"index_info,omitempty"`
	// True if table is colocated.
	Colocated                       *bool   `protobuf:"varint,13,opt,name=colocated" json:"colocated,omitempty"`
	IsCompatibleWithPreviousVersion *bool   `` /* 161-byte string literal not displayed */
	WalRetentionSecs                *uint32 `protobuf:"varint,15,opt,name=wal_retention_secs,json=walRetentionSecs" json:"wal_retention_secs,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTableSchemaResponsePB) Descriptor deprecated

func (*GetTableSchemaResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetTableSchemaResponsePB.ProtoReflect.Descriptor instead.

func (*GetTableSchemaResponsePB) GetColocated

func (x *GetTableSchemaResponsePB) GetColocated() bool

func (*GetTableSchemaResponsePB) GetCreateTableDone

func (x *GetTableSchemaResponsePB) GetCreateTableDone() bool

func (*GetTableSchemaResponsePB) GetError

func (x *GetTableSchemaResponsePB) GetError() *MasterErrorPB

func (*GetTableSchemaResponsePB) GetIdentifier

func (x *GetTableSchemaResponsePB) GetIdentifier() *TableIdentifierPB

func (*GetTableSchemaResponsePB) GetIndexInfo

func (x *GetTableSchemaResponsePB) GetIndexInfo() *IndexInfoPB

func (*GetTableSchemaResponsePB) GetIndexes

func (x *GetTableSchemaResponsePB) GetIndexes() []*IndexInfoPB

func (*GetTableSchemaResponsePB) GetIsCompatibleWithPreviousVersion

func (x *GetTableSchemaResponsePB) GetIsCompatibleWithPreviousVersion() bool

func (*GetTableSchemaResponsePB) GetOBSOLETEIndexedTableId

func (x *GetTableSchemaResponsePB) GetOBSOLETEIndexedTableId() []byte

func (*GetTableSchemaResponsePB) GetPartitionSchema

func (x *GetTableSchemaResponsePB) GetPartitionSchema() *PartitionSchemaPB

func (*GetTableSchemaResponsePB) GetReplicationInfo

func (x *GetTableSchemaResponsePB) GetReplicationInfo() *ReplicationInfoPB

func (*GetTableSchemaResponsePB) GetSchema

func (x *GetTableSchemaResponsePB) GetSchema() *SchemaPB

func (*GetTableSchemaResponsePB) GetTableType

func (x *GetTableSchemaResponsePB) GetTableType() TableType

func (*GetTableSchemaResponsePB) GetVersion

func (x *GetTableSchemaResponsePB) GetVersion() uint32

func (*GetTableSchemaResponsePB) GetWalRetentionSecs added in v2.13.0

func (x *GetTableSchemaResponsePB) GetWalRetentionSecs() uint32

func (*GetTableSchemaResponsePB) ProtoMessage

func (*GetTableSchemaResponsePB) ProtoMessage()

func (*GetTableSchemaResponsePB) ProtoReflect

func (x *GetTableSchemaResponsePB) ProtoReflect() protoreflect.Message

func (*GetTableSchemaResponsePB) Reset

func (x *GetTableSchemaResponsePB) Reset()

func (*GetTableSchemaResponsePB) String

func (x *GetTableSchemaResponsePB) String() string

type GetTablegroupSchemaRequestPB added in v2.13.0

type GetTablegroupSchemaRequestPB struct {
	ParentTablegroup *TablegroupIdentifierPB `protobuf:"bytes,1,req,name=parent_tablegroup,json=parentTablegroup" json:"parent_tablegroup,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTablegroupSchemaRequestPB) Descriptor deprecated added in v2.13.0

func (*GetTablegroupSchemaRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetTablegroupSchemaRequestPB.ProtoReflect.Descriptor instead.

func (*GetTablegroupSchemaRequestPB) GetParentTablegroup added in v2.13.0

func (x *GetTablegroupSchemaRequestPB) GetParentTablegroup() *TablegroupIdentifierPB

func (*GetTablegroupSchemaRequestPB) ProtoMessage added in v2.13.0

func (*GetTablegroupSchemaRequestPB) ProtoMessage()

func (*GetTablegroupSchemaRequestPB) ProtoReflect added in v2.13.0

func (*GetTablegroupSchemaRequestPB) Reset added in v2.13.0

func (x *GetTablegroupSchemaRequestPB) Reset()

func (*GetTablegroupSchemaRequestPB) String added in v2.13.0

type GetTablegroupSchemaResponsePB added in v2.13.0

type GetTablegroupSchemaResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// List of all tables in this tablegroup.
	GetTableSchemaResponsePbs []*GetTableSchemaResponsePB `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetTablegroupSchemaResponsePB) Descriptor deprecated added in v2.13.0

func (*GetTablegroupSchemaResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetTablegroupSchemaResponsePB.ProtoReflect.Descriptor instead.

func (*GetTablegroupSchemaResponsePB) GetError added in v2.13.0

func (*GetTablegroupSchemaResponsePB) GetGetTableSchemaResponsePbs added in v2.13.0

func (x *GetTablegroupSchemaResponsePB) GetGetTableSchemaResponsePbs() []*GetTableSchemaResponsePB

func (*GetTablegroupSchemaResponsePB) ProtoMessage added in v2.13.0

func (*GetTablegroupSchemaResponsePB) ProtoMessage()

func (*GetTablegroupSchemaResponsePB) ProtoReflect added in v2.13.0

func (*GetTablegroupSchemaResponsePB) Reset added in v2.13.0

func (x *GetTablegroupSchemaResponsePB) Reset()

func (*GetTablegroupSchemaResponsePB) String added in v2.13.0

type GetTabletLocationsRequestPB

type GetTabletLocationsRequestPB struct {

	// The tablet IDs about which to fetch info.
	TabletIds [][]byte `protobuf:"bytes,1,rep,name=tablet_ids,json=tabletIds" json:"tablet_ids,omitempty"`
	// If table ID is specified, table's partition_list_version will be included into response.
	TableId []byte `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// If true, then return any hidden tablets as well. Does not work with partition key ranges.
	IncludeInactive *bool `protobuf:"varint,3,opt,name=include_inactive,json=includeInactive" json:"include_inactive,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTabletLocationsRequestPB) Descriptor deprecated

func (*GetTabletLocationsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetTabletLocationsRequestPB.ProtoReflect.Descriptor instead.

func (*GetTabletLocationsRequestPB) GetIncludeInactive added in v2.11.2

func (x *GetTabletLocationsRequestPB) GetIncludeInactive() bool

func (*GetTabletLocationsRequestPB) GetTableId

func (x *GetTabletLocationsRequestPB) GetTableId() []byte

func (*GetTabletLocationsRequestPB) GetTabletIds

func (x *GetTabletLocationsRequestPB) GetTabletIds() [][]byte

func (*GetTabletLocationsRequestPB) ProtoMessage

func (*GetTabletLocationsRequestPB) ProtoMessage()

func (*GetTabletLocationsRequestPB) ProtoReflect

func (*GetTabletLocationsRequestPB) Reset

func (x *GetTabletLocationsRequestPB) Reset()

func (*GetTabletLocationsRequestPB) String

func (x *GetTabletLocationsRequestPB) String() string

type GetTabletLocationsResponsePB

type GetTabletLocationsResponsePB struct {
	Error           *MasterErrorPB       `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	TabletLocations []*TabletLocationsPB `protobuf:"bytes,2,rep,name=tablet_locations,json=tabletLocations" json:"tablet_locations,omitempty"`
	// If GetTabletLocationsRequestPB::table_id is set we return table's partition_list_version for
	// this table (see SysTablesEntryPB::partition_list_version).
	PartitionListVersion *uint32                               `protobuf:"varint,4,opt,name=partition_list_version,json=partitionListVersion" json:"partition_list_version,omitempty"`
	Errors               []*GetTabletLocationsResponsePB_Error `protobuf:"bytes,3,rep,name=errors" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTabletLocationsResponsePB) Descriptor deprecated

func (*GetTabletLocationsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetTabletLocationsResponsePB.ProtoReflect.Descriptor instead.

func (*GetTabletLocationsResponsePB) GetError

func (*GetTabletLocationsResponsePB) GetErrors

func (*GetTabletLocationsResponsePB) GetPartitionListVersion

func (x *GetTabletLocationsResponsePB) GetPartitionListVersion() uint32

func (*GetTabletLocationsResponsePB) GetTabletLocations

func (x *GetTabletLocationsResponsePB) GetTabletLocations() []*TabletLocationsPB

func (*GetTabletLocationsResponsePB) ProtoMessage

func (*GetTabletLocationsResponsePB) ProtoMessage()

func (*GetTabletLocationsResponsePB) ProtoReflect

func (*GetTabletLocationsResponsePB) Reset

func (x *GetTabletLocationsResponsePB) Reset()

func (*GetTabletLocationsResponsePB) String

type GetTabletLocationsResponsePB_Error

type GetTabletLocationsResponsePB_Error struct {
	TabletId []byte       `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	Status   *AppStatusPB `protobuf:"bytes,2,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTabletLocationsResponsePB_Error) Descriptor deprecated

func (*GetTabletLocationsResponsePB_Error) Descriptor() ([]byte, []int)

Deprecated: Use GetTabletLocationsResponsePB_Error.ProtoReflect.Descriptor instead.

func (*GetTabletLocationsResponsePB_Error) GetStatus

func (*GetTabletLocationsResponsePB_Error) GetTabletId

func (x *GetTabletLocationsResponsePB_Error) GetTabletId() []byte

func (*GetTabletLocationsResponsePB_Error) ProtoMessage

func (*GetTabletLocationsResponsePB_Error) ProtoMessage()

func (*GetTabletLocationsResponsePB_Error) ProtoReflect

func (*GetTabletLocationsResponsePB_Error) Reset

func (*GetTabletLocationsResponsePB_Error) String

type GetTabletStatusRequestPB

type GetTabletStatusRequestPB struct {
	TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

Tablet's status request

func (*GetTabletStatusRequestPB) Descriptor deprecated

func (*GetTabletStatusRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetTabletStatusRequestPB.ProtoReflect.Descriptor instead.

func (*GetTabletStatusRequestPB) GetTabletId

func (x *GetTabletStatusRequestPB) GetTabletId() []byte

func (*GetTabletStatusRequestPB) ProtoMessage

func (*GetTabletStatusRequestPB) ProtoMessage()

func (*GetTabletStatusRequestPB) ProtoReflect

func (x *GetTabletStatusRequestPB) ProtoReflect() protoreflect.Message

func (*GetTabletStatusRequestPB) Reset

func (x *GetTabletStatusRequestPB) Reset()

func (*GetTabletStatusRequestPB) String

func (x *GetTabletStatusRequestPB) String() string

type GetTabletStatusResponsePB

type GetTabletStatusResponsePB struct {
	Error        *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	TabletStatus *TabletStatusPB      `protobuf:"bytes,2,opt,name=tablet_status,json=tabletStatus" json:"tablet_status,omitempty"`
	// contains filtered or unexported fields
}

Tablet's status response

func (*GetTabletStatusResponsePB) Descriptor deprecated

func (*GetTabletStatusResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetTabletStatusResponsePB.ProtoReflect.Descriptor instead.

func (*GetTabletStatusResponsePB) GetError

func (*GetTabletStatusResponsePB) GetTabletStatus

func (x *GetTabletStatusResponsePB) GetTabletStatus() *TabletStatusPB

func (*GetTabletStatusResponsePB) ProtoMessage

func (*GetTabletStatusResponsePB) ProtoMessage()

func (*GetTabletStatusResponsePB) ProtoReflect

func (*GetTabletStatusResponsePB) Reset

func (x *GetTabletStatusResponsePB) Reset()

func (*GetTabletStatusResponsePB) String

func (x *GetTabletStatusResponsePB) String() string

type GetTransactionStatusAtParticipantRequestPB

type GetTransactionStatusAtParticipantRequestPB struct {
	TabletId                     []byte  `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	TransactionId                []byte  `protobuf:"bytes,2,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	PropagatedHybridTime         *uint64 `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	RequiredNumReplicatedBatches *int64  `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetTransactionStatusAtParticipantRequestPB) Descriptor deprecated

Deprecated: Use GetTransactionStatusAtParticipantRequestPB.ProtoReflect.Descriptor instead.

func (*GetTransactionStatusAtParticipantRequestPB) GetPropagatedHybridTime

func (x *GetTransactionStatusAtParticipantRequestPB) GetPropagatedHybridTime() uint64

func (*GetTransactionStatusAtParticipantRequestPB) GetRequiredNumReplicatedBatches

func (x *GetTransactionStatusAtParticipantRequestPB) GetRequiredNumReplicatedBatches() int64

func (*GetTransactionStatusAtParticipantRequestPB) GetTabletId

func (*GetTransactionStatusAtParticipantRequestPB) GetTransactionId

func (x *GetTransactionStatusAtParticipantRequestPB) GetTransactionId() []byte

func (*GetTransactionStatusAtParticipantRequestPB) ProtoMessage

func (*GetTransactionStatusAtParticipantRequestPB) ProtoReflect

func (*GetTransactionStatusAtParticipantRequestPB) Reset

func (*GetTransactionStatusAtParticipantRequestPB) String

type GetTransactionStatusAtParticipantResponsePB

type GetTransactionStatusAtParticipantResponsePB struct {

	// Error message, if any.
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	NumReplicatedBatches *int64               `protobuf:"varint,3,opt,name=num_replicated_batches,json=numReplicatedBatches" json:"num_replicated_batches,omitempty"`
	StatusHybridTime     *uint64              `protobuf:"fixed64,4,opt,name=status_hybrid_time,json=statusHybridTime" json:"status_hybrid_time,omitempty"`
	Aborted              *bool                `protobuf:"varint,5,opt,name=aborted" json:"aborted,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionStatusAtParticipantResponsePB) Descriptor deprecated

Deprecated: Use GetTransactionStatusAtParticipantResponsePB.ProtoReflect.Descriptor instead.

func (*GetTransactionStatusAtParticipantResponsePB) GetAborted

func (*GetTransactionStatusAtParticipantResponsePB) GetError

func (*GetTransactionStatusAtParticipantResponsePB) GetNumReplicatedBatches

func (x *GetTransactionStatusAtParticipantResponsePB) GetNumReplicatedBatches() int64

func (*GetTransactionStatusAtParticipantResponsePB) GetPropagatedHybridTime

func (x *GetTransactionStatusAtParticipantResponsePB) GetPropagatedHybridTime() uint64

func (*GetTransactionStatusAtParticipantResponsePB) GetStatusHybridTime

func (x *GetTransactionStatusAtParticipantResponsePB) GetStatusHybridTime() uint64

func (*GetTransactionStatusAtParticipantResponsePB) ProtoMessage

func (*GetTransactionStatusAtParticipantResponsePB) ProtoReflect

func (*GetTransactionStatusAtParticipantResponsePB) Reset

func (*GetTransactionStatusAtParticipantResponsePB) String

type GetTransactionStatusRequestPB

type GetTransactionStatusRequestPB struct {
	TabletId             []byte   `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	TransactionId        [][]byte `protobuf:"bytes,2,rep,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	PropagatedHybridTime *uint64  `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionStatusRequestPB) Descriptor deprecated

func (*GetTransactionStatusRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionStatusRequestPB.ProtoReflect.Descriptor instead.

func (*GetTransactionStatusRequestPB) GetPropagatedHybridTime

func (x *GetTransactionStatusRequestPB) GetPropagatedHybridTime() uint64

func (*GetTransactionStatusRequestPB) GetTabletId

func (x *GetTransactionStatusRequestPB) GetTabletId() []byte

func (*GetTransactionStatusRequestPB) GetTransactionId

func (x *GetTransactionStatusRequestPB) GetTransactionId() [][]byte

func (*GetTransactionStatusRequestPB) ProtoMessage

func (*GetTransactionStatusRequestPB) ProtoMessage()

func (*GetTransactionStatusRequestPB) ProtoReflect

func (*GetTransactionStatusRequestPB) Reset

func (x *GetTransactionStatusRequestPB) Reset()

func (*GetTransactionStatusRequestPB) String

type GetTransactionStatusResponsePB

type GetTransactionStatusResponsePB struct {

	// Error message, if any.
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// For backward compatibility we use multiple repeated fields instead of one field
	// with custom message.
	Status []TransactionStatus `protobuf:"varint,2,rep,name=status,enum=yb.TransactionStatus" json:"status,omitempty"`
	// For description of status_hybrid_time see comment in TransactionStatusResult.
	StatusHybridTime     []uint64 `protobuf:"fixed64,3,rep,name=status_hybrid_time,json=statusHybridTime" json:"status_hybrid_time,omitempty"`
	PropagatedHybridTime *uint64  `protobuf:"fixed64,4,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	NumReplicatedBatches []int64  `protobuf:"varint,5,rep,name=num_replicated_batches,json=numReplicatedBatches" json:"num_replicated_batches,omitempty"`
	// Size could be less than status size. In this case appropriates values should be interpreted
	// as invalid hybrid time.
	CoordinatorSafeTime []uint64                      `protobuf:"fixed64,6,rep,name=coordinator_safe_time,json=coordinatorSafeTime" json:"coordinator_safe_time,omitempty"`
	AbortedSubtxnSet    []*AbortedSubTransactionSetPB `protobuf:"bytes,7,rep,name=aborted_subtxn_set,json=abortedSubtxnSet" json:"aborted_subtxn_set,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionStatusResponsePB) Descriptor deprecated

func (*GetTransactionStatusResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionStatusResponsePB.ProtoReflect.Descriptor instead.

func (*GetTransactionStatusResponsePB) GetAbortedSubtxnSet

func (x *GetTransactionStatusResponsePB) GetAbortedSubtxnSet() []*AbortedSubTransactionSetPB

func (*GetTransactionStatusResponsePB) GetCoordinatorSafeTime

func (x *GetTransactionStatusResponsePB) GetCoordinatorSafeTime() []uint64

func (*GetTransactionStatusResponsePB) GetError

func (*GetTransactionStatusResponsePB) GetNumReplicatedBatches

func (x *GetTransactionStatusResponsePB) GetNumReplicatedBatches() []int64

func (*GetTransactionStatusResponsePB) GetPropagatedHybridTime

func (x *GetTransactionStatusResponsePB) GetPropagatedHybridTime() uint64

func (*GetTransactionStatusResponsePB) GetStatus

func (*GetTransactionStatusResponsePB) GetStatusHybridTime

func (x *GetTransactionStatusResponsePB) GetStatusHybridTime() []uint64

func (*GetTransactionStatusResponsePB) ProtoMessage

func (*GetTransactionStatusResponsePB) ProtoMessage()

func (*GetTransactionStatusResponsePB) ProtoReflect

func (*GetTransactionStatusResponsePB) Reset

func (x *GetTransactionStatusResponsePB) Reset()

func (*GetTransactionStatusResponsePB) String

type GetTransactionStatusTabletsRequestPB added in v2.13.0

type GetTransactionStatusTabletsRequestPB struct {

	// Placement to use when deciding which local transaction tables should be considered.
	// No local transaction tablets will be returned if not set.
	Placement *CloudInfoPB `protobuf:"bytes,1,opt,name=placement" json:"placement,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionStatusTabletsRequestPB) Descriptor deprecated added in v2.13.0

func (*GetTransactionStatusTabletsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionStatusTabletsRequestPB.ProtoReflect.Descriptor instead.

func (*GetTransactionStatusTabletsRequestPB) GetPlacement added in v2.13.0

func (*GetTransactionStatusTabletsRequestPB) ProtoMessage added in v2.13.0

func (*GetTransactionStatusTabletsRequestPB) ProtoMessage()

func (*GetTransactionStatusTabletsRequestPB) ProtoReflect added in v2.13.0

func (*GetTransactionStatusTabletsRequestPB) Reset added in v2.13.0

func (*GetTransactionStatusTabletsRequestPB) String added in v2.13.0

type GetTransactionStatusTabletsResponsePB added in v2.13.0

type GetTransactionStatusTabletsResponsePB struct {
	Error                  *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	GlobalTabletId         [][]byte       `protobuf:"bytes,2,rep,name=global_tablet_id,json=globalTabletId" json:"global_tablet_id,omitempty"`
	PlacementLocalTabletId [][]byte       `protobuf:"bytes,3,rep,name=placement_local_tablet_id,json=placementLocalTabletId" json:"placement_local_tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTransactionStatusTabletsResponsePB) Descriptor deprecated added in v2.13.0

func (*GetTransactionStatusTabletsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetTransactionStatusTabletsResponsePB.ProtoReflect.Descriptor instead.

func (*GetTransactionStatusTabletsResponsePB) GetError added in v2.13.0

func (*GetTransactionStatusTabletsResponsePB) GetGlobalTabletId added in v2.13.0

func (x *GetTransactionStatusTabletsResponsePB) GetGlobalTabletId() [][]byte

func (*GetTransactionStatusTabletsResponsePB) GetPlacementLocalTabletId added in v2.13.0

func (x *GetTransactionStatusTabletsResponsePB) GetPlacementLocalTabletId() [][]byte

func (*GetTransactionStatusTabletsResponsePB) ProtoMessage added in v2.13.0

func (*GetTransactionStatusTabletsResponsePB) ProtoMessage()

func (*GetTransactionStatusTabletsResponsePB) ProtoReflect added in v2.13.0

func (*GetTransactionStatusTabletsResponsePB) Reset added in v2.13.0

func (*GetTransactionStatusTabletsResponsePB) String added in v2.13.0

type GetUDTypeInfoRequestPB

type GetUDTypeInfoRequestPB struct {
	Type *UDTypeIdentifierPB `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUDTypeInfoRequestPB) Descriptor deprecated

func (*GetUDTypeInfoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetUDTypeInfoRequestPB.ProtoReflect.Descriptor instead.

func (*GetUDTypeInfoRequestPB) GetType

func (*GetUDTypeInfoRequestPB) ProtoMessage

func (*GetUDTypeInfoRequestPB) ProtoMessage()

func (*GetUDTypeInfoRequestPB) ProtoReflect

func (x *GetUDTypeInfoRequestPB) ProtoReflect() protoreflect.Message

func (*GetUDTypeInfoRequestPB) Reset

func (x *GetUDTypeInfoRequestPB) Reset()

func (*GetUDTypeInfoRequestPB) String

func (x *GetUDTypeInfoRequestPB) String() string

type GetUDTypeInfoResponsePB

type GetUDTypeInfoResponsePB struct {

	// The error, if an error occurred with this request.
	Error  *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Udtype *UDTypeInfoPB  `protobuf:"bytes,2,opt,name=udtype" json:"udtype,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUDTypeInfoResponsePB) Descriptor deprecated

func (*GetUDTypeInfoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetUDTypeInfoResponsePB.ProtoReflect.Descriptor instead.

func (*GetUDTypeInfoResponsePB) GetError

func (x *GetUDTypeInfoResponsePB) GetError() *MasterErrorPB

func (*GetUDTypeInfoResponsePB) GetUdtype

func (x *GetUDTypeInfoResponsePB) GetUdtype() *UDTypeInfoPB

func (*GetUDTypeInfoResponsePB) ProtoMessage

func (*GetUDTypeInfoResponsePB) ProtoMessage()

func (*GetUDTypeInfoResponsePB) ProtoReflect

func (x *GetUDTypeInfoResponsePB) ProtoReflect() protoreflect.Message

func (*GetUDTypeInfoResponsePB) Reset

func (x *GetUDTypeInfoResponsePB) Reset()

func (*GetUDTypeInfoResponsePB) String

func (x *GetUDTypeInfoResponsePB) String() string

type GetUniverseKeyRegistryRequestPB

type GetUniverseKeyRegistryRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetUniverseKeyRegistryRequestPB) Descriptor deprecated

func (*GetUniverseKeyRegistryRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetUniverseKeyRegistryRequestPB.ProtoReflect.Descriptor instead.

func (*GetUniverseKeyRegistryRequestPB) ProtoMessage

func (*GetUniverseKeyRegistryRequestPB) ProtoMessage()

func (*GetUniverseKeyRegistryRequestPB) ProtoReflect

func (*GetUniverseKeyRegistryRequestPB) Reset

func (*GetUniverseKeyRegistryRequestPB) String

type GetUniverseKeyRegistryResponsePB

type GetUniverseKeyRegistryResponsePB struct {
	Error        *MasterErrorPB  `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	UniverseKeys *UniverseKeysPB `protobuf:"bytes,2,opt,name=universe_keys,json=universeKeys" json:"universe_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUniverseKeyRegistryResponsePB) Descriptor deprecated

func (*GetUniverseKeyRegistryResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetUniverseKeyRegistryResponsePB.ProtoReflect.Descriptor instead.

func (*GetUniverseKeyRegistryResponsePB) GetError

func (*GetUniverseKeyRegistryResponsePB) GetUniverseKeys

func (x *GetUniverseKeyRegistryResponsePB) GetUniverseKeys() *UniverseKeysPB

func (*GetUniverseKeyRegistryResponsePB) ProtoMessage

func (*GetUniverseKeyRegistryResponsePB) ProtoMessage()

func (*GetUniverseKeyRegistryResponsePB) ProtoReflect

func (*GetUniverseKeyRegistryResponsePB) Reset

func (*GetUniverseKeyRegistryResponsePB) String

type GetUniverseReplicationRequestPB

type GetUniverseReplicationRequestPB struct {
	ProducerId *string `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUniverseReplicationRequestPB) Descriptor deprecated

func (*GetUniverseReplicationRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetUniverseReplicationRequestPB.ProtoReflect.Descriptor instead.

func (*GetUniverseReplicationRequestPB) GetProducerId

func (x *GetUniverseReplicationRequestPB) GetProducerId() string

func (*GetUniverseReplicationRequestPB) ProtoMessage

func (*GetUniverseReplicationRequestPB) ProtoMessage()

func (*GetUniverseReplicationRequestPB) ProtoReflect

func (*GetUniverseReplicationRequestPB) Reset

func (*GetUniverseReplicationRequestPB) String

type GetUniverseReplicationResponsePB

type GetUniverseReplicationResponsePB struct {
	Error *MasterErrorPB                 `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Entry *SysUniverseReplicationEntryPB `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUniverseReplicationResponsePB) Descriptor deprecated

func (*GetUniverseReplicationResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetUniverseReplicationResponsePB.ProtoReflect.Descriptor instead.

func (*GetUniverseReplicationResponsePB) GetEntry

func (*GetUniverseReplicationResponsePB) GetError

func (*GetUniverseReplicationResponsePB) ProtoMessage

func (*GetUniverseReplicationResponsePB) ProtoMessage()

func (*GetUniverseReplicationResponsePB) ProtoReflect

func (*GetUniverseReplicationResponsePB) Reset

func (*GetUniverseReplicationResponsePB) String

type GetYsqlCatalogConfigRequestPB

type GetYsqlCatalogConfigRequestPB struct {
	// contains filtered or unexported fields
}

func (*GetYsqlCatalogConfigRequestPB) Descriptor deprecated

func (*GetYsqlCatalogConfigRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GetYsqlCatalogConfigRequestPB.ProtoReflect.Descriptor instead.

func (*GetYsqlCatalogConfigRequestPB) ProtoMessage

func (*GetYsqlCatalogConfigRequestPB) ProtoMessage()

func (*GetYsqlCatalogConfigRequestPB) ProtoReflect

func (*GetYsqlCatalogConfigRequestPB) Reset

func (x *GetYsqlCatalogConfigRequestPB) Reset()

func (*GetYsqlCatalogConfigRequestPB) String

type GetYsqlCatalogConfigResponsePB

type GetYsqlCatalogConfigResponsePB struct {
	Error   *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Version *uint64        `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GetYsqlCatalogConfigResponsePB) Descriptor deprecated

func (*GetYsqlCatalogConfigResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GetYsqlCatalogConfigResponsePB.ProtoReflect.Descriptor instead.

func (*GetYsqlCatalogConfigResponsePB) GetError

func (*GetYsqlCatalogConfigResponsePB) GetVersion

func (x *GetYsqlCatalogConfigResponsePB) GetVersion() uint64

func (*GetYsqlCatalogConfigResponsePB) ProtoMessage

func (*GetYsqlCatalogConfigResponsePB) ProtoMessage()

func (*GetYsqlCatalogConfigResponsePB) ProtoReflect

func (*GetYsqlCatalogConfigResponsePB) Reset

func (x *GetYsqlCatalogConfigResponsePB) Reset()

func (*GetYsqlCatalogConfigResponsePB) String

type GrantRevokePermissionRequestPB

type GrantRevokePermissionRequestPB struct {
	Permission        *PermissionType        `protobuf:"varint,1,opt,name=permission,enum=yb.PermissionType" json:"permission,omitempty"`
	ResourceType      *ResourceType          `protobuf:"varint,2,opt,name=resource_type,json=resourceType,enum=yb.ResourceType" json:"resource_type,omitempty"`
	CanonicalResource *string                `protobuf:"bytes,3,opt,name=canonical_resource,json=canonicalResource" json:"canonical_resource,omitempty"`
	ResourceName      *string                `protobuf:"bytes,4,opt,name=resource_name,json=resourceName" json:"resource_name,omitempty"`
	Namespace         *NamespaceIdentifierPB `protobuf:"bytes,5,opt,name=namespace" json:"namespace,omitempty"`
	RoleName          *string                `protobuf:"bytes,6,opt,name=role_name,json=roleName" json:"role_name,omitempty"`
	// true if this is a revoke request.
	Revoke *bool `protobuf:"varint,7,opt,name=revoke,def=0" json:"revoke,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantRevokePermissionRequestPB) Descriptor deprecated

func (*GrantRevokePermissionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GrantRevokePermissionRequestPB.ProtoReflect.Descriptor instead.

func (*GrantRevokePermissionRequestPB) GetCanonicalResource

func (x *GrantRevokePermissionRequestPB) GetCanonicalResource() string

func (*GrantRevokePermissionRequestPB) GetNamespace

func (*GrantRevokePermissionRequestPB) GetPermission

func (*GrantRevokePermissionRequestPB) GetResourceName

func (x *GrantRevokePermissionRequestPB) GetResourceName() string

func (*GrantRevokePermissionRequestPB) GetResourceType

func (x *GrantRevokePermissionRequestPB) GetResourceType() ResourceType

func (*GrantRevokePermissionRequestPB) GetRevoke

func (x *GrantRevokePermissionRequestPB) GetRevoke() bool

func (*GrantRevokePermissionRequestPB) GetRoleName

func (x *GrantRevokePermissionRequestPB) GetRoleName() string

func (*GrantRevokePermissionRequestPB) ProtoMessage

func (*GrantRevokePermissionRequestPB) ProtoMessage()

func (*GrantRevokePermissionRequestPB) ProtoReflect

func (*GrantRevokePermissionRequestPB) Reset

func (x *GrantRevokePermissionRequestPB) Reset()

func (*GrantRevokePermissionRequestPB) String

type GrantRevokePermissionResponsePB

type GrantRevokePermissionResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantRevokePermissionResponsePB) Descriptor deprecated

func (*GrantRevokePermissionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GrantRevokePermissionResponsePB.ProtoReflect.Descriptor instead.

func (*GrantRevokePermissionResponsePB) GetError

func (*GrantRevokePermissionResponsePB) ProtoMessage

func (*GrantRevokePermissionResponsePB) ProtoMessage()

func (*GrantRevokePermissionResponsePB) ProtoReflect

func (*GrantRevokePermissionResponsePB) Reset

func (*GrantRevokePermissionResponsePB) String

type GrantRevokeRoleRequestPB

type GrantRevokeRoleRequestPB struct {
	GrantedRole   *string `protobuf:"bytes,1,opt,name=granted_role,json=grantedRole" json:"granted_role,omitempty"`
	RecipientRole *string `protobuf:"bytes,2,opt,name=recipient_role,json=recipientRole" json:"recipient_role,omitempty"`
	// true if this is a revoke request.
	Revoke *bool `protobuf:"varint,3,opt,name=revoke,def=0" json:"revoke,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantRevokeRoleRequestPB) Descriptor deprecated

func (*GrantRevokeRoleRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use GrantRevokeRoleRequestPB.ProtoReflect.Descriptor instead.

func (*GrantRevokeRoleRequestPB) GetGrantedRole

func (x *GrantRevokeRoleRequestPB) GetGrantedRole() string

func (*GrantRevokeRoleRequestPB) GetRecipientRole

func (x *GrantRevokeRoleRequestPB) GetRecipientRole() string

func (*GrantRevokeRoleRequestPB) GetRevoke

func (x *GrantRevokeRoleRequestPB) GetRevoke() bool

func (*GrantRevokeRoleRequestPB) ProtoMessage

func (*GrantRevokeRoleRequestPB) ProtoMessage()

func (*GrantRevokeRoleRequestPB) ProtoReflect

func (x *GrantRevokeRoleRequestPB) ProtoReflect() protoreflect.Message

func (*GrantRevokeRoleRequestPB) Reset

func (x *GrantRevokeRoleRequestPB) Reset()

func (*GrantRevokeRoleRequestPB) String

func (x *GrantRevokeRoleRequestPB) String() string

type GrantRevokeRoleResponsePB

type GrantRevokeRoleResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantRevokeRoleResponsePB) Descriptor deprecated

func (*GrantRevokeRoleResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use GrantRevokeRoleResponsePB.ProtoReflect.Descriptor instead.

func (*GrantRevokeRoleResponsePB) GetError

func (*GrantRevokeRoleResponsePB) ProtoMessage

func (*GrantRevokeRoleResponsePB) ProtoMessage()

func (*GrantRevokeRoleResponsePB) ProtoReflect

func (*GrantRevokeRoleResponsePB) Reset

func (x *GrantRevokeRoleResponsePB) Reset()

func (*GrantRevokeRoleResponsePB) String

func (x *GrantRevokeRoleResponsePB) String() string

type HasUniverseKeyInMemoryRequestPB

type HasUniverseKeyInMemoryRequestPB struct {
	VersionId *string `protobuf:"bytes,1,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HasUniverseKeyInMemoryRequestPB) Descriptor deprecated

func (*HasUniverseKeyInMemoryRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use HasUniverseKeyInMemoryRequestPB.ProtoReflect.Descriptor instead.

func (*HasUniverseKeyInMemoryRequestPB) GetVersionId

func (x *HasUniverseKeyInMemoryRequestPB) GetVersionId() string

func (*HasUniverseKeyInMemoryRequestPB) ProtoMessage

func (*HasUniverseKeyInMemoryRequestPB) ProtoMessage()

func (*HasUniverseKeyInMemoryRequestPB) ProtoReflect

func (*HasUniverseKeyInMemoryRequestPB) Reset

func (*HasUniverseKeyInMemoryRequestPB) String

type HasUniverseKeyInMemoryResponsePB

type HasUniverseKeyInMemoryResponsePB struct {
	HasKey *bool          `protobuf:"varint,1,opt,name=has_key,json=hasKey" json:"has_key,omitempty"`
	Error  *MasterErrorPB `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*HasUniverseKeyInMemoryResponsePB) Descriptor deprecated

func (*HasUniverseKeyInMemoryResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use HasUniverseKeyInMemoryResponsePB.ProtoReflect.Descriptor instead.

func (*HasUniverseKeyInMemoryResponsePB) GetError

func (*HasUniverseKeyInMemoryResponsePB) GetHasKey

func (x *HasUniverseKeyInMemoryResponsePB) GetHasKey() bool

func (*HasUniverseKeyInMemoryResponsePB) ProtoMessage

func (*HasUniverseKeyInMemoryResponsePB) ProtoMessage()

func (*HasUniverseKeyInMemoryResponsePB) ProtoReflect

func (*HasUniverseKeyInMemoryResponsePB) Reset

func (*HasUniverseKeyInMemoryResponsePB) String

type HistogramSnapshotPB

type HistogramSnapshotPB struct {
	Type                 *string  `protobuf:"bytes,1,req,name=type" json:"type,omitempty"`
	Name                 *string  `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	Description          *string  `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
	Level                *string  `protobuf:"bytes,20,opt,name=level" json:"level,omitempty"`
	Unit                 *string  `protobuf:"bytes,4,req,name=unit" json:"unit,omitempty"`
	Label                *string  `protobuf:"bytes,19,opt,name=label" json:"label,omitempty"`
	MaxTrackableValue    *uint64  `protobuf:"varint,5,req,name=max_trackable_value,json=maxTrackableValue" json:"max_trackable_value,omitempty"`
	NumSignificantDigits *int32   `protobuf:"varint,6,req,name=num_significant_digits,json=numSignificantDigits" json:"num_significant_digits,omitempty"`
	TotalCount           *uint64  `protobuf:"varint,7,req,name=total_count,json=totalCount" json:"total_count,omitempty"`
	TotalSum             *uint64  `protobuf:"varint,18,opt,name=total_sum,json=totalSum" json:"total_sum,omitempty"`
	Min                  *uint64  `protobuf:"varint,8,req,name=min" json:"min,omitempty"`
	Mean                 *float64 `protobuf:"fixed64,9,req,name=mean" json:"mean,omitempty"`
	Percentile_75        *uint64  `protobuf:"varint,10,req,name=percentile_75,json=percentile75" json:"percentile_75,omitempty"`
	Percentile_95        *uint64  `protobuf:"varint,11,req,name=percentile_95,json=percentile95" json:"percentile_95,omitempty"`
	Percentile_99        *uint64  `protobuf:"varint,12,req,name=percentile_99,json=percentile99" json:"percentile_99,omitempty"`
	Percentile_99_9      *uint64  `protobuf:"varint,13,req,name=percentile_99_9,json=percentile999" json:"percentile_99_9,omitempty"`
	Percentile_99_99     *uint64  `protobuf:"varint,14,req,name=percentile_99_99,json=percentile9999" json:"percentile_99_99,omitempty"`
	Max                  *uint64  `protobuf:"varint,15,req,name=max" json:"max,omitempty"`
	Values               []uint64 `protobuf:"varint,16,rep,packed,name=values" json:"values,omitempty"`
	Counts               []uint64 `protobuf:"varint,17,rep,packed,name=counts" json:"counts,omitempty"`
	// contains filtered or unexported fields
}

Captures the state of an Histogram.

func (*HistogramSnapshotPB) Descriptor deprecated

func (*HistogramSnapshotPB) Descriptor() ([]byte, []int)

Deprecated: Use HistogramSnapshotPB.ProtoReflect.Descriptor instead.

func (*HistogramSnapshotPB) GetCounts

func (x *HistogramSnapshotPB) GetCounts() []uint64

func (*HistogramSnapshotPB) GetDescription

func (x *HistogramSnapshotPB) GetDescription() string

func (*HistogramSnapshotPB) GetLabel

func (x *HistogramSnapshotPB) GetLabel() string

func (*HistogramSnapshotPB) GetLevel

func (x *HistogramSnapshotPB) GetLevel() string

func (*HistogramSnapshotPB) GetMax

func (x *HistogramSnapshotPB) GetMax() uint64

func (*HistogramSnapshotPB) GetMaxTrackableValue

func (x *HistogramSnapshotPB) GetMaxTrackableValue() uint64

func (*HistogramSnapshotPB) GetMean

func (x *HistogramSnapshotPB) GetMean() float64

func (*HistogramSnapshotPB) GetMin

func (x *HistogramSnapshotPB) GetMin() uint64

func (*HistogramSnapshotPB) GetName

func (x *HistogramSnapshotPB) GetName() string

func (*HistogramSnapshotPB) GetNumSignificantDigits

func (x *HistogramSnapshotPB) GetNumSignificantDigits() int32

func (*HistogramSnapshotPB) GetPercentile_75

func (x *HistogramSnapshotPB) GetPercentile_75() uint64

func (*HistogramSnapshotPB) GetPercentile_95

func (x *HistogramSnapshotPB) GetPercentile_95() uint64

func (*HistogramSnapshotPB) GetPercentile_99

func (x *HistogramSnapshotPB) GetPercentile_99() uint64

func (*HistogramSnapshotPB) GetPercentile_99_9

func (x *HistogramSnapshotPB) GetPercentile_99_9() uint64

func (*HistogramSnapshotPB) GetPercentile_99_99

func (x *HistogramSnapshotPB) GetPercentile_99_99() uint64

func (*HistogramSnapshotPB) GetTotalCount

func (x *HistogramSnapshotPB) GetTotalCount() uint64

func (*HistogramSnapshotPB) GetTotalSum

func (x *HistogramSnapshotPB) GetTotalSum() uint64

func (*HistogramSnapshotPB) GetType

func (x *HistogramSnapshotPB) GetType() string

func (*HistogramSnapshotPB) GetUnit

func (x *HistogramSnapshotPB) GetUnit() string

func (*HistogramSnapshotPB) GetValues

func (x *HistogramSnapshotPB) GetValues() []uint64

func (*HistogramSnapshotPB) ProtoMessage

func (*HistogramSnapshotPB) ProtoMessage()

func (*HistogramSnapshotPB) ProtoReflect

func (x *HistogramSnapshotPB) ProtoReflect() protoreflect.Message

func (*HistogramSnapshotPB) Reset

func (x *HistogramSnapshotPB) Reset()

func (*HistogramSnapshotPB) String

func (x *HistogramSnapshotPB) String() string

type HistogramSnapshotsListPB

type HistogramSnapshotsListPB struct {
	Histograms []*HistogramSnapshotPB `protobuf:"bytes,1,rep,name=histograms" json:"histograms,omitempty"`
	// contains filtered or unexported fields
}

func (*HistogramSnapshotsListPB) Descriptor deprecated

func (*HistogramSnapshotsListPB) Descriptor() ([]byte, []int)

Deprecated: Use HistogramSnapshotsListPB.ProtoReflect.Descriptor instead.

func (*HistogramSnapshotsListPB) GetHistograms

func (x *HistogramSnapshotsListPB) GetHistograms() []*HistogramSnapshotPB

func (*HistogramSnapshotsListPB) ProtoMessage

func (*HistogramSnapshotsListPB) ProtoMessage()

func (*HistogramSnapshotsListPB) ProtoReflect

func (x *HistogramSnapshotsListPB) ProtoReflect() protoreflect.Message

func (*HistogramSnapshotsListPB) Reset

func (x *HistogramSnapshotsListPB) Reset()

func (*HistogramSnapshotsListPB) String

func (x *HistogramSnapshotsListPB) String() string

type HistoryCutoffPB

type HistoryCutoffPB struct {
	HistoryCutoff *uint64 `protobuf:"fixed64,1,opt,name=history_cutoff,json=historyCutoff" json:"history_cutoff,omitempty"`
	// contains filtered or unexported fields
}

Required by HistoryCutoffOperation.

func (*HistoryCutoffPB) Descriptor deprecated

func (*HistoryCutoffPB) Descriptor() ([]byte, []int)

Deprecated: Use HistoryCutoffPB.ProtoReflect.Descriptor instead.

func (*HistoryCutoffPB) GetHistoryCutoff

func (x *HistoryCutoffPB) GetHistoryCutoff() uint64

func (*HistoryCutoffPB) ProtoMessage

func (*HistoryCutoffPB) ProtoMessage()

func (*HistoryCutoffPB) ProtoReflect

func (x *HistoryCutoffPB) ProtoReflect() protoreflect.Message

func (*HistoryCutoffPB) Reset

func (x *HistoryCutoffPB) Reset()

func (*HistoryCutoffPB) String

func (x *HistoryCutoffPB) String() string

type HostPortPB

type HostPortPB struct {
	Host *string `protobuf:"bytes,1,req,name=host" json:"host,omitempty"`
	Port *uint32 `protobuf:"varint,2,req,name=port" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*HostPortPB) Descriptor deprecated

func (*HostPortPB) Descriptor() ([]byte, []int)

Deprecated: Use HostPortPB.ProtoReflect.Descriptor instead.

func (*HostPortPB) GetHost

func (x *HostPortPB) GetHost() string

func (*HostPortPB) GetPort

func (x *HostPortPB) GetPort() uint32

func (*HostPortPB) ProtoMessage

func (*HostPortPB) ProtoMessage()

func (*HostPortPB) ProtoReflect

func (x *HostPortPB) ProtoReflect() protoreflect.Message

func (*HostPortPB) Reset

func (x *HostPortPB) Reset()

func (*HostPortPB) String

func (x *HostPortPB) String() string

type IdPairPB added in v2.11.2

type IdPairPB struct {
	OldId []byte `protobuf:"bytes,1,opt,name=old_id,json=oldId" json:"old_id,omitempty"`
	NewId []byte `protobuf:"bytes,2,opt,name=new_id,json=newId" json:"new_id,omitempty"`
	// contains filtered or unexported fields
}

ID mapping pair: old ID (object ID on external cluster) TO new ID (same object ID on this cluster)

func (*IdPairPB) Descriptor deprecated added in v2.11.2

func (*IdPairPB) Descriptor() ([]byte, []int)

Deprecated: Use IdPairPB.ProtoReflect.Descriptor instead.

func (*IdPairPB) GetNewId added in v2.11.2

func (x *IdPairPB) GetNewId() []byte

func (*IdPairPB) GetOldId added in v2.11.2

func (x *IdPairPB) GetOldId() []byte

func (*IdPairPB) ProtoMessage added in v2.11.2

func (*IdPairPB) ProtoMessage()

func (*IdPairPB) ProtoReflect added in v2.11.2

func (x *IdPairPB) ProtoReflect() protoreflect.Message

func (*IdPairPB) Reset added in v2.11.2

func (x *IdPairPB) Reset()

func (*IdPairPB) String added in v2.11.2

func (x *IdPairPB) String() string

type IdTypePB added in v2.13.0

type IdTypePB int32
const (
	IdTypePB_TABLE_ID     IdTypePB = 1
	IdTypePB_NAMESPACE_ID IdTypePB = 2
)

func (IdTypePB) Descriptor added in v2.13.0

func (IdTypePB) Descriptor() protoreflect.EnumDescriptor

func (IdTypePB) Enum added in v2.13.0

func (x IdTypePB) Enum() *IdTypePB

func (IdTypePB) EnumDescriptor deprecated added in v2.13.0

func (IdTypePB) EnumDescriptor() ([]byte, []int)

Deprecated: Use IdTypePB.Descriptor instead.

func (IdTypePB) Number added in v2.13.0

func (x IdTypePB) Number() protoreflect.EnumNumber

func (IdTypePB) String added in v2.13.0

func (x IdTypePB) String() string

func (IdTypePB) Type added in v2.13.0

func (*IdTypePB) UnmarshalJSON deprecated added in v2.13.0

func (x *IdTypePB) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ImportDataRequestPB

type ImportDataRequestPB struct {
	TabletId  *string `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	SourceDir *string `protobuf:"bytes,2,opt,name=source_dir,json=sourceDir" json:"source_dir,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportDataRequestPB) Descriptor deprecated

func (*ImportDataRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ImportDataRequestPB.ProtoReflect.Descriptor instead.

func (*ImportDataRequestPB) GetSourceDir

func (x *ImportDataRequestPB) GetSourceDir() string

func (*ImportDataRequestPB) GetTabletId

func (x *ImportDataRequestPB) GetTabletId() string

func (*ImportDataRequestPB) ProtoMessage

func (*ImportDataRequestPB) ProtoMessage()

func (*ImportDataRequestPB) ProtoReflect

func (x *ImportDataRequestPB) ProtoReflect() protoreflect.Message

func (*ImportDataRequestPB) Reset

func (x *ImportDataRequestPB) Reset()

func (*ImportDataRequestPB) String

func (x *ImportDataRequestPB) String() string

type ImportDataResponsePB

type ImportDataResponsePB struct {

	// Error message, if any.
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportDataResponsePB) Descriptor deprecated

func (*ImportDataResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ImportDataResponsePB.ProtoReflect.Descriptor instead.

func (*ImportDataResponsePB) GetError

func (*ImportDataResponsePB) ProtoMessage

func (*ImportDataResponsePB) ProtoMessage()

func (*ImportDataResponsePB) ProtoReflect

func (x *ImportDataResponsePB) ProtoReflect() protoreflect.Message

func (*ImportDataResponsePB) Reset

func (x *ImportDataResponsePB) Reset()

func (*ImportDataResponsePB) String

func (x *ImportDataResponsePB) String() string

type ImportSnapshotMetaRequestPB added in v2.11.2

type ImportSnapshotMetaRequestPB struct {
	Snapshot *SnapshotInfoPB `protobuf:"bytes,1,opt,name=snapshot" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportSnapshotMetaRequestPB) Descriptor deprecated added in v2.11.2

func (*ImportSnapshotMetaRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ImportSnapshotMetaRequestPB.ProtoReflect.Descriptor instead.

func (*ImportSnapshotMetaRequestPB) GetSnapshot added in v2.11.2

func (x *ImportSnapshotMetaRequestPB) GetSnapshot() *SnapshotInfoPB

func (*ImportSnapshotMetaRequestPB) ProtoMessage added in v2.11.2

func (*ImportSnapshotMetaRequestPB) ProtoMessage()

func (*ImportSnapshotMetaRequestPB) ProtoReflect added in v2.11.2

func (*ImportSnapshotMetaRequestPB) Reset added in v2.11.2

func (x *ImportSnapshotMetaRequestPB) Reset()

func (*ImportSnapshotMetaRequestPB) String added in v2.11.2

func (x *ImportSnapshotMetaRequestPB) String() string

type ImportSnapshotMetaResponsePB added in v2.11.2

type ImportSnapshotMetaResponsePB struct {
	Error      *MasterErrorPB                              `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	TablesMeta []*ImportSnapshotMetaResponsePB_TableMetaPB `protobuf:"bytes,3,rep,name=tables_meta,json=tablesMeta" json:"tables_meta,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportSnapshotMetaResponsePB) Descriptor deprecated added in v2.11.2

func (*ImportSnapshotMetaResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ImportSnapshotMetaResponsePB.ProtoReflect.Descriptor instead.

func (*ImportSnapshotMetaResponsePB) GetError added in v2.11.2

func (*ImportSnapshotMetaResponsePB) GetTablesMeta added in v2.11.2

func (*ImportSnapshotMetaResponsePB) ProtoMessage added in v2.11.2

func (*ImportSnapshotMetaResponsePB) ProtoMessage()

func (*ImportSnapshotMetaResponsePB) ProtoReflect added in v2.11.2

func (*ImportSnapshotMetaResponsePB) Reset added in v2.11.2

func (x *ImportSnapshotMetaResponsePB) Reset()

func (*ImportSnapshotMetaResponsePB) String added in v2.11.2

type ImportSnapshotMetaResponsePB_TableMetaPB added in v2.11.2

type ImportSnapshotMetaResponsePB_TableMetaPB struct {
	NamespaceIds *IdPairPB                               `protobuf:"bytes,1,opt,name=namespace_ids,json=namespaceIds" json:"namespace_ids,omitempty"`
	TableIds     *IdPairPB                               `protobuf:"bytes,2,opt,name=table_ids,json=tableIds" json:"table_ids,omitempty"`
	TabletsIds   []*IdPairPB                             `protobuf:"bytes,3,rep,name=tablets_ids,json=tabletsIds" json:"tablets_ids,omitempty"`
	TableType    *ImportSnapshotMetaResponsePB_TableType `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Per table IDs mapping (IDs on external cluster TO IDs on this cluster).

func (*ImportSnapshotMetaResponsePB_TableMetaPB) Descriptor deprecated added in v2.11.2

func (*ImportSnapshotMetaResponsePB_TableMetaPB) Descriptor() ([]byte, []int)

Deprecated: Use ImportSnapshotMetaResponsePB_TableMetaPB.ProtoReflect.Descriptor instead.

func (*ImportSnapshotMetaResponsePB_TableMetaPB) GetNamespaceIds added in v2.11.2

func (x *ImportSnapshotMetaResponsePB_TableMetaPB) GetNamespaceIds() *IdPairPB

func (*ImportSnapshotMetaResponsePB_TableMetaPB) GetTableIds added in v2.11.2

func (*ImportSnapshotMetaResponsePB_TableMetaPB) GetTableType added in v2.11.2

func (*ImportSnapshotMetaResponsePB_TableMetaPB) GetTabletsIds added in v2.11.2

func (x *ImportSnapshotMetaResponsePB_TableMetaPB) GetTabletsIds() []*IdPairPB

func (*ImportSnapshotMetaResponsePB_TableMetaPB) ProtoMessage added in v2.11.2

func (*ImportSnapshotMetaResponsePB_TableMetaPB) ProtoReflect added in v2.11.2

func (*ImportSnapshotMetaResponsePB_TableMetaPB) Reset added in v2.11.2

func (*ImportSnapshotMetaResponsePB_TableMetaPB) String added in v2.11.2

type ImportSnapshotMetaResponsePB_TableType added in v2.11.2

type ImportSnapshotMetaResponsePB_TableType int32
const (
	ImportSnapshotMetaResponsePB_TABLE                  ImportSnapshotMetaResponsePB_TableType = 0
	ImportSnapshotMetaResponsePB_COLOCATED_TABLE        ImportSnapshotMetaResponsePB_TableType = 1
	ImportSnapshotMetaResponsePB_PARENT_COLOCATED_TABLE ImportSnapshotMetaResponsePB_TableType = 2
)

func (ImportSnapshotMetaResponsePB_TableType) Descriptor added in v2.11.2

func (ImportSnapshotMetaResponsePB_TableType) Enum added in v2.11.2

func (ImportSnapshotMetaResponsePB_TableType) EnumDescriptor deprecated added in v2.11.2

func (ImportSnapshotMetaResponsePB_TableType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImportSnapshotMetaResponsePB_TableType.Descriptor instead.

func (ImportSnapshotMetaResponsePB_TableType) Number added in v2.11.2

func (ImportSnapshotMetaResponsePB_TableType) String added in v2.11.2

func (ImportSnapshotMetaResponsePB_TableType) Type added in v2.11.2

func (*ImportSnapshotMetaResponsePB_TableType) UnmarshalJSON deprecated added in v2.11.2

func (x *ImportSnapshotMetaResponsePB_TableType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type IndexInfoPB

type IndexInfoPB struct {
	TableId        []byte  `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`                        // Index table id.
	IndexedTableId []byte  `protobuf:"bytes,8,opt,name=indexed_table_id,json=indexedTableId" json:"indexed_table_id,omitempty"` // Indexed table id.
	Version        *uint32 `protobuf:"varint,2,opt,name=version,def=0" json:"version,omitempty"`                                // Index table's schema version.
	IsLocal        *bool   `protobuf:"varint,3,opt,name=is_local,json=isLocal,def=0" json:"is_local,omitempty"`                 // Whether the index is a local index
	IsUnique       *bool   `protobuf:"varint,7,opt,name=is_unique,json=isUnique,def=0" json:"is_unique,omitempty"`              // Whether the index is a unique index
	// We should only have this in the elements of "repeated IndexInfoPB indexes" of the
	// SysTablesEntryPB of the main table.
	IndexPermissions      *IndexPermissions            ``                                                                                                                            /* 135-byte string literal not displayed */
	Columns               []*IndexInfoPB_IndexColumnPB `protobuf:"bytes,4,rep,name=columns" json:"columns,omitempty"`                                                                // Indexed and covering columns.
	HashColumnCount       *uint32                      `protobuf:"varint,5,opt,name=hash_column_count,json=hashColumnCount" json:"hash_column_count,omitempty"`                      // Number of hash columns in the index.
	RangeColumnCount      *uint32                      `protobuf:"varint,6,opt,name=range_column_count,json=rangeColumnCount" json:"range_column_count,omitempty"`                   // Number of range columns in the index.
	IndexedHashColumnIds  []uint32                     `protobuf:"varint,9,rep,name=indexed_hash_column_ids,json=indexedHashColumnIds" json:"indexed_hash_column_ids,omitempty"`     // Hash column ids in the indexed table.
	IndexedRangeColumnIds []uint32                     `protobuf:"varint,10,rep,name=indexed_range_column_ids,json=indexedRangeColumnIds" json:"indexed_range_column_ids,omitempty"` // Range column ids in the indexed table.
	// The mangled-name flag is kept on both IndexInfo and IndexTable as the same mangled-name is
	// used in both IndexInfo and IndexTable columns.
	UseMangledColumnName *bool `` // Newer index has mangled name.
	/* 126-byte string literal not displayed */
	// When backfill fails with error, the first message that it failed with.
	BackfillErrorMessage *string `protobuf:"bytes,31,opt,name=backfill_error_message,json=backfillErrorMessage" json:"backfill_error_message,omitempty"`
	IsBackfillDeferred   *bool   `protobuf:"varint,32,opt,name=is_backfill_deferred,json=isBackfillDeferred,def=0" json:"is_backfill_deferred,omitempty"` // Should backfill be deferred.
	// Where clause for partial index.
	WherePredicateSpec *IndexInfoPB_WherePredicateSpecPB `protobuf:"bytes,33,opt,name=where_predicate_spec,json=wherePredicateSpec" json:"where_predicate_spec,omitempty"`
	// contains filtered or unexported fields
}

This message contains the metadata of a secondary index of a table. It maps the index::columns to the expressions of table::columns.

Notes on where to find metadata of an INDEX.

  • Each INDEX is represented by IndexInfo and IndexTable. IndexInfoPB contains the definitions of the INDEX. IndexTable contains duplicate user-data for quick access.
  • The IndexInfoPB is stored in the Catalog::Table being indexed.
  • The TablePropertiesPB is kept in Catalog::IndexTable. Internally, Catalog::IndexTable is just the same as any Catalog::Table.

func (*IndexInfoPB) Descriptor deprecated

func (*IndexInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use IndexInfoPB.ProtoReflect.Descriptor instead.

func (*IndexInfoPB) GetBackfillErrorMessage

func (x *IndexInfoPB) GetBackfillErrorMessage() string

func (*IndexInfoPB) GetColumns

func (x *IndexInfoPB) GetColumns() []*IndexInfoPB_IndexColumnPB

func (*IndexInfoPB) GetHashColumnCount

func (x *IndexInfoPB) GetHashColumnCount() uint32

func (*IndexInfoPB) GetIndexPermissions

func (x *IndexInfoPB) GetIndexPermissions() IndexPermissions

func (*IndexInfoPB) GetIndexedHashColumnIds

func (x *IndexInfoPB) GetIndexedHashColumnIds() []uint32

func (*IndexInfoPB) GetIndexedRangeColumnIds

func (x *IndexInfoPB) GetIndexedRangeColumnIds() []uint32

func (*IndexInfoPB) GetIndexedTableId

func (x *IndexInfoPB) GetIndexedTableId() []byte

func (*IndexInfoPB) GetIsBackfillDeferred

func (x *IndexInfoPB) GetIsBackfillDeferred() bool

func (*IndexInfoPB) GetIsLocal

func (x *IndexInfoPB) GetIsLocal() bool

func (*IndexInfoPB) GetIsUnique

func (x *IndexInfoPB) GetIsUnique() bool

func (*IndexInfoPB) GetRangeColumnCount

func (x *IndexInfoPB) GetRangeColumnCount() uint32

func (*IndexInfoPB) GetTableId

func (x *IndexInfoPB) GetTableId() []byte

func (*IndexInfoPB) GetUseMangledColumnName

func (x *IndexInfoPB) GetUseMangledColumnName() bool

func (*IndexInfoPB) GetVersion

func (x *IndexInfoPB) GetVersion() uint32

func (*IndexInfoPB) GetWherePredicateSpec

func (x *IndexInfoPB) GetWherePredicateSpec() *IndexInfoPB_WherePredicateSpecPB

func (*IndexInfoPB) ProtoMessage

func (*IndexInfoPB) ProtoMessage()

func (*IndexInfoPB) ProtoReflect

func (x *IndexInfoPB) ProtoReflect() protoreflect.Message

func (*IndexInfoPB) Reset

func (x *IndexInfoPB) Reset()

func (*IndexInfoPB) String

func (x *IndexInfoPB) String() string

type IndexInfoPB_IndexColumnPB

type IndexInfoPB_IndexColumnPB struct {
	ColumnId        *uint32         `protobuf:"varint,1,opt,name=column_id,json=columnId" json:"column_id,omitempty"`                        // Column id in the index table.
	ColumnName      *string         `protobuf:"bytes,3,opt,name=column_name,json=columnName" json:"column_name,omitempty"`                   // Generated column name in the index table.
	IndexedColumnId *uint32         `protobuf:"varint,2,opt,name=indexed_column_id,json=indexedColumnId" json:"indexed_column_id,omitempty"` // Corresponding column id in indexed table.
	Colexpr         *QLExpressionPB `protobuf:"bytes,4,opt,name=colexpr" json:"colexpr,omitempty"`                                           // Column value in INDEX.
	// contains filtered or unexported fields
}

Index column mapping. "colexpr" is used to compute the value of this column in an INDEX.

  • When a table is indexed by expressions, we create internal/hidden columns to store the index value, and "value_expr" specifies the indexing expression.
  • As of 07/2019, only QLJsonColumnOperationsPB is allowed for "colexpr".
  • In the current index design & implementation, expression can only reference ONE column.

Example:

Example for scalar index
  TABLE (a, b, c)
  INDEX (c) -> INDEX is a table whose column 'c' is referencing TABLE(c)
  colexpr = ref to "c" column_id.
Example for JSON index
  TABLE (a, b, j)
  INDEX (j->>'b') -> INDEX is a table whose column 'j->>b' is referencing to TABLE(j)
  colexpr = j->'b'

func (*IndexInfoPB_IndexColumnPB) Descriptor deprecated

func (*IndexInfoPB_IndexColumnPB) Descriptor() ([]byte, []int)

Deprecated: Use IndexInfoPB_IndexColumnPB.ProtoReflect.Descriptor instead.

func (*IndexInfoPB_IndexColumnPB) GetColexpr

func (x *IndexInfoPB_IndexColumnPB) GetColexpr() *QLExpressionPB

func (*IndexInfoPB_IndexColumnPB) GetColumnId

func (x *IndexInfoPB_IndexColumnPB) GetColumnId() uint32

func (*IndexInfoPB_IndexColumnPB) GetColumnName

func (x *IndexInfoPB_IndexColumnPB) GetColumnName() string

func (*IndexInfoPB_IndexColumnPB) GetIndexedColumnId

func (x *IndexInfoPB_IndexColumnPB) GetIndexedColumnId() uint32

func (*IndexInfoPB_IndexColumnPB) ProtoMessage

func (*IndexInfoPB_IndexColumnPB) ProtoMessage()

func (*IndexInfoPB_IndexColumnPB) ProtoReflect

func (*IndexInfoPB_IndexColumnPB) Reset

func (x *IndexInfoPB_IndexColumnPB) Reset()

func (*IndexInfoPB_IndexColumnPB) String

func (x *IndexInfoPB_IndexColumnPB) String() string

type IndexInfoPB_WherePredicateSpecPB

type IndexInfoPB_WherePredicateSpecPB struct {
	ColumnIds []uint32        `protobuf:"varint,1,rep,name=column_ids,json=columnIds" json:"column_ids,omitempty"` // Columns referenced in the where_expr
	WhereExpr *QLExpressionPB `protobuf:"bytes,2,opt,name=where_expr,json=whereExpr" json:"where_expr,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexInfoPB_WherePredicateSpecPB) Descriptor deprecated

func (*IndexInfoPB_WherePredicateSpecPB) Descriptor() ([]byte, []int)

Deprecated: Use IndexInfoPB_WherePredicateSpecPB.ProtoReflect.Descriptor instead.

func (*IndexInfoPB_WherePredicateSpecPB) GetColumnIds

func (x *IndexInfoPB_WherePredicateSpecPB) GetColumnIds() []uint32

func (*IndexInfoPB_WherePredicateSpecPB) GetWhereExpr

func (*IndexInfoPB_WherePredicateSpecPB) ProtoMessage

func (*IndexInfoPB_WherePredicateSpecPB) ProtoMessage()

func (*IndexInfoPB_WherePredicateSpecPB) ProtoReflect

func (*IndexInfoPB_WherePredicateSpecPB) Reset

func (*IndexInfoPB_WherePredicateSpecPB) String

type IndexPermissions

type IndexPermissions int32

Indexes when created or deleted go through a series of steps to add a) delete, b) write and c) read permissions one by one. Backfill is done before the READ_WRITE_AND_DELETE state. If the backfill succeeds, the read permission is granted. If not, the given permissions are removed one by one, and the index will be deleted when it is unused. If the backfill is successfully complete, the index will be in READ_WRITE_AND_DELETE state, and remain so until the user deletes it. If an Index is dropped, it will move from READ_WRITE_AND_DELETE state throu the WRITE_AND_DELETE_WHILE_REMOVING and DELETE_ONLY_WHILE_REMOVING states to INDEX_UNUSED.

const (
	IndexPermissions_INDEX_PERM_DELETE_ONLY      IndexPermissions = 0
	IndexPermissions_INDEX_PERM_WRITE_AND_DELETE IndexPermissions = 2
	IndexPermissions_INDEX_PERM_DO_BACKFILL      IndexPermissions = 4
	// This is the "success" state, where the index is completely usable.
	IndexPermissions_INDEX_PERM_READ_WRITE_AND_DELETE IndexPermissions = 6
	// Used while removing an index -- either due to backfill failure, or
	// due to a client requested "drop index".
	IndexPermissions_INDEX_PERM_WRITE_AND_DELETE_WHILE_REMOVING IndexPermissions = 8
	IndexPermissions_INDEX_PERM_DELETE_ONLY_WHILE_REMOVING      IndexPermissions = 10
	IndexPermissions_INDEX_PERM_INDEX_UNUSED                    IndexPermissions = 12
	// Used as a sentinel value.
	IndexPermissions_INDEX_PERM_NOT_USED IndexPermissions = 14
)

func (IndexPermissions) Descriptor

func (IndexPermissions) Enum

func (IndexPermissions) EnumDescriptor deprecated

func (IndexPermissions) EnumDescriptor() ([]byte, []int)

Deprecated: Use IndexPermissions.Descriptor instead.

func (IndexPermissions) Number

func (IndexPermissions) String

func (x IndexPermissions) String() string

func (IndexPermissions) Type

func (*IndexPermissions) UnmarshalJSON deprecated

func (x *IndexPermissions) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type InsertPlanPB

type InsertPlanPB struct {
	InsertType  *string `protobuf:"bytes,1,opt,name=insert_type,json=insertType" json:"insert_type,omitempty"`
	OutputWidth *int32  `protobuf:"varint,2,opt,name=output_width,json=outputWidth" json:"output_width,omitempty"`
	// contains filtered or unexported fields
}

func (*InsertPlanPB) Descriptor deprecated

func (*InsertPlanPB) Descriptor() ([]byte, []int)

Deprecated: Use InsertPlanPB.ProtoReflect.Descriptor instead.

func (*InsertPlanPB) GetInsertType

func (x *InsertPlanPB) GetInsertType() string

func (*InsertPlanPB) GetOutputWidth

func (x *InsertPlanPB) GetOutputWidth() int32

func (*InsertPlanPB) ProtoMessage

func (*InsertPlanPB) ProtoMessage()

func (*InsertPlanPB) ProtoReflect

func (x *InsertPlanPB) ProtoReflect() protoreflect.Message

func (*InsertPlanPB) Reset

func (x *InsertPlanPB) Reset()

func (*InsertPlanPB) String

func (x *InsertPlanPB) String() string

type InstanceMetadataPB

type InstanceMetadataPB struct {

	// The UUID which is assigned when the instance is first formatted. This uniquely
	// identifies the node in the cluster.
	Uuid []byte `protobuf:"bytes,1,req,name=uuid" json:"uuid,omitempty"`
	// Human-readable string indicating when and where the node was first
	// initialized.
	FormatStamp *string `protobuf:"bytes,2,req,name=format_stamp,json=formatStamp" json:"format_stamp,omitempty"`
	// contains filtered or unexported fields
}

When any server initializes a new filesystem (eg a new node is created in the cluster), it creates this structure and stores it persistently.

func (*InstanceMetadataPB) Descriptor deprecated

func (*InstanceMetadataPB) Descriptor() ([]byte, []int)

Deprecated: Use InstanceMetadataPB.ProtoReflect.Descriptor instead.

func (*InstanceMetadataPB) GetFormatStamp

func (x *InstanceMetadataPB) GetFormatStamp() string

func (*InstanceMetadataPB) GetUuid

func (x *InstanceMetadataPB) GetUuid() []byte

func (*InstanceMetadataPB) ProtoMessage

func (*InstanceMetadataPB) ProtoMessage()

func (*InstanceMetadataPB) ProtoReflect

func (x *InstanceMetadataPB) ProtoReflect() protoreflect.Message

func (*InstanceMetadataPB) Reset

func (x *InstanceMetadataPB) Reset()

func (*InstanceMetadataPB) String

func (x *InstanceMetadataPB) String() string

type InvolvedTabletMetadataState

type InvolvedTabletMetadataState int32
const (
	InvolvedTabletMetadataState_MISSING   InvolvedTabletMetadataState = 0
	InvolvedTabletMetadataState_EXIST     InvolvedTabletMetadataState = 1
	InvolvedTabletMetadataState_MAY_EXIST InvolvedTabletMetadataState = 2
)

func (InvolvedTabletMetadataState) Descriptor

func (InvolvedTabletMetadataState) Enum

func (InvolvedTabletMetadataState) EnumDescriptor deprecated

func (InvolvedTabletMetadataState) EnumDescriptor() ([]byte, []int)

Deprecated: Use InvolvedTabletMetadataState.Descriptor instead.

func (InvolvedTabletMetadataState) Number

func (InvolvedTabletMetadataState) String

func (InvolvedTabletMetadataState) Type

func (*InvolvedTabletMetadataState) UnmarshalJSON deprecated

func (x *InvolvedTabletMetadataState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type IsAlterTableDoneRequestPB

type IsAlterTableDoneRequestPB struct {
	Table *TableIdentifierPB `protobuf:"bytes,1,req,name=table" json:"table,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAlterTableDoneRequestPB) Descriptor deprecated

func (*IsAlterTableDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsAlterTableDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsAlterTableDoneRequestPB) GetTable

func (*IsAlterTableDoneRequestPB) ProtoMessage

func (*IsAlterTableDoneRequestPB) ProtoMessage()

func (*IsAlterTableDoneRequestPB) ProtoReflect

func (*IsAlterTableDoneRequestPB) Reset

func (x *IsAlterTableDoneRequestPB) Reset()

func (*IsAlterTableDoneRequestPB) String

func (x *IsAlterTableDoneRequestPB) String() string

type IsAlterTableDoneResponsePB

type IsAlterTableDoneResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// this is the current schema, or the 'new' schema version if an alter is in progress
	SchemaVersion *uint32 `protobuf:"varint,2,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	// true if the alter operation is completed, false otherwise
	Done *bool `protobuf:"varint,3,opt,name=done" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAlterTableDoneResponsePB) Descriptor deprecated

func (*IsAlterTableDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsAlterTableDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsAlterTableDoneResponsePB) GetDone

func (x *IsAlterTableDoneResponsePB) GetDone() bool

func (*IsAlterTableDoneResponsePB) GetError

func (*IsAlterTableDoneResponsePB) GetSchemaVersion

func (x *IsAlterTableDoneResponsePB) GetSchemaVersion() uint32

func (*IsAlterTableDoneResponsePB) ProtoMessage

func (*IsAlterTableDoneResponsePB) ProtoMessage()

func (*IsAlterTableDoneResponsePB) ProtoReflect

func (*IsAlterTableDoneResponsePB) Reset

func (x *IsAlterTableDoneResponsePB) Reset()

func (*IsAlterTableDoneResponsePB) String

func (x *IsAlterTableDoneResponsePB) String() string

type IsCreateNamespaceDoneRequestPB

type IsCreateNamespaceDoneRequestPB struct {
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCreateNamespaceDoneRequestPB) Descriptor deprecated

func (*IsCreateNamespaceDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsCreateNamespaceDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsCreateNamespaceDoneRequestPB) GetNamespace

func (*IsCreateNamespaceDoneRequestPB) ProtoMessage

func (*IsCreateNamespaceDoneRequestPB) ProtoMessage()

func (*IsCreateNamespaceDoneRequestPB) ProtoReflect

func (*IsCreateNamespaceDoneRequestPB) Reset

func (x *IsCreateNamespaceDoneRequestPB) Reset()

func (*IsCreateNamespaceDoneRequestPB) String

type IsCreateNamespaceDoneResponsePB

type IsCreateNamespaceDoneResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// true if the create operation is completed, false otherwise
	Done *bool `protobuf:"varint,2,opt,name=done" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCreateNamespaceDoneResponsePB) Descriptor deprecated

func (*IsCreateNamespaceDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsCreateNamespaceDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsCreateNamespaceDoneResponsePB) GetDone

func (*IsCreateNamespaceDoneResponsePB) GetError

func (*IsCreateNamespaceDoneResponsePB) ProtoMessage

func (*IsCreateNamespaceDoneResponsePB) ProtoMessage()

func (*IsCreateNamespaceDoneResponsePB) ProtoReflect

func (*IsCreateNamespaceDoneResponsePB) Reset

func (*IsCreateNamespaceDoneResponsePB) String

type IsCreateTableDoneRequestPB

type IsCreateTableDoneRequestPB struct {
	Table *TableIdentifierPB `protobuf:"bytes,1,req,name=table" json:"table,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCreateTableDoneRequestPB) Descriptor deprecated

func (*IsCreateTableDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsCreateTableDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsCreateTableDoneRequestPB) GetTable

func (*IsCreateTableDoneRequestPB) ProtoMessage

func (*IsCreateTableDoneRequestPB) ProtoMessage()

func (*IsCreateTableDoneRequestPB) ProtoReflect

func (*IsCreateTableDoneRequestPB) Reset

func (x *IsCreateTableDoneRequestPB) Reset()

func (*IsCreateTableDoneRequestPB) String

func (x *IsCreateTableDoneRequestPB) String() string

type IsCreateTableDoneResponsePB

type IsCreateTableDoneResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// true if the create operation is completed, false otherwise
	Done *bool `protobuf:"varint,3,opt,name=done" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCreateTableDoneResponsePB) Descriptor deprecated

func (*IsCreateTableDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsCreateTableDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsCreateTableDoneResponsePB) GetDone

func (x *IsCreateTableDoneResponsePB) GetDone() bool

func (*IsCreateTableDoneResponsePB) GetError

func (*IsCreateTableDoneResponsePB) ProtoMessage

func (*IsCreateTableDoneResponsePB) ProtoMessage()

func (*IsCreateTableDoneResponsePB) ProtoReflect

func (*IsCreateTableDoneResponsePB) Reset

func (x *IsCreateTableDoneResponsePB) Reset()

func (*IsCreateTableDoneResponsePB) String

func (x *IsCreateTableDoneResponsePB) String() string

type IsDeleteNamespaceDoneRequestPB

type IsDeleteNamespaceDoneRequestPB struct {
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*IsDeleteNamespaceDoneRequestPB) Descriptor deprecated

func (*IsDeleteNamespaceDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsDeleteNamespaceDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsDeleteNamespaceDoneRequestPB) GetNamespace

func (*IsDeleteNamespaceDoneRequestPB) ProtoMessage

func (*IsDeleteNamespaceDoneRequestPB) ProtoMessage()

func (*IsDeleteNamespaceDoneRequestPB) ProtoReflect

func (*IsDeleteNamespaceDoneRequestPB) Reset

func (x *IsDeleteNamespaceDoneRequestPB) Reset()

func (*IsDeleteNamespaceDoneRequestPB) String

type IsDeleteNamespaceDoneResponsePB

type IsDeleteNamespaceDoneResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// true if the delete operation completed, false otherwise
	Done *bool `protobuf:"varint,2,opt,name=done" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*IsDeleteNamespaceDoneResponsePB) Descriptor deprecated

func (*IsDeleteNamespaceDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsDeleteNamespaceDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsDeleteNamespaceDoneResponsePB) GetDone

func (*IsDeleteNamespaceDoneResponsePB) GetError

func (*IsDeleteNamespaceDoneResponsePB) ProtoMessage

func (*IsDeleteNamespaceDoneResponsePB) ProtoMessage()

func (*IsDeleteNamespaceDoneResponsePB) ProtoReflect

func (*IsDeleteNamespaceDoneResponsePB) Reset

func (*IsDeleteNamespaceDoneResponsePB) String

type IsDeleteTableDoneRequestPB

type IsDeleteTableDoneRequestPB struct {
	TableId []byte `protobuf:"bytes,1,req,name=table_id,json=tableId" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsDeleteTableDoneRequestPB) Descriptor deprecated

func (*IsDeleteTableDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsDeleteTableDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsDeleteTableDoneRequestPB) GetTableId

func (x *IsDeleteTableDoneRequestPB) GetTableId() []byte

func (*IsDeleteTableDoneRequestPB) ProtoMessage

func (*IsDeleteTableDoneRequestPB) ProtoMessage()

func (*IsDeleteTableDoneRequestPB) ProtoReflect

func (*IsDeleteTableDoneRequestPB) Reset

func (x *IsDeleteTableDoneRequestPB) Reset()

func (*IsDeleteTableDoneRequestPB) String

func (x *IsDeleteTableDoneRequestPB) String() string

type IsDeleteTableDoneResponsePB

type IsDeleteTableDoneResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// true if the delete operation is completed, false otherwise
	Done *bool `protobuf:"varint,2,opt,name=done" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*IsDeleteTableDoneResponsePB) Descriptor deprecated

func (*IsDeleteTableDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsDeleteTableDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsDeleteTableDoneResponsePB) GetDone

func (x *IsDeleteTableDoneResponsePB) GetDone() bool

func (*IsDeleteTableDoneResponsePB) GetError

func (*IsDeleteTableDoneResponsePB) ProtoMessage

func (*IsDeleteTableDoneResponsePB) ProtoMessage()

func (*IsDeleteTableDoneResponsePB) ProtoReflect

func (*IsDeleteTableDoneResponsePB) Reset

func (x *IsDeleteTableDoneResponsePB) Reset()

func (*IsDeleteTableDoneResponsePB) String

func (x *IsDeleteTableDoneResponsePB) String() string

type IsEncryptionEnabledRequestPB

type IsEncryptionEnabledRequestPB struct {
	// contains filtered or unexported fields
}

func (*IsEncryptionEnabledRequestPB) Descriptor deprecated

func (*IsEncryptionEnabledRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsEncryptionEnabledRequestPB.ProtoReflect.Descriptor instead.

func (*IsEncryptionEnabledRequestPB) ProtoMessage

func (*IsEncryptionEnabledRequestPB) ProtoMessage()

func (*IsEncryptionEnabledRequestPB) ProtoReflect

func (*IsEncryptionEnabledRequestPB) Reset

func (x *IsEncryptionEnabledRequestPB) Reset()

func (*IsEncryptionEnabledRequestPB) String

type IsEncryptionEnabledResponsePB

type IsEncryptionEnabledResponsePB struct {
	EncryptionEnabled *bool          `protobuf:"varint,1,opt,name=encryption_enabled,json=encryptionEnabled" json:"encryption_enabled,omitempty"`
	KeyId             *string        `protobuf:"bytes,2,opt,name=key_id,json=keyId" json:"key_id,omitempty"`
	Error             *MasterErrorPB `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*IsEncryptionEnabledResponsePB) Descriptor deprecated

func (*IsEncryptionEnabledResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsEncryptionEnabledResponsePB.ProtoReflect.Descriptor instead.

func (*IsEncryptionEnabledResponsePB) GetEncryptionEnabled

func (x *IsEncryptionEnabledResponsePB) GetEncryptionEnabled() bool

func (*IsEncryptionEnabledResponsePB) GetError

func (*IsEncryptionEnabledResponsePB) GetKeyId

func (x *IsEncryptionEnabledResponsePB) GetKeyId() string

func (*IsEncryptionEnabledResponsePB) ProtoMessage

func (*IsEncryptionEnabledResponsePB) ProtoMessage()

func (*IsEncryptionEnabledResponsePB) ProtoReflect

func (*IsEncryptionEnabledResponsePB) Reset

func (x *IsEncryptionEnabledResponsePB) Reset()

func (*IsEncryptionEnabledResponsePB) String

type IsFlushTablesDoneRequestPB

type IsFlushTablesDoneRequestPB struct {
	FlushRequestId []byte `protobuf:"bytes,1,opt,name=flush_request_id,json=flushRequestId" json:"flush_request_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsFlushTablesDoneRequestPB) Descriptor deprecated

func (*IsFlushTablesDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsFlushTablesDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsFlushTablesDoneRequestPB) GetFlushRequestId

func (x *IsFlushTablesDoneRequestPB) GetFlushRequestId() []byte

func (*IsFlushTablesDoneRequestPB) ProtoMessage

func (*IsFlushTablesDoneRequestPB) ProtoMessage()

func (*IsFlushTablesDoneRequestPB) ProtoReflect

func (*IsFlushTablesDoneRequestPB) Reset

func (x *IsFlushTablesDoneRequestPB) Reset()

func (*IsFlushTablesDoneRequestPB) String

func (x *IsFlushTablesDoneRequestPB) String() string

type IsFlushTablesDoneResponsePB

type IsFlushTablesDoneResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// true if the flush tables operation is completed, false otherwise.
	Done *bool `protobuf:"varint,2,opt,name=done" json:"done,omitempty"`
	// true if the flush tables operation is successful.
	Success *bool `protobuf:"varint,3,opt,name=success" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*IsFlushTablesDoneResponsePB) Descriptor deprecated

func (*IsFlushTablesDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsFlushTablesDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsFlushTablesDoneResponsePB) GetDone

func (x *IsFlushTablesDoneResponsePB) GetDone() bool

func (*IsFlushTablesDoneResponsePB) GetError

func (*IsFlushTablesDoneResponsePB) GetSuccess

func (x *IsFlushTablesDoneResponsePB) GetSuccess() bool

func (*IsFlushTablesDoneResponsePB) ProtoMessage

func (*IsFlushTablesDoneResponsePB) ProtoMessage()

func (*IsFlushTablesDoneResponsePB) ProtoReflect

func (*IsFlushTablesDoneResponsePB) Reset

func (x *IsFlushTablesDoneResponsePB) Reset()

func (*IsFlushTablesDoneResponsePB) String

func (x *IsFlushTablesDoneResponsePB) String() string

type IsInitDbDoneRequestPB

type IsInitDbDoneRequestPB struct {
	// contains filtered or unexported fields
}

func (*IsInitDbDoneRequestPB) Descriptor deprecated

func (*IsInitDbDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsInitDbDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsInitDbDoneRequestPB) ProtoMessage

func (*IsInitDbDoneRequestPB) ProtoMessage()

func (*IsInitDbDoneRequestPB) ProtoReflect

func (x *IsInitDbDoneRequestPB) ProtoReflect() protoreflect.Message

func (*IsInitDbDoneRequestPB) Reset

func (x *IsInitDbDoneRequestPB) Reset()

func (*IsInitDbDoneRequestPB) String

func (x *IsInitDbDoneRequestPB) String() string

type IsInitDbDoneResponsePB

type IsInitDbDoneResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// Someone started running initdb, as indicated by the existence of template1.pg_proc.
	PgProcExists *bool `protobuf:"varint,2,opt,name=pg_proc_exists,json=pgProcExists" json:"pg_proc_exists,omitempty"`
	// This is true if the master ran initdb and it finished, successfully or not.
	Done *bool `protobuf:"varint,4,opt,name=done" json:"done,omitempty"`
	// If this is set to a non-empty string, initdb has failed.
	InitdbError *string `protobuf:"bytes,5,opt,name=initdb_error,json=initdbError" json:"initdb_error,omitempty"`
	// contains filtered or unexported fields
}

func (*IsInitDbDoneResponsePB) Descriptor deprecated

func (*IsInitDbDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsInitDbDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsInitDbDoneResponsePB) GetDone

func (x *IsInitDbDoneResponsePB) GetDone() bool

func (*IsInitDbDoneResponsePB) GetError

func (x *IsInitDbDoneResponsePB) GetError() *MasterErrorPB

func (*IsInitDbDoneResponsePB) GetInitdbError

func (x *IsInitDbDoneResponsePB) GetInitdbError() string

func (*IsInitDbDoneResponsePB) GetPgProcExists

func (x *IsInitDbDoneResponsePB) GetPgProcExists() bool

func (*IsInitDbDoneResponsePB) ProtoMessage

func (*IsInitDbDoneResponsePB) ProtoMessage()

func (*IsInitDbDoneResponsePB) ProtoReflect

func (x *IsInitDbDoneResponsePB) ProtoReflect() protoreflect.Message

func (*IsInitDbDoneResponsePB) Reset

func (x *IsInitDbDoneResponsePB) Reset()

func (*IsInitDbDoneResponsePB) String

func (x *IsInitDbDoneResponsePB) String() string

type IsLoadBalancedRequestPB

type IsLoadBalancedRequestPB struct {
	ExpectedNumServers *int32 `protobuf:"varint,1,opt,name=expected_num_servers,json=expectedNumServers" json:"expected_num_servers,omitempty"`
	// contains filtered or unexported fields
}

When no errors, the master leader will have balanced all the load across the live tservers. The client can send in an optional value for the expected number of servers. If the master finds fewer alive in its snapshot than these, it will consider the load imbalanced.

func (*IsLoadBalancedRequestPB) Descriptor deprecated

func (*IsLoadBalancedRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsLoadBalancedRequestPB.ProtoReflect.Descriptor instead.

func (*IsLoadBalancedRequestPB) GetExpectedNumServers

func (x *IsLoadBalancedRequestPB) GetExpectedNumServers() int32

func (*IsLoadBalancedRequestPB) ProtoMessage

func (*IsLoadBalancedRequestPB) ProtoMessage()

func (*IsLoadBalancedRequestPB) ProtoReflect

func (x *IsLoadBalancedRequestPB) ProtoReflect() protoreflect.Message

func (*IsLoadBalancedRequestPB) Reset

func (x *IsLoadBalancedRequestPB) Reset()

func (*IsLoadBalancedRequestPB) String

func (x *IsLoadBalancedRequestPB) String() string

type IsLoadBalancedResponsePB

type IsLoadBalancedResponsePB struct {

	// Any error being set implies that the load is not balanced across the servers.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*IsLoadBalancedResponsePB) Descriptor deprecated

func (*IsLoadBalancedResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsLoadBalancedResponsePB.ProtoReflect.Descriptor instead.

func (*IsLoadBalancedResponsePB) GetError

func (x *IsLoadBalancedResponsePB) GetError() *MasterErrorPB

func (*IsLoadBalancedResponsePB) ProtoMessage

func (*IsLoadBalancedResponsePB) ProtoMessage()

func (*IsLoadBalancedResponsePB) ProtoReflect

func (x *IsLoadBalancedResponsePB) ProtoReflect() protoreflect.Message

func (*IsLoadBalancedResponsePB) Reset

func (x *IsLoadBalancedResponsePB) Reset()

func (*IsLoadBalancedResponsePB) String

func (x *IsLoadBalancedResponsePB) String() string

type IsLoadBalancerIdleRequestPB

type IsLoadBalancerIdleRequestPB struct {
	// contains filtered or unexported fields
}

Is load balancer idle.

func (*IsLoadBalancerIdleRequestPB) Descriptor deprecated

func (*IsLoadBalancerIdleRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsLoadBalancerIdleRequestPB.ProtoReflect.Descriptor instead.

func (*IsLoadBalancerIdleRequestPB) ProtoMessage

func (*IsLoadBalancerIdleRequestPB) ProtoMessage()

func (*IsLoadBalancerIdleRequestPB) ProtoReflect

func (*IsLoadBalancerIdleRequestPB) Reset

func (x *IsLoadBalancerIdleRequestPB) Reset()

func (*IsLoadBalancerIdleRequestPB) String

func (x *IsLoadBalancerIdleRequestPB) String() string

type IsLoadBalancerIdleResponsePB

type IsLoadBalancerIdleResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

When no errors, load balancer is idle.

func (*IsLoadBalancerIdleResponsePB) Descriptor deprecated

func (*IsLoadBalancerIdleResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsLoadBalancerIdleResponsePB.ProtoReflect.Descriptor instead.

func (*IsLoadBalancerIdleResponsePB) GetError

func (*IsLoadBalancerIdleResponsePB) ProtoMessage

func (*IsLoadBalancerIdleResponsePB) ProtoMessage()

func (*IsLoadBalancerIdleResponsePB) ProtoReflect

func (*IsLoadBalancerIdleResponsePB) Reset

func (x *IsLoadBalancerIdleResponsePB) Reset()

func (*IsLoadBalancerIdleResponsePB) String

type IsMasterLeaderReadyRequestPB

type IsMasterLeaderReadyRequestPB struct {
	// contains filtered or unexported fields
}

Get a master's notion being ready as the leader. NOTE: Should be used only for unit testing purposes.

func (*IsMasterLeaderReadyRequestPB) Descriptor deprecated

func (*IsMasterLeaderReadyRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsMasterLeaderReadyRequestPB.ProtoReflect.Descriptor instead.

func (*IsMasterLeaderReadyRequestPB) ProtoMessage

func (*IsMasterLeaderReadyRequestPB) ProtoMessage()

func (*IsMasterLeaderReadyRequestPB) ProtoReflect

func (*IsMasterLeaderReadyRequestPB) Reset

func (x *IsMasterLeaderReadyRequestPB) Reset()

func (*IsMasterLeaderReadyRequestPB) String

type IsMasterLeaderReadyResponsePB

type IsMasterLeaderReadyResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

When no errors, the master will be deemed ready as per its catalog manager layer.

func (*IsMasterLeaderReadyResponsePB) Descriptor deprecated

func (*IsMasterLeaderReadyResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsMasterLeaderReadyResponsePB.ProtoReflect.Descriptor instead.

func (*IsMasterLeaderReadyResponsePB) GetError

func (*IsMasterLeaderReadyResponsePB) ProtoMessage

func (*IsMasterLeaderReadyResponsePB) ProtoMessage()

func (*IsMasterLeaderReadyResponsePB) ProtoReflect

func (*IsMasterLeaderReadyResponsePB) Reset

func (x *IsMasterLeaderReadyResponsePB) Reset()

func (*IsMasterLeaderReadyResponsePB) String

type IsSetupUniverseReplicationDoneRequestPB

type IsSetupUniverseReplicationDoneRequestPB struct {
	ProducerId *string `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsSetupUniverseReplicationDoneRequestPB) Descriptor deprecated

func (*IsSetupUniverseReplicationDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsSetupUniverseReplicationDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsSetupUniverseReplicationDoneRequestPB) GetProducerId

func (*IsSetupUniverseReplicationDoneRequestPB) ProtoMessage

func (*IsSetupUniverseReplicationDoneRequestPB) ProtoReflect

func (*IsSetupUniverseReplicationDoneRequestPB) Reset

func (*IsSetupUniverseReplicationDoneRequestPB) String

type IsSetupUniverseReplicationDoneResponsePB

type IsSetupUniverseReplicationDoneResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// True if the universe is properly setup for replication, false otherwise.
	Done *bool `protobuf:"varint,2,opt,name=done" json:"done,omitempty"`
	// The more specific error that occurred during replication, or OK if we succeeded.
	ReplicationError *AppStatusPB `protobuf:"bytes,3,opt,name=replication_error,json=replicationError" json:"replication_error,omitempty"`
	// contains filtered or unexported fields
}

func (*IsSetupUniverseReplicationDoneResponsePB) Descriptor deprecated

func (*IsSetupUniverseReplicationDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsSetupUniverseReplicationDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsSetupUniverseReplicationDoneResponsePB) GetDone

func (*IsSetupUniverseReplicationDoneResponsePB) GetError

func (*IsSetupUniverseReplicationDoneResponsePB) GetReplicationError

func (x *IsSetupUniverseReplicationDoneResponsePB) GetReplicationError() *AppStatusPB

func (*IsSetupUniverseReplicationDoneResponsePB) ProtoMessage

func (*IsSetupUniverseReplicationDoneResponsePB) ProtoReflect

func (*IsSetupUniverseReplicationDoneResponsePB) Reset

func (*IsSetupUniverseReplicationDoneResponsePB) String

type IsTabletServerReadyRequestPB

type IsTabletServerReadyRequestPB struct {
	// contains filtered or unexported fields
}

Get this tserver's notion of being ready for handling IO requests across all tablets that it owns.

func (*IsTabletServerReadyRequestPB) Descriptor deprecated

func (*IsTabletServerReadyRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsTabletServerReadyRequestPB.ProtoReflect.Descriptor instead.

func (*IsTabletServerReadyRequestPB) ProtoMessage

func (*IsTabletServerReadyRequestPB) ProtoMessage()

func (*IsTabletServerReadyRequestPB) ProtoReflect

func (*IsTabletServerReadyRequestPB) Reset

func (x *IsTabletServerReadyRequestPB) Reset()

func (*IsTabletServerReadyRequestPB) String

type IsTabletServerReadyResponsePB

type IsTabletServerReadyResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	NumTabletsNotRunning *int32               `protobuf:"varint,2,opt,name=num_tablets_not_running,json=numTabletsNotRunning" json:"num_tablets_not_running,omitempty"`
	TotalTablets         *int32               `protobuf:"varint,3,opt,name=total_tablets,json=totalTablets,def=0" json:"total_tablets,omitempty"`
	// contains filtered or unexported fields
}

When response has no errors, the tserver is deemed ready as per its tablet manager layer when the number of not running tablets is 0. Or the client can choose to timeout before that. Also returns total tablets under this tablet server.

func (*IsTabletServerReadyResponsePB) Descriptor deprecated

func (*IsTabletServerReadyResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsTabletServerReadyResponsePB.ProtoReflect.Descriptor instead.

func (*IsTabletServerReadyResponsePB) GetError

func (*IsTabletServerReadyResponsePB) GetNumTabletsNotRunning

func (x *IsTabletServerReadyResponsePB) GetNumTabletsNotRunning() int32

func (*IsTabletServerReadyResponsePB) GetTotalTablets

func (x *IsTabletServerReadyResponsePB) GetTotalTablets() int32

func (*IsTabletServerReadyResponsePB) ProtoMessage

func (*IsTabletServerReadyResponsePB) ProtoMessage()

func (*IsTabletServerReadyResponsePB) ProtoReflect

func (*IsTabletServerReadyResponsePB) Reset

func (x *IsTabletServerReadyResponsePB) Reset()

func (*IsTabletServerReadyResponsePB) String

type IsTruncateTableDoneRequestPB

type IsTruncateTableDoneRequestPB struct {
	TableId []byte `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsTruncateTableDoneRequestPB) Descriptor deprecated

func (*IsTruncateTableDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use IsTruncateTableDoneRequestPB.ProtoReflect.Descriptor instead.

func (*IsTruncateTableDoneRequestPB) GetTableId

func (x *IsTruncateTableDoneRequestPB) GetTableId() []byte

func (*IsTruncateTableDoneRequestPB) ProtoMessage

func (*IsTruncateTableDoneRequestPB) ProtoMessage()

func (*IsTruncateTableDoneRequestPB) ProtoReflect

func (*IsTruncateTableDoneRequestPB) Reset

func (x *IsTruncateTableDoneRequestPB) Reset()

func (*IsTruncateTableDoneRequestPB) String

type IsTruncateTableDoneResponsePB

type IsTruncateTableDoneResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// true if the truncate operation is completed, false otherwise
	Done *bool `protobuf:"varint,2,opt,name=done" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*IsTruncateTableDoneResponsePB) Descriptor deprecated

func (*IsTruncateTableDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use IsTruncateTableDoneResponsePB.ProtoReflect.Descriptor instead.

func (*IsTruncateTableDoneResponsePB) GetDone

func (x *IsTruncateTableDoneResponsePB) GetDone() bool

func (*IsTruncateTableDoneResponsePB) GetError

func (*IsTruncateTableDoneResponsePB) ProtoMessage

func (*IsTruncateTableDoneResponsePB) ProtoMessage()

func (*IsTruncateTableDoneResponsePB) ProtoReflect

func (*IsTruncateTableDoneResponsePB) Reset

func (x *IsTruncateTableDoneResponsePB) Reset()

func (*IsTruncateTableDoneResponsePB) String

type IsolationLevel

type IsolationLevel int32
const (
	IsolationLevel_NON_TRANSACTIONAL      IsolationLevel = 0
	IsolationLevel_SNAPSHOT_ISOLATION     IsolationLevel = 1
	IsolationLevel_SERIALIZABLE_ISOLATION IsolationLevel = 2
	IsolationLevel_READ_COMMITTED         IsolationLevel = 3
)

func (IsolationLevel) Descriptor

func (IsolationLevel) Enum

func (x IsolationLevel) Enum() *IsolationLevel

func (IsolationLevel) EnumDescriptor deprecated

func (IsolationLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use IsolationLevel.Descriptor instead.

func (IsolationLevel) Number

func (IsolationLevel) String

func (x IsolationLevel) String() string

func (IsolationLevel) Type

func (*IsolationLevel) UnmarshalJSON deprecated

func (x *IsolationLevel) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type JsonOperatorPB

type JsonOperatorPB int32
const (
	JsonOperatorPB_JSON_OBJECT JsonOperatorPB = 0 // The -> operator applied to a column.
	JsonOperatorPB_JSON_TEXT   JsonOperatorPB = 1 // The ->> operator applied to a column.
)

func (JsonOperatorPB) Descriptor

func (JsonOperatorPB) Enum

func (x JsonOperatorPB) Enum() *JsonOperatorPB

func (JsonOperatorPB) EnumDescriptor deprecated

func (JsonOperatorPB) EnumDescriptor() ([]byte, []int)

Deprecated: Use JsonOperatorPB.Descriptor instead.

func (JsonOperatorPB) Number

func (JsonOperatorPB) String

func (x JsonOperatorPB) String() string

func (JsonOperatorPB) Type

func (*JsonOperatorPB) UnmarshalJSON deprecated

func (x *JsonOperatorPB) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type KeyValuePairPB

type KeyValuePairPB struct {
	Key                []byte  `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value              []byte  `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	ExternalHybridTime *uint64 `protobuf:"fixed64,3,opt,name=external_hybrid_time,json=externalHybridTime" json:"external_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValuePairPB) Descriptor deprecated

func (*KeyValuePairPB) Descriptor() ([]byte, []int)

Deprecated: Use KeyValuePairPB.ProtoReflect.Descriptor instead.

func (*KeyValuePairPB) GetExternalHybridTime

func (x *KeyValuePairPB) GetExternalHybridTime() uint64

func (*KeyValuePairPB) GetKey

func (x *KeyValuePairPB) GetKey() []byte

func (*KeyValuePairPB) GetValue

func (x *KeyValuePairPB) GetValue() []byte

func (*KeyValuePairPB) ProtoMessage

func (*KeyValuePairPB) ProtoMessage()

func (*KeyValuePairPB) ProtoReflect

func (x *KeyValuePairPB) ProtoReflect() protoreflect.Message

func (*KeyValuePairPB) Reset

func (x *KeyValuePairPB) Reset()

func (*KeyValuePairPB) String

func (x *KeyValuePairPB) String() string

type KeyValueWriteBatchPB

type KeyValueWriteBatchPB struct {
	WritePairs                []*KeyValuePairPB         `protobuf:"bytes,1,rep,name=write_pairs,json=writePairs" json:"write_pairs,omitempty"`
	Transaction               *TransactionMetadataPB    `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"`
	Subtransaction            *SubTransactionMetadataPB `protobuf:"bytes,8,opt,name=subtransaction" json:"subtransaction,omitempty"`
	DEPRECATEDMayHaveMetadata *bool                     `` /* 134-byte string literal not displayed */
	// Used by serializable isolation transactions and row locking statements to store read intents.
	// In case of read-modify-write operation both read_pairs and write_pairs could present.
	ReadPairs []*KeyValuePairPB `protobuf:"bytes,5,rep,name=read_pairs,json=readPairs" json:"read_pairs,omitempty"`
	// Even though there can be multiple write_pairs we have only one row_mark_type/ wait_policy since
	// currently we don't batch read RPCs from YSQL (which are the only ones that can set these 2
	// fields). And hence, only a singular value is sufficient.
	RowMarkType               *RowMarkType                  `protobuf:"varint,6,opt,name=row_mark_type,json=rowMarkType,enum=yb.RowMarkType" json:"row_mark_type,omitempty"`
	WaitPolicy                *WaitPolicy                   `protobuf:"varint,10,opt,name=wait_policy,json=waitPolicy,enum=yb.WaitPolicy" json:"wait_policy,omitempty"`
	ApplyExternalTransactions []*ApplyExternalTransactionPB `` /* 131-byte string literal not displayed */
	Ttl                       *int64                        `protobuf:"varint,9,opt,name=ttl" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

A set of key/value pairs to be written into RocksDB.

func (*KeyValueWriteBatchPB) Descriptor deprecated

func (*KeyValueWriteBatchPB) Descriptor() ([]byte, []int)

Deprecated: Use KeyValueWriteBatchPB.ProtoReflect.Descriptor instead.

func (*KeyValueWriteBatchPB) GetApplyExternalTransactions

func (x *KeyValueWriteBatchPB) GetApplyExternalTransactions() []*ApplyExternalTransactionPB

func (*KeyValueWriteBatchPB) GetDEPRECATEDMayHaveMetadata

func (x *KeyValueWriteBatchPB) GetDEPRECATEDMayHaveMetadata() bool

func (*KeyValueWriteBatchPB) GetReadPairs

func (x *KeyValueWriteBatchPB) GetReadPairs() []*KeyValuePairPB

func (*KeyValueWriteBatchPB) GetRowMarkType

func (x *KeyValueWriteBatchPB) GetRowMarkType() RowMarkType

func (*KeyValueWriteBatchPB) GetSubtransaction

func (x *KeyValueWriteBatchPB) GetSubtransaction() *SubTransactionMetadataPB

func (*KeyValueWriteBatchPB) GetTransaction

func (x *KeyValueWriteBatchPB) GetTransaction() *TransactionMetadataPB

func (*KeyValueWriteBatchPB) GetTtl added in v2.11.2

func (x *KeyValueWriteBatchPB) GetTtl() int64

func (*KeyValueWriteBatchPB) GetWaitPolicy added in v2.11.2

func (x *KeyValueWriteBatchPB) GetWaitPolicy() WaitPolicy

func (*KeyValueWriteBatchPB) GetWritePairs

func (x *KeyValueWriteBatchPB) GetWritePairs() []*KeyValuePairPB

func (*KeyValueWriteBatchPB) ProtoMessage

func (*KeyValueWriteBatchPB) ProtoMessage()

func (*KeyValueWriteBatchPB) ProtoReflect

func (x *KeyValueWriteBatchPB) ProtoReflect() protoreflect.Message

func (*KeyValueWriteBatchPB) Reset

func (x *KeyValueWriteBatchPB) Reset()

func (*KeyValueWriteBatchPB) String

func (x *KeyValueWriteBatchPB) String() string

type KvStoreInfoPB

type KvStoreInfoPB struct {

	// KV-store id. For more convenient logs browsing and investigation, by default set to
	// raft_group_id for the KV-store which was created first in the Raft group.
	KvStoreId []byte `protobuf:"bytes,1,req,name=kv_store_id,json=kvStoreId" json:"kv_store_id,omitempty"`
	// The RocksDB directory for this KV-store.
	RocksdbDir *string `protobuf:"bytes,2,opt,name=rocksdb_dir,json=rocksdbDir" json:"rocksdb_dir,omitempty"`
	// List of RocksDB SST files.
	RocksdbFiles []*FilePB `protobuf:"bytes,3,rep,name=rocksdb_files,json=rocksdbFiles" json:"rocksdb_files,omitempty"`
	// List of Snapshot files.
	SnapshotFiles []*SnapshotFilePB `protobuf:"bytes,4,rep,name=snapshot_files,json=snapshotFiles" json:"snapshot_files,omitempty"`
	// List of tables sharing this KV-store. Primary table always goes first.
	Tables []*TableInfoPB `protobuf:"bytes,5,rep,name=tables" json:"tables,omitempty"`
	// Optional inclusive lower bound and exclusive upper bound for keys served by this KV-store.
	// See docdb::KeyBounds.
	LowerBoundKey []byte `protobuf:"bytes,6,opt,name=lower_bound_key,json=lowerBoundKey" json:"lower_bound_key,omitempty"`
	UpperBoundKey []byte `protobuf:"bytes,7,opt,name=upper_bound_key,json=upperBoundKey" json:"upper_bound_key,omitempty"`
	// Whether KV-store regular DB has been fully compacted since creation.
	// We don't split not yet fully compacted post-split tablets as of 2020-06-23, since
	// detecting effective middle key and tablet size for such tablets is not yet implemented.
	HasBeenFullyCompacted *bool    `protobuf:"varint,8,opt,name=has_been_fully_compacted,json=hasBeenFullyCompacted" json:"has_been_fully_compacted,omitempty"`
	SnapshotSchedules     [][]byte `protobuf:"bytes,9,rep,name=snapshot_schedules,json=snapshotSchedules" json:"snapshot_schedules,omitempty"`
	// contains filtered or unexported fields
}

KV-store meta data. Single KV-store is backed by one or two RocksDB instances, depending on whether distributed transactions are enabled for the table. KV-store for sys catalog could contain multiple tables.

func (*KvStoreInfoPB) Descriptor deprecated

func (*KvStoreInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use KvStoreInfoPB.ProtoReflect.Descriptor instead.

func (*KvStoreInfoPB) GetHasBeenFullyCompacted

func (x *KvStoreInfoPB) GetHasBeenFullyCompacted() bool

func (*KvStoreInfoPB) GetKvStoreId

func (x *KvStoreInfoPB) GetKvStoreId() []byte

func (*KvStoreInfoPB) GetLowerBoundKey

func (x *KvStoreInfoPB) GetLowerBoundKey() []byte

func (*KvStoreInfoPB) GetRocksdbDir

func (x *KvStoreInfoPB) GetRocksdbDir() string

func (*KvStoreInfoPB) GetRocksdbFiles

func (x *KvStoreInfoPB) GetRocksdbFiles() []*FilePB

func (*KvStoreInfoPB) GetSnapshotFiles

func (x *KvStoreInfoPB) GetSnapshotFiles() []*SnapshotFilePB

func (*KvStoreInfoPB) GetSnapshotSchedules

func (x *KvStoreInfoPB) GetSnapshotSchedules() [][]byte

func (*KvStoreInfoPB) GetTables

func (x *KvStoreInfoPB) GetTables() []*TableInfoPB

func (*KvStoreInfoPB) GetUpperBoundKey

func (x *KvStoreInfoPB) GetUpperBoundKey() []byte

func (*KvStoreInfoPB) ProtoMessage

func (*KvStoreInfoPB) ProtoMessage()

func (*KvStoreInfoPB) ProtoReflect

func (x *KvStoreInfoPB) ProtoReflect() protoreflect.Message

func (*KvStoreInfoPB) Reset

func (x *KvStoreInfoPB) Reset()

func (*KvStoreInfoPB) String

func (x *KvStoreInfoPB) String() string

type LaunchBackfillIndexForTableRequestPB

type LaunchBackfillIndexForTableRequestPB struct {

	// The indexed table identifier. Used for YCQL tables from yb-admin.
	TableIdentifier *TableIdentifierPB `protobuf:"bytes,1,opt,name=table_identifier,json=tableIdentifier" json:"table_identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*LaunchBackfillIndexForTableRequestPB) Descriptor deprecated

func (*LaunchBackfillIndexForTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use LaunchBackfillIndexForTableRequestPB.ProtoReflect.Descriptor instead.

func (*LaunchBackfillIndexForTableRequestPB) GetTableIdentifier

func (*LaunchBackfillIndexForTableRequestPB) ProtoMessage

func (*LaunchBackfillIndexForTableRequestPB) ProtoMessage()

func (*LaunchBackfillIndexForTableRequestPB) ProtoReflect

func (*LaunchBackfillIndexForTableRequestPB) Reset

func (*LaunchBackfillIndexForTableRequestPB) String

type LaunchBackfillIndexForTableResponsePB

type LaunchBackfillIndexForTableResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*LaunchBackfillIndexForTableResponsePB) Descriptor deprecated

func (*LaunchBackfillIndexForTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use LaunchBackfillIndexForTableResponsePB.ProtoReflect.Descriptor instead.

func (*LaunchBackfillIndexForTableResponsePB) GetError

func (*LaunchBackfillIndexForTableResponsePB) ProtoMessage

func (*LaunchBackfillIndexForTableResponsePB) ProtoMessage()

func (*LaunchBackfillIndexForTableResponsePB) ProtoReflect

func (*LaunchBackfillIndexForTableResponsePB) Reset

func (*LaunchBackfillIndexForTableResponsePB) String

type LeaderElectionLostRequestPB

type LeaderElectionLostRequestPB struct {

	// UUID of server this request is addressed to.
	// It is originator_uuid from RunLeaderElectionRequestPB
	DestUuid []byte `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	// the id of the tablet
	TabletId []byte `protobuf:"bytes,2,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// UUID of server that lost election
	ElectionLostByUuid []byte `protobuf:"bytes,3,opt,name=election_lost_by_uuid,json=electionLostByUuid" json:"election_lost_by_uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaderElectionLostRequestPB) Descriptor deprecated

func (*LeaderElectionLostRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use LeaderElectionLostRequestPB.ProtoReflect.Descriptor instead.

func (*LeaderElectionLostRequestPB) GetDestUuid

func (x *LeaderElectionLostRequestPB) GetDestUuid() []byte

func (*LeaderElectionLostRequestPB) GetElectionLostByUuid

func (x *LeaderElectionLostRequestPB) GetElectionLostByUuid() []byte

func (*LeaderElectionLostRequestPB) GetTabletId

func (x *LeaderElectionLostRequestPB) GetTabletId() []byte

func (*LeaderElectionLostRequestPB) ProtoMessage

func (*LeaderElectionLostRequestPB) ProtoMessage()

func (*LeaderElectionLostRequestPB) ProtoReflect

func (*LeaderElectionLostRequestPB) Reset

func (x *LeaderElectionLostRequestPB) Reset()

func (*LeaderElectionLostRequestPB) String

func (x *LeaderElectionLostRequestPB) String() string

type LeaderElectionLostResponsePB

type LeaderElectionLostResponsePB struct {

	// A generic error message (such as tablet not found).
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*LeaderElectionLostResponsePB) Descriptor deprecated

func (*LeaderElectionLostResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use LeaderElectionLostResponsePB.ProtoReflect.Descriptor instead.

func (*LeaderElectionLostResponsePB) GetError

func (*LeaderElectionLostResponsePB) ProtoMessage

func (*LeaderElectionLostResponsePB) ProtoMessage()

func (*LeaderElectionLostResponsePB) ProtoReflect

func (*LeaderElectionLostResponsePB) Reset

func (x *LeaderElectionLostResponsePB) Reset()

func (*LeaderElectionLostResponsePB) String

type LeaderLeaseStatus

type LeaderLeaseStatus int32
const (
	LeaderLeaseStatus_HAS_LEASE                    LeaderLeaseStatus = 0
	LeaderLeaseStatus_OLD_LEADER_MAY_HAVE_LEASE    LeaderLeaseStatus = 1
	LeaderLeaseStatus_NO_MAJORITY_REPLICATED_LEASE LeaderLeaseStatus = 2
)

func (LeaderLeaseStatus) Descriptor

func (LeaderLeaseStatus) Enum

func (LeaderLeaseStatus) EnumDescriptor deprecated

func (LeaderLeaseStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use LeaderLeaseStatus.Descriptor instead.

func (LeaderLeaseStatus) Number

func (LeaderLeaseStatus) String

func (x LeaderLeaseStatus) String() string

func (LeaderLeaseStatus) Type

func (*LeaderLeaseStatus) UnmarshalJSON deprecated

func (x *LeaderLeaseStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LeaderStepDownRequestPB

type LeaderStepDownRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,2,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	// The id of the tablet.
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// UUID of the server that should run the election to become the new leader.
	NewLeaderUuid []byte `protobuf:"bytes,3,opt,name=new_leader_uuid,json=newLeaderUuid" json:"new_leader_uuid,omitempty"`
	// Used in tests to ignore check for new leader conditions.
	ForceStepDown *bool `protobuf:"varint,4,opt,name=force_step_down,json=forceStepDown" json:"force_step_down,omitempty"`
	// If new_leader_uuid is not specified, the current leader will attempt
	// to gracefully transfer leadership to another peer. Setting this flag
	// disables that behavior.
	DisableGracefulTransition *bool `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LeaderStepDownRequestPB) Descriptor deprecated

func (*LeaderStepDownRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use LeaderStepDownRequestPB.ProtoReflect.Descriptor instead.

func (*LeaderStepDownRequestPB) GetDestUuid

func (x *LeaderStepDownRequestPB) GetDestUuid() []byte

func (*LeaderStepDownRequestPB) GetDisableGracefulTransition

func (x *LeaderStepDownRequestPB) GetDisableGracefulTransition() bool

func (*LeaderStepDownRequestPB) GetForceStepDown

func (x *LeaderStepDownRequestPB) GetForceStepDown() bool

func (*LeaderStepDownRequestPB) GetNewLeaderUuid

func (x *LeaderStepDownRequestPB) GetNewLeaderUuid() []byte

func (*LeaderStepDownRequestPB) GetTabletId

func (x *LeaderStepDownRequestPB) GetTabletId() []byte

func (*LeaderStepDownRequestPB) ProtoMessage

func (*LeaderStepDownRequestPB) ProtoMessage()

func (*LeaderStepDownRequestPB) ProtoReflect

func (x *LeaderStepDownRequestPB) ProtoReflect() protoreflect.Message

func (*LeaderStepDownRequestPB) Reset

func (x *LeaderStepDownRequestPB) Reset()

func (*LeaderStepDownRequestPB) String

func (x *LeaderStepDownRequestPB) String() string

type LeaderStepDownResponsePB

type LeaderStepDownResponsePB struct {

	// A generic error message (such as tablet not found).
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// Time in milliseconds since previous election failure with the same intended ("protege") leader.
	// This is used to track the remaining amount of time during which the load balancer should not
	// attempt to ask (any) leader of this tablet to step down in favor of the same peer.
	TimeSinceElectionFailureMs *int64 `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LeaderStepDownResponsePB) Descriptor deprecated

func (*LeaderStepDownResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use LeaderStepDownResponsePB.ProtoReflect.Descriptor instead.

func (*LeaderStepDownResponsePB) GetError

func (*LeaderStepDownResponsePB) GetTimeSinceElectionFailureMs

func (x *LeaderStepDownResponsePB) GetTimeSinceElectionFailureMs() int64

func (*LeaderStepDownResponsePB) ProtoMessage

func (*LeaderStepDownResponsePB) ProtoMessage()

func (*LeaderStepDownResponsePB) ProtoReflect

func (x *LeaderStepDownResponsePB) ProtoReflect() protoreflect.Message

func (*LeaderStepDownResponsePB) Reset

func (x *LeaderStepDownResponsePB) Reset()

func (*LeaderStepDownResponsePB) String

func (x *LeaderStepDownResponsePB) String() string

type LightweightEnum added in v2.11.2

type LightweightEnum int32
const (
	LightweightEnum_ZERO  LightweightEnum = 0
	LightweightEnum_ONE   LightweightEnum = 1
	LightweightEnum_TWO   LightweightEnum = 2
	LightweightEnum_THREE LightweightEnum = 3
	LightweightEnum_FOUR  LightweightEnum = 4
)

func (LightweightEnum) Descriptor added in v2.11.2

func (LightweightEnum) Enum added in v2.11.2

func (x LightweightEnum) Enum() *LightweightEnum

func (LightweightEnum) EnumDescriptor deprecated added in v2.11.2

func (LightweightEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use LightweightEnum.Descriptor instead.

func (LightweightEnum) Number added in v2.11.2

func (LightweightEnum) String added in v2.11.2

func (x LightweightEnum) String() string

func (LightweightEnum) Type added in v2.11.2

func (*LightweightEnum) UnmarshalJSON deprecated added in v2.11.2

func (x *LightweightEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LightweightFieldOptions added in v2.11.2

type LightweightFieldOptions struct {
	Pointer bool `protobuf:"varint,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
	// contains filtered or unexported fields
}

func (*LightweightFieldOptions) Descriptor deprecated added in v2.11.2

func (*LightweightFieldOptions) Descriptor() ([]byte, []int)

Deprecated: Use LightweightFieldOptions.ProtoReflect.Descriptor instead.

func (*LightweightFieldOptions) GetPointer added in v2.11.2

func (x *LightweightFieldOptions) GetPointer() bool

func (*LightweightFieldOptions) ProtoMessage added in v2.11.2

func (*LightweightFieldOptions) ProtoMessage()

func (*LightweightFieldOptions) ProtoReflect added in v2.11.2

func (x *LightweightFieldOptions) ProtoReflect() protoreflect.Message

func (*LightweightFieldOptions) Reset added in v2.11.2

func (x *LightweightFieldOptions) Reset()

func (*LightweightFieldOptions) String added in v2.11.2

func (x *LightweightFieldOptions) String() string

type LightweightMessageOptions added in v2.11.2

type LightweightMessageOptions struct {
	ForceArena bool `protobuf:"varint,1,opt,name=force_arena,json=forceArena,proto3" json:"force_arena,omitempty"`
	// contains filtered or unexported fields
}

func (*LightweightMessageOptions) Descriptor deprecated added in v2.11.2

func (*LightweightMessageOptions) Descriptor() ([]byte, []int)

Deprecated: Use LightweightMessageOptions.ProtoReflect.Descriptor instead.

func (*LightweightMessageOptions) GetForceArena added in v2.11.2

func (x *LightweightMessageOptions) GetForceArena() bool

func (*LightweightMessageOptions) ProtoMessage added in v2.11.2

func (*LightweightMessageOptions) ProtoMessage()

func (*LightweightMessageOptions) ProtoReflect added in v2.11.2

func (*LightweightMessageOptions) Reset added in v2.11.2

func (x *LightweightMessageOptions) Reset()

func (*LightweightMessageOptions) String added in v2.11.2

func (x *LightweightMessageOptions) String() string

type LightweightMethodOptions added in v2.11.2

type LightweightMethodOptions struct {
	Sides RpcSides `protobuf:"varint,1,opt,name=sides,proto3,enum=yb.rpc.RpcSides" json:"sides,omitempty"`
	// contains filtered or unexported fields
}

func (*LightweightMethodOptions) Descriptor deprecated added in v2.11.2

func (*LightweightMethodOptions) Descriptor() ([]byte, []int)

Deprecated: Use LightweightMethodOptions.ProtoReflect.Descriptor instead.

func (*LightweightMethodOptions) GetSides added in v2.11.2

func (x *LightweightMethodOptions) GetSides() RpcSides

func (*LightweightMethodOptions) ProtoMessage added in v2.11.2

func (*LightweightMethodOptions) ProtoMessage()

func (*LightweightMethodOptions) ProtoReflect added in v2.11.2

func (x *LightweightMethodOptions) ProtoReflect() protoreflect.Message

func (*LightweightMethodOptions) Reset added in v2.11.2

func (x *LightweightMethodOptions) Reset()

func (*LightweightMethodOptions) String added in v2.11.2

func (x *LightweightMethodOptions) String() string

type LightweightPairPB added in v2.11.2

type LightweightPairPB struct {
	S1 *string `protobuf:"bytes,1,opt,name=s1" json:"s1,omitempty"`
	S2 *string `protobuf:"bytes,2,opt,name=s2" json:"s2,omitempty"`
	// contains filtered or unexported fields
}

func (*LightweightPairPB) Descriptor deprecated added in v2.11.2

func (*LightweightPairPB) Descriptor() ([]byte, []int)

Deprecated: Use LightweightPairPB.ProtoReflect.Descriptor instead.

func (*LightweightPairPB) GetS1 added in v2.11.2

func (x *LightweightPairPB) GetS1() string

func (*LightweightPairPB) GetS2 added in v2.11.2

func (x *LightweightPairPB) GetS2() string

func (*LightweightPairPB) ProtoMessage added in v2.11.2

func (*LightweightPairPB) ProtoMessage()

func (*LightweightPairPB) ProtoReflect added in v2.11.2

func (x *LightweightPairPB) ProtoReflect() protoreflect.Message

func (*LightweightPairPB) Reset added in v2.11.2

func (x *LightweightPairPB) Reset()

func (*LightweightPairPB) String added in v2.11.2

func (x *LightweightPairPB) String() string

type LightweightRequestPB added in v2.11.2

type LightweightRequestPB struct {
	I32              *int32                     `protobuf:"varint,1,opt,name=i32" json:"i32,omitempty"`
	I64              *int64                     `protobuf:"varint,2,opt,name=i64" json:"i64,omitempty"`
	F32              *uint32                    `protobuf:"fixed32,3,opt,name=f32" json:"f32,omitempty"`
	F64              *uint64                    `protobuf:"fixed64,4,opt,name=f64" json:"f64,omitempty"`
	U32              *uint32                    `protobuf:"varint,5,opt,name=u32" json:"u32,omitempty"`
	U64              *uint64                    `protobuf:"varint,6,opt,name=u64" json:"u64,omitempty"`
	R32              *float32                   `protobuf:"fixed32,7,opt,name=r32" json:"r32,omitempty"`
	R64              *float64                   `protobuf:"fixed64,8,opt,name=r64" json:"r64,omitempty"`
	Str              *string                    `protobuf:"bytes,9,opt,name=str" json:"str,omitempty"`
	Bytes            []byte                     `protobuf:"bytes,10,opt,name=bytes" json:"bytes,omitempty"`
	En               *LightweightEnum           `protobuf:"varint,11,opt,name=en,enum=yb.rpc_test.LightweightEnum" json:"en,omitempty"`
	Sf32             *int32                     `protobuf:"fixed32,12,opt,name=sf32" json:"sf32,omitempty"`
	Sf64             *int64                     `protobuf:"fixed64,13,opt,name=sf64" json:"sf64,omitempty"`
	Si32             *int32                     `protobuf:"zigzag32,14,opt,name=si32" json:"si32,omitempty"`
	Si64             *int64                     `protobuf:"zigzag64,15,opt,name=si64" json:"si64,omitempty"`
	Ru32             []uint32                   `protobuf:"varint,16,rep,name=ru32" json:"ru32,omitempty"`
	Rf32             []uint32                   `protobuf:"fixed32,17,rep,name=rf32" json:"rf32,omitempty"`
	Rstr             []string                   `protobuf:"bytes,18,rep,name=rstr" json:"rstr,omitempty"`
	Message          *LightweightSubMessagePB   `protobuf:"bytes,19,opt,name=message" json:"message,omitempty"`
	RepeatedMessages []*LightweightSubMessagePB `protobuf:"bytes,20,rep,name=repeated_messages,json=repeatedMessages" json:"repeated_messages,omitempty"`
	PackedU64        []uint64                   `protobuf:"varint,21,rep,packed,name=packed_u64,json=packedU64" json:"packed_u64,omitempty"`
	PackedF32        []uint32                   `protobuf:"fixed32,22,rep,packed,name=packed_f32,json=packedF32" json:"packed_f32,omitempty"`
	Pairs            []*LightweightPairPB       `protobuf:"bytes,23,rep,name=pairs" json:"pairs,omitempty"`
	PtrMessage       *LightweightSubMessagePB   `protobuf:"bytes,24,opt,name=ptr_message,json=ptrMessage" json:"ptr_message,omitempty"`
	Map              map[string]int64           `` /* 128-byte string literal not displayed */
	ExtraData        *anypb.Any                 `protobuf:"bytes,26,opt,name=extra_data,json=extraData" json:"extra_data,omitempty"`
	// contains filtered or unexported fields
}

func (*LightweightRequestPB) Descriptor deprecated added in v2.11.2

func (*LightweightRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use LightweightRequestPB.ProtoReflect.Descriptor instead.

func (*LightweightRequestPB) GetBytes added in v2.11.2

func (x *LightweightRequestPB) GetBytes() []byte

func (*LightweightRequestPB) GetEn added in v2.11.2

func (*LightweightRequestPB) GetExtraData added in v2.11.2

func (x *LightweightRequestPB) GetExtraData() *anypb.Any

func (*LightweightRequestPB) GetF32 added in v2.11.2

func (x *LightweightRequestPB) GetF32() uint32

func (*LightweightRequestPB) GetF64 added in v2.11.2

func (x *LightweightRequestPB) GetF64() uint64

func (*LightweightRequestPB) GetI32 added in v2.11.2

func (x *LightweightRequestPB) GetI32() int32

func (*LightweightRequestPB) GetI64 added in v2.11.2

func (x *LightweightRequestPB) GetI64() int64

func (*LightweightRequestPB) GetMap added in v2.11.2

func (x *LightweightRequestPB) GetMap() map[string]int64

func (*LightweightRequestPB) GetMessage added in v2.11.2

func (*LightweightRequestPB) GetPackedF32 added in v2.11.2

func (x *LightweightRequestPB) GetPackedF32() []uint32

func (*LightweightRequestPB) GetPackedU64 added in v2.11.2

func (x *LightweightRequestPB) GetPackedU64() []uint64

func (*LightweightRequestPB) GetPairs added in v2.11.2

func (x *LightweightRequestPB) GetPairs() []*LightweightPairPB

func (*LightweightRequestPB) GetPtrMessage added in v2.11.2

func (x *LightweightRequestPB) GetPtrMessage() *LightweightSubMessagePB

func (*LightweightRequestPB) GetR32 added in v2.11.2

func (x *LightweightRequestPB) GetR32() float32

func (*LightweightRequestPB) GetR64 added in v2.11.2

func (x *LightweightRequestPB) GetR64() float64

func (*LightweightRequestPB) GetRepeatedMessages added in v2.11.2

func (x *LightweightRequestPB) GetRepeatedMessages() []*LightweightSubMessagePB

func (*LightweightRequestPB) GetRf32 added in v2.11.2

func (x *LightweightRequestPB) GetRf32() []uint32

func (*LightweightRequestPB) GetRstr added in v2.11.2

func (x *LightweightRequestPB) GetRstr() []string

func (*LightweightRequestPB) GetRu32 added in v2.11.2

func (x *LightweightRequestPB) GetRu32() []uint32

func (*LightweightRequestPB) GetSf32 added in v2.11.2

func (x *LightweightRequestPB) GetSf32() int32

func (*LightweightRequestPB) GetSf64 added in v2.11.2

func (x *LightweightRequestPB) GetSf64() int64

func (*LightweightRequestPB) GetSi32 added in v2.11.2

func (x *LightweightRequestPB) GetSi32() int32

func (*LightweightRequestPB) GetSi64 added in v2.11.2

func (x *LightweightRequestPB) GetSi64() int64

func (*LightweightRequestPB) GetStr added in v2.11.2

func (x *LightweightRequestPB) GetStr() string

func (*LightweightRequestPB) GetU32 added in v2.11.2

func (x *LightweightRequestPB) GetU32() uint32

func (*LightweightRequestPB) GetU64 added in v2.11.2

func (x *LightweightRequestPB) GetU64() uint64

func (*LightweightRequestPB) ProtoMessage added in v2.11.2

func (*LightweightRequestPB) ProtoMessage()

func (*LightweightRequestPB) ProtoReflect added in v2.11.2

func (x *LightweightRequestPB) ProtoReflect() protoreflect.Message

func (*LightweightRequestPB) Reset added in v2.11.2

func (x *LightweightRequestPB) Reset()

func (*LightweightRequestPB) String added in v2.11.2

func (x *LightweightRequestPB) String() string

type LightweightResponsePB added in v2.11.2

type LightweightResponsePB struct {
	I32                  *int32                     `protobuf:"varint,1,opt,name=i32" json:"i32,omitempty"`
	I64                  *int64                     `protobuf:"varint,2,opt,name=i64" json:"i64,omitempty"`
	F32                  *uint32                    `protobuf:"fixed32,3,opt,name=f32" json:"f32,omitempty"`
	F64                  *uint64                    `protobuf:"fixed64,4,opt,name=f64" json:"f64,omitempty"`
	U32                  *uint32                    `protobuf:"varint,5,opt,name=u32" json:"u32,omitempty"`
	U64                  *uint64                    `protobuf:"varint,6,opt,name=u64" json:"u64,omitempty"`
	R32                  *float32                   `protobuf:"fixed32,7,opt,name=r32" json:"r32,omitempty"`
	R64                  *float64                   `protobuf:"fixed64,8,opt,name=r64" json:"r64,omitempty"`
	Str                  *string                    `protobuf:"bytes,9,opt,name=str" json:"str,omitempty"`
	Bytes                []byte                     `protobuf:"bytes,10,opt,name=bytes" json:"bytes,omitempty"`
	En                   *LightweightEnum           `protobuf:"varint,11,opt,name=en,enum=yb.rpc_test.LightweightEnum" json:"en,omitempty"`
	Sf32                 *int32                     `protobuf:"fixed32,12,opt,name=sf32" json:"sf32,omitempty"`
	Sf64                 *int64                     `protobuf:"fixed64,13,opt,name=sf64" json:"sf64,omitempty"`
	Si32                 *int32                     `protobuf:"zigzag32,14,opt,name=si32" json:"si32,omitempty"`
	Si64                 *int64                     `protobuf:"zigzag64,15,opt,name=si64" json:"si64,omitempty"`
	Ru32                 []uint32                   `protobuf:"varint,16,rep,name=ru32" json:"ru32,omitempty"`
	Rf32                 []uint32                   `protobuf:"fixed32,17,rep,name=rf32" json:"rf32,omitempty"`
	Rstr                 []string                   `protobuf:"bytes,18,rep,name=rstr" json:"rstr,omitempty"`
	Message              *LightweightSubMessagePB   `protobuf:"bytes,19,opt,name=message" json:"message,omitempty"`
	RepeatedMessages     []*LightweightSubMessagePB `protobuf:"bytes,20,rep,name=repeated_messages,json=repeatedMessages" json:"repeated_messages,omitempty"`
	RepeatedMessagesCopy []*LightweightSubMessagePB `protobuf:"bytes,120,rep,name=repeated_messages_copy,json=repeatedMessagesCopy" json:"repeated_messages_copy,omitempty"`
	PackedU64            []uint64                   `protobuf:"varint,21,rep,packed,name=packed_u64,json=packedU64" json:"packed_u64,omitempty"`
	PackedF32            []uint32                   `protobuf:"fixed32,22,rep,packed,name=packed_f32,json=packedF32" json:"packed_f32,omitempty"`
	Pairs                []*LightweightPairPB       `protobuf:"bytes,23,rep,name=pairs" json:"pairs,omitempty"`
	PtrMessage           *LightweightSubMessagePB   `protobuf:"bytes,24,opt,name=ptr_message,json=ptrMessage" json:"ptr_message,omitempty"`
	Map                  map[string]int64           `` /* 128-byte string literal not displayed */
	ShortDebugString     *string                    `protobuf:"bytes,100,opt,name=short_debug_string,json=shortDebugString" json:"short_debug_string,omitempty"`
	// contains filtered or unexported fields
}

func (*LightweightResponsePB) Descriptor deprecated added in v2.11.2

func (*LightweightResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use LightweightResponsePB.ProtoReflect.Descriptor instead.

func (*LightweightResponsePB) GetBytes added in v2.11.2

func (x *LightweightResponsePB) GetBytes() []byte

func (*LightweightResponsePB) GetEn added in v2.11.2

func (*LightweightResponsePB) GetF32 added in v2.11.2

func (x *LightweightResponsePB) GetF32() uint32

func (*LightweightResponsePB) GetF64 added in v2.11.2

func (x *LightweightResponsePB) GetF64() uint64

func (*LightweightResponsePB) GetI32 added in v2.11.2

func (x *LightweightResponsePB) GetI32() int32

func (*LightweightResponsePB) GetI64 added in v2.11.2

func (x *LightweightResponsePB) GetI64() int64

func (*LightweightResponsePB) GetMap added in v2.11.2

func (x *LightweightResponsePB) GetMap() map[string]int64

func (*LightweightResponsePB) GetMessage added in v2.11.2

func (*LightweightResponsePB) GetPackedF32 added in v2.11.2

func (x *LightweightResponsePB) GetPackedF32() []uint32

func (*LightweightResponsePB) GetPackedU64 added in v2.11.2

func (x *LightweightResponsePB) GetPackedU64() []uint64

func (*LightweightResponsePB) GetPairs added in v2.11.2

func (x *LightweightResponsePB) GetPairs() []*LightweightPairPB

func (*LightweightResponsePB) GetPtrMessage added in v2.11.2

func (x *LightweightResponsePB) GetPtrMessage() *LightweightSubMessagePB

func (*LightweightResponsePB) GetR32 added in v2.11.2

func (x *LightweightResponsePB) GetR32() float32

func (*LightweightResponsePB) GetR64 added in v2.11.2

func (x *LightweightResponsePB) GetR64() float64

func (*LightweightResponsePB) GetRepeatedMessages added in v2.11.2

func (x *LightweightResponsePB) GetRepeatedMessages() []*LightweightSubMessagePB

func (*LightweightResponsePB) GetRepeatedMessagesCopy added in v2.11.2

func (x *LightweightResponsePB) GetRepeatedMessagesCopy() []*LightweightSubMessagePB

func (*LightweightResponsePB) GetRf32 added in v2.11.2

func (x *LightweightResponsePB) GetRf32() []uint32

func (*LightweightResponsePB) GetRstr added in v2.11.2

func (x *LightweightResponsePB) GetRstr() []string

func (*LightweightResponsePB) GetRu32 added in v2.11.2

func (x *LightweightResponsePB) GetRu32() []uint32

func (*LightweightResponsePB) GetSf32 added in v2.11.2

func (x *LightweightResponsePB) GetSf32() int32

func (*LightweightResponsePB) GetSf64 added in v2.11.2

func (x *LightweightResponsePB) GetSf64() int64

func (*LightweightResponsePB) GetShortDebugString added in v2.11.2

func (x *LightweightResponsePB) GetShortDebugString() string

func (*LightweightResponsePB) GetSi32 added in v2.11.2

func (x *LightweightResponsePB) GetSi32() int32

func (*LightweightResponsePB) GetSi64 added in v2.11.2

func (x *LightweightResponsePB) GetSi64() int64

func (*LightweightResponsePB) GetStr added in v2.11.2

func (x *LightweightResponsePB) GetStr() string

func (*LightweightResponsePB) GetU32 added in v2.11.2

func (x *LightweightResponsePB) GetU32() uint32

func (*LightweightResponsePB) GetU64 added in v2.11.2

func (x *LightweightResponsePB) GetU64() uint64

func (*LightweightResponsePB) ProtoMessage added in v2.11.2

func (*LightweightResponsePB) ProtoMessage()

func (*LightweightResponsePB) ProtoReflect added in v2.11.2

func (x *LightweightResponsePB) ProtoReflect() protoreflect.Message

func (*LightweightResponsePB) Reset added in v2.11.2

func (x *LightweightResponsePB) Reset()

func (*LightweightResponsePB) String added in v2.11.2

func (x *LightweightResponsePB) String() string

type LightweightSubMessagePB added in v2.11.2

type LightweightSubMessagePB struct {
	Sf32   *int32                   `protobuf:"fixed32,1,opt,name=sf32" json:"sf32,omitempty"`
	Rsi32  []int32                  `protobuf:"zigzag32,2,rep,name=rsi32" json:"rsi32,omitempty"`
	Str    *string                  `protobuf:"bytes,3,opt,name=str" json:"str,omitempty"`
	Rbytes [][]byte                 `protobuf:"bytes,4,rep,name=rbytes" json:"rbytes,omitempty"`
	Cycle  *LightweightSubMessagePB `protobuf:"bytes,5,opt,name=cycle" json:"cycle,omitempty"`
	// contains filtered or unexported fields
}

func (*LightweightSubMessagePB) Descriptor deprecated added in v2.11.2

func (*LightweightSubMessagePB) Descriptor() ([]byte, []int)

Deprecated: Use LightweightSubMessagePB.ProtoReflect.Descriptor instead.

func (*LightweightSubMessagePB) GetCycle added in v2.11.2

func (*LightweightSubMessagePB) GetRbytes added in v2.11.2

func (x *LightweightSubMessagePB) GetRbytes() [][]byte

func (*LightweightSubMessagePB) GetRsi32 added in v2.11.2

func (x *LightweightSubMessagePB) GetRsi32() []int32

func (*LightweightSubMessagePB) GetSf32 added in v2.11.2

func (x *LightweightSubMessagePB) GetSf32() int32

func (*LightweightSubMessagePB) GetStr added in v2.11.2

func (x *LightweightSubMessagePB) GetStr() string

func (*LightweightSubMessagePB) ProtoMessage added in v2.11.2

func (*LightweightSubMessagePB) ProtoMessage()

func (*LightweightSubMessagePB) ProtoReflect added in v2.11.2

func (x *LightweightSubMessagePB) ProtoReflect() protoreflect.Message

func (*LightweightSubMessagePB) Reset added in v2.11.2

func (x *LightweightSubMessagePB) Reset()

func (*LightweightSubMessagePB) String added in v2.11.2

func (x *LightweightSubMessagePB) String() string

type ListCDCStreamsRequestPB

type ListCDCStreamsRequestPB struct {
	TableId     *string   `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	NamespaceId *string   `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	IdType      *IdTypePB `protobuf:"varint,3,opt,name=id_type,json=idType,enum=yb.master.IdTypePB,def=1" json:"id_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCDCStreamsRequestPB) Descriptor deprecated

func (*ListCDCStreamsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListCDCStreamsRequestPB.ProtoReflect.Descriptor instead.

func (*ListCDCStreamsRequestPB) GetIdType added in v2.13.0

func (x *ListCDCStreamsRequestPB) GetIdType() IdTypePB

func (*ListCDCStreamsRequestPB) GetNamespaceId added in v2.13.0

func (x *ListCDCStreamsRequestPB) GetNamespaceId() string

func (*ListCDCStreamsRequestPB) GetTableId

func (x *ListCDCStreamsRequestPB) GetTableId() string

func (*ListCDCStreamsRequestPB) ProtoMessage

func (*ListCDCStreamsRequestPB) ProtoMessage()

func (*ListCDCStreamsRequestPB) ProtoReflect

func (x *ListCDCStreamsRequestPB) ProtoReflect() protoreflect.Message

func (*ListCDCStreamsRequestPB) Reset

func (x *ListCDCStreamsRequestPB) Reset()

func (*ListCDCStreamsRequestPB) String

func (x *ListCDCStreamsRequestPB) String() string

type ListCDCStreamsResponsePB

type ListCDCStreamsResponsePB struct {

	// The error, if an error occurred with this request.
	Error   *MasterErrorPB     `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Streams []*CDCStreamInfoPB `protobuf:"bytes,2,rep,name=streams" json:"streams,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCDCStreamsResponsePB) Descriptor deprecated

func (*ListCDCStreamsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListCDCStreamsResponsePB.ProtoReflect.Descriptor instead.

func (*ListCDCStreamsResponsePB) GetError

func (x *ListCDCStreamsResponsePB) GetError() *MasterErrorPB

func (*ListCDCStreamsResponsePB) GetStreams

func (x *ListCDCStreamsResponsePB) GetStreams() []*CDCStreamInfoPB

func (*ListCDCStreamsResponsePB) ProtoMessage

func (*ListCDCStreamsResponsePB) ProtoMessage()

func (*ListCDCStreamsResponsePB) ProtoReflect

func (x *ListCDCStreamsResponsePB) ProtoReflect() protoreflect.Message

func (*ListCDCStreamsResponsePB) Reset

func (x *ListCDCStreamsResponsePB) Reset()

func (*ListCDCStreamsResponsePB) String

func (x *ListCDCStreamsResponsePB) String() string

type ListLiveTabletServersRequestPB

type ListLiveTabletServersRequestPB struct {

	// If set to true, return only the live tservers which are in the primary/sync cluster.
	PrimaryOnly *bool `protobuf:"varint,1,opt,name=primary_only,json=primaryOnly,def=0" json:"primary_only,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLiveTabletServersRequestPB) Descriptor deprecated

func (*ListLiveTabletServersRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListLiveTabletServersRequestPB.ProtoReflect.Descriptor instead.

func (*ListLiveTabletServersRequestPB) GetPrimaryOnly

func (x *ListLiveTabletServersRequestPB) GetPrimaryOnly() bool

func (*ListLiveTabletServersRequestPB) ProtoMessage

func (*ListLiveTabletServersRequestPB) ProtoMessage()

func (*ListLiveTabletServersRequestPB) ProtoReflect

func (*ListLiveTabletServersRequestPB) Reset

func (x *ListLiveTabletServersRequestPB) Reset()

func (*ListLiveTabletServersRequestPB) String

type ListLiveTabletServersResponsePB

type ListLiveTabletServersResponsePB struct {
	Error   *MasterErrorPB                           `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Servers []*ListLiveTabletServersResponsePB_Entry `protobuf:"bytes,2,rep,name=servers" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLiveTabletServersResponsePB) Descriptor deprecated

func (*ListLiveTabletServersResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListLiveTabletServersResponsePB.ProtoReflect.Descriptor instead.

func (*ListLiveTabletServersResponsePB) GetError

func (*ListLiveTabletServersResponsePB) GetServers

func (*ListLiveTabletServersResponsePB) ProtoMessage

func (*ListLiveTabletServersResponsePB) ProtoMessage()

func (*ListLiveTabletServersResponsePB) ProtoReflect

func (*ListLiveTabletServersResponsePB) Reset

func (*ListLiveTabletServersResponsePB) String

type ListLiveTabletServersResponsePB_Entry

type ListLiveTabletServersResponsePB_Entry struct {
	InstanceId        *NodeInstancePB   `protobuf:"bytes,1,req,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
	Registration      *TSRegistrationPB `protobuf:"bytes,2,opt,name=registration" json:"registration,omitempty"`
	IsFromReadReplica *bool             `protobuf:"varint,3,opt,name=isFromReadReplica" json:"isFromReadReplica,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLiveTabletServersResponsePB_Entry) Descriptor deprecated

func (*ListLiveTabletServersResponsePB_Entry) Descriptor() ([]byte, []int)

Deprecated: Use ListLiveTabletServersResponsePB_Entry.ProtoReflect.Descriptor instead.

func (*ListLiveTabletServersResponsePB_Entry) GetInstanceId

func (*ListLiveTabletServersResponsePB_Entry) GetIsFromReadReplica

func (x *ListLiveTabletServersResponsePB_Entry) GetIsFromReadReplica() bool

func (*ListLiveTabletServersResponsePB_Entry) GetRegistration

func (*ListLiveTabletServersResponsePB_Entry) ProtoMessage

func (*ListLiveTabletServersResponsePB_Entry) ProtoMessage()

func (*ListLiveTabletServersResponsePB_Entry) ProtoReflect

func (*ListLiveTabletServersResponsePB_Entry) Reset

func (*ListLiveTabletServersResponsePB_Entry) String

type ListMasterRaftPeersRequestPB

type ListMasterRaftPeersRequestPB struct {
	// contains filtered or unexported fields
}

ListMasterRaftPeersRequest/Response: get information about all of the known servers which are part of this master's version of the currently active Raft quorum. This also captures any inflight change config operations which are not yet tracked by in-memory options and hence can give a more current picture of peers compared with ListMastersResponse.

func (*ListMasterRaftPeersRequestPB) Descriptor deprecated

func (*ListMasterRaftPeersRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListMasterRaftPeersRequestPB.ProtoReflect.Descriptor instead.

func (*ListMasterRaftPeersRequestPB) ProtoMessage

func (*ListMasterRaftPeersRequestPB) ProtoMessage()

func (*ListMasterRaftPeersRequestPB) ProtoReflect

func (*ListMasterRaftPeersRequestPB) Reset

func (x *ListMasterRaftPeersRequestPB) Reset()

func (*ListMasterRaftPeersRequestPB) String

type ListMasterRaftPeersResponsePB

type ListMasterRaftPeersResponsePB struct {

	// An entry for each individual master server.
	Masters []*RaftPeerPB `protobuf:"bytes,1,rep,name=masters" json:"masters,omitempty"`
	// Set only if there's an error in retrieving the list of servers or
	// in getting this server's own local registration information.
	Error *MasterErrorPB `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMasterRaftPeersResponsePB) Descriptor deprecated

func (*ListMasterRaftPeersResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListMasterRaftPeersResponsePB.ProtoReflect.Descriptor instead.

func (*ListMasterRaftPeersResponsePB) GetError

func (*ListMasterRaftPeersResponsePB) GetMasters

func (x *ListMasterRaftPeersResponsePB) GetMasters() []*RaftPeerPB

func (*ListMasterRaftPeersResponsePB) ProtoMessage

func (*ListMasterRaftPeersResponsePB) ProtoMessage()

func (*ListMasterRaftPeersResponsePB) ProtoReflect

func (*ListMasterRaftPeersResponsePB) Reset

func (x *ListMasterRaftPeersResponsePB) Reset()

func (*ListMasterRaftPeersResponsePB) String

type ListMastersRequestPB

type ListMastersRequestPB struct {
	// contains filtered or unexported fields
}

ListMastersRequest/Response: get information about all of the known master servers, including this node from the in-memory options.

func (*ListMastersRequestPB) Descriptor deprecated

func (*ListMastersRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListMastersRequestPB.ProtoReflect.Descriptor instead.

func (*ListMastersRequestPB) ProtoMessage

func (*ListMastersRequestPB) ProtoMessage()

func (*ListMastersRequestPB) ProtoReflect

func (x *ListMastersRequestPB) ProtoReflect() protoreflect.Message

func (*ListMastersRequestPB) Reset

func (x *ListMastersRequestPB) Reset()

func (*ListMastersRequestPB) String

func (x *ListMastersRequestPB) String() string

type ListMastersResponsePB

type ListMastersResponsePB struct {

	// An entry for each individual master server.
	Masters []*ServerEntryPB `protobuf:"bytes,1,rep,name=masters" json:"masters,omitempty"`
	// Set only if there's an error in retrieving the list of servers or
	// in getting this server's own local registration information.
	Error *MasterErrorPB `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMastersResponsePB) Descriptor deprecated

func (*ListMastersResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListMastersResponsePB.ProtoReflect.Descriptor instead.

func (*ListMastersResponsePB) GetError

func (x *ListMastersResponsePB) GetError() *MasterErrorPB

func (*ListMastersResponsePB) GetMasters

func (x *ListMastersResponsePB) GetMasters() []*ServerEntryPB

func (*ListMastersResponsePB) ProtoMessage

func (*ListMastersResponsePB) ProtoMessage()

func (*ListMastersResponsePB) ProtoReflect

func (x *ListMastersResponsePB) ProtoReflect() protoreflect.Message

func (*ListMastersResponsePB) Reset

func (x *ListMastersResponsePB) Reset()

func (*ListMastersResponsePB) String

func (x *ListMastersResponsePB) String() string

type ListNamespacesRequestPB

type ListNamespacesRequestPB struct {
	DatabaseType *YQLDatabase `protobuf:"varint,1,opt,name=database_type,json=databaseType,enum=yb.YQLDatabase,def=2" json:"database_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesRequestPB) Descriptor deprecated

func (*ListNamespacesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListNamespacesRequestPB.ProtoReflect.Descriptor instead.

func (*ListNamespacesRequestPB) GetDatabaseType

func (x *ListNamespacesRequestPB) GetDatabaseType() YQLDatabase

func (*ListNamespacesRequestPB) ProtoMessage

func (*ListNamespacesRequestPB) ProtoMessage()

func (*ListNamespacesRequestPB) ProtoReflect

func (x *ListNamespacesRequestPB) ProtoReflect() protoreflect.Message

func (*ListNamespacesRequestPB) Reset

func (x *ListNamespacesRequestPB) Reset()

func (*ListNamespacesRequestPB) String

func (x *ListNamespacesRequestPB) String() string

type ListNamespacesResponsePB

type ListNamespacesResponsePB struct {

	// The error, if an error occurred with this request.
	Error      *MasterErrorPB           `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Namespaces []*NamespaceIdentifierPB `protobuf:"bytes,2,rep,name=namespaces" json:"namespaces,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNamespacesResponsePB) Descriptor deprecated

func (*ListNamespacesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListNamespacesResponsePB.ProtoReflect.Descriptor instead.

func (*ListNamespacesResponsePB) GetError

func (x *ListNamespacesResponsePB) GetError() *MasterErrorPB

func (*ListNamespacesResponsePB) GetNamespaces

func (x *ListNamespacesResponsePB) GetNamespaces() []*NamespaceIdentifierPB

func (*ListNamespacesResponsePB) ProtoMessage

func (*ListNamespacesResponsePB) ProtoMessage()

func (*ListNamespacesResponsePB) ProtoReflect

func (x *ListNamespacesResponsePB) ProtoReflect() protoreflect.Message

func (*ListNamespacesResponsePB) Reset

func (x *ListNamespacesResponsePB) Reset()

func (*ListNamespacesResponsePB) String

func (x *ListNamespacesResponsePB) String() string

type ListSnapshotRestorationsRequestPB added in v2.11.2

type ListSnapshotRestorationsRequestPB struct {
	SnapshotId    []byte `protobuf:"bytes,1,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`          // 16 bytes UUID
	RestorationId []byte `protobuf:"bytes,2,opt,name=restoration_id,json=restorationId" json:"restoration_id,omitempty"` // 16 bytes UUID
	// contains filtered or unexported fields
}

func (*ListSnapshotRestorationsRequestPB) Descriptor deprecated added in v2.11.2

func (*ListSnapshotRestorationsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotRestorationsRequestPB.ProtoReflect.Descriptor instead.

func (*ListSnapshotRestorationsRequestPB) GetRestorationId added in v2.11.2

func (x *ListSnapshotRestorationsRequestPB) GetRestorationId() []byte

func (*ListSnapshotRestorationsRequestPB) GetSnapshotId added in v2.11.2

func (x *ListSnapshotRestorationsRequestPB) GetSnapshotId() []byte

func (*ListSnapshotRestorationsRequestPB) ProtoMessage added in v2.11.2

func (*ListSnapshotRestorationsRequestPB) ProtoMessage()

func (*ListSnapshotRestorationsRequestPB) ProtoReflect added in v2.11.2

func (*ListSnapshotRestorationsRequestPB) Reset added in v2.11.2

func (*ListSnapshotRestorationsRequestPB) String added in v2.11.2

type ListSnapshotRestorationsResponsePB added in v2.11.2

type ListSnapshotRestorationsResponsePB struct {
	Status       *AppStatusPB         `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
	Restorations []*RestorationInfoPB `protobuf:"bytes,2,rep,name=restorations" json:"restorations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotRestorationsResponsePB) Descriptor deprecated added in v2.11.2

func (*ListSnapshotRestorationsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotRestorationsResponsePB.ProtoReflect.Descriptor instead.

func (*ListSnapshotRestorationsResponsePB) GetRestorations added in v2.11.2

func (x *ListSnapshotRestorationsResponsePB) GetRestorations() []*RestorationInfoPB

func (*ListSnapshotRestorationsResponsePB) GetStatus added in v2.11.2

func (*ListSnapshotRestorationsResponsePB) ProtoMessage added in v2.11.2

func (*ListSnapshotRestorationsResponsePB) ProtoMessage()

func (*ListSnapshotRestorationsResponsePB) ProtoReflect added in v2.11.2

func (*ListSnapshotRestorationsResponsePB) Reset added in v2.11.2

func (*ListSnapshotRestorationsResponsePB) String added in v2.11.2

type ListSnapshotSchedulesRequestPB added in v2.11.2

type ListSnapshotSchedulesRequestPB struct {

	// When snapshot_schedule_id is not specified, all schedules are listed.
	SnapshotScheduleId []byte `protobuf:"bytes,1,opt,name=snapshot_schedule_id,json=snapshotScheduleId" json:"snapshot_schedule_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotSchedulesRequestPB) Descriptor deprecated added in v2.11.2

func (*ListSnapshotSchedulesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotSchedulesRequestPB.ProtoReflect.Descriptor instead.

func (*ListSnapshotSchedulesRequestPB) GetSnapshotScheduleId added in v2.11.2

func (x *ListSnapshotSchedulesRequestPB) GetSnapshotScheduleId() []byte

func (*ListSnapshotSchedulesRequestPB) ProtoMessage added in v2.11.2

func (*ListSnapshotSchedulesRequestPB) ProtoMessage()

func (*ListSnapshotSchedulesRequestPB) ProtoReflect added in v2.11.2

func (*ListSnapshotSchedulesRequestPB) Reset added in v2.11.2

func (x *ListSnapshotSchedulesRequestPB) Reset()

func (*ListSnapshotSchedulesRequestPB) String added in v2.11.2

type ListSnapshotSchedulesResponsePB added in v2.11.2

type ListSnapshotSchedulesResponsePB struct {
	Error     *MasterErrorPB            `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Schedules []*SnapshotScheduleInfoPB `protobuf:"bytes,2,rep,name=schedules" json:"schedules,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotSchedulesResponsePB) Descriptor deprecated added in v2.11.2

func (*ListSnapshotSchedulesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotSchedulesResponsePB.ProtoReflect.Descriptor instead.

func (*ListSnapshotSchedulesResponsePB) GetError added in v2.11.2

func (*ListSnapshotSchedulesResponsePB) GetSchedules added in v2.11.2

func (*ListSnapshotSchedulesResponsePB) ProtoMessage added in v2.11.2

func (*ListSnapshotSchedulesResponsePB) ProtoMessage()

func (*ListSnapshotSchedulesResponsePB) ProtoReflect added in v2.11.2

func (*ListSnapshotSchedulesResponsePB) Reset added in v2.11.2

func (*ListSnapshotSchedulesResponsePB) String added in v2.11.2

type ListSnapshotsRequestPB added in v2.11.2

type ListSnapshotsRequestPB struct {
	SnapshotId           []byte `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	ListDeletedSnapshots *bool  `protobuf:"varint,3,opt,name=list_deleted_snapshots,json=listDeletedSnapshots" json:"list_deleted_snapshots,omitempty"`
	PrepareForBackup     *bool  `protobuf:"varint,4,opt,name=prepare_for_backup,json=prepareForBackup" json:"prepare_for_backup,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotsRequestPB) Descriptor deprecated added in v2.11.2

func (*ListSnapshotsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsRequestPB.ProtoReflect.Descriptor instead.

func (*ListSnapshotsRequestPB) GetListDeletedSnapshots added in v2.11.2

func (x *ListSnapshotsRequestPB) GetListDeletedSnapshots() bool

func (*ListSnapshotsRequestPB) GetPrepareForBackup added in v2.11.2

func (x *ListSnapshotsRequestPB) GetPrepareForBackup() bool

func (*ListSnapshotsRequestPB) GetSnapshotId added in v2.11.2

func (x *ListSnapshotsRequestPB) GetSnapshotId() []byte

func (*ListSnapshotsRequestPB) ProtoMessage added in v2.11.2

func (*ListSnapshotsRequestPB) ProtoMessage()

func (*ListSnapshotsRequestPB) ProtoReflect added in v2.11.2

func (x *ListSnapshotsRequestPB) ProtoReflect() protoreflect.Message

func (*ListSnapshotsRequestPB) Reset added in v2.11.2

func (x *ListSnapshotsRequestPB) Reset()

func (*ListSnapshotsRequestPB) String added in v2.11.2

func (x *ListSnapshotsRequestPB) String() string

type ListSnapshotsResponsePB added in v2.11.2

type ListSnapshotsResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// Non-transactional snapshot currently being created/restored.
	CurrentSnapshotId []byte            `protobuf:"bytes,2,opt,name=current_snapshot_id,json=currentSnapshotId" json:"current_snapshot_id,omitempty"`
	Snapshots         []*SnapshotInfoPB `protobuf:"bytes,3,rep,name=snapshots" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSnapshotsResponsePB) Descriptor deprecated added in v2.11.2

func (*ListSnapshotsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsResponsePB.ProtoReflect.Descriptor instead.

func (*ListSnapshotsResponsePB) GetCurrentSnapshotId added in v2.11.2

func (x *ListSnapshotsResponsePB) GetCurrentSnapshotId() []byte

func (*ListSnapshotsResponsePB) GetError added in v2.11.2

func (x *ListSnapshotsResponsePB) GetError() *MasterErrorPB

func (*ListSnapshotsResponsePB) GetSnapshots added in v2.11.2

func (x *ListSnapshotsResponsePB) GetSnapshots() []*SnapshotInfoPB

func (*ListSnapshotsResponsePB) ProtoMessage added in v2.11.2

func (*ListSnapshotsResponsePB) ProtoMessage()

func (*ListSnapshotsResponsePB) ProtoReflect added in v2.11.2

func (x *ListSnapshotsResponsePB) ProtoReflect() protoreflect.Message

func (*ListSnapshotsResponsePB) Reset added in v2.11.2

func (x *ListSnapshotsResponsePB) Reset()

func (*ListSnapshotsResponsePB) String added in v2.11.2

func (x *ListSnapshotsResponsePB) String() string

type ListTablegroupsRequestPB

type ListTablegroupsRequestPB struct {
	NamespaceId []byte `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTablegroupsRequestPB) Descriptor deprecated

func (*ListTablegroupsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListTablegroupsRequestPB.ProtoReflect.Descriptor instead.

func (*ListTablegroupsRequestPB) GetNamespaceId

func (x *ListTablegroupsRequestPB) GetNamespaceId() []byte

func (*ListTablegroupsRequestPB) ProtoMessage

func (*ListTablegroupsRequestPB) ProtoMessage()

func (*ListTablegroupsRequestPB) ProtoReflect

func (x *ListTablegroupsRequestPB) ProtoReflect() protoreflect.Message

func (*ListTablegroupsRequestPB) Reset

func (x *ListTablegroupsRequestPB) Reset()

func (*ListTablegroupsRequestPB) String

func (x *ListTablegroupsRequestPB) String() string

type ListTablegroupsResponsePB

type ListTablegroupsResponsePB struct {

	// The error, if an error occurred with this request.
	Error       *MasterErrorPB            `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Tablegroups []*TablegroupIdentifierPB `protobuf:"bytes,2,rep,name=tablegroups" json:"tablegroups,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTablegroupsResponsePB) Descriptor deprecated

func (*ListTablegroupsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListTablegroupsResponsePB.ProtoReflect.Descriptor instead.

func (*ListTablegroupsResponsePB) GetError

func (*ListTablegroupsResponsePB) GetTablegroups

func (x *ListTablegroupsResponsePB) GetTablegroups() []*TablegroupIdentifierPB

func (*ListTablegroupsResponsePB) ProtoMessage

func (*ListTablegroupsResponsePB) ProtoMessage()

func (*ListTablegroupsResponsePB) ProtoReflect

func (*ListTablegroupsResponsePB) Reset

func (x *ListTablegroupsResponsePB) Reset()

func (*ListTablegroupsResponsePB) String

func (x *ListTablegroupsResponsePB) String() string

type ListTablesRequestPB

type ListTablesRequestPB struct {

	// When used, only returns tables that satisfy a substring match on name_filter.
	NameFilter *string `protobuf:"bytes,1,opt,name=name_filter,json=nameFilter" json:"name_filter,omitempty"`
	// Can be used to list tables for this one particular namespace.
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,2,opt,name=namespace" json:"namespace,omitempty"`
	// Exclude system tables.
	ExcludeSystemTables *bool `protobuf:"varint,3,opt,name=exclude_system_tables,json=excludeSystemTables,def=0" json:"exclude_system_tables,omitempty"`
	// Can be used to filter tables based on RelationType
	RelationTypeFilter []RelationType `` /* 139-byte string literal not displayed */
	IncludeNotRunning  *bool          `protobuf:"varint,5,opt,name=include_not_running,json=includeNotRunning" json:"include_not_running,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTablesRequestPB) Descriptor deprecated

func (*ListTablesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListTablesRequestPB.ProtoReflect.Descriptor instead.

func (*ListTablesRequestPB) GetExcludeSystemTables

func (x *ListTablesRequestPB) GetExcludeSystemTables() bool

func (*ListTablesRequestPB) GetIncludeNotRunning

func (x *ListTablesRequestPB) GetIncludeNotRunning() bool

func (*ListTablesRequestPB) GetNameFilter

func (x *ListTablesRequestPB) GetNameFilter() string

func (*ListTablesRequestPB) GetNamespace

func (x *ListTablesRequestPB) GetNamespace() *NamespaceIdentifierPB

func (*ListTablesRequestPB) GetRelationTypeFilter

func (x *ListTablesRequestPB) GetRelationTypeFilter() []RelationType

func (*ListTablesRequestPB) ProtoMessage

func (*ListTablesRequestPB) ProtoMessage()

func (*ListTablesRequestPB) ProtoReflect

func (x *ListTablesRequestPB) ProtoReflect() protoreflect.Message

func (*ListTablesRequestPB) Reset

func (x *ListTablesRequestPB) Reset()

func (*ListTablesRequestPB) String

func (x *ListTablesRequestPB) String() string

type ListTablesResponsePB

type ListTablesResponsePB struct {

	// The error, if an error occurred with this request.
	Error  *MasterErrorPB                    `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Tables []*ListTablesResponsePB_TableInfo `protobuf:"bytes,2,rep,name=tables" json:"tables,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTablesResponsePB) Descriptor deprecated

func (*ListTablesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListTablesResponsePB.ProtoReflect.Descriptor instead.

func (*ListTablesResponsePB) GetError

func (x *ListTablesResponsePB) GetError() *MasterErrorPB

func (*ListTablesResponsePB) GetTables

func (*ListTablesResponsePB) ProtoMessage

func (*ListTablesResponsePB) ProtoMessage()

func (*ListTablesResponsePB) ProtoReflect

func (x *ListTablesResponsePB) ProtoReflect() protoreflect.Message

func (*ListTablesResponsePB) Reset

func (x *ListTablesResponsePB) Reset()

func (*ListTablesResponsePB) String

func (x *ListTablesResponsePB) String() string

type ListTablesResponsePB_TableInfo

type ListTablesResponsePB_TableInfo struct {
	Id           []byte                  `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	Name         *string                 `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	TableType    *TableType              `protobuf:"varint,3,opt,name=table_type,json=tableType,enum=yb.TableType" json:"table_type,omitempty"`
	Namespace    *NamespaceIdentifierPB  `protobuf:"bytes,4,opt,name=namespace" json:"namespace,omitempty"`
	RelationType *RelationType           `protobuf:"varint,5,opt,name=relation_type,json=relationType,enum=yb.master.RelationType,def=2" json:"relation_type,omitempty"`
	State        *SysTablesEntryPB_State `protobuf:"varint,6,opt,name=state,enum=yb.master.SysTablesEntryPB_State" json:"state,omitempty"`
	PgschemaName *string                 `protobuf:"bytes,7,opt,name=pgschema_name,json=pgschemaName" json:"pgschema_name,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTablesResponsePB_TableInfo) Descriptor deprecated

func (*ListTablesResponsePB_TableInfo) Descriptor() ([]byte, []int)

Deprecated: Use ListTablesResponsePB_TableInfo.ProtoReflect.Descriptor instead.

func (*ListTablesResponsePB_TableInfo) GetId

func (x *ListTablesResponsePB_TableInfo) GetId() []byte

func (*ListTablesResponsePB_TableInfo) GetName

func (*ListTablesResponsePB_TableInfo) GetNamespace

func (*ListTablesResponsePB_TableInfo) GetPgschemaName added in v2.13.0

func (x *ListTablesResponsePB_TableInfo) GetPgschemaName() string

func (*ListTablesResponsePB_TableInfo) GetRelationType

func (x *ListTablesResponsePB_TableInfo) GetRelationType() RelationType

func (*ListTablesResponsePB_TableInfo) GetState

func (*ListTablesResponsePB_TableInfo) GetTableType

func (x *ListTablesResponsePB_TableInfo) GetTableType() TableType

func (*ListTablesResponsePB_TableInfo) ProtoMessage

func (*ListTablesResponsePB_TableInfo) ProtoMessage()

func (*ListTablesResponsePB_TableInfo) ProtoReflect

func (*ListTablesResponsePB_TableInfo) Reset

func (x *ListTablesResponsePB_TableInfo) Reset()

func (*ListTablesResponsePB_TableInfo) String

type ListTabletServersRequestPB

type ListTabletServersRequestPB struct {

	// If set to true, return only the tservers which are in the primary/sync cluster.
	PrimaryOnly *bool `protobuf:"varint,1,opt,name=primary_only,json=primaryOnly,def=0" json:"primary_only,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTabletServersRequestPB) Descriptor deprecated

func (*ListTabletServersRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletServersRequestPB.ProtoReflect.Descriptor instead.

func (*ListTabletServersRequestPB) GetPrimaryOnly

func (x *ListTabletServersRequestPB) GetPrimaryOnly() bool

func (*ListTabletServersRequestPB) ProtoMessage

func (*ListTabletServersRequestPB) ProtoMessage()

func (*ListTabletServersRequestPB) ProtoReflect

func (*ListTabletServersRequestPB) Reset

func (x *ListTabletServersRequestPB) Reset()

func (*ListTabletServersRequestPB) String

func (x *ListTabletServersRequestPB) String() string

type ListTabletServersResponsePB

type ListTabletServersResponsePB struct {
	Error   *MasterErrorPB                       `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Servers []*ListTabletServersResponsePB_Entry `protobuf:"bytes,2,rep,name=servers" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTabletServersResponsePB) Descriptor deprecated

func (*ListTabletServersResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletServersResponsePB.ProtoReflect.Descriptor instead.

func (*ListTabletServersResponsePB) GetError

func (*ListTabletServersResponsePB) GetServers

func (*ListTabletServersResponsePB) ProtoMessage

func (*ListTabletServersResponsePB) ProtoMessage()

func (*ListTabletServersResponsePB) ProtoReflect

func (*ListTabletServersResponsePB) Reset

func (x *ListTabletServersResponsePB) Reset()

func (*ListTabletServersResponsePB) String

func (x *ListTabletServersResponsePB) String() string

type ListTabletServersResponsePB_Entry

type ListTabletServersResponsePB_Entry struct {
	InstanceId           *NodeInstancePB   `protobuf:"bytes,1,req,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
	Registration         *TSRegistrationPB `protobuf:"bytes,2,opt,name=registration" json:"registration,omitempty"`
	MillisSinceHeartbeat *int32            `protobuf:"varint,3,opt,name=millis_since_heartbeat,json=millisSinceHeartbeat" json:"millis_since_heartbeat,omitempty"`
	Alive                *bool             `protobuf:"varint,4,opt,name=alive" json:"alive,omitempty"`
	Metrics              *TServerMetricsPB `protobuf:"bytes,5,opt,name=metrics" json:"metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTabletServersResponsePB_Entry) Descriptor deprecated

func (*ListTabletServersResponsePB_Entry) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletServersResponsePB_Entry.ProtoReflect.Descriptor instead.

func (*ListTabletServersResponsePB_Entry) GetAlive

func (*ListTabletServersResponsePB_Entry) GetInstanceId

func (*ListTabletServersResponsePB_Entry) GetMetrics

func (*ListTabletServersResponsePB_Entry) GetMillisSinceHeartbeat

func (x *ListTabletServersResponsePB_Entry) GetMillisSinceHeartbeat() int32

func (*ListTabletServersResponsePB_Entry) GetRegistration

func (*ListTabletServersResponsePB_Entry) ProtoMessage

func (*ListTabletServersResponsePB_Entry) ProtoMessage()

func (*ListTabletServersResponsePB_Entry) ProtoReflect

func (*ListTabletServersResponsePB_Entry) Reset

func (*ListTabletServersResponsePB_Entry) String

type ListTabletsForTabletServerRequestPB

type ListTabletsForTabletServerRequestPB struct {
	// contains filtered or unexported fields
}

func (*ListTabletsForTabletServerRequestPB) Descriptor deprecated

func (*ListTabletsForTabletServerRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletsForTabletServerRequestPB.ProtoReflect.Descriptor instead.

func (*ListTabletsForTabletServerRequestPB) ProtoMessage

func (*ListTabletsForTabletServerRequestPB) ProtoMessage()

func (*ListTabletsForTabletServerRequestPB) ProtoReflect

func (*ListTabletsForTabletServerRequestPB) Reset

func (*ListTabletsForTabletServerRequestPB) String

type ListTabletsForTabletServerResponsePB

type ListTabletsForTabletServerResponsePB struct {
	Entries []*ListTabletsForTabletServerResponsePB_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTabletsForTabletServerResponsePB) Descriptor deprecated

func (*ListTabletsForTabletServerResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletsForTabletServerResponsePB.ProtoReflect.Descriptor instead.

func (*ListTabletsForTabletServerResponsePB) GetEntries

func (*ListTabletsForTabletServerResponsePB) ProtoMessage

func (*ListTabletsForTabletServerResponsePB) ProtoMessage()

func (*ListTabletsForTabletServerResponsePB) ProtoReflect

func (*ListTabletsForTabletServerResponsePB) Reset

func (*ListTabletsForTabletServerResponsePB) String

type ListTabletsForTabletServerResponsePB_Entry

type ListTabletsForTabletServerResponsePB_Entry struct {
	TableName           *string           `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	TabletId            []byte            `protobuf:"bytes,2,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	IsLeader            *bool             `protobuf:"varint,3,opt,name=is_leader,json=isLeader" json:"is_leader,omitempty"`
	State               *RaftGroupStatePB `protobuf:"varint,4,opt,name=state,enum=yb.tablet.RaftGroupStatePB" json:"state,omitempty"`
	NumSstFiles         *uint64           `protobuf:"varint,5,opt,name=num_sst_files,json=numSstFiles" json:"num_sst_files,omitempty"`
	NumLogSegments      *uint64           `protobuf:"varint,6,opt,name=num_log_segments,json=numLogSegments" json:"num_log_segments,omitempty"`
	NumMemtablesIntents *uint64           `protobuf:"varint,7,opt,name=num_memtables_intents,json=numMemtablesIntents" json:"num_memtables_intents,omitempty"`
	NumMemtablesRegular *uint64           `protobuf:"varint,8,opt,name=num_memtables_regular,json=numMemtablesRegular" json:"num_memtables_regular,omitempty"`
	// contains filtered or unexported fields
}

An entry for each tablet.

func (*ListTabletsForTabletServerResponsePB_Entry) Descriptor deprecated

Deprecated: Use ListTabletsForTabletServerResponsePB_Entry.ProtoReflect.Descriptor instead.

func (*ListTabletsForTabletServerResponsePB_Entry) GetIsLeader

func (*ListTabletsForTabletServerResponsePB_Entry) GetNumLogSegments

func (x *ListTabletsForTabletServerResponsePB_Entry) GetNumLogSegments() uint64

func (*ListTabletsForTabletServerResponsePB_Entry) GetNumMemtablesIntents

func (x *ListTabletsForTabletServerResponsePB_Entry) GetNumMemtablesIntents() uint64

func (*ListTabletsForTabletServerResponsePB_Entry) GetNumMemtablesRegular

func (x *ListTabletsForTabletServerResponsePB_Entry) GetNumMemtablesRegular() uint64

func (*ListTabletsForTabletServerResponsePB_Entry) GetNumSstFiles

func (*ListTabletsForTabletServerResponsePB_Entry) GetState

func (*ListTabletsForTabletServerResponsePB_Entry) GetTableName

func (*ListTabletsForTabletServerResponsePB_Entry) GetTabletId

func (*ListTabletsForTabletServerResponsePB_Entry) ProtoMessage

func (*ListTabletsForTabletServerResponsePB_Entry) ProtoReflect

func (*ListTabletsForTabletServerResponsePB_Entry) Reset

func (*ListTabletsForTabletServerResponsePB_Entry) String

type ListTabletsRequestPB

type ListTabletsRequestPB struct {
	// contains filtered or unexported fields
}

A list tablets request

func (*ListTabletsRequestPB) Descriptor deprecated

func (*ListTabletsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletsRequestPB.ProtoReflect.Descriptor instead.

func (*ListTabletsRequestPB) ProtoMessage

func (*ListTabletsRequestPB) ProtoMessage()

func (*ListTabletsRequestPB) ProtoReflect

func (x *ListTabletsRequestPB) ProtoReflect() protoreflect.Message

func (*ListTabletsRequestPB) Reset

func (x *ListTabletsRequestPB) Reset()

func (*ListTabletsRequestPB) String

func (x *ListTabletsRequestPB) String() string

type ListTabletsResponsePB

type ListTabletsResponsePB struct {
	Error           *TabletServerErrorPB                       `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	StatusAndSchema []*ListTabletsResponsePB_StatusAndSchemaPB `protobuf:"bytes,2,rep,name=status_and_schema,json=statusAndSchema" json:"status_and_schema,omitempty"`
	// contains filtered or unexported fields
}

A list tablets response

func (*ListTabletsResponsePB) Descriptor deprecated

func (*ListTabletsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletsResponsePB.ProtoReflect.Descriptor instead.

func (*ListTabletsResponsePB) GetError

func (*ListTabletsResponsePB) GetStatusAndSchema

func (*ListTabletsResponsePB) ProtoMessage

func (*ListTabletsResponsePB) ProtoMessage()

func (*ListTabletsResponsePB) ProtoReflect

func (x *ListTabletsResponsePB) ProtoReflect() protoreflect.Message

func (*ListTabletsResponsePB) Reset

func (x *ListTabletsResponsePB) Reset()

func (*ListTabletsResponsePB) String

func (x *ListTabletsResponsePB) String() string

type ListTabletsResponsePB_StatusAndSchemaPB

type ListTabletsResponsePB_StatusAndSchemaPB struct {
	TabletStatus    *TabletStatusPB    `protobuf:"bytes,1,req,name=tablet_status,json=tabletStatus" json:"tablet_status,omitempty"`
	Schema          *SchemaPB          `protobuf:"bytes,2,req,name=schema" json:"schema,omitempty"`
	PartitionSchema *PartitionSchemaPB `protobuf:"bytes,3,opt,name=partition_schema,json=partitionSchema" json:"partition_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTabletsResponsePB_StatusAndSchemaPB) Descriptor deprecated

func (*ListTabletsResponsePB_StatusAndSchemaPB) Descriptor() ([]byte, []int)

Deprecated: Use ListTabletsResponsePB_StatusAndSchemaPB.ProtoReflect.Descriptor instead.

func (*ListTabletsResponsePB_StatusAndSchemaPB) GetPartitionSchema

func (*ListTabletsResponsePB_StatusAndSchemaPB) GetSchema

func (*ListTabletsResponsePB_StatusAndSchemaPB) GetTabletStatus

func (*ListTabletsResponsePB_StatusAndSchemaPB) ProtoMessage

func (*ListTabletsResponsePB_StatusAndSchemaPB) ProtoReflect

func (*ListTabletsResponsePB_StatusAndSchemaPB) Reset

func (*ListTabletsResponsePB_StatusAndSchemaPB) String

type ListUDTypesRequestPB

type ListUDTypesRequestPB struct {
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUDTypesRequestPB) Descriptor deprecated

func (*ListUDTypesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ListUDTypesRequestPB.ProtoReflect.Descriptor instead.

func (*ListUDTypesRequestPB) GetNamespace

func (x *ListUDTypesRequestPB) GetNamespace() *NamespaceIdentifierPB

func (*ListUDTypesRequestPB) ProtoMessage

func (*ListUDTypesRequestPB) ProtoMessage()

func (*ListUDTypesRequestPB) ProtoReflect

func (x *ListUDTypesRequestPB) ProtoReflect() protoreflect.Message

func (*ListUDTypesRequestPB) Reset

func (x *ListUDTypesRequestPB) Reset()

func (*ListUDTypesRequestPB) String

func (x *ListUDTypesRequestPB) String() string

type ListUDTypesResponsePB

type ListUDTypesResponsePB struct {

	// The error, if an error occurred with this request.
	Error   *MasterErrorPB  `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Udtypes []*UDTypeInfoPB `protobuf:"bytes,2,rep,name=udtypes" json:"udtypes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUDTypesResponsePB) Descriptor deprecated

func (*ListUDTypesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ListUDTypesResponsePB.ProtoReflect.Descriptor instead.

func (*ListUDTypesResponsePB) GetError

func (x *ListUDTypesResponsePB) GetError() *MasterErrorPB

func (*ListUDTypesResponsePB) GetUdtypes

func (x *ListUDTypesResponsePB) GetUdtypes() []*UDTypeInfoPB

func (*ListUDTypesResponsePB) ProtoMessage

func (*ListUDTypesResponsePB) ProtoMessage()

func (*ListUDTypesResponsePB) ProtoReflect

func (x *ListUDTypesResponsePB) ProtoReflect() protoreflect.Message

func (*ListUDTypesResponsePB) Reset

func (x *ListUDTypesResponsePB) Reset()

func (*ListUDTypesResponsePB) String

func (x *ListUDTypesResponsePB) String() string

type LogEntryBatchPB

type LogEntryBatchPB struct {
	Entry         []*LogEntryPB `protobuf:"bytes,1,rep,name=entry" json:"entry,omitempty"`
	CommittedOpId *OpIdPB       `protobuf:"bytes,2,opt,name=committed_op_id,json=committedOpId" json:"committed_op_id,omitempty"`
	// Time when this batch was appended, this time is monotonically increase,
	// and restart safe. I.e. first batch after restart will have time greater than or equal to
	// time of last batch added before restart.
	MonoTime *uint64 `protobuf:"varint,3,opt,name=mono_time,json=monoTime" json:"mono_time,omitempty"`
	// contains filtered or unexported fields
}

A batch of entries in the WAL.

func (*LogEntryBatchPB) Descriptor deprecated

func (*LogEntryBatchPB) Descriptor() ([]byte, []int)

Deprecated: Use LogEntryBatchPB.ProtoReflect.Descriptor instead.

func (*LogEntryBatchPB) GetCommittedOpId

func (x *LogEntryBatchPB) GetCommittedOpId() *OpIdPB

func (*LogEntryBatchPB) GetEntry

func (x *LogEntryBatchPB) GetEntry() []*LogEntryPB

func (*LogEntryBatchPB) GetMonoTime

func (x *LogEntryBatchPB) GetMonoTime() uint64

func (*LogEntryBatchPB) ProtoMessage

func (*LogEntryBatchPB) ProtoMessage()

func (*LogEntryBatchPB) ProtoReflect

func (x *LogEntryBatchPB) ProtoReflect() protoreflect.Message

func (*LogEntryBatchPB) Reset

func (x *LogEntryBatchPB) Reset()

func (*LogEntryBatchPB) String

func (x *LogEntryBatchPB) String() string

type LogEntryPB

type LogEntryPB struct {
	Type      *LogEntryTypePB `protobuf:"varint,1,req,name=type,enum=yb.log.LogEntryTypePB" json:"type,omitempty"`
	Replicate *ReplicateMsg   `protobuf:"bytes,2,opt,name=replicate" json:"replicate,omitempty"`
	// contains filtered or unexported fields
}

An entry in the WAL/state machine log.

func (*LogEntryPB) Descriptor deprecated

func (*LogEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use LogEntryPB.ProtoReflect.Descriptor instead.

func (*LogEntryPB) GetReplicate

func (x *LogEntryPB) GetReplicate() *ReplicateMsg

func (*LogEntryPB) GetType

func (x *LogEntryPB) GetType() LogEntryTypePB

func (*LogEntryPB) ProtoMessage

func (*LogEntryPB) ProtoMessage()

func (*LogEntryPB) ProtoReflect

func (x *LogEntryPB) ProtoReflect() protoreflect.Message

func (*LogEntryPB) Reset

func (x *LogEntryPB) Reset()

func (*LogEntryPB) String

func (x *LogEntryPB) String() string

type LogEntryTypePB

type LogEntryTypePB int32

Types of log entries.

const (
	LogEntryTypePB_UNKNOWN   LogEntryTypePB = 0
	LogEntryTypePB_REPLICATE LogEntryTypePB = 1
	// Roll over active log segment before writing the next entry if active segment is not empty.
	LogEntryTypePB_ROLLOVER_MARKER LogEntryTypePB = 998
	// Serve the purpose of making sure that all entries up to the FLUSH_MARKER entry are flushed.
	LogEntryTypePB_FLUSH_MARKER LogEntryTypePB = 999
)

func (LogEntryTypePB) Descriptor

func (LogEntryTypePB) Enum

func (x LogEntryTypePB) Enum() *LogEntryTypePB

func (LogEntryTypePB) EnumDescriptor deprecated

func (LogEntryTypePB) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogEntryTypePB.Descriptor instead.

func (LogEntryTypePB) Number

func (LogEntryTypePB) String

func (x LogEntryTypePB) String() string

func (LogEntryTypePB) Type

func (*LogEntryTypePB) UnmarshalJSON deprecated

func (x *LogEntryTypePB) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type LogSegmentFooterPB

type LogSegmentFooterPB struct {

	// The total number of operations inside this segment.
	NumEntries *int64 `protobuf:"varint,1,req,name=num_entries,json=numEntries" json:"num_entries,omitempty"`
	// The minimum and maximum index of a REPLICATE message in this segment.
	// NOTE: because of log truncation, the min/max are not necessarily the first/last!  For example,
	// a log segment may contain entries "1.5, 1.6, 2.3, 3.3" due to multiple term changes.
	//
	// Because it's possible for a segment to have no REPLICATE messages in it, we set the default
	// to -1 for these fields to avoid accidentally reading 0, which might look like a real log index.
	MinReplicateIndex *int64 `protobuf:"varint,2,opt,name=min_replicate_index,json=minReplicateIndex,def=-1" json:"min_replicate_index,omitempty"`
	MaxReplicateIndex *int64 `protobuf:"varint,3,opt,name=max_replicate_index,json=maxReplicateIndex,def=-1" json:"max_replicate_index,omitempty"`
	// The time (microseconds since epoch) when this segment was closed.
	// NOTE: in configurations where --skip_wal_rewrite=false is specified, log segments are rewritten
	// during bootstrap, so this field will be reset to the time of the bootstrap in each log segment
	// on a newly-restarted server, rather than copied over from the old log segments.
	CloseTimestampMicros *int64 `protobuf:"varint,4,opt,name=close_timestamp_micros,json=closeTimestampMicros" json:"close_timestamp_micros,omitempty"`
	// contains filtered or unexported fields
}

A footer for a log segment.

Log segment footers might not be present (e.g. if the server crashed) so they should contain no information that cannot be obtained by actually reading the entries in the log.

We use the footer to keep sparse index entries mapping op_id->offset (right now we just keep the first entry with an id in the log).

func (*LogSegmentFooterPB) Descriptor deprecated

func (*LogSegmentFooterPB) Descriptor() ([]byte, []int)

Deprecated: Use LogSegmentFooterPB.ProtoReflect.Descriptor instead.

func (*LogSegmentFooterPB) GetCloseTimestampMicros

func (x *LogSegmentFooterPB) GetCloseTimestampMicros() int64

func (*LogSegmentFooterPB) GetMaxReplicateIndex

func (x *LogSegmentFooterPB) GetMaxReplicateIndex() int64

func (*LogSegmentFooterPB) GetMinReplicateIndex

func (x *LogSegmentFooterPB) GetMinReplicateIndex() int64

func (*LogSegmentFooterPB) GetNumEntries

func (x *LogSegmentFooterPB) GetNumEntries() int64

func (*LogSegmentFooterPB) ProtoMessage

func (*LogSegmentFooterPB) ProtoMessage()

func (*LogSegmentFooterPB) ProtoReflect

func (x *LogSegmentFooterPB) ProtoReflect() protoreflect.Message

func (*LogSegmentFooterPB) Reset

func (x *LogSegmentFooterPB) Reset()

func (*LogSegmentFooterPB) String

func (x *LogSegmentFooterPB) String() string

type LogSegmentHeaderPB

type LogSegmentHeaderPB struct {

	// Log format major version.
	MajorVersion *uint32 `protobuf:"varint,1,req,name=major_version,json=majorVersion" json:"major_version,omitempty"`
	// Log format minor version.
	MinorVersion *uint32 `protobuf:"varint,2,req,name=minor_version,json=minorVersion" json:"minor_version,omitempty"`
	// The ID of the tablet this WAL segment stores entries for.
	UnusedTabletId []byte `protobuf:"bytes,5,req,name=unused_tablet_id,json=unusedTabletId" json:"unused_tablet_id,omitempty"`
	// The tablet-specific sequence number of this WAL segment.
	SequenceNumber *uint64 `protobuf:"varint,6,req,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
	// Schema used when appending entries to this log, and its version.
	UnusedSchema        *SchemaPB `protobuf:"bytes,7,req,name=unused_schema,json=unusedSchema" json:"unused_schema,omitempty"`
	UnusedSchemaVersion *uint32   `protobuf:"varint,8,opt,name=unused_schema_version,json=unusedSchemaVersion" json:"unused_schema_version,omitempty"`
	// contains filtered or unexported fields
}

A header for a log segment.

func (*LogSegmentHeaderPB) Descriptor deprecated

func (*LogSegmentHeaderPB) Descriptor() ([]byte, []int)

Deprecated: Use LogSegmentHeaderPB.ProtoReflect.Descriptor instead.

func (*LogSegmentHeaderPB) GetMajorVersion

func (x *LogSegmentHeaderPB) GetMajorVersion() uint32

func (*LogSegmentHeaderPB) GetMinorVersion

func (x *LogSegmentHeaderPB) GetMinorVersion() uint32

func (*LogSegmentHeaderPB) GetSequenceNumber

func (x *LogSegmentHeaderPB) GetSequenceNumber() uint64

func (*LogSegmentHeaderPB) GetUnusedSchema added in v2.11.2

func (x *LogSegmentHeaderPB) GetUnusedSchema() *SchemaPB

func (*LogSegmentHeaderPB) GetUnusedSchemaVersion added in v2.11.2

func (x *LogSegmentHeaderPB) GetUnusedSchemaVersion() uint32

func (*LogSegmentHeaderPB) GetUnusedTabletId added in v2.11.2

func (x *LogSegmentHeaderPB) GetUnusedTabletId() []byte

func (*LogSegmentHeaderPB) ProtoMessage

func (*LogSegmentHeaderPB) ProtoMessage()

func (*LogSegmentHeaderPB) ProtoReflect

func (x *LogSegmentHeaderPB) ProtoReflect() protoreflect.Message

func (*LogSegmentHeaderPB) Reset

func (x *LogSegmentHeaderPB) Reset()

func (*LogSegmentHeaderPB) String

func (x *LogSegmentHeaderPB) String() string

type MaintenanceManagerStatusPB

type MaintenanceManagerStatusPB struct {

	// The next operation that would run.
	BestOp *MaintenanceManagerStatusPB_MaintenanceOpPB `protobuf:"bytes,1,opt,name=best_op,json=bestOp" json:"best_op,omitempty"`
	// List of all the operations.
	RegisteredOperations []*MaintenanceManagerStatusPB_MaintenanceOpPB `protobuf:"bytes,2,rep,name=registered_operations,json=registeredOperations" json:"registered_operations,omitempty"`
	// This list is not guaranteed to be in any particular order. Can contain the same operation
	// multiple times.
	CompletedOperations []*MaintenanceManagerStatusPB_CompletedOpPB `protobuf:"bytes,3,rep,name=completed_operations,json=completedOperations" json:"completed_operations,omitempty"`
	// contains filtered or unexported fields
}

Used to present the maintenance manager's internal state.

func (*MaintenanceManagerStatusPB) Descriptor deprecated

func (*MaintenanceManagerStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceManagerStatusPB.ProtoReflect.Descriptor instead.

func (*MaintenanceManagerStatusPB) GetBestOp

func (*MaintenanceManagerStatusPB) GetCompletedOperations

func (*MaintenanceManagerStatusPB) GetRegisteredOperations

func (*MaintenanceManagerStatusPB) ProtoMessage

func (*MaintenanceManagerStatusPB) ProtoMessage()

func (*MaintenanceManagerStatusPB) ProtoReflect

func (*MaintenanceManagerStatusPB) Reset

func (x *MaintenanceManagerStatusPB) Reset()

func (*MaintenanceManagerStatusPB) String

func (x *MaintenanceManagerStatusPB) String() string

type MaintenanceManagerStatusPB_CompletedOpPB

type MaintenanceManagerStatusPB_CompletedOpPB struct {
	Name           *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	DurationMillis *int32  `protobuf:"varint,2,req,name=duration_millis,json=durationMillis" json:"duration_millis,omitempty"`
	// Number of seconds since this operation started.
	SecsSinceStart *int32 `protobuf:"varint,3,req,name=secs_since_start,json=secsSinceStart" json:"secs_since_start,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintenanceManagerStatusPB_CompletedOpPB) Descriptor deprecated

func (*MaintenanceManagerStatusPB_CompletedOpPB) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceManagerStatusPB_CompletedOpPB.ProtoReflect.Descriptor instead.

func (*MaintenanceManagerStatusPB_CompletedOpPB) GetDurationMillis

func (x *MaintenanceManagerStatusPB_CompletedOpPB) GetDurationMillis() int32

func (*MaintenanceManagerStatusPB_CompletedOpPB) GetName

func (*MaintenanceManagerStatusPB_CompletedOpPB) GetSecsSinceStart

func (x *MaintenanceManagerStatusPB_CompletedOpPB) GetSecsSinceStart() int32

func (*MaintenanceManagerStatusPB_CompletedOpPB) ProtoMessage

func (*MaintenanceManagerStatusPB_CompletedOpPB) ProtoReflect

func (*MaintenanceManagerStatusPB_CompletedOpPB) Reset

func (*MaintenanceManagerStatusPB_CompletedOpPB) String

type MaintenanceManagerStatusPB_MaintenanceOpPB

type MaintenanceManagerStatusPB_MaintenanceOpPB struct {
	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// Number of times this operation is currently running.
	Running           *uint32  `protobuf:"varint,2,req,name=running" json:"running,omitempty"`
	Runnable          *bool    `protobuf:"varint,3,req,name=runnable" json:"runnable,omitempty"`
	RamAnchoredBytes  *uint64  `protobuf:"varint,4,req,name=ram_anchored_bytes,json=ramAnchoredBytes" json:"ram_anchored_bytes,omitempty"`
	LogsRetainedBytes *int64   `protobuf:"varint,5,req,name=logs_retained_bytes,json=logsRetainedBytes" json:"logs_retained_bytes,omitempty"`
	PerfImprovement   *float64 `protobuf:"fixed64,6,req,name=perf_improvement,json=perfImprovement" json:"perf_improvement,omitempty"`
	// contains filtered or unexported fields
}

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) Descriptor deprecated

Deprecated: Use MaintenanceManagerStatusPB_MaintenanceOpPB.ProtoReflect.Descriptor instead.

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetLogsRetainedBytes

func (x *MaintenanceManagerStatusPB_MaintenanceOpPB) GetLogsRetainedBytes() int64

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetName

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetPerfImprovement

func (x *MaintenanceManagerStatusPB_MaintenanceOpPB) GetPerfImprovement() float64

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetRamAnchoredBytes

func (x *MaintenanceManagerStatusPB_MaintenanceOpPB) GetRamAnchoredBytes() uint64

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetRunnable

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) GetRunning

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) ProtoMessage

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) ProtoReflect

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) Reset

func (*MaintenanceManagerStatusPB_MaintenanceOpPB) String

type MasterAdminClient added in v2.11.2

MasterAdminClient is the client API for MasterAdmin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterAdminClient added in v2.11.2

func NewMasterAdminClient(cc grpc.ClientConnInterface) MasterAdminClient

type MasterAdminServer added in v2.11.2

MasterAdminServer is the server API for MasterAdmin service. All implementations should embed UnimplementedMasterAdminServer for forward compatibility

type MasterBackfillIndexRequestPB

type MasterBackfillIndexRequestPB struct {

	// The index to backfill. Used for YSQL
	IndexIdentifier *TableIdentifierPB `protobuf:"bytes,1,opt,name=index_identifier,json=indexIdentifier" json:"index_identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterBackfillIndexRequestPB) Descriptor deprecated

func (*MasterBackfillIndexRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use MasterBackfillIndexRequestPB.ProtoReflect.Descriptor instead.

func (*MasterBackfillIndexRequestPB) GetIndexIdentifier

func (x *MasterBackfillIndexRequestPB) GetIndexIdentifier() *TableIdentifierPB

func (*MasterBackfillIndexRequestPB) ProtoMessage

func (*MasterBackfillIndexRequestPB) ProtoMessage()

func (*MasterBackfillIndexRequestPB) ProtoReflect

func (*MasterBackfillIndexRequestPB) Reset

func (x *MasterBackfillIndexRequestPB) Reset()

func (*MasterBackfillIndexRequestPB) String

type MasterBackfillIndexResponsePB

type MasterBackfillIndexResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// The indexed table to backfill.
	TableIdentifier *TableIdentifierPB `protobuf:"bytes,2,opt,name=table_identifier,json=tableIdentifier" json:"table_identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterBackfillIndexResponsePB) Descriptor deprecated

func (*MasterBackfillIndexResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use MasterBackfillIndexResponsePB.ProtoReflect.Descriptor instead.

func (*MasterBackfillIndexResponsePB) GetError

func (*MasterBackfillIndexResponsePB) GetTableIdentifier

func (x *MasterBackfillIndexResponsePB) GetTableIdentifier() *TableIdentifierPB

func (*MasterBackfillIndexResponsePB) ProtoMessage

func (*MasterBackfillIndexResponsePB) ProtoMessage()

func (*MasterBackfillIndexResponsePB) ProtoReflect

func (*MasterBackfillIndexResponsePB) Reset

func (x *MasterBackfillIndexResponsePB) Reset()

func (*MasterBackfillIndexResponsePB) String

type MasterBackupClient added in v2.11.2

MasterBackupClient is the client API for MasterBackup service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterBackupClient added in v2.11.2

func NewMasterBackupClient(cc grpc.ClientConnInterface) MasterBackupClient

type MasterBackupServer added in v2.11.2

MasterBackupServer is the server API for MasterBackup service. All implementations should embed UnimplementedMasterBackupServer for forward compatibility

type MasterClientClient added in v2.11.2

type MasterClientClient interface {
	// Client->Master RPCs
	GetTabletLocations(ctx context.Context, in *GetTabletLocationsRequestPB, opts ...grpc.CallOption) (*GetTabletLocationsResponsePB, error)
	GetTableLocations(ctx context.Context, in *GetTableLocationsRequestPB, opts ...grpc.CallOption) (*GetTableLocationsResponsePB, error)
	GetTransactionStatusTablets(ctx context.Context, in *GetTransactionStatusTabletsRequestPB, opts ...grpc.CallOption) (*GetTransactionStatusTabletsResponsePB, error)
	// For Postgres:
	ReservePgsqlOids(ctx context.Context, in *ReservePgsqlOidsRequestPB, opts ...grpc.CallOption) (*ReservePgsqlOidsResponsePB, error)
	GetYsqlCatalogConfig(ctx context.Context, in *GetYsqlCatalogConfigRequestPB, opts ...grpc.CallOption) (*GetYsqlCatalogConfigResponsePB, error)
	// Redis Config
	RedisConfigSet(ctx context.Context, in *RedisConfigSetRequestPB, opts ...grpc.CallOption) (*RedisConfigSetResponsePB, error)
	RedisConfigGet(ctx context.Context, in *RedisConfigGetRequestPB, opts ...grpc.CallOption) (*RedisConfigGetResponsePB, error)
}

MasterClientClient is the client API for MasterClient service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterClientClient added in v2.11.2

func NewMasterClientClient(cc grpc.ClientConnInterface) MasterClientClient

type MasterClientServer added in v2.11.2

MasterClientServer is the server API for MasterClient service. All implementations should embed UnimplementedMasterClientServer for forward compatibility

type MasterClusterClient added in v2.11.2

type MasterClusterClient interface {
	// Administrative/monitoring RPCs
	ListTabletServers(ctx context.Context, in *ListTabletServersRequestPB, opts ...grpc.CallOption) (*ListTabletServersResponsePB, error)
	ListLiveTabletServers(ctx context.Context, in *ListLiveTabletServersRequestPB, opts ...grpc.CallOption) (*ListLiveTabletServersResponsePB, error)
	ListMasters(ctx context.Context, in *ListMastersRequestPB, opts ...grpc.CallOption) (*ListMastersResponsePB, error)
	ListMasterRaftPeers(ctx context.Context, in *ListMasterRaftPeersRequestPB, opts ...grpc.CallOption) (*ListMasterRaftPeersResponsePB, error)
	GetMasterRegistration(ctx context.Context, in *GetMasterRegistrationRequestPB, opts ...grpc.CallOption) (*GetMasterRegistrationResponsePB, error)
	// Get the ready status from the catalog manager for this master.
	// NOTE: Should be used only for unit testing purposes.
	IsMasterLeaderServiceReady(ctx context.Context, in *IsMasterLeaderReadyRequestPB, opts ...grpc.CallOption) (*IsMasterLeaderReadyResponsePB, error)
	// Dump master state from all the peers in the current master's quorum
	DumpState(ctx context.Context, in *DumpMasterStateRequestPB, opts ...grpc.CallOption) (*DumpMasterStateResponsePB, error)
	ChangeLoadBalancerState(ctx context.Context, in *ChangeLoadBalancerStateRequestPB, opts ...grpc.CallOption) (*ChangeLoadBalancerStateResponsePB, error)
	GetLoadBalancerState(ctx context.Context, in *GetLoadBalancerStateRequestPB, opts ...grpc.CallOption) (*GetLoadBalancerStateResponsePB, error)
	RemovedMasterUpdate(ctx context.Context, in *RemovedMasterUpdateRequestPB, opts ...grpc.CallOption) (*RemovedMasterUpdateResponsePB, error)
	SetPreferredZones(ctx context.Context, in *SetPreferredZonesRequestPB, opts ...grpc.CallOption) (*SetPreferredZonesResponsePB, error)
	GetMasterClusterConfig(ctx context.Context, in *GetMasterClusterConfigRequestPB, opts ...grpc.CallOption) (*GetMasterClusterConfigResponsePB, error)
	ChangeMasterClusterConfig(ctx context.Context, in *ChangeMasterClusterConfigRequestPB, opts ...grpc.CallOption) (*ChangeMasterClusterConfigResponsePB, error)
	GetLoadMoveCompletion(ctx context.Context, in *GetLoadMovePercentRequestPB, opts ...grpc.CallOption) (*GetLoadMovePercentResponsePB, error)
	GetLeaderBlacklistCompletion(ctx context.Context, in *GetLeaderBlacklistPercentRequestPB, opts ...grpc.CallOption) (*GetLoadMovePercentResponsePB, error)
	IsLoadBalanced(ctx context.Context, in *IsLoadBalancedRequestPB, opts ...grpc.CallOption) (*IsLoadBalancedResponsePB, error)
	IsLoadBalancerIdle(ctx context.Context, in *IsLoadBalancerIdleRequestPB, opts ...grpc.CallOption) (*IsLoadBalancerIdleResponsePB, error)
	AreLeadersOnPreferredOnly(ctx context.Context, in *AreLeadersOnPreferredOnlyRequestPB, opts ...grpc.CallOption) (*AreLeadersOnPreferredOnlyResponsePB, error)
}

MasterClusterClient is the client API for MasterCluster service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterClusterClient added in v2.11.2

func NewMasterClusterClient(cc grpc.ClientConnInterface) MasterClusterClient

type MasterClusterServer added in v2.11.2

type MasterClusterServer interface {
	// Administrative/monitoring RPCs
	ListTabletServers(context.Context, *ListTabletServersRequestPB) (*ListTabletServersResponsePB, error)
	ListLiveTabletServers(context.Context, *ListLiveTabletServersRequestPB) (*ListLiveTabletServersResponsePB, error)
	ListMasters(context.Context, *ListMastersRequestPB) (*ListMastersResponsePB, error)
	ListMasterRaftPeers(context.Context, *ListMasterRaftPeersRequestPB) (*ListMasterRaftPeersResponsePB, error)
	GetMasterRegistration(context.Context, *GetMasterRegistrationRequestPB) (*GetMasterRegistrationResponsePB, error)
	// Get the ready status from the catalog manager for this master.
	// NOTE: Should be used only for unit testing purposes.
	IsMasterLeaderServiceReady(context.Context, *IsMasterLeaderReadyRequestPB) (*IsMasterLeaderReadyResponsePB, error)
	// Dump master state from all the peers in the current master's quorum
	DumpState(context.Context, *DumpMasterStateRequestPB) (*DumpMasterStateResponsePB, error)
	ChangeLoadBalancerState(context.Context, *ChangeLoadBalancerStateRequestPB) (*ChangeLoadBalancerStateResponsePB, error)
	GetLoadBalancerState(context.Context, *GetLoadBalancerStateRequestPB) (*GetLoadBalancerStateResponsePB, error)
	RemovedMasterUpdate(context.Context, *RemovedMasterUpdateRequestPB) (*RemovedMasterUpdateResponsePB, error)
	SetPreferredZones(context.Context, *SetPreferredZonesRequestPB) (*SetPreferredZonesResponsePB, error)
	GetMasterClusterConfig(context.Context, *GetMasterClusterConfigRequestPB) (*GetMasterClusterConfigResponsePB, error)
	ChangeMasterClusterConfig(context.Context, *ChangeMasterClusterConfigRequestPB) (*ChangeMasterClusterConfigResponsePB, error)
	GetLoadMoveCompletion(context.Context, *GetLoadMovePercentRequestPB) (*GetLoadMovePercentResponsePB, error)
	GetLeaderBlacklistCompletion(context.Context, *GetLeaderBlacklistPercentRequestPB) (*GetLoadMovePercentResponsePB, error)
	IsLoadBalanced(context.Context, *IsLoadBalancedRequestPB) (*IsLoadBalancedResponsePB, error)
	IsLoadBalancerIdle(context.Context, *IsLoadBalancerIdleRequestPB) (*IsLoadBalancerIdleResponsePB, error)
	AreLeadersOnPreferredOnly(context.Context, *AreLeadersOnPreferredOnlyRequestPB) (*AreLeadersOnPreferredOnlyResponsePB, error)
}

MasterClusterServer is the server API for MasterCluster service. All implementations should embed UnimplementedMasterClusterServer for forward compatibility

type MasterCreateCDCStreamRequestPB

type MasterCreateCDCStreamRequestPB struct {
	TableId      *string                    `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	Options      []*CDCStreamOptionsPB      `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"`
	InitialState *SysCDCStreamEntryPB_State `` /* 132-byte string literal not displayed */
	DbStreamId   *string                    `protobuf:"bytes,5,opt,name=db_stream_id,json=dbStreamId" json:"db_stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterCreateCDCStreamRequestPB) Descriptor deprecated

func (*MasterCreateCDCStreamRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use MasterCreateCDCStreamRequestPB.ProtoReflect.Descriptor instead.

func (*MasterCreateCDCStreamRequestPB) GetDbStreamId added in v2.13.0

func (x *MasterCreateCDCStreamRequestPB) GetDbStreamId() string

func (*MasterCreateCDCStreamRequestPB) GetInitialState

func (*MasterCreateCDCStreamRequestPB) GetOptions

func (*MasterCreateCDCStreamRequestPB) GetTableId

func (x *MasterCreateCDCStreamRequestPB) GetTableId() string

func (*MasterCreateCDCStreamRequestPB) ProtoMessage

func (*MasterCreateCDCStreamRequestPB) ProtoMessage()

func (*MasterCreateCDCStreamRequestPB) ProtoReflect

func (*MasterCreateCDCStreamRequestPB) Reset

func (x *MasterCreateCDCStreamRequestPB) Reset()

func (*MasterCreateCDCStreamRequestPB) String

type MasterCreateCDCStreamResponsePB

type MasterCreateCDCStreamResponsePB struct {

	// The error, if an error occurred with this request.
	Error    *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	StreamId []byte         `protobuf:"bytes,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterCreateCDCStreamResponsePB) Descriptor deprecated

func (*MasterCreateCDCStreamResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use MasterCreateCDCStreamResponsePB.ProtoReflect.Descriptor instead.

func (*MasterCreateCDCStreamResponsePB) GetError

func (*MasterCreateCDCStreamResponsePB) GetStreamId

func (x *MasterCreateCDCStreamResponsePB) GetStreamId() []byte

func (*MasterCreateCDCStreamResponsePB) ProtoMessage

func (*MasterCreateCDCStreamResponsePB) ProtoMessage()

func (*MasterCreateCDCStreamResponsePB) ProtoReflect

func (*MasterCreateCDCStreamResponsePB) Reset

func (*MasterCreateCDCStreamResponsePB) String

type MasterDclClient added in v2.11.2

type MasterDclClient interface {
	//  Authentication and Authorization.
	CreateRole(ctx context.Context, in *CreateRoleRequestPB, opts ...grpc.CallOption) (*CreateRoleResponsePB, error)
	AlterRole(ctx context.Context, in *AlterRoleRequestPB, opts ...grpc.CallOption) (*AlterRoleResponsePB, error)
	DeleteRole(ctx context.Context, in *DeleteRoleRequestPB, opts ...grpc.CallOption) (*DeleteRoleResponsePB, error)
	GrantRevokeRole(ctx context.Context, in *GrantRevokeRoleRequestPB, opts ...grpc.CallOption) (*GrantRevokeRoleResponsePB, error)
	GrantRevokePermission(ctx context.Context, in *GrantRevokePermissionRequestPB, opts ...grpc.CallOption) (*GrantRevokePermissionResponsePB, error)
	GetPermissions(ctx context.Context, in *GetPermissionsRequestPB, opts ...grpc.CallOption) (*GetPermissionsResponsePB, error)
}

MasterDclClient is the client API for MasterDcl service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterDclClient added in v2.11.2

func NewMasterDclClient(cc grpc.ClientConnInterface) MasterDclClient

type MasterDclServer added in v2.11.2

MasterDclServer is the server API for MasterDcl service. All implementations should embed UnimplementedMasterDclServer for forward compatibility

type MasterDdlClient added in v2.11.2

type MasterDdlClient interface {
	CreateTable(ctx context.Context, in *CreateTableRequestPB, opts ...grpc.CallOption) (*CreateTableResponsePB, error)
	IsCreateTableDone(ctx context.Context, in *IsCreateTableDoneRequestPB, opts ...grpc.CallOption) (*IsCreateTableDoneResponsePB, error)
	ListTables(ctx context.Context, in *ListTablesRequestPB, opts ...grpc.CallOption) (*ListTablesResponsePB, error)
	GetTableSchema(ctx context.Context, in *GetTableSchemaRequestPB, opts ...grpc.CallOption) (*GetTableSchemaResponsePB, error)
	GetTablegroupSchema(ctx context.Context, in *GetTablegroupSchemaRequestPB, opts ...grpc.CallOption) (*GetTablegroupSchemaResponsePB, error)
	GetColocatedTabletSchema(ctx context.Context, in *GetColocatedTabletSchemaRequestPB, opts ...grpc.CallOption) (*GetColocatedTabletSchemaResponsePB, error)
	TruncateTable(ctx context.Context, in *TruncateTableRequestPB, opts ...grpc.CallOption) (*TruncateTableResponsePB, error)
	IsTruncateTableDone(ctx context.Context, in *IsTruncateTableDoneRequestPB, opts ...grpc.CallOption) (*IsTruncateTableDoneResponsePB, error)
	BackfillIndex(ctx context.Context, in *BackfillIndexRequestPB, opts ...grpc.CallOption) (*BackfillIndexResponsePB, error)
	LaunchBackfillIndexForTable(ctx context.Context, in *LaunchBackfillIndexForTableRequestPB, opts ...grpc.CallOption) (*LaunchBackfillIndexForTableResponsePB, error)
	GetBackfillJobs(ctx context.Context, in *GetBackfillJobsRequestPB, opts ...grpc.CallOption) (*GetBackfillJobsResponsePB, error)
	DeleteTable(ctx context.Context, in *DeleteTableRequestPB, opts ...grpc.CallOption) (*DeleteTableResponsePB, error)
	IsDeleteTableDone(ctx context.Context, in *IsDeleteTableDoneRequestPB, opts ...grpc.CallOption) (*IsDeleteTableDoneResponsePB, error)
	AlterTable(ctx context.Context, in *AlterTableRequestPB, opts ...grpc.CallOption) (*AlterTableResponsePB, error)
	IsAlterTableDone(ctx context.Context, in *IsAlterTableDoneRequestPB, opts ...grpc.CallOption) (*IsAlterTableDoneResponsePB, error)
	CreateNamespace(ctx context.Context, in *CreateNamespaceRequestPB, opts ...grpc.CallOption) (*CreateNamespaceResponsePB, error)
	IsCreateNamespaceDone(ctx context.Context, in *IsCreateNamespaceDoneRequestPB, opts ...grpc.CallOption) (*IsCreateNamespaceDoneResponsePB, error)
	DeleteNamespace(ctx context.Context, in *DeleteNamespaceRequestPB, opts ...grpc.CallOption) (*DeleteNamespaceResponsePB, error)
	IsDeleteNamespaceDone(ctx context.Context, in *IsDeleteNamespaceDoneRequestPB, opts ...grpc.CallOption) (*IsDeleteNamespaceDoneResponsePB, error)
	AlterNamespace(ctx context.Context, in *AlterNamespaceRequestPB, opts ...grpc.CallOption) (*AlterNamespaceResponsePB, error)
	ListNamespaces(ctx context.Context, in *ListNamespacesRequestPB, opts ...grpc.CallOption) (*ListNamespacesResponsePB, error)
	GetNamespaceInfo(ctx context.Context, in *GetNamespaceInfoRequestPB, opts ...grpc.CallOption) (*GetNamespaceInfoResponsePB, error)
	// For Tablegroup:
	CreateTablegroup(ctx context.Context, in *CreateTablegroupRequestPB, opts ...grpc.CallOption) (*CreateTablegroupResponsePB, error)
	DeleteTablegroup(ctx context.Context, in *DeleteTablegroupRequestPB, opts ...grpc.CallOption) (*DeleteTablegroupResponsePB, error)
	ListTablegroups(ctx context.Context, in *ListTablegroupsRequestPB, opts ...grpc.CallOption) (*ListTablegroupsResponsePB, error)
	CreateUDType(ctx context.Context, in *CreateUDTypeRequestPB, opts ...grpc.CallOption) (*CreateUDTypeResponsePB, error)
	DeleteUDType(ctx context.Context, in *DeleteUDTypeRequestPB, opts ...grpc.CallOption) (*DeleteUDTypeResponsePB, error)
	ListUDTypes(ctx context.Context, in *ListUDTypesRequestPB, opts ...grpc.CallOption) (*ListUDTypesResponsePB, error)
	GetUDTypeInfo(ctx context.Context, in *GetUDTypeInfoRequestPB, opts ...grpc.CallOption) (*GetUDTypeInfoResponsePB, error)
}

MasterDdlClient is the client API for MasterDdl service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterDdlClient added in v2.11.2

func NewMasterDdlClient(cc grpc.ClientConnInterface) MasterDdlClient

type MasterDdlServer added in v2.11.2

type MasterDdlServer interface {
	CreateTable(context.Context, *CreateTableRequestPB) (*CreateTableResponsePB, error)
	IsCreateTableDone(context.Context, *IsCreateTableDoneRequestPB) (*IsCreateTableDoneResponsePB, error)
	ListTables(context.Context, *ListTablesRequestPB) (*ListTablesResponsePB, error)
	GetTableSchema(context.Context, *GetTableSchemaRequestPB) (*GetTableSchemaResponsePB, error)
	GetTablegroupSchema(context.Context, *GetTablegroupSchemaRequestPB) (*GetTablegroupSchemaResponsePB, error)
	GetColocatedTabletSchema(context.Context, *GetColocatedTabletSchemaRequestPB) (*GetColocatedTabletSchemaResponsePB, error)
	TruncateTable(context.Context, *TruncateTableRequestPB) (*TruncateTableResponsePB, error)
	IsTruncateTableDone(context.Context, *IsTruncateTableDoneRequestPB) (*IsTruncateTableDoneResponsePB, error)
	BackfillIndex(context.Context, *BackfillIndexRequestPB) (*BackfillIndexResponsePB, error)
	LaunchBackfillIndexForTable(context.Context, *LaunchBackfillIndexForTableRequestPB) (*LaunchBackfillIndexForTableResponsePB, error)
	GetBackfillJobs(context.Context, *GetBackfillJobsRequestPB) (*GetBackfillJobsResponsePB, error)
	DeleteTable(context.Context, *DeleteTableRequestPB) (*DeleteTableResponsePB, error)
	IsDeleteTableDone(context.Context, *IsDeleteTableDoneRequestPB) (*IsDeleteTableDoneResponsePB, error)
	AlterTable(context.Context, *AlterTableRequestPB) (*AlterTableResponsePB, error)
	IsAlterTableDone(context.Context, *IsAlterTableDoneRequestPB) (*IsAlterTableDoneResponsePB, error)
	CreateNamespace(context.Context, *CreateNamespaceRequestPB) (*CreateNamespaceResponsePB, error)
	IsCreateNamespaceDone(context.Context, *IsCreateNamespaceDoneRequestPB) (*IsCreateNamespaceDoneResponsePB, error)
	DeleteNamespace(context.Context, *DeleteNamespaceRequestPB) (*DeleteNamespaceResponsePB, error)
	IsDeleteNamespaceDone(context.Context, *IsDeleteNamespaceDoneRequestPB) (*IsDeleteNamespaceDoneResponsePB, error)
	AlterNamespace(context.Context, *AlterNamespaceRequestPB) (*AlterNamespaceResponsePB, error)
	ListNamespaces(context.Context, *ListNamespacesRequestPB) (*ListNamespacesResponsePB, error)
	GetNamespaceInfo(context.Context, *GetNamespaceInfoRequestPB) (*GetNamespaceInfoResponsePB, error)
	// For Tablegroup:
	CreateTablegroup(context.Context, *CreateTablegroupRequestPB) (*CreateTablegroupResponsePB, error)
	DeleteTablegroup(context.Context, *DeleteTablegroupRequestPB) (*DeleteTablegroupResponsePB, error)
	ListTablegroups(context.Context, *ListTablegroupsRequestPB) (*ListTablegroupsResponsePB, error)
	CreateUDType(context.Context, *CreateUDTypeRequestPB) (*CreateUDTypeResponsePB, error)
	DeleteUDType(context.Context, *DeleteUDTypeRequestPB) (*DeleteUDTypeResponsePB, error)
	ListUDTypes(context.Context, *ListUDTypesRequestPB) (*ListUDTypesResponsePB, error)
	GetUDTypeInfo(context.Context, *GetUDTypeInfoRequestPB) (*GetUDTypeInfoResponsePB, error)
}

MasterDdlServer is the server API for MasterDdl service. All implementations should embed UnimplementedMasterDdlServer for forward compatibility

type MasterDeleteCDCStreamRequestPB

type MasterDeleteCDCStreamRequestPB struct {
	StreamId     [][]byte `protobuf:"bytes,1,rep,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	IgnoreErrors *bool    `protobuf:"varint,2,opt,name=ignore_errors,json=ignoreErrors,def=0" json:"ignore_errors,omitempty"`
	ForceDelete  *bool    `protobuf:"varint,3,opt,name=force_delete,json=forceDelete,def=0" json:"force_delete,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterDeleteCDCStreamRequestPB) Descriptor deprecated

func (*MasterDeleteCDCStreamRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use MasterDeleteCDCStreamRequestPB.ProtoReflect.Descriptor instead.

func (*MasterDeleteCDCStreamRequestPB) GetForceDelete added in v2.13.0

func (x *MasterDeleteCDCStreamRequestPB) GetForceDelete() bool

func (*MasterDeleteCDCStreamRequestPB) GetIgnoreErrors added in v2.13.0

func (x *MasterDeleteCDCStreamRequestPB) GetIgnoreErrors() bool

func (*MasterDeleteCDCStreamRequestPB) GetStreamId

func (x *MasterDeleteCDCStreamRequestPB) GetStreamId() [][]byte

func (*MasterDeleteCDCStreamRequestPB) ProtoMessage

func (*MasterDeleteCDCStreamRequestPB) ProtoMessage()

func (*MasterDeleteCDCStreamRequestPB) ProtoReflect

func (*MasterDeleteCDCStreamRequestPB) Reset

func (x *MasterDeleteCDCStreamRequestPB) Reset()

func (*MasterDeleteCDCStreamRequestPB) String

type MasterDeleteCDCStreamResponsePB

type MasterDeleteCDCStreamResponsePB struct {

	// The error, if an error occurred with this request.
	Error             *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	NotFoundStreamIds [][]byte       `protobuf:"bytes,2,rep,name=not_found_stream_ids,json=notFoundStreamIds" json:"not_found_stream_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterDeleteCDCStreamResponsePB) Descriptor deprecated

func (*MasterDeleteCDCStreamResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use MasterDeleteCDCStreamResponsePB.ProtoReflect.Descriptor instead.

func (*MasterDeleteCDCStreamResponsePB) GetError

func (*MasterDeleteCDCStreamResponsePB) GetNotFoundStreamIds

func (x *MasterDeleteCDCStreamResponsePB) GetNotFoundStreamIds() [][]byte

func (*MasterDeleteCDCStreamResponsePB) ProtoMessage

func (*MasterDeleteCDCStreamResponsePB) ProtoMessage()

func (*MasterDeleteCDCStreamResponsePB) ProtoReflect

func (*MasterDeleteCDCStreamResponsePB) Reset

func (*MasterDeleteCDCStreamResponsePB) String

type MasterEncryptionClient added in v2.11.2

MasterEncryptionClient is the client API for MasterEncryption service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterEncryptionClient added in v2.11.2

func NewMasterEncryptionClient(cc grpc.ClientConnInterface) MasterEncryptionClient

type MasterEncryptionServer added in v2.11.2

MasterEncryptionServer is the server API for MasterEncryption service. All implementations should embed UnimplementedMasterEncryptionServer for forward compatibility

type MasterErrorPB

type MasterErrorPB struct {

	// The error code.
	Code *MasterErrorPB_Code `protobuf:"varint,1,req,name=code,enum=yb.master.MasterErrorPB_Code" json:"code,omitempty"`
	// The Status object for the error. This will include a textual
	// message that may be more useful to present in log messages, etc,
	// though its error code is less specific.
	Status *AppStatusPB `protobuf:"bytes,2,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Master specific errors use this protobuf.

func (*MasterErrorPB) Descriptor deprecated

func (*MasterErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use MasterErrorPB.ProtoReflect.Descriptor instead.

func (*MasterErrorPB) GetCode

func (x *MasterErrorPB) GetCode() MasterErrorPB_Code

func (*MasterErrorPB) GetStatus

func (x *MasterErrorPB) GetStatus() *AppStatusPB

func (*MasterErrorPB) ProtoMessage

func (*MasterErrorPB) ProtoMessage()

func (*MasterErrorPB) ProtoReflect

func (x *MasterErrorPB) ProtoReflect() protoreflect.Message

func (*MasterErrorPB) Reset

func (x *MasterErrorPB) Reset()

func (*MasterErrorPB) String

func (x *MasterErrorPB) String() string

type MasterErrorPB_Code

type MasterErrorPB_Code int32
const (
	// An error which has no more specific error code.
	// The code and message in 'status' may reveal more details.
	//
	// RPCs should avoid returning this, since callers will not be
	// able to easily parse the error.
	MasterErrorPB_UNKNOWN_ERROR MasterErrorPB_Code = 1
	// The schema provided for a request was not well-formed.
	MasterErrorPB_INVALID_SCHEMA MasterErrorPB_Code = 2
	// The requested table or index does not exist
	MasterErrorPB_OBJECT_NOT_FOUND MasterErrorPB_Code = 3
	// The name requested for the table or index is already in use
	MasterErrorPB_OBJECT_ALREADY_PRESENT MasterErrorPB_Code = 4
	// The number of tablets requested for a new table is over the per TS limit.
	MasterErrorPB_TOO_MANY_TABLETS MasterErrorPB_Code = 5
	// Catalog manager is not yet initialized.
	MasterErrorPB_CATALOG_MANAGER_NOT_INITIALIZED MasterErrorPB_Code = 6
	// The operation attempted can only be invoked against either the
	// leader or a single non-distributed master, which this node
	// isn't.
	MasterErrorPB_NOT_THE_LEADER MasterErrorPB_Code = 7
	// The number of replicas requested is greater than the number of live servers
	// in the cluster.
	MasterErrorPB_REPLICATION_FACTOR_TOO_HIGH MasterErrorPB_Code = 8
	// Change config should always be issued with the latest config version set.
	// If the client fails to do so, or there is a concurrent change, we will
	// set this error code.
	MasterErrorPB_CONFIG_VERSION_MISMATCH MasterErrorPB_Code = 9
	// If there is an operation in progress causing the current rpc to be in an indeterminate state,
	// we return this error code. Client can retry on a case by case basis as needed.
	MasterErrorPB_IN_TRANSITION_CAN_RETRY MasterErrorPB_Code = 10
	// Invalid namespace name or id for the namespace operation.
	MasterErrorPB_NAMESPACE_NOT_FOUND       MasterErrorPB_Code = 11
	MasterErrorPB_NAMESPACE_ALREADY_PRESENT MasterErrorPB_Code = 12
	MasterErrorPB_NO_NAMESPACE_USED         MasterErrorPB_Code = 13
	MasterErrorPB_NAMESPACE_IS_NOT_EMPTY    MasterErrorPB_Code = 14
	// Client set some fields incorrectly in the cluster config proto.
	MasterErrorPB_INVALID_CLUSTER_CONFIG MasterErrorPB_Code = 15
	// Indicator to client that the load balance operation can be retried.
	MasterErrorPB_CAN_RETRY_LOAD_BALANCE_CHECK MasterErrorPB_Code = 16
	// Invalid (User-Defined) Type operation
	MasterErrorPB_TYPE_NOT_FOUND       MasterErrorPB_Code = 17
	MasterErrorPB_INVALID_TYPE         MasterErrorPB_Code = 18
	MasterErrorPB_TYPE_ALREADY_PRESENT MasterErrorPB_Code = 19
	// Snapshot related errors.
	MasterErrorPB_INVALID_TABLE_TYPE            MasterErrorPB_Code = 20
	MasterErrorPB_TABLE_CREATION_IS_IN_PROGRESS MasterErrorPB_Code = 21
	MasterErrorPB_SNAPSHOT_NOT_FOUND            MasterErrorPB_Code = 22
	MasterErrorPB_SNAPSHOT_FAILED               MasterErrorPB_Code = 23
	MasterErrorPB_SNAPSHOT_CANCELLED            MasterErrorPB_Code = 24
	MasterErrorPB_PARALLEL_SNAPSHOT_OPERATION   MasterErrorPB_Code = 25
	MasterErrorPB_SNAPSHOT_IS_NOT_READY         MasterErrorPB_Code = 26
	// Roles and permissions errors.
	MasterErrorPB_ROLE_ALREADY_PRESENT MasterErrorPB_Code = 27
	MasterErrorPB_ROLE_NOT_FOUND       MasterErrorPB_Code = 28
	MasterErrorPB_INVALID_REQUEST      MasterErrorPB_Code = 29
	MasterErrorPB_NOT_AUTHORIZED       MasterErrorPB_Code = 32
	// Indicator to client that the are leaders on preferred only operation can be retried.
	MasterErrorPB_CAN_RETRY_ARE_LEADERS_ON_PREFERRED_ONLY_CHECK MasterErrorPB_Code = 30
	MasterErrorPB_REDIS_CONFIG_NOT_FOUND                        MasterErrorPB_Code = 31
	// Indicator to client that load balancer was recently active.
	MasterErrorPB_LOAD_BALANCER_RECENTLY_ACTIVE MasterErrorPB_Code = 33
	MasterErrorPB_INTERNAL_ERROR                MasterErrorPB_Code = 34
	// Client set some fields in the table replication info incorrectly.
	MasterErrorPB_INVALID_TABLE_REPLICATION_INFO MasterErrorPB_Code = 35
	MasterErrorPB_REACHED_SPLIT_LIMIT            MasterErrorPB_Code = 36
	MasterErrorPB_SPLIT_OR_BACKFILL_IN_PROGRESS  MasterErrorPB_Code = 37
	// Error in case a tablet-level operation was attempted on a tablet which is not running.
	MasterErrorPB_TABLET_NOT_RUNNING MasterErrorPB_Code = 38
	MasterErrorPB_TABLE_NOT_RUNNING  MasterErrorPB_Code = 39
)

func (MasterErrorPB_Code) Descriptor

func (MasterErrorPB_Code) Enum

func (MasterErrorPB_Code) EnumDescriptor deprecated

func (MasterErrorPB_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use MasterErrorPB_Code.Descriptor instead.

func (MasterErrorPB_Code) Number

func (MasterErrorPB_Code) String

func (x MasterErrorPB_Code) String() string

func (MasterErrorPB_Code) Type

func (*MasterErrorPB_Code) UnmarshalJSON deprecated

func (x *MasterErrorPB_Code) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type MasterGetCDCDBStreamInfoRequestPB added in v2.13.0

type MasterGetCDCDBStreamInfoRequestPB struct {
	DbStreamId []byte `protobuf:"bytes,1,opt,name=db_stream_id,json=dbStreamId" json:"db_stream_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterGetCDCDBStreamInfoRequestPB) Descriptor deprecated added in v2.13.0

func (*MasterGetCDCDBStreamInfoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use MasterGetCDCDBStreamInfoRequestPB.ProtoReflect.Descriptor instead.

func (*MasterGetCDCDBStreamInfoRequestPB) GetDbStreamId added in v2.13.0

func (x *MasterGetCDCDBStreamInfoRequestPB) GetDbStreamId() []byte

func (*MasterGetCDCDBStreamInfoRequestPB) ProtoMessage added in v2.13.0

func (*MasterGetCDCDBStreamInfoRequestPB) ProtoMessage()

func (*MasterGetCDCDBStreamInfoRequestPB) ProtoReflect added in v2.13.0

func (*MasterGetCDCDBStreamInfoRequestPB) Reset added in v2.13.0

func (*MasterGetCDCDBStreamInfoRequestPB) String added in v2.13.0

type MasterGetCDCDBStreamInfoResponsePB added in v2.13.0

type MasterGetCDCDBStreamInfoResponsePB struct {
	Error       *MasterErrorPB                                  `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	TableInfo   []*MasterGetCDCDBStreamInfoResponsePB_TableInfo `protobuf:"bytes,2,rep,name=table_info,json=tableInfo" json:"table_info,omitempty"`
	NamespaceId []byte                                          `protobuf:"bytes,3,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterGetCDCDBStreamInfoResponsePB) Descriptor deprecated added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use MasterGetCDCDBStreamInfoResponsePB.ProtoReflect.Descriptor instead.

func (*MasterGetCDCDBStreamInfoResponsePB) GetError added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB) GetNamespaceId added in v2.13.0

func (x *MasterGetCDCDBStreamInfoResponsePB) GetNamespaceId() []byte

func (*MasterGetCDCDBStreamInfoResponsePB) GetTableInfo added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB) ProtoMessage added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB) ProtoMessage()

func (*MasterGetCDCDBStreamInfoResponsePB) ProtoReflect added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB) Reset added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB) String added in v2.13.0

type MasterGetCDCDBStreamInfoResponsePB_TableInfo added in v2.13.0

type MasterGetCDCDBStreamInfoResponsePB_TableInfo struct {
	StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	TableId  []byte `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterGetCDCDBStreamInfoResponsePB_TableInfo) Descriptor deprecated added in v2.13.0

Deprecated: Use MasterGetCDCDBStreamInfoResponsePB_TableInfo.ProtoReflect.Descriptor instead.

func (*MasterGetCDCDBStreamInfoResponsePB_TableInfo) GetStreamId added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB_TableInfo) GetTableId added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB_TableInfo) ProtoMessage added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB_TableInfo) ProtoReflect added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB_TableInfo) Reset added in v2.13.0

func (*MasterGetCDCDBStreamInfoResponsePB_TableInfo) String added in v2.13.0

type MasterHeartbeatClient added in v2.11.2

type MasterHeartbeatClient interface {
	// TS->Master RPCs
	TSHeartbeat(ctx context.Context, in *TSHeartbeatRequestPB, opts ...grpc.CallOption) (*TSHeartbeatResponsePB, error)
}

MasterHeartbeatClient is the client API for MasterHeartbeat service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterHeartbeatClient added in v2.11.2

func NewMasterHeartbeatClient(cc grpc.ClientConnInterface) MasterHeartbeatClient

type MasterHeartbeatServer added in v2.11.2

type MasterHeartbeatServer interface {
	// TS->Master RPCs
	TSHeartbeat(context.Context, *TSHeartbeatRequestPB) (*TSHeartbeatResponsePB, error)
}

MasterHeartbeatServer is the server API for MasterHeartbeat service. All implementations should embed UnimplementedMasterHeartbeatServer for forward compatibility

type MasterReplicationClient added in v2.11.2

type MasterReplicationClient interface {
	ValidateReplicationInfo(ctx context.Context, in *ValidateReplicationInfoRequestPB, opts ...grpc.CallOption) (*ValidateReplicationInfoResponsePB, error)
	// CDC stream RPCs.
	CreateCDCStream(ctx context.Context, in *CreateCDCStreamRequestPB, opts ...grpc.CallOption) (*CreateCDCStreamResponsePB, error)
	DeleteCDCStream(ctx context.Context, in *DeleteCDCStreamRequestPB, opts ...grpc.CallOption) (*DeleteCDCStreamResponsePB, error)
	ListCDCStreams(ctx context.Context, in *ListCDCStreamsRequestPB, opts ...grpc.CallOption) (*ListCDCStreamsResponsePB, error)
	GetCDCStream(ctx context.Context, in *GetCDCStreamRequestPB, opts ...grpc.CallOption) (*GetCDCStreamResponsePB, error)
	GetCDCDBStreamInfo(ctx context.Context, in *GetCDCDBStreamInfoRequestPB, opts ...grpc.CallOption) (*GetCDCDBStreamInfoResponsePB, error)
	UpdateCDCStream(ctx context.Context, in *UpdateCDCStreamRequestPB, opts ...grpc.CallOption) (*UpdateCDCStreamResponsePB, error)
	SetupUniverseReplication(ctx context.Context, in *SetupUniverseReplicationRequestPB, opts ...grpc.CallOption) (*SetupUniverseReplicationResponsePB, error)
	DeleteUniverseReplication(ctx context.Context, in *DeleteUniverseReplicationRequestPB, opts ...grpc.CallOption) (*DeleteUniverseReplicationResponsePB, error)
	AlterUniverseReplication(ctx context.Context, in *AlterUniverseReplicationRequestPB, opts ...grpc.CallOption) (*AlterUniverseReplicationResponsePB, error)
	SetUniverseReplicationEnabled(ctx context.Context, in *SetUniverseReplicationEnabledRequestPB, opts ...grpc.CallOption) (*SetUniverseReplicationEnabledResponsePB, error)
	GetUniverseReplication(ctx context.Context, in *GetUniverseReplicationRequestPB, opts ...grpc.CallOption) (*GetUniverseReplicationResponsePB, error)
	IsSetupUniverseReplicationDone(ctx context.Context, in *IsSetupUniverseReplicationDoneRequestPB, opts ...grpc.CallOption) (*IsSetupUniverseReplicationDoneResponsePB, error)
	UpdateConsumerOnProducerSplit(ctx context.Context, in *UpdateConsumerOnProducerSplitRequestPB, opts ...grpc.CallOption) (*UpdateConsumerOnProducerSplitResponsePB, error)
}

MasterReplicationClient is the client API for MasterReplication service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMasterReplicationClient added in v2.11.2

func NewMasterReplicationClient(cc grpc.ClientConnInterface) MasterReplicationClient

type MasterReplicationServer added in v2.11.2

type MasterReplicationServer interface {
	ValidateReplicationInfo(context.Context, *ValidateReplicationInfoRequestPB) (*ValidateReplicationInfoResponsePB, error)
	// CDC stream RPCs.
	CreateCDCStream(context.Context, *CreateCDCStreamRequestPB) (*CreateCDCStreamResponsePB, error)
	DeleteCDCStream(context.Context, *DeleteCDCStreamRequestPB) (*DeleteCDCStreamResponsePB, error)
	ListCDCStreams(context.Context, *ListCDCStreamsRequestPB) (*ListCDCStreamsResponsePB, error)
	GetCDCStream(context.Context, *GetCDCStreamRequestPB) (*GetCDCStreamResponsePB, error)
	GetCDCDBStreamInfo(context.Context, *GetCDCDBStreamInfoRequestPB) (*GetCDCDBStreamInfoResponsePB, error)
	UpdateCDCStream(context.Context, *UpdateCDCStreamRequestPB) (*UpdateCDCStreamResponsePB, error)
	SetupUniverseReplication(context.Context, *SetupUniverseReplicationRequestPB) (*SetupUniverseReplicationResponsePB, error)
	DeleteUniverseReplication(context.Context, *DeleteUniverseReplicationRequestPB) (*DeleteUniverseReplicationResponsePB, error)
	AlterUniverseReplication(context.Context, *AlterUniverseReplicationRequestPB) (*AlterUniverseReplicationResponsePB, error)
	SetUniverseReplicationEnabled(context.Context, *SetUniverseReplicationEnabledRequestPB) (*SetUniverseReplicationEnabledResponsePB, error)
	GetUniverseReplication(context.Context, *GetUniverseReplicationRequestPB) (*GetUniverseReplicationResponsePB, error)
	IsSetupUniverseReplicationDone(context.Context, *IsSetupUniverseReplicationDoneRequestPB) (*IsSetupUniverseReplicationDoneResponsePB, error)
	UpdateConsumerOnProducerSplit(context.Context, *UpdateConsumerOnProducerSplitRequestPB) (*UpdateConsumerOnProducerSplitResponsePB, error)
}

MasterReplicationServer is the server API for MasterReplication service. All implementations should embed UnimplementedMasterReplicationServer for forward compatibility

type MasterSplitTabletRequestPB

type MasterSplitTabletRequestPB struct {
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterSplitTabletRequestPB) Descriptor deprecated

func (*MasterSplitTabletRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use MasterSplitTabletRequestPB.ProtoReflect.Descriptor instead.

func (*MasterSplitTabletRequestPB) GetTabletId

func (x *MasterSplitTabletRequestPB) GetTabletId() []byte

func (*MasterSplitTabletRequestPB) ProtoMessage

func (*MasterSplitTabletRequestPB) ProtoMessage()

func (*MasterSplitTabletRequestPB) ProtoReflect

func (*MasterSplitTabletRequestPB) Reset

func (x *MasterSplitTabletRequestPB) Reset()

func (*MasterSplitTabletRequestPB) String

func (x *MasterSplitTabletRequestPB) String() string

type MasterSplitTabletResponsePB

type MasterSplitTabletResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*MasterSplitTabletResponsePB) Descriptor deprecated

func (*MasterSplitTabletResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use MasterSplitTabletResponsePB.ProtoReflect.Descriptor instead.

func (*MasterSplitTabletResponsePB) GetError

func (*MasterSplitTabletResponsePB) ProtoMessage

func (*MasterSplitTabletResponsePB) ProtoMessage()

func (*MasterSplitTabletResponsePB) ProtoReflect

func (*MasterSplitTabletResponsePB) Reset

func (x *MasterSplitTabletResponsePB) Reset()

func (*MasterSplitTabletResponsePB) String

func (x *MasterSplitTabletResponsePB) String() string

type MultiRaftConsensusRequestPB added in v2.11.2

type MultiRaftConsensusRequestPB struct {
	ConsensusRequest []*ConsensusRequestPB `protobuf:"bytes,1,rep,name=consensus_request,json=consensusRequest" json:"consensus_request,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiRaftConsensusRequestPB) Descriptor deprecated added in v2.11.2

func (*MultiRaftConsensusRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use MultiRaftConsensusRequestPB.ProtoReflect.Descriptor instead.

func (*MultiRaftConsensusRequestPB) GetConsensusRequest added in v2.11.2

func (x *MultiRaftConsensusRequestPB) GetConsensusRequest() []*ConsensusRequestPB

func (*MultiRaftConsensusRequestPB) ProtoMessage added in v2.11.2

func (*MultiRaftConsensusRequestPB) ProtoMessage()

func (*MultiRaftConsensusRequestPB) ProtoReflect added in v2.11.2

func (*MultiRaftConsensusRequestPB) Reset added in v2.11.2

func (x *MultiRaftConsensusRequestPB) Reset()

func (*MultiRaftConsensusRequestPB) String added in v2.11.2

func (x *MultiRaftConsensusRequestPB) String() string

type MultiRaftConsensusResponsePB added in v2.11.2

type MultiRaftConsensusResponsePB struct {
	ConsensusResponse []*ConsensusResponsePB `protobuf:"bytes,1,rep,name=consensus_response,json=consensusResponse" json:"consensus_response,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiRaftConsensusResponsePB) Descriptor deprecated added in v2.11.2

func (*MultiRaftConsensusResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use MultiRaftConsensusResponsePB.ProtoReflect.Descriptor instead.

func (*MultiRaftConsensusResponsePB) GetConsensusResponse added in v2.11.2

func (x *MultiRaftConsensusResponsePB) GetConsensusResponse() []*ConsensusResponsePB

func (*MultiRaftConsensusResponsePB) ProtoMessage added in v2.11.2

func (*MultiRaftConsensusResponsePB) ProtoMessage()

func (*MultiRaftConsensusResponsePB) ProtoReflect added in v2.11.2

func (*MultiRaftConsensusResponsePB) Reset added in v2.11.2

func (x *MultiRaftConsensusResponsePB) Reset()

func (*MultiRaftConsensusResponsePB) String added in v2.11.2

type NamespaceIdentifierPB

type NamespaceIdentifierPB struct {

	// The namespace ID to fetch info.
	Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The namespace name to fetch info.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// Database type.
	DatabaseType *YQLDatabase `protobuf:"varint,3,opt,name=database_type,json=databaseType,enum=yb.YQLDatabase,def=2" json:"database_type,omitempty"`
	// contains filtered or unexported fields
}

func (*NamespaceIdentifierPB) Descriptor deprecated

func (*NamespaceIdentifierPB) Descriptor() ([]byte, []int)

Deprecated: Use NamespaceIdentifierPB.ProtoReflect.Descriptor instead.

func (*NamespaceIdentifierPB) GetDatabaseType

func (x *NamespaceIdentifierPB) GetDatabaseType() YQLDatabase

func (*NamespaceIdentifierPB) GetId

func (x *NamespaceIdentifierPB) GetId() []byte

func (*NamespaceIdentifierPB) GetName

func (x *NamespaceIdentifierPB) GetName() string

func (*NamespaceIdentifierPB) ProtoMessage

func (*NamespaceIdentifierPB) ProtoMessage()

func (*NamespaceIdentifierPB) ProtoReflect

func (x *NamespaceIdentifierPB) ProtoReflect() protoreflect.Message

func (*NamespaceIdentifierPB) Reset

func (x *NamespaceIdentifierPB) Reset()

func (*NamespaceIdentifierPB) String

func (x *NamespaceIdentifierPB) String() string

type NewFilePB

type NewFilePB struct {
	Level               *uint32           `protobuf:"varint,1,opt,name=level" json:"level,omitempty"`
	Number              *uint64           `protobuf:"varint,2,opt,name=number" json:"number,omitempty"`
	TotalFileSize       *uint64           `protobuf:"varint,3,opt,name=total_file_size,json=totalFileSize" json:"total_file_size,omitempty"`
	BaseFileSize        *uint64           `protobuf:"varint,4,opt,name=base_file_size,json=baseFileSize" json:"base_file_size,omitempty"`
	Smallest            *BoundaryValuesPB `protobuf:"bytes,5,opt,name=smallest" json:"smallest,omitempty"`
	Largest             *BoundaryValuesPB `protobuf:"bytes,6,opt,name=largest" json:"largest,omitempty"`
	PathId              *uint32           `protobuf:"varint,7,opt,name=path_id,json=pathId" json:"path_id,omitempty"`
	MarkedForCompaction *bool             `protobuf:"varint,8,opt,name=marked_for_compaction,json=markedForCompaction" json:"marked_for_compaction,omitempty"`
	ObsoleteLastOpId    *OpIdPB           `protobuf:"bytes,9,opt,name=obsolete_last_op_id,json=obsoleteLastOpId" json:"obsolete_last_op_id,omitempty"`
	Imported            *bool             `protobuf:"varint,10,opt,name=imported" json:"imported,omitempty"`
	// contains filtered or unexported fields
}

func (*NewFilePB) Descriptor deprecated

func (*NewFilePB) Descriptor() ([]byte, []int)

Deprecated: Use NewFilePB.ProtoReflect.Descriptor instead.

func (*NewFilePB) GetBaseFileSize

func (x *NewFilePB) GetBaseFileSize() uint64

func (*NewFilePB) GetImported

func (x *NewFilePB) GetImported() bool

func (*NewFilePB) GetLargest

func (x *NewFilePB) GetLargest() *BoundaryValuesPB

func (*NewFilePB) GetLevel

func (x *NewFilePB) GetLevel() uint32

func (*NewFilePB) GetMarkedForCompaction

func (x *NewFilePB) GetMarkedForCompaction() bool

func (*NewFilePB) GetNumber

func (x *NewFilePB) GetNumber() uint64

func (*NewFilePB) GetObsoleteLastOpId

func (x *NewFilePB) GetObsoleteLastOpId() *OpIdPB

func (*NewFilePB) GetPathId

func (x *NewFilePB) GetPathId() uint32

func (*NewFilePB) GetSmallest

func (x *NewFilePB) GetSmallest() *BoundaryValuesPB

func (*NewFilePB) GetTotalFileSize

func (x *NewFilePB) GetTotalFileSize() uint64

func (*NewFilePB) ProtoMessage

func (*NewFilePB) ProtoMessage()

func (*NewFilePB) ProtoReflect

func (x *NewFilePB) ProtoReflect() protoreflect.Message

func (*NewFilePB) Reset

func (x *NewFilePB) Reset()

func (*NewFilePB) String

func (x *NewFilePB) String() string

type NoOpRequestPB

type NoOpRequestPB struct {
	TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NoOpRequestPB) Descriptor deprecated

func (*NoOpRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use NoOpRequestPB.ProtoReflect.Descriptor instead.

func (*NoOpRequestPB) GetTabletId

func (x *NoOpRequestPB) GetTabletId() []byte

func (*NoOpRequestPB) ProtoMessage

func (*NoOpRequestPB) ProtoMessage()

func (*NoOpRequestPB) ProtoReflect

func (x *NoOpRequestPB) ProtoReflect() protoreflect.Message

func (*NoOpRequestPB) Reset

func (x *NoOpRequestPB) Reset()

func (*NoOpRequestPB) String

func (x *NoOpRequestPB) String() string

type NoOpResponsePB

type NoOpResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*NoOpResponsePB) Descriptor deprecated

func (*NoOpResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use NoOpResponsePB.ProtoReflect.Descriptor instead.

func (*NoOpResponsePB) GetError

func (x *NoOpResponsePB) GetError() *TabletServerErrorPB

func (*NoOpResponsePB) ProtoMessage

func (*NoOpResponsePB) ProtoMessage()

func (*NoOpResponsePB) ProtoReflect

func (x *NoOpResponsePB) ProtoReflect() protoreflect.Message

func (*NoOpResponsePB) Reset

func (x *NoOpResponsePB) Reset()

func (*NoOpResponsePB) String

func (x *NoOpResponsePB) String() string

type NodeInstancePB

type NodeInstancePB struct {

	// Unique ID which is created when the server is first started
	// up. This is stored persistently on disk.
	PermanentUuid []byte `protobuf:"bytes,1,req,name=permanent_uuid,json=permanentUuid" json:"permanent_uuid,omitempty"`
	// Sequence number incremented on every start-up of the server.
	// This makes it easy to detect when an instance has restarted (and
	// thus can be assumed to have forgotten any soft state it had in
	// memory).
	//
	// On a freshly initialized server, the first sequence number
	// should be 0.
	InstanceSeqno *int64 `protobuf:"varint,2,req,name=instance_seqno,json=instanceSeqno" json:"instance_seqno,omitempty"`
	// The time point when tserver/master starts up, it is derived from Env::NowMicros()
	StartTimeUs *uint64 `protobuf:"varint,3,opt,name=start_time_us,json=startTimeUs" json:"start_time_us,omitempty"`
	// contains filtered or unexported fields
}

Uniquely identify a particular instance of a particular server in the cluster.

func (*NodeInstancePB) Descriptor deprecated

func (*NodeInstancePB) Descriptor() ([]byte, []int)

Deprecated: Use NodeInstancePB.ProtoReflect.Descriptor instead.

func (*NodeInstancePB) GetInstanceSeqno

func (x *NodeInstancePB) GetInstanceSeqno() int64

func (*NodeInstancePB) GetPermanentUuid

func (x *NodeInstancePB) GetPermanentUuid() []byte

func (*NodeInstancePB) GetStartTimeUs

func (x *NodeInstancePB) GetStartTimeUs() uint64

func (*NodeInstancePB) ProtoMessage

func (*NodeInstancePB) ProtoMessage()

func (*NodeInstancePB) ProtoReflect

func (x *NodeInstancePB) ProtoReflect() protoreflect.Message

func (*NodeInstancePB) Reset

func (x *NodeInstancePB) Reset()

func (*NodeInstancePB) String

func (x *NodeInstancePB) String() string

type OpIdPB

type OpIdPB struct {

	// The term of an operation or the leader's sequence id.
	Term  *int64 `protobuf:"varint,1,req,name=term" json:"term,omitempty"`
	Index *int64 `protobuf:"varint,2,req,name=index" json:"index,omitempty"`
	// contains filtered or unexported fields
}

An id for a generic state machine operation. Composed of the leaders' term plus the index of the operation in that term, e.g., the <index>th operation of the <term>th leader.

func (*OpIdPB) Descriptor deprecated

func (*OpIdPB) Descriptor() ([]byte, []int)

Deprecated: Use OpIdPB.ProtoReflect.Descriptor instead.

func (*OpIdPB) GetIndex

func (x *OpIdPB) GetIndex() int64

func (*OpIdPB) GetTerm

func (x *OpIdPB) GetTerm() int64

func (*OpIdPB) ProtoMessage

func (*OpIdPB) ProtoMessage()

func (*OpIdPB) ProtoReflect

func (x *OpIdPB) ProtoReflect() protoreflect.Message

func (*OpIdPB) Reset

func (x *OpIdPB) Reset()

func (*OpIdPB) String

func (x *OpIdPB) String() string

type OpIdType

type OpIdType int32
const (
	OpIdType_UNKNOWN_OPID_TYPE OpIdType = 0
	OpIdType_RECEIVED_OPID     OpIdType = 1
	OpIdType_COMMITTED_OPID    OpIdType = 2
)

func (OpIdType) Descriptor

func (OpIdType) Descriptor() protoreflect.EnumDescriptor

func (OpIdType) Enum

func (x OpIdType) Enum() *OpIdType

func (OpIdType) EnumDescriptor deprecated

func (OpIdType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpIdType.Descriptor instead.

func (OpIdType) Number

func (x OpIdType) Number() protoreflect.EnumNumber

func (OpIdType) String

func (x OpIdType) String() string

func (OpIdType) Type

func (*OpIdType) UnmarshalJSON deprecated

func (x *OpIdType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type OperationStatusPB

type OperationStatusPB struct {
	OpId          *OpIdPB        `protobuf:"bytes,1,req,name=op_id,json=opId" json:"op_id,omitempty"`
	OperationType *OperationType `` /* 126-byte string literal not displayed */
	// Time the transaction has been in flight.
	RunningForMicros *int64 `protobuf:"varint,3,req,name=running_for_micros,json=runningForMicros" json:"running_for_micros,omitempty"`
	// Quick human-readable description (e.g., ToString() output).
	Description *string `protobuf:"bytes,4,req,name=description" json:"description,omitempty"`
	// If tracing is enabled when viewing the transaction, the trace
	// buffer is copied here.
	TraceBuffer *string `protobuf:"bytes,6,opt,name=trace_buffer,json=traceBuffer" json:"trace_buffer,omitempty"`
	// contains filtered or unexported fields
}

A message reflecting the status of an in-flight transaction.

func (*OperationStatusPB) Descriptor deprecated

func (*OperationStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use OperationStatusPB.ProtoReflect.Descriptor instead.

func (*OperationStatusPB) GetDescription

func (x *OperationStatusPB) GetDescription() string

func (*OperationStatusPB) GetOpId

func (x *OperationStatusPB) GetOpId() *OpIdPB

func (*OperationStatusPB) GetOperationType

func (x *OperationStatusPB) GetOperationType() OperationType

func (*OperationStatusPB) GetRunningForMicros

func (x *OperationStatusPB) GetRunningForMicros() int64

func (*OperationStatusPB) GetTraceBuffer

func (x *OperationStatusPB) GetTraceBuffer() string

func (*OperationStatusPB) ProtoMessage

func (*OperationStatusPB) ProtoMessage()

func (*OperationStatusPB) ProtoReflect

func (x *OperationStatusPB) ProtoReflect() protoreflect.Message

func (*OperationStatusPB) Reset

func (x *OperationStatusPB) Reset()

func (*OperationStatusPB) String

func (x *OperationStatusPB) String() string

type OperationType

type OperationType int32

The types of operations that need a commit message, i.e. those that require at least one round of the consensus algorithm.

const (
	OperationType_UNKNOWN_OP            OperationType = 0
	OperationType_NO_OP                 OperationType = 1
	OperationType_WRITE_OP              OperationType = 3
	OperationType_CHANGE_METADATA_OP    OperationType = 4
	OperationType_CHANGE_CONFIG_OP      OperationType = 5
	OperationType_UPDATE_TRANSACTION_OP OperationType = 6
	OperationType_SNAPSHOT_OP           OperationType = 7
	OperationType_TRUNCATE_OP           OperationType = 8
	OperationType_HISTORY_CUTOFF_OP     OperationType = 9
	OperationType_SPLIT_OP              OperationType = 10
)

func (OperationType) Descriptor

func (OperationType) Enum

func (x OperationType) Enum() *OperationType

func (OperationType) EnumDescriptor deprecated

func (OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationType.Descriptor instead.

func (OperationType) Number

func (OperationType) String

func (x OperationType) String() string

func (OperationType) Type

func (*OperationType) UnmarshalJSON deprecated

func (x *OperationType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type OrderMode

type OrderMode int32

The possible order modes for clients. Clients specify these in new scan requests. Ordered scans are fault-tolerant, and can be retried elsewhere in the case of tablet server failure. However, ordered scans impose additional overhead since the tablet server needs to sort the result rows.

const (
	OrderMode_UNKNOWN_ORDER_MODE OrderMode = 0
	// This is the default order mode.
	OrderMode_UNORDERED OrderMode = 1
	OrderMode_ORDERED   OrderMode = 2
)

func (OrderMode) Descriptor

func (OrderMode) Descriptor() protoreflect.EnumDescriptor

func (OrderMode) Enum

func (x OrderMode) Enum() *OrderMode

func (OrderMode) EnumDescriptor deprecated

func (OrderMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderMode.Descriptor instead.

func (OrderMode) Number

func (x OrderMode) Number() protoreflect.EnumNumber

func (OrderMode) String

func (x OrderMode) String() string

func (OrderMode) Type

func (*OrderMode) UnmarshalJSON deprecated

func (x *OrderMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PanicRequestPB

type PanicRequestPB struct {
	// contains filtered or unexported fields
}

func (*PanicRequestPB) Descriptor deprecated

func (*PanicRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PanicRequestPB.ProtoReflect.Descriptor instead.

func (*PanicRequestPB) ProtoMessage

func (*PanicRequestPB) ProtoMessage()

func (*PanicRequestPB) ProtoReflect

func (x *PanicRequestPB) ProtoReflect() protoreflect.Message

func (*PanicRequestPB) Reset

func (x *PanicRequestPB) Reset()

func (*PanicRequestPB) String

func (x *PanicRequestPB) String() string

type PanicResponsePB

type PanicResponsePB struct {
	// contains filtered or unexported fields
}

func (*PanicResponsePB) Descriptor deprecated

func (*PanicResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PanicResponsePB.ProtoReflect.Descriptor instead.

func (*PanicResponsePB) ProtoMessage

func (*PanicResponsePB) ProtoMessage()

func (*PanicResponsePB) ProtoReflect

func (x *PanicResponsePB) ProtoReflect() protoreflect.Message

func (*PanicResponsePB) Reset

func (x *PanicResponsePB) Reset()

func (*PanicResponsePB) String

func (x *PanicResponsePB) String() string

type PartitionPB

type PartitionPB struct {

	// The hash buckets of the partition. The number of hash buckets must match
	// the number of hash bucket components in the partition's schema.
	HashBuckets []int32 `protobuf:"varint,1,rep,packed,name=hash_buckets,json=hashBuckets" json:"hash_buckets,omitempty"`
	// The encoded start partition key (inclusive).
	PartitionKeyStart []byte `protobuf:"bytes,2,opt,name=partition_key_start,json=partitionKeyStart" json:"partition_key_start,omitempty"`
	// The encoded end partition key (exclusive).
	PartitionKeyEnd []byte `protobuf:"bytes,3,opt,name=partition_key_end,json=partitionKeyEnd" json:"partition_key_end,omitempty"`
	// contains filtered or unexported fields
}

The serialized format of a YB table partition.

func (*PartitionPB) Descriptor deprecated

func (*PartitionPB) Descriptor() ([]byte, []int)

Deprecated: Use PartitionPB.ProtoReflect.Descriptor instead.

func (*PartitionPB) GetHashBuckets

func (x *PartitionPB) GetHashBuckets() []int32

func (*PartitionPB) GetPartitionKeyEnd

func (x *PartitionPB) GetPartitionKeyEnd() []byte

func (*PartitionPB) GetPartitionKeyStart

func (x *PartitionPB) GetPartitionKeyStart() []byte

func (*PartitionPB) ProtoMessage

func (*PartitionPB) ProtoMessage()

func (*PartitionPB) ProtoReflect

func (x *PartitionPB) ProtoReflect() protoreflect.Message

func (*PartitionPB) Reset

func (x *PartitionPB) Reset()

func (*PartitionPB) String

func (x *PartitionPB) String() string

type PartitionSchemaPB

type PartitionSchemaPB struct {
	HashBucketSchemas []*PartitionSchemaPB_HashBucketSchemaPB `protobuf:"bytes,1,rep,name=hash_bucket_schemas,json=hashBucketSchemas" json:"hash_bucket_schemas,omitempty"`
	RangeSchema       *PartitionSchemaPB_RangeSchemaPB        `protobuf:"bytes,2,opt,name=range_schema,json=rangeSchema" json:"range_schema,omitempty"`
	HashSchema        *PartitionSchemaPB_HashSchema           `protobuf:"varint,3,opt,name=hash_schema,json=hashSchema,enum=yb.PartitionSchemaPB_HashSchema" json:"hash_schema,omitempty"`
	// contains filtered or unexported fields
}

The serialized format of a YB table partition schema.

func (*PartitionSchemaPB) Descriptor deprecated

func (*PartitionSchemaPB) Descriptor() ([]byte, []int)

Deprecated: Use PartitionSchemaPB.ProtoReflect.Descriptor instead.

func (*PartitionSchemaPB) GetHashBucketSchemas

func (x *PartitionSchemaPB) GetHashBucketSchemas() []*PartitionSchemaPB_HashBucketSchemaPB

func (*PartitionSchemaPB) GetHashSchema

func (*PartitionSchemaPB) GetRangeSchema

func (*PartitionSchemaPB) ProtoMessage

func (*PartitionSchemaPB) ProtoMessage()

func (*PartitionSchemaPB) ProtoReflect

func (x *PartitionSchemaPB) ProtoReflect() protoreflect.Message

func (*PartitionSchemaPB) Reset

func (x *PartitionSchemaPB) Reset()

func (*PartitionSchemaPB) String

func (x *PartitionSchemaPB) String() string

type PartitionSchemaPB_ColumnIdentifierPB

type PartitionSchemaPB_ColumnIdentifierPB struct {

	// Types that are assignable to Identifier:
	//	*PartitionSchemaPB_ColumnIdentifierPB_Id
	//	*PartitionSchemaPB_ColumnIdentifierPB_Name
	Identifier isPartitionSchemaPB_ColumnIdentifierPB_Identifier `protobuf_oneof:"identifier"`
	// contains filtered or unexported fields
}

A column identifier for partition schemas. In general, the name will be used when a client creates the table since column IDs are assigned by the master. All other uses of partition schemas will use the numeric column ID.

func (*PartitionSchemaPB_ColumnIdentifierPB) Descriptor deprecated

func (*PartitionSchemaPB_ColumnIdentifierPB) Descriptor() ([]byte, []int)

Deprecated: Use PartitionSchemaPB_ColumnIdentifierPB.ProtoReflect.Descriptor instead.

func (*PartitionSchemaPB_ColumnIdentifierPB) GetId

func (*PartitionSchemaPB_ColumnIdentifierPB) GetIdentifier

func (m *PartitionSchemaPB_ColumnIdentifierPB) GetIdentifier() isPartitionSchemaPB_ColumnIdentifierPB_Identifier

func (*PartitionSchemaPB_ColumnIdentifierPB) GetName

func (*PartitionSchemaPB_ColumnIdentifierPB) ProtoMessage

func (*PartitionSchemaPB_ColumnIdentifierPB) ProtoMessage()

func (*PartitionSchemaPB_ColumnIdentifierPB) ProtoReflect

func (*PartitionSchemaPB_ColumnIdentifierPB) Reset

func (*PartitionSchemaPB_ColumnIdentifierPB) String

type PartitionSchemaPB_ColumnIdentifierPB_Id

type PartitionSchemaPB_ColumnIdentifierPB_Id struct {
	Id int32 `protobuf:"varint,1,opt,name=id,oneof"`
}

type PartitionSchemaPB_ColumnIdentifierPB_Name

type PartitionSchemaPB_ColumnIdentifierPB_Name struct {
	Name string `protobuf:"bytes,2,opt,name=name,oneof"`
}

type PartitionSchemaPB_HashBucketSchemaPB

type PartitionSchemaPB_HashBucketSchemaPB struct {

	// Column identifiers of columns included in the hash. Every column must be
	// a component of the primary key.
	Columns []*PartitionSchemaPB_ColumnIdentifierPB `protobuf:"bytes,1,rep,name=columns" json:"columns,omitempty"`
	// Number of buckets into which columns will be hashed. Must be at least 2.
	NumBuckets *int32 `protobuf:"varint,2,req,name=num_buckets,json=numBuckets" json:"num_buckets,omitempty"`
	// Seed value for hash calculation. Administrators may set a seed value
	// on a per-table basis in order to randomize the mapping of rows to
	// buckets. Setting a seed provides some amount of protection against denial
	// of service attacks when the hash bucket columns contain user provided
	// input.
	Seed *uint32 `protobuf:"varint,3,opt,name=seed" json:"seed,omitempty"`
	// The hash algorithm to use for calculating the hash bucket.
	HashAlgorithm *PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PartitionSchemaPB_HashBucketSchemaPB) Descriptor deprecated

func (*PartitionSchemaPB_HashBucketSchemaPB) Descriptor() ([]byte, []int)

Deprecated: Use PartitionSchemaPB_HashBucketSchemaPB.ProtoReflect.Descriptor instead.

func (*PartitionSchemaPB_HashBucketSchemaPB) GetColumns

func (*PartitionSchemaPB_HashBucketSchemaPB) GetHashAlgorithm

func (*PartitionSchemaPB_HashBucketSchemaPB) GetNumBuckets

func (x *PartitionSchemaPB_HashBucketSchemaPB) GetNumBuckets() int32

func (*PartitionSchemaPB_HashBucketSchemaPB) GetSeed

func (*PartitionSchemaPB_HashBucketSchemaPB) ProtoMessage

func (*PartitionSchemaPB_HashBucketSchemaPB) ProtoMessage()

func (*PartitionSchemaPB_HashBucketSchemaPB) ProtoReflect

func (*PartitionSchemaPB_HashBucketSchemaPB) Reset

func (*PartitionSchemaPB_HashBucketSchemaPB) String

type PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm

type PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm int32
const (
	PartitionSchemaPB_HashBucketSchemaPB_UNKNOWN       PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm = 0
	PartitionSchemaPB_HashBucketSchemaPB_MURMUR_HASH_2 PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm = 1
)

func (PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm) Descriptor

func (PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm) Enum

func (PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm) EnumDescriptor deprecated

Deprecated: Use PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm.Descriptor instead.

func (PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm) Number

func (PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm) String

func (PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm) Type

func (*PartitionSchemaPB_HashBucketSchemaPB_HashAlgorithm) UnmarshalJSON deprecated

Deprecated: Do not use.

type PartitionSchemaPB_HashSchema

type PartitionSchemaPB_HashSchema int32
const (
	PartitionSchemaPB_MULTI_COLUMN_HASH_SCHEMA PartitionSchemaPB_HashSchema = 1
	PartitionSchemaPB_REDIS_HASH_SCHEMA        PartitionSchemaPB_HashSchema = 2
	PartitionSchemaPB_PGSQL_HASH_SCHEMA        PartitionSchemaPB_HashSchema = 3
)

func (PartitionSchemaPB_HashSchema) Descriptor

func (PartitionSchemaPB_HashSchema) Enum

func (PartitionSchemaPB_HashSchema) EnumDescriptor deprecated

func (PartitionSchemaPB_HashSchema) EnumDescriptor() ([]byte, []int)

Deprecated: Use PartitionSchemaPB_HashSchema.Descriptor instead.

func (PartitionSchemaPB_HashSchema) Number

func (PartitionSchemaPB_HashSchema) String

func (PartitionSchemaPB_HashSchema) Type

func (*PartitionSchemaPB_HashSchema) UnmarshalJSON deprecated

func (x *PartitionSchemaPB_HashSchema) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PartitionSchemaPB_RangeSchemaPB

type PartitionSchemaPB_RangeSchemaPB struct {

	// Column identifiers of columns included in the range. All columns must be
	// a component of the primary key.
	Columns []*PartitionSchemaPB_ColumnIdentifierPB `protobuf:"bytes,1,rep,name=columns" json:"columns,omitempty"`
	// Split points for range tables.
	Splits []*PartitionSchemaPB_RangeSplitPB `protobuf:"bytes,3,rep,name=splits" json:"splits,omitempty"`
	// Field "split_rows" is only available in beta version for SPLIT AT feature. This feature had
	// not been used, so the release version for SPLIT AT does not need to be compatible with
	// the beta version in the past releases.
	DEPRECATEDSplitRows [][]byte `protobuf:"bytes,2,rep,name=DEPRECATED_split_rows,json=DEPRECATEDSplitRows" json:"DEPRECATED_split_rows,omitempty"`
	// contains filtered or unexported fields
}

func (*PartitionSchemaPB_RangeSchemaPB) Descriptor deprecated

func (*PartitionSchemaPB_RangeSchemaPB) Descriptor() ([]byte, []int)

Deprecated: Use PartitionSchemaPB_RangeSchemaPB.ProtoReflect.Descriptor instead.

func (*PartitionSchemaPB_RangeSchemaPB) GetColumns

func (*PartitionSchemaPB_RangeSchemaPB) GetDEPRECATEDSplitRows

func (x *PartitionSchemaPB_RangeSchemaPB) GetDEPRECATEDSplitRows() [][]byte

func (*PartitionSchemaPB_RangeSchemaPB) GetSplits

func (*PartitionSchemaPB_RangeSchemaPB) ProtoMessage

func (*PartitionSchemaPB_RangeSchemaPB) ProtoMessage()

func (*PartitionSchemaPB_RangeSchemaPB) ProtoReflect

func (*PartitionSchemaPB_RangeSchemaPB) Reset

func (*PartitionSchemaPB_RangeSchemaPB) String

type PartitionSchemaPB_RangeSplitPB

type PartitionSchemaPB_RangeSplitPB struct {

	// Each range column will be assigned a lower bound.
	ColumnBounds []byte `protobuf:"bytes,1,opt,name=column_bounds,json=columnBounds" json:"column_bounds,omitempty"`
	// contains filtered or unexported fields
}

func (*PartitionSchemaPB_RangeSplitPB) Descriptor deprecated

func (*PartitionSchemaPB_RangeSplitPB) Descriptor() ([]byte, []int)

Deprecated: Use PartitionSchemaPB_RangeSplitPB.ProtoReflect.Descriptor instead.

func (*PartitionSchemaPB_RangeSplitPB) GetColumnBounds

func (x *PartitionSchemaPB_RangeSplitPB) GetColumnBounds() []byte

func (*PartitionSchemaPB_RangeSplitPB) ProtoMessage

func (*PartitionSchemaPB_RangeSplitPB) ProtoMessage()

func (*PartitionSchemaPB_RangeSplitPB) ProtoReflect

func (*PartitionSchemaPB_RangeSplitPB) Reset

func (x *PartitionSchemaPB_RangeSplitPB) Reset()

func (*PartitionSchemaPB_RangeSplitPB) String

type PathInstanceMetadataPB

type PathInstanceMetadataPB struct {

	// Describes this path instance as well as all of the other path instances
	// that, taken together, describe a complete set.
	PathSet *PathSetPB `protobuf:"bytes,1,req,name=path_set,json=pathSet" json:"path_set,omitempty"`
	// Textual representation of the block manager that formatted this path.
	BlockManagerType *string `protobuf:"bytes,2,req,name=block_manager_type,json=blockManagerType" json:"block_manager_type,omitempty"`
	// Block size on the filesystem where this instance was created. If the
	// instance (and its data) are ever copied to another location, the block
	// size in that location must be the same.
	FilesystemBlockSizeBytes *uint64 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

A filesystem instance can contain multiple paths. One of these structures is persisted in each path when the filesystem instance is created.

func (*PathInstanceMetadataPB) Descriptor deprecated

func (*PathInstanceMetadataPB) Descriptor() ([]byte, []int)

Deprecated: Use PathInstanceMetadataPB.ProtoReflect.Descriptor instead.

func (*PathInstanceMetadataPB) GetBlockManagerType

func (x *PathInstanceMetadataPB) GetBlockManagerType() string

func (*PathInstanceMetadataPB) GetFilesystemBlockSizeBytes

func (x *PathInstanceMetadataPB) GetFilesystemBlockSizeBytes() uint64

func (*PathInstanceMetadataPB) GetPathSet

func (x *PathInstanceMetadataPB) GetPathSet() *PathSetPB

func (*PathInstanceMetadataPB) ProtoMessage

func (*PathInstanceMetadataPB) ProtoMessage()

func (*PathInstanceMetadataPB) ProtoReflect

func (x *PathInstanceMetadataPB) ProtoReflect() protoreflect.Message

func (*PathInstanceMetadataPB) Reset

func (x *PathInstanceMetadataPB) Reset()

func (*PathInstanceMetadataPB) String

func (x *PathInstanceMetadataPB) String() string

type PathSetPB

type PathSetPB struct {

	// Globally unique identifier for this path instance.
	Uuid []byte `protobuf:"bytes,1,req,name=uuid" json:"uuid,omitempty"`
	// All UUIDs in this path instance set. In a healthy filesystem:
	// 1. There exists an on-disk PathInstanceMetadataPB for each listed UUID, and
	// 2. Every PathSetPB contains an identical copy of all_uuids.
	AllUuids [][]byte `protobuf:"bytes,2,rep,name=all_uuids,json=allUuids" json:"all_uuids,omitempty"`
	// contains filtered or unexported fields
}

Describes a collection of filesystem path instances and the membership of a particular instance in the collection.

In a healthy filesystem (see below), a path instance can be referred to via its UUID's position in all_uuids instead of via the UUID itself. This is useful when there are many such references, as the position is much shorter than the UUID.

func (*PathSetPB) Descriptor deprecated

func (*PathSetPB) Descriptor() ([]byte, []int)

Deprecated: Use PathSetPB.ProtoReflect.Descriptor instead.

func (*PathSetPB) GetAllUuids

func (x *PathSetPB) GetAllUuids() [][]byte

func (*PathSetPB) GetUuid

func (x *PathSetPB) GetUuid() []byte

func (*PathSetPB) ProtoMessage

func (*PathSetPB) ProtoMessage()

func (*PathSetPB) ProtoReflect

func (x *PathSetPB) ProtoReflect() protoreflect.Message

func (*PathSetPB) Reset

func (x *PathSetPB) Reset()

func (*PathSetPB) String

func (x *PathSetPB) String() string

type PeerMemberType added in v2.11.2

type PeerMemberType int32
const (
	PeerMemberType_UNKNOWN_MEMBER_TYPE PeerMemberType = 999
	// Any server added into a running consensus with the intention of becoming a VOTER, should be
	// added as a PRE_VOTER. Such a server stays as a PRE_VOTER (for a specific tablet) till it is
	// remote bootstrapped, after which it is promoted to VOTER. While in this mode, a server will
	// not vote nor try to become a leader.
	PeerMemberType_PRE_VOTER PeerMemberType = 0
	PeerMemberType_VOTER     PeerMemberType = 1
	// Any server added into a running consensus with the intention of becoming an async replica
	// (OBSERVER), Such a server stays as a PRE_OBSERVER (for a specific tablet) till it is
	// remote bootstrapped, after which it is promoted to OBSERVER. While in this mode, a server
	// will not vote nor try to become a leader.
	PeerMemberType_PRE_OBSERVER PeerMemberType = 2
	// Async replication mode. An OBSERVER doesn't participate in any decisions regarding the
	// consensus configuration. It only accepts update requests and allows read requests.
	PeerMemberType_OBSERVER PeerMemberType = 3
)

func (PeerMemberType) Descriptor added in v2.11.2

func (PeerMemberType) Enum added in v2.11.2

func (x PeerMemberType) Enum() *PeerMemberType

func (PeerMemberType) EnumDescriptor deprecated added in v2.11.2

func (PeerMemberType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PeerMemberType.Descriptor instead.

func (PeerMemberType) Number added in v2.11.2

func (PeerMemberType) String added in v2.11.2

func (x PeerMemberType) String() string

func (PeerMemberType) Type added in v2.11.2

func (*PeerMemberType) UnmarshalJSON deprecated added in v2.11.2

func (x *PeerMemberType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PeerRole added in v2.11.2

type PeerRole int32

The possible roles for peers.

const (
	// Indicates this node is a follower in the configuration, i.e. that it participates
	// in majorities and accepts Consensus::Update() calls.
	PeerRole_FOLLOWER PeerRole = 0
	// Indicates this node is the current leader of the configuration, i.e. that it
	// participates in majorities and accepts Consensus::Append() calls.
	PeerRole_LEADER PeerRole = 1
	// New peers joining a quorum will be in this role for both PRE_VOTER and PRE_OBSERVER
	// while the tablet data is being remote bootstrapped. The peer does not participate
	// in starting elections or majorities.
	PeerRole_LEARNER PeerRole = 2
	// Indicates that this node is not a participant of the configuration, i.e. does
	// not accept Consensus::Update() or Consensus::Update() and cannot
	// participate in elections or majorities. This is usually the role of a node
	// that leaves the configuration.
	PeerRole_NON_PARTICIPANT PeerRole = 3
	// This peer is a read (async) replica and gets informed of the quorum write
	// activity and provides time-line consistent reads.
	PeerRole_READ_REPLICA PeerRole = 4
	PeerRole_UNKNOWN_ROLE PeerRole = 7
)

func (PeerRole) Descriptor added in v2.11.2

func (PeerRole) Descriptor() protoreflect.EnumDescriptor

func (PeerRole) Enum added in v2.11.2

func (x PeerRole) Enum() *PeerRole

func (PeerRole) EnumDescriptor deprecated added in v2.11.2

func (PeerRole) EnumDescriptor() ([]byte, []int)

Deprecated: Use PeerRole.Descriptor instead.

func (PeerRole) Number added in v2.11.2

func (x PeerRole) Number() protoreflect.EnumNumber

func (PeerRole) String added in v2.11.2

func (x PeerRole) String() string

func (PeerRole) Type added in v2.11.2

func (*PeerRole) UnmarshalJSON deprecated added in v2.11.2

func (x *PeerRole) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PerOpErrorPB

type PerOpErrorPB struct {

	// The id of the operation that failed in the other peer.
	Id *OpIdPB `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// The Status explaining why the operation failed.
	Status *AppStatusPB `protobuf:"bytes,2,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PerOpErrorPB) Descriptor deprecated

func (*PerOpErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use PerOpErrorPB.ProtoReflect.Descriptor instead.

func (*PerOpErrorPB) GetId

func (x *PerOpErrorPB) GetId() *OpIdPB

func (*PerOpErrorPB) GetStatus

func (x *PerOpErrorPB) GetStatus() *AppStatusPB

func (*PerOpErrorPB) ProtoMessage

func (*PerOpErrorPB) ProtoMessage()

func (*PerOpErrorPB) ProtoReflect

func (x *PerOpErrorPB) ProtoReflect() protoreflect.Message

func (*PerOpErrorPB) Reset

func (x *PerOpErrorPB) Reset()

func (*PerOpErrorPB) String

func (x *PerOpErrorPB) String() string

type PermissionType

type PermissionType int32

Suffixed with PERMISSION, because Google does not allow same enum name CREATE

const (
	PermissionType_ALTER_PERMISSION     PermissionType = 0
	PermissionType_CREATE_PERMISSION    PermissionType = 1
	PermissionType_DROP_PERMISSION      PermissionType = 2
	PermissionType_SELECT_PERMISSION    PermissionType = 3
	PermissionType_MODIFY_PERMISSION    PermissionType = 4
	PermissionType_AUTHORIZE_PERMISSION PermissionType = 5
	PermissionType_DESCRIBE_PERMISSION  PermissionType = 6
	PermissionType_ALL_PERMISSION       PermissionType = 999999999
)

func (PermissionType) Descriptor

func (PermissionType) Enum

func (x PermissionType) Enum() *PermissionType

func (PermissionType) EnumDescriptor deprecated

func (PermissionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PermissionType.Descriptor instead.

func (PermissionType) Number

func (PermissionType) String

func (x PermissionType) String() string

func (PermissionType) Type

func (*PermissionType) UnmarshalJSON deprecated

func (x *PermissionType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PgAlterDatabaseRequestPB

type PgAlterDatabaseRequestPB struct {
	SessionId    uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	DatabaseOid  uint32 `protobuf:"varint,3,opt,name=database_oid,json=databaseOid,proto3" json:"database_oid,omitempty"`
	NewName      string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PgAlterDatabaseRequestPB) Descriptor deprecated

func (*PgAlterDatabaseRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgAlterDatabaseRequestPB.ProtoReflect.Descriptor instead.

func (*PgAlterDatabaseRequestPB) GetDatabaseName

func (x *PgAlterDatabaseRequestPB) GetDatabaseName() string

func (*PgAlterDatabaseRequestPB) GetDatabaseOid

func (x *PgAlterDatabaseRequestPB) GetDatabaseOid() uint32

func (*PgAlterDatabaseRequestPB) GetNewName

func (x *PgAlterDatabaseRequestPB) GetNewName() string

func (*PgAlterDatabaseRequestPB) GetSessionId

func (x *PgAlterDatabaseRequestPB) GetSessionId() uint64

func (*PgAlterDatabaseRequestPB) ProtoMessage

func (*PgAlterDatabaseRequestPB) ProtoMessage()

func (*PgAlterDatabaseRequestPB) ProtoReflect

func (x *PgAlterDatabaseRequestPB) ProtoReflect() protoreflect.Message

func (*PgAlterDatabaseRequestPB) Reset

func (x *PgAlterDatabaseRequestPB) Reset()

func (*PgAlterDatabaseRequestPB) String

func (x *PgAlterDatabaseRequestPB) String() string

type PgAlterDatabaseResponsePB

type PgAlterDatabaseResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgAlterDatabaseResponsePB) Descriptor deprecated

func (*PgAlterDatabaseResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgAlterDatabaseResponsePB.ProtoReflect.Descriptor instead.

func (*PgAlterDatabaseResponsePB) GetStatus

func (x *PgAlterDatabaseResponsePB) GetStatus() *AppStatusPB

func (*PgAlterDatabaseResponsePB) ProtoMessage

func (*PgAlterDatabaseResponsePB) ProtoMessage()

func (*PgAlterDatabaseResponsePB) ProtoReflect

func (*PgAlterDatabaseResponsePB) Reset

func (x *PgAlterDatabaseResponsePB) Reset()

func (*PgAlterDatabaseResponsePB) String

func (x *PgAlterDatabaseResponsePB) String() string

type PgAlterTableRequestPB

type PgAlterTableRequestPB struct {
	SessionId      uint64                 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	UseTransaction *TransactionMetadataPB `protobuf:"bytes,2,opt,name=use_transaction,json=useTransaction,proto3" json:"use_transaction,omitempty"` // TODO(PG_CLIENT) Replace with bool.
	TableId        *PgObjectIdPB          `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	AddColumns     []*PgCreateColumnPB    `protobuf:"bytes,4,rep,name=add_columns,json=addColumns,proto3" json:"add_columns,omitempty"`
	RenameColumns  []*PgRenameColumnPB    `protobuf:"bytes,5,rep,name=rename_columns,json=renameColumns,proto3" json:"rename_columns,omitempty"`
	DropColumns    []string               `protobuf:"bytes,6,rep,name=drop_columns,json=dropColumns,proto3" json:"drop_columns,omitempty"`
	RenameTable    *PgRenameTablePB       `protobuf:"bytes,7,opt,name=rename_table,json=renameTable,proto3" json:"rename_table,omitempty"`
	// contains filtered or unexported fields
}

func (*PgAlterTableRequestPB) Descriptor deprecated

func (*PgAlterTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgAlterTableRequestPB.ProtoReflect.Descriptor instead.

func (*PgAlterTableRequestPB) GetAddColumns

func (x *PgAlterTableRequestPB) GetAddColumns() []*PgCreateColumnPB

func (*PgAlterTableRequestPB) GetDropColumns

func (x *PgAlterTableRequestPB) GetDropColumns() []string

func (*PgAlterTableRequestPB) GetRenameColumns

func (x *PgAlterTableRequestPB) GetRenameColumns() []*PgRenameColumnPB

func (*PgAlterTableRequestPB) GetRenameTable

func (x *PgAlterTableRequestPB) GetRenameTable() *PgRenameTablePB

func (*PgAlterTableRequestPB) GetSessionId

func (x *PgAlterTableRequestPB) GetSessionId() uint64

func (*PgAlterTableRequestPB) GetTableId

func (x *PgAlterTableRequestPB) GetTableId() *PgObjectIdPB

func (*PgAlterTableRequestPB) GetUseTransaction

func (x *PgAlterTableRequestPB) GetUseTransaction() *TransactionMetadataPB

func (*PgAlterTableRequestPB) ProtoMessage

func (*PgAlterTableRequestPB) ProtoMessage()

func (*PgAlterTableRequestPB) ProtoReflect

func (x *PgAlterTableRequestPB) ProtoReflect() protoreflect.Message

func (*PgAlterTableRequestPB) Reset

func (x *PgAlterTableRequestPB) Reset()

func (*PgAlterTableRequestPB) String

func (x *PgAlterTableRequestPB) String() string

type PgAlterTableResponsePB

type PgAlterTableResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgAlterTableResponsePB) Descriptor deprecated

func (*PgAlterTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgAlterTableResponsePB.ProtoReflect.Descriptor instead.

func (*PgAlterTableResponsePB) GetStatus

func (x *PgAlterTableResponsePB) GetStatus() *AppStatusPB

func (*PgAlterTableResponsePB) ProtoMessage

func (*PgAlterTableResponsePB) ProtoMessage()

func (*PgAlterTableResponsePB) ProtoReflect

func (x *PgAlterTableResponsePB) ProtoReflect() protoreflect.Message

func (*PgAlterTableResponsePB) Reset

func (x *PgAlterTableResponsePB) Reset()

func (*PgAlterTableResponsePB) String

func (x *PgAlterTableResponsePB) String() string

type PgBackfillIndexRequestPB

type PgBackfillIndexRequestPB struct {
	SessionId uint64        `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	TableId   *PgObjectIdPB `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PgBackfillIndexRequestPB) Descriptor deprecated

func (*PgBackfillIndexRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgBackfillIndexRequestPB.ProtoReflect.Descriptor instead.

func (*PgBackfillIndexRequestPB) GetSessionId

func (x *PgBackfillIndexRequestPB) GetSessionId() uint64

func (*PgBackfillIndexRequestPB) GetTableId

func (x *PgBackfillIndexRequestPB) GetTableId() *PgObjectIdPB

func (*PgBackfillIndexRequestPB) ProtoMessage

func (*PgBackfillIndexRequestPB) ProtoMessage()

func (*PgBackfillIndexRequestPB) ProtoReflect

func (x *PgBackfillIndexRequestPB) ProtoReflect() protoreflect.Message

func (*PgBackfillIndexRequestPB) Reset

func (x *PgBackfillIndexRequestPB) Reset()

func (*PgBackfillIndexRequestPB) String

func (x *PgBackfillIndexRequestPB) String() string

type PgBackfillIndexResponsePB

type PgBackfillIndexResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgBackfillIndexResponsePB) Descriptor deprecated

func (*PgBackfillIndexResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgBackfillIndexResponsePB.ProtoReflect.Descriptor instead.

func (*PgBackfillIndexResponsePB) GetStatus

func (x *PgBackfillIndexResponsePB) GetStatus() *AppStatusPB

func (*PgBackfillIndexResponsePB) ProtoMessage

func (*PgBackfillIndexResponsePB) ProtoMessage()

func (*PgBackfillIndexResponsePB) ProtoReflect

func (*PgBackfillIndexResponsePB) Reset

func (x *PgBackfillIndexResponsePB) Reset()

func (*PgBackfillIndexResponsePB) String

func (x *PgBackfillIndexResponsePB) String() string

type PgClientServiceClient

type PgClientServiceClient interface {
	Heartbeat(ctx context.Context, in *PgHeartbeatRequestPB, opts ...grpc.CallOption) (*PgHeartbeatResponsePB, error)
	AlterDatabase(ctx context.Context, in *PgAlterDatabaseRequestPB, opts ...grpc.CallOption) (*PgAlterDatabaseResponsePB, error)
	AlterTable(ctx context.Context, in *PgAlterTableRequestPB, opts ...grpc.CallOption) (*PgAlterTableResponsePB, error)
	BackfillIndex(ctx context.Context, in *PgBackfillIndexRequestPB, opts ...grpc.CallOption) (*PgBackfillIndexResponsePB, error)
	CreateDatabase(ctx context.Context, in *PgCreateDatabaseRequestPB, opts ...grpc.CallOption) (*PgCreateDatabaseResponsePB, error)
	CreateSequencesDataTable(ctx context.Context, in *PgCreateSequencesDataTableRequestPB, opts ...grpc.CallOption) (*PgCreateSequencesDataTableResponsePB, error)
	CreateTable(ctx context.Context, in *PgCreateTableRequestPB, opts ...grpc.CallOption) (*PgCreateTableResponsePB, error)
	CreateTablegroup(ctx context.Context, in *PgCreateTablegroupRequestPB, opts ...grpc.CallOption) (*PgCreateTablegroupResponsePB, error)
	DropDatabase(ctx context.Context, in *PgDropDatabaseRequestPB, opts ...grpc.CallOption) (*PgDropDatabaseResponsePB, error)
	DropTable(ctx context.Context, in *PgDropTableRequestPB, opts ...grpc.CallOption) (*PgDropTableResponsePB, error)
	DropTablegroup(ctx context.Context, in *PgDropTablegroupRequestPB, opts ...grpc.CallOption) (*PgDropTablegroupResponsePB, error)
	GetCatalogMasterVersion(ctx context.Context, in *PgGetCatalogMasterVersionRequestPB, opts ...grpc.CallOption) (*PgGetCatalogMasterVersionResponsePB, error)
	GetDatabaseInfo(ctx context.Context, in *PgGetDatabaseInfoRequestPB, opts ...grpc.CallOption) (*PgGetDatabaseInfoResponsePB, error)
	IsInitDbDone(ctx context.Context, in *PgIsInitDbDoneRequestPB, opts ...grpc.CallOption) (*PgIsInitDbDoneResponsePB, error)
	ListLiveTabletServers(ctx context.Context, in *PgListLiveTabletServersRequestPB, opts ...grpc.CallOption) (*PgListLiveTabletServersResponsePB, error)
	OpenTable(ctx context.Context, in *PgOpenTableRequestPB, opts ...grpc.CallOption) (*PgOpenTableResponsePB, error)
	ReserveOids(ctx context.Context, in *PgReserveOidsRequestPB, opts ...grpc.CallOption) (*PgReserveOidsResponsePB, error)
	TabletServerCount(ctx context.Context, in *PgTabletServerCountRequestPB, opts ...grpc.CallOption) (*PgTabletServerCountResponsePB, error)
	TruncateTable(ctx context.Context, in *PgTruncateTableRequestPB, opts ...grpc.CallOption) (*PgTruncateTableResponsePB, error)
	ValidatePlacement(ctx context.Context, in *PgValidatePlacementRequestPB, opts ...grpc.CallOption) (*PgValidatePlacementResponsePB, error)
}

PgClientServiceClient is the client API for PgClientService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PgClientServiceServer

type PgClientServiceServer interface {
	Heartbeat(context.Context, *PgHeartbeatRequestPB) (*PgHeartbeatResponsePB, error)
	AlterDatabase(context.Context, *PgAlterDatabaseRequestPB) (*PgAlterDatabaseResponsePB, error)
	AlterTable(context.Context, *PgAlterTableRequestPB) (*PgAlterTableResponsePB, error)
	BackfillIndex(context.Context, *PgBackfillIndexRequestPB) (*PgBackfillIndexResponsePB, error)
	CreateDatabase(context.Context, *PgCreateDatabaseRequestPB) (*PgCreateDatabaseResponsePB, error)
	CreateSequencesDataTable(context.Context, *PgCreateSequencesDataTableRequestPB) (*PgCreateSequencesDataTableResponsePB, error)
	CreateTable(context.Context, *PgCreateTableRequestPB) (*PgCreateTableResponsePB, error)
	CreateTablegroup(context.Context, *PgCreateTablegroupRequestPB) (*PgCreateTablegroupResponsePB, error)
	DropDatabase(context.Context, *PgDropDatabaseRequestPB) (*PgDropDatabaseResponsePB, error)
	DropTable(context.Context, *PgDropTableRequestPB) (*PgDropTableResponsePB, error)
	DropTablegroup(context.Context, *PgDropTablegroupRequestPB) (*PgDropTablegroupResponsePB, error)
	GetCatalogMasterVersion(context.Context, *PgGetCatalogMasterVersionRequestPB) (*PgGetCatalogMasterVersionResponsePB, error)
	GetDatabaseInfo(context.Context, *PgGetDatabaseInfoRequestPB) (*PgGetDatabaseInfoResponsePB, error)
	IsInitDbDone(context.Context, *PgIsInitDbDoneRequestPB) (*PgIsInitDbDoneResponsePB, error)
	ListLiveTabletServers(context.Context, *PgListLiveTabletServersRequestPB) (*PgListLiveTabletServersResponsePB, error)
	OpenTable(context.Context, *PgOpenTableRequestPB) (*PgOpenTableResponsePB, error)
	ReserveOids(context.Context, *PgReserveOidsRequestPB) (*PgReserveOidsResponsePB, error)
	TabletServerCount(context.Context, *PgTabletServerCountRequestPB) (*PgTabletServerCountResponsePB, error)
	TruncateTable(context.Context, *PgTruncateTableRequestPB) (*PgTruncateTableResponsePB, error)
	ValidatePlacement(context.Context, *PgValidatePlacementRequestPB) (*PgValidatePlacementResponsePB, error)
}

PgClientServiceServer is the server API for PgClientService service. All implementations should embed UnimplementedPgClientServiceServer for forward compatibility

type PgCreateColumnPB

type PgCreateColumnPB struct {
	AttrName    string `protobuf:"bytes,1,opt,name=attr_name,json=attrName,proto3" json:"attr_name,omitempty"`
	AttrNum     int32  `protobuf:"varint,2,opt,name=attr_num,json=attrNum,proto3" json:"attr_num,omitempty"`
	AttrYbtype  int32  `protobuf:"varint,3,opt,name=attr_ybtype,json=attrYbtype,proto3" json:"attr_ybtype,omitempty"`
	IsHash      bool   `protobuf:"varint,4,opt,name=is_hash,json=isHash,proto3" json:"is_hash,omitempty"`
	IsRange     bool   `protobuf:"varint,5,opt,name=is_range,json=isRange,proto3" json:"is_range,omitempty"`
	SortingType int32  `protobuf:"varint,6,opt,name=sorting_type,json=sortingType,proto3" json:"sorting_type,omitempty"`
	AttrPgoid   int32  `protobuf:"varint,7,opt,name=attr_pgoid,json=attrPgoid,proto3" json:"attr_pgoid,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateColumnPB) Descriptor deprecated

func (*PgCreateColumnPB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateColumnPB.ProtoReflect.Descriptor instead.

func (*PgCreateColumnPB) GetAttrName

func (x *PgCreateColumnPB) GetAttrName() string

func (*PgCreateColumnPB) GetAttrNum

func (x *PgCreateColumnPB) GetAttrNum() int32

func (*PgCreateColumnPB) GetAttrPgoid added in v2.13.0

func (x *PgCreateColumnPB) GetAttrPgoid() int32

func (*PgCreateColumnPB) GetAttrYbtype

func (x *PgCreateColumnPB) GetAttrYbtype() int32

func (*PgCreateColumnPB) GetIsHash

func (x *PgCreateColumnPB) GetIsHash() bool

func (*PgCreateColumnPB) GetIsRange

func (x *PgCreateColumnPB) GetIsRange() bool

func (*PgCreateColumnPB) GetSortingType

func (x *PgCreateColumnPB) GetSortingType() int32

func (*PgCreateColumnPB) ProtoMessage

func (*PgCreateColumnPB) ProtoMessage()

func (*PgCreateColumnPB) ProtoReflect

func (x *PgCreateColumnPB) ProtoReflect() protoreflect.Message

func (*PgCreateColumnPB) Reset

func (x *PgCreateColumnPB) Reset()

func (*PgCreateColumnPB) String

func (x *PgCreateColumnPB) String() string

type PgCreateDatabaseRequestPB

type PgCreateDatabaseRequestPB struct {
	SessionId         uint64                 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	UseTransaction    *TransactionMetadataPB `protobuf:"bytes,2,opt,name=use_transaction,json=useTransaction,proto3" json:"use_transaction,omitempty"` // TODO(PG_CLIENT) Replace with bool.
	DatabaseName      string                 `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	DatabaseOid       uint32                 `protobuf:"varint,4,opt,name=database_oid,json=databaseOid,proto3" json:"database_oid,omitempty"`
	SourceDatabaseOid uint32                 `protobuf:"varint,5,opt,name=source_database_oid,json=sourceDatabaseOid,proto3" json:"source_database_oid,omitempty"`
	NextOid           uint32                 `protobuf:"varint,6,opt,name=next_oid,json=nextOid,proto3" json:"next_oid,omitempty"`
	Colocated         bool                   `protobuf:"varint,7,opt,name=colocated,proto3" json:"colocated,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateDatabaseRequestPB) Descriptor deprecated

func (*PgCreateDatabaseRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateDatabaseRequestPB.ProtoReflect.Descriptor instead.

func (*PgCreateDatabaseRequestPB) GetColocated

func (x *PgCreateDatabaseRequestPB) GetColocated() bool

func (*PgCreateDatabaseRequestPB) GetDatabaseName

func (x *PgCreateDatabaseRequestPB) GetDatabaseName() string

func (*PgCreateDatabaseRequestPB) GetDatabaseOid

func (x *PgCreateDatabaseRequestPB) GetDatabaseOid() uint32

func (*PgCreateDatabaseRequestPB) GetNextOid

func (x *PgCreateDatabaseRequestPB) GetNextOid() uint32

func (*PgCreateDatabaseRequestPB) GetSessionId

func (x *PgCreateDatabaseRequestPB) GetSessionId() uint64

func (*PgCreateDatabaseRequestPB) GetSourceDatabaseOid

func (x *PgCreateDatabaseRequestPB) GetSourceDatabaseOid() uint32

func (*PgCreateDatabaseRequestPB) GetUseTransaction

func (x *PgCreateDatabaseRequestPB) GetUseTransaction() *TransactionMetadataPB

func (*PgCreateDatabaseRequestPB) ProtoMessage

func (*PgCreateDatabaseRequestPB) ProtoMessage()

func (*PgCreateDatabaseRequestPB) ProtoReflect

func (*PgCreateDatabaseRequestPB) Reset

func (x *PgCreateDatabaseRequestPB) Reset()

func (*PgCreateDatabaseRequestPB) String

func (x *PgCreateDatabaseRequestPB) String() string

type PgCreateDatabaseResponsePB

type PgCreateDatabaseResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateDatabaseResponsePB) Descriptor deprecated

func (*PgCreateDatabaseResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateDatabaseResponsePB.ProtoReflect.Descriptor instead.

func (*PgCreateDatabaseResponsePB) GetStatus

func (x *PgCreateDatabaseResponsePB) GetStatus() *AppStatusPB

func (*PgCreateDatabaseResponsePB) ProtoMessage

func (*PgCreateDatabaseResponsePB) ProtoMessage()

func (*PgCreateDatabaseResponsePB) ProtoReflect

func (*PgCreateDatabaseResponsePB) Reset

func (x *PgCreateDatabaseResponsePB) Reset()

func (*PgCreateDatabaseResponsePB) String

func (x *PgCreateDatabaseResponsePB) String() string

type PgCreateSequencesDataTableRequestPB

type PgCreateSequencesDataTableRequestPB struct {
	// contains filtered or unexported fields
}

func (*PgCreateSequencesDataTableRequestPB) Descriptor deprecated

func (*PgCreateSequencesDataTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateSequencesDataTableRequestPB.ProtoReflect.Descriptor instead.

func (*PgCreateSequencesDataTableRequestPB) ProtoMessage

func (*PgCreateSequencesDataTableRequestPB) ProtoMessage()

func (*PgCreateSequencesDataTableRequestPB) ProtoReflect

func (*PgCreateSequencesDataTableRequestPB) Reset

func (*PgCreateSequencesDataTableRequestPB) String

type PgCreateSequencesDataTableResponsePB

type PgCreateSequencesDataTableResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateSequencesDataTableResponsePB) Descriptor deprecated

func (*PgCreateSequencesDataTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateSequencesDataTableResponsePB.ProtoReflect.Descriptor instead.

func (*PgCreateSequencesDataTableResponsePB) GetStatus

func (*PgCreateSequencesDataTableResponsePB) ProtoMessage

func (*PgCreateSequencesDataTableResponsePB) ProtoMessage()

func (*PgCreateSequencesDataTableResponsePB) ProtoReflect

func (*PgCreateSequencesDataTableResponsePB) Reset

func (*PgCreateSequencesDataTableResponsePB) String

type PgCreateSplitBoundaryPB

type PgCreateSplitBoundaryPB struct {
	Values []*QLValuePB `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateSplitBoundaryPB) Descriptor deprecated

func (*PgCreateSplitBoundaryPB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateSplitBoundaryPB.ProtoReflect.Descriptor instead.

func (*PgCreateSplitBoundaryPB) GetValues

func (x *PgCreateSplitBoundaryPB) GetValues() []*QLValuePB

func (*PgCreateSplitBoundaryPB) ProtoMessage

func (*PgCreateSplitBoundaryPB) ProtoMessage()

func (*PgCreateSplitBoundaryPB) ProtoReflect

func (x *PgCreateSplitBoundaryPB) ProtoReflect() protoreflect.Message

func (*PgCreateSplitBoundaryPB) Reset

func (x *PgCreateSplitBoundaryPB) Reset()

func (*PgCreateSplitBoundaryPB) String

func (x *PgCreateSplitBoundaryPB) String() string

type PgCreateTableRequestPB

type PgCreateTableRequestPB struct {
	SessionId        uint64                     `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	UseTransaction   *TransactionMetadataPB     `protobuf:"bytes,2,opt,name=use_transaction,json=useTransaction,proto3" json:"use_transaction,omitempty"` // TODO(PG_CLIENT) Replace with bool.
	TableId          *PgObjectIdPB              `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	DatabaseName     string                     `protobuf:"bytes,4,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	TableName        string                     `protobuf:"bytes,5,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	NumTablets       int32                      `protobuf:"varint,6,opt,name=num_tablets,json=numTablets,proto3" json:"num_tablets,omitempty"`
	IsPgCatalogTable bool                       `protobuf:"varint,7,opt,name=is_pg_catalog_table,json=isPgCatalogTable,proto3" json:"is_pg_catalog_table,omitempty"`
	IsSharedTable    bool                       `protobuf:"varint,8,opt,name=is_shared_table,json=isSharedTable,proto3" json:"is_shared_table,omitempty"`
	IfNotExist       bool                       `protobuf:"varint,9,opt,name=if_not_exist,json=ifNotExist,proto3" json:"if_not_exist,omitempty"`
	Colocated        bool                       `protobuf:"varint,10,opt,name=colocated,proto3" json:"colocated,omitempty"`
	TablegroupOid    *PgObjectIdPB              `protobuf:"bytes,11,opt,name=tablegroup_oid,json=tablegroupOid,proto3" json:"tablegroup_oid,omitempty"`
	TablespaceOid    *PgObjectIdPB              `protobuf:"bytes,12,opt,name=tablespace_oid,json=tablespaceOid,proto3" json:"tablespace_oid,omitempty"`
	CreateColumns    []*PgCreateColumnPB        `protobuf:"bytes,13,rep,name=create_columns,json=createColumns,proto3" json:"create_columns,omitempty"`
	SplitBounds      []*PgCreateSplitBoundaryPB `protobuf:"bytes,14,rep,name=split_bounds,json=splitBounds,proto3" json:"split_bounds,omitempty"`
	// Actual for index only.
	BaseTableId       *PgObjectIdPB `protobuf:"bytes,15,opt,name=base_table_id,json=baseTableId,proto3" json:"base_table_id,omitempty"`
	IsUniqueIndex     bool          `protobuf:"varint,16,opt,name=is_unique_index,json=isUniqueIndex,proto3" json:"is_unique_index,omitempty"`
	SkipIndexBackfill bool          `protobuf:"varint,17,opt,name=skip_index_backfill,json=skipIndexBackfill,proto3" json:"skip_index_backfill,omitempty"`
	MatviewPgTableOid *PgObjectIdPB `protobuf:"bytes,18,opt,name=matview_pg_table_oid,json=matviewPgTableOid,proto3" json:"matview_pg_table_oid,omitempty"`
	SchemaName        string        `protobuf:"bytes,19,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateTableRequestPB) Descriptor deprecated

func (*PgCreateTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateTableRequestPB.ProtoReflect.Descriptor instead.

func (*PgCreateTableRequestPB) GetBaseTableId

func (x *PgCreateTableRequestPB) GetBaseTableId() *PgObjectIdPB

func (*PgCreateTableRequestPB) GetColocated

func (x *PgCreateTableRequestPB) GetColocated() bool

func (*PgCreateTableRequestPB) GetCreateColumns

func (x *PgCreateTableRequestPB) GetCreateColumns() []*PgCreateColumnPB

func (*PgCreateTableRequestPB) GetDatabaseName

func (x *PgCreateTableRequestPB) GetDatabaseName() string

func (*PgCreateTableRequestPB) GetIfNotExist

func (x *PgCreateTableRequestPB) GetIfNotExist() bool

func (*PgCreateTableRequestPB) GetIsPgCatalogTable

func (x *PgCreateTableRequestPB) GetIsPgCatalogTable() bool

func (*PgCreateTableRequestPB) GetIsSharedTable

func (x *PgCreateTableRequestPB) GetIsSharedTable() bool

func (*PgCreateTableRequestPB) GetIsUniqueIndex

func (x *PgCreateTableRequestPB) GetIsUniqueIndex() bool

func (*PgCreateTableRequestPB) GetMatviewPgTableOid added in v2.13.0

func (x *PgCreateTableRequestPB) GetMatviewPgTableOid() *PgObjectIdPB

func (*PgCreateTableRequestPB) GetNumTablets

func (x *PgCreateTableRequestPB) GetNumTablets() int32

func (*PgCreateTableRequestPB) GetSchemaName added in v2.13.0

func (x *PgCreateTableRequestPB) GetSchemaName() string

func (*PgCreateTableRequestPB) GetSessionId

func (x *PgCreateTableRequestPB) GetSessionId() uint64

func (*PgCreateTableRequestPB) GetSkipIndexBackfill

func (x *PgCreateTableRequestPB) GetSkipIndexBackfill() bool

func (*PgCreateTableRequestPB) GetSplitBounds

func (x *PgCreateTableRequestPB) GetSplitBounds() []*PgCreateSplitBoundaryPB

func (*PgCreateTableRequestPB) GetTableId

func (x *PgCreateTableRequestPB) GetTableId() *PgObjectIdPB

func (*PgCreateTableRequestPB) GetTableName

func (x *PgCreateTableRequestPB) GetTableName() string

func (*PgCreateTableRequestPB) GetTablegroupOid

func (x *PgCreateTableRequestPB) GetTablegroupOid() *PgObjectIdPB

func (*PgCreateTableRequestPB) GetTablespaceOid

func (x *PgCreateTableRequestPB) GetTablespaceOid() *PgObjectIdPB

func (*PgCreateTableRequestPB) GetUseTransaction

func (x *PgCreateTableRequestPB) GetUseTransaction() *TransactionMetadataPB

func (*PgCreateTableRequestPB) ProtoMessage

func (*PgCreateTableRequestPB) ProtoMessage()

func (*PgCreateTableRequestPB) ProtoReflect

func (x *PgCreateTableRequestPB) ProtoReflect() protoreflect.Message

func (*PgCreateTableRequestPB) Reset

func (x *PgCreateTableRequestPB) Reset()

func (*PgCreateTableRequestPB) String

func (x *PgCreateTableRequestPB) String() string

type PgCreateTableResponsePB

type PgCreateTableResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateTableResponsePB) Descriptor deprecated

func (*PgCreateTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateTableResponsePB.ProtoReflect.Descriptor instead.

func (*PgCreateTableResponsePB) GetStatus

func (x *PgCreateTableResponsePB) GetStatus() *AppStatusPB

func (*PgCreateTableResponsePB) ProtoMessage

func (*PgCreateTableResponsePB) ProtoMessage()

func (*PgCreateTableResponsePB) ProtoReflect

func (x *PgCreateTableResponsePB) ProtoReflect() protoreflect.Message

func (*PgCreateTableResponsePB) Reset

func (x *PgCreateTableResponsePB) Reset()

func (*PgCreateTableResponsePB) String

func (x *PgCreateTableResponsePB) String() string

type PgCreateTablegroupRequestPB

type PgCreateTablegroupRequestPB struct {
	SessionId    uint64        `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	DatabaseName string        `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	TablegroupId *PgObjectIdPB `protobuf:"bytes,3,opt,name=tablegroup_id,json=tablegroupId,proto3" json:"tablegroup_id,omitempty"`
	TablespaceId *PgObjectIdPB `protobuf:"bytes,4,opt,name=tablespace_id,json=tablespaceId,proto3" json:"tablespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateTablegroupRequestPB) Descriptor deprecated

func (*PgCreateTablegroupRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateTablegroupRequestPB.ProtoReflect.Descriptor instead.

func (*PgCreateTablegroupRequestPB) GetDatabaseName

func (x *PgCreateTablegroupRequestPB) GetDatabaseName() string

func (*PgCreateTablegroupRequestPB) GetSessionId

func (x *PgCreateTablegroupRequestPB) GetSessionId() uint64

func (*PgCreateTablegroupRequestPB) GetTablegroupId

func (x *PgCreateTablegroupRequestPB) GetTablegroupId() *PgObjectIdPB

func (*PgCreateTablegroupRequestPB) GetTablespaceId added in v2.13.0

func (x *PgCreateTablegroupRequestPB) GetTablespaceId() *PgObjectIdPB

func (*PgCreateTablegroupRequestPB) ProtoMessage

func (*PgCreateTablegroupRequestPB) ProtoMessage()

func (*PgCreateTablegroupRequestPB) ProtoReflect

func (*PgCreateTablegroupRequestPB) Reset

func (x *PgCreateTablegroupRequestPB) Reset()

func (*PgCreateTablegroupRequestPB) String

func (x *PgCreateTablegroupRequestPB) String() string

type PgCreateTablegroupResponsePB

type PgCreateTablegroupResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgCreateTablegroupResponsePB) Descriptor deprecated

func (*PgCreateTablegroupResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgCreateTablegroupResponsePB.ProtoReflect.Descriptor instead.

func (*PgCreateTablegroupResponsePB) GetStatus

func (x *PgCreateTablegroupResponsePB) GetStatus() *AppStatusPB

func (*PgCreateTablegroupResponsePB) ProtoMessage

func (*PgCreateTablegroupResponsePB) ProtoMessage()

func (*PgCreateTablegroupResponsePB) ProtoReflect

func (*PgCreateTablegroupResponsePB) Reset

func (x *PgCreateTablegroupResponsePB) Reset()

func (*PgCreateTablegroupResponsePB) String

type PgDropDatabaseRequestPB

type PgDropDatabaseRequestPB struct {
	SessionId    uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	DatabaseName string `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	DatabaseOid  uint32 `protobuf:"varint,4,opt,name=database_oid,json=databaseOid,proto3" json:"database_oid,omitempty"`
	// contains filtered or unexported fields
}

func (*PgDropDatabaseRequestPB) Descriptor deprecated

func (*PgDropDatabaseRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgDropDatabaseRequestPB.ProtoReflect.Descriptor instead.

func (*PgDropDatabaseRequestPB) GetDatabaseName

func (x *PgDropDatabaseRequestPB) GetDatabaseName() string

func (*PgDropDatabaseRequestPB) GetDatabaseOid

func (x *PgDropDatabaseRequestPB) GetDatabaseOid() uint32

func (*PgDropDatabaseRequestPB) GetSessionId

func (x *PgDropDatabaseRequestPB) GetSessionId() uint64

func (*PgDropDatabaseRequestPB) ProtoMessage

func (*PgDropDatabaseRequestPB) ProtoMessage()

func (*PgDropDatabaseRequestPB) ProtoReflect

func (x *PgDropDatabaseRequestPB) ProtoReflect() protoreflect.Message

func (*PgDropDatabaseRequestPB) Reset

func (x *PgDropDatabaseRequestPB) Reset()

func (*PgDropDatabaseRequestPB) String

func (x *PgDropDatabaseRequestPB) String() string

type PgDropDatabaseResponsePB

type PgDropDatabaseResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgDropDatabaseResponsePB) Descriptor deprecated

func (*PgDropDatabaseResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgDropDatabaseResponsePB.ProtoReflect.Descriptor instead.

func (*PgDropDatabaseResponsePB) GetStatus

func (x *PgDropDatabaseResponsePB) GetStatus() *AppStatusPB

func (*PgDropDatabaseResponsePB) ProtoMessage

func (*PgDropDatabaseResponsePB) ProtoMessage()

func (*PgDropDatabaseResponsePB) ProtoReflect

func (x *PgDropDatabaseResponsePB) ProtoReflect() protoreflect.Message

func (*PgDropDatabaseResponsePB) Reset

func (x *PgDropDatabaseResponsePB) Reset()

func (*PgDropDatabaseResponsePB) String

func (x *PgDropDatabaseResponsePB) String() string

type PgDropTableRequestPB

type PgDropTableRequestPB struct {
	SessionId uint64        `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	TableId   *PgObjectIdPB `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	Index     bool          `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*PgDropTableRequestPB) Descriptor deprecated

func (*PgDropTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgDropTableRequestPB.ProtoReflect.Descriptor instead.

func (*PgDropTableRequestPB) GetIndex

func (x *PgDropTableRequestPB) GetIndex() bool

func (*PgDropTableRequestPB) GetSessionId

func (x *PgDropTableRequestPB) GetSessionId() uint64

func (*PgDropTableRequestPB) GetTableId

func (x *PgDropTableRequestPB) GetTableId() *PgObjectIdPB

func (*PgDropTableRequestPB) ProtoMessage

func (*PgDropTableRequestPB) ProtoMessage()

func (*PgDropTableRequestPB) ProtoReflect

func (x *PgDropTableRequestPB) ProtoReflect() protoreflect.Message

func (*PgDropTableRequestPB) Reset

func (x *PgDropTableRequestPB) Reset()

func (*PgDropTableRequestPB) String

func (x *PgDropTableRequestPB) String() string

type PgDropTableResponsePB

type PgDropTableResponsePB struct {
	Status       *AppStatusPB       `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	IndexedTable *TableIdentifierPB `protobuf:"bytes,2,opt,name=indexed_table,json=indexedTable,proto3" json:"indexed_table,omitempty"`
	// contains filtered or unexported fields
}

func (*PgDropTableResponsePB) Descriptor deprecated

func (*PgDropTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgDropTableResponsePB.ProtoReflect.Descriptor instead.

func (*PgDropTableResponsePB) GetIndexedTable

func (x *PgDropTableResponsePB) GetIndexedTable() *TableIdentifierPB

func (*PgDropTableResponsePB) GetStatus

func (x *PgDropTableResponsePB) GetStatus() *AppStatusPB

func (*PgDropTableResponsePB) ProtoMessage

func (*PgDropTableResponsePB) ProtoMessage()

func (*PgDropTableResponsePB) ProtoReflect

func (x *PgDropTableResponsePB) ProtoReflect() protoreflect.Message

func (*PgDropTableResponsePB) Reset

func (x *PgDropTableResponsePB) Reset()

func (*PgDropTableResponsePB) String

func (x *PgDropTableResponsePB) String() string

type PgDropTablegroupRequestPB

type PgDropTablegroupRequestPB struct {
	SessionId    uint64        `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	TablegroupId *PgObjectIdPB `protobuf:"bytes,2,opt,name=tablegroup_id,json=tablegroupId,proto3" json:"tablegroup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PgDropTablegroupRequestPB) Descriptor deprecated

func (*PgDropTablegroupRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgDropTablegroupRequestPB.ProtoReflect.Descriptor instead.

func (*PgDropTablegroupRequestPB) GetSessionId

func (x *PgDropTablegroupRequestPB) GetSessionId() uint64

func (*PgDropTablegroupRequestPB) GetTablegroupId

func (x *PgDropTablegroupRequestPB) GetTablegroupId() *PgObjectIdPB

func (*PgDropTablegroupRequestPB) ProtoMessage

func (*PgDropTablegroupRequestPB) ProtoMessage()

func (*PgDropTablegroupRequestPB) ProtoReflect

func (*PgDropTablegroupRequestPB) Reset

func (x *PgDropTablegroupRequestPB) Reset()

func (*PgDropTablegroupRequestPB) String

func (x *PgDropTablegroupRequestPB) String() string

type PgDropTablegroupResponsePB

type PgDropTablegroupResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgDropTablegroupResponsePB) Descriptor deprecated

func (*PgDropTablegroupResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgDropTablegroupResponsePB.ProtoReflect.Descriptor instead.

func (*PgDropTablegroupResponsePB) GetStatus

func (x *PgDropTablegroupResponsePB) GetStatus() *AppStatusPB

func (*PgDropTablegroupResponsePB) ProtoMessage

func (*PgDropTablegroupResponsePB) ProtoMessage()

func (*PgDropTablegroupResponsePB) ProtoReflect

func (*PgDropTablegroupResponsePB) Reset

func (x *PgDropTablegroupResponsePB) Reset()

func (*PgDropTablegroupResponsePB) String

func (x *PgDropTablegroupResponsePB) String() string

type PgGetCatalogMasterVersionRequestPB

type PgGetCatalogMasterVersionRequestPB struct {
	// contains filtered or unexported fields
}

func (*PgGetCatalogMasterVersionRequestPB) Descriptor deprecated

func (*PgGetCatalogMasterVersionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgGetCatalogMasterVersionRequestPB.ProtoReflect.Descriptor instead.

func (*PgGetCatalogMasterVersionRequestPB) ProtoMessage

func (*PgGetCatalogMasterVersionRequestPB) ProtoMessage()

func (*PgGetCatalogMasterVersionRequestPB) ProtoReflect

func (*PgGetCatalogMasterVersionRequestPB) Reset

func (*PgGetCatalogMasterVersionRequestPB) String

type PgGetCatalogMasterVersionResponsePB

type PgGetCatalogMasterVersionResponsePB struct {
	Status  *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Version uint64       `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*PgGetCatalogMasterVersionResponsePB) Descriptor deprecated

func (*PgGetCatalogMasterVersionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgGetCatalogMasterVersionResponsePB.ProtoReflect.Descriptor instead.

func (*PgGetCatalogMasterVersionResponsePB) GetStatus

func (*PgGetCatalogMasterVersionResponsePB) GetVersion

func (*PgGetCatalogMasterVersionResponsePB) ProtoMessage

func (*PgGetCatalogMasterVersionResponsePB) ProtoMessage()

func (*PgGetCatalogMasterVersionResponsePB) ProtoReflect

func (*PgGetCatalogMasterVersionResponsePB) Reset

func (*PgGetCatalogMasterVersionResponsePB) String

type PgGetDatabaseInfoRequestPB

type PgGetDatabaseInfoRequestPB struct {
	Oid uint32 `protobuf:"varint,1,opt,name=oid,proto3" json:"oid,omitempty"`
	// contains filtered or unexported fields
}

func (*PgGetDatabaseInfoRequestPB) Descriptor deprecated

func (*PgGetDatabaseInfoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgGetDatabaseInfoRequestPB.ProtoReflect.Descriptor instead.

func (*PgGetDatabaseInfoRequestPB) GetOid

func (x *PgGetDatabaseInfoRequestPB) GetOid() uint32

func (*PgGetDatabaseInfoRequestPB) ProtoMessage

func (*PgGetDatabaseInfoRequestPB) ProtoMessage()

func (*PgGetDatabaseInfoRequestPB) ProtoReflect

func (*PgGetDatabaseInfoRequestPB) Reset

func (x *PgGetDatabaseInfoRequestPB) Reset()

func (*PgGetDatabaseInfoRequestPB) String

func (x *PgGetDatabaseInfoRequestPB) String() string

type PgGetDatabaseInfoResponsePB

type PgGetDatabaseInfoResponsePB struct {
	Status *AppStatusPB                `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Info   *GetNamespaceInfoResponsePB `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*PgGetDatabaseInfoResponsePB) Descriptor deprecated

func (*PgGetDatabaseInfoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgGetDatabaseInfoResponsePB.ProtoReflect.Descriptor instead.

func (*PgGetDatabaseInfoResponsePB) GetInfo

func (*PgGetDatabaseInfoResponsePB) GetStatus

func (x *PgGetDatabaseInfoResponsePB) GetStatus() *AppStatusPB

func (*PgGetDatabaseInfoResponsePB) ProtoMessage

func (*PgGetDatabaseInfoResponsePB) ProtoMessage()

func (*PgGetDatabaseInfoResponsePB) ProtoReflect

func (*PgGetDatabaseInfoResponsePB) Reset

func (x *PgGetDatabaseInfoResponsePB) Reset()

func (*PgGetDatabaseInfoResponsePB) String

func (x *PgGetDatabaseInfoResponsePB) String() string

type PgHeartbeatRequestPB

type PgHeartbeatRequestPB struct {
	SessionId uint64 `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PgHeartbeatRequestPB) Descriptor deprecated

func (*PgHeartbeatRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgHeartbeatRequestPB.ProtoReflect.Descriptor instead.

func (*PgHeartbeatRequestPB) GetSessionId

func (x *PgHeartbeatRequestPB) GetSessionId() uint64

func (*PgHeartbeatRequestPB) ProtoMessage

func (*PgHeartbeatRequestPB) ProtoMessage()

func (*PgHeartbeatRequestPB) ProtoReflect

func (x *PgHeartbeatRequestPB) ProtoReflect() protoreflect.Message

func (*PgHeartbeatRequestPB) Reset

func (x *PgHeartbeatRequestPB) Reset()

func (*PgHeartbeatRequestPB) String

func (x *PgHeartbeatRequestPB) String() string

type PgHeartbeatResponsePB

type PgHeartbeatResponsePB struct {
	Status    *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	SessionId uint64       `protobuf:"varint,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PgHeartbeatResponsePB) Descriptor deprecated

func (*PgHeartbeatResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgHeartbeatResponsePB.ProtoReflect.Descriptor instead.

func (*PgHeartbeatResponsePB) GetSessionId added in v2.11.0

func (x *PgHeartbeatResponsePB) GetSessionId() uint64

func (*PgHeartbeatResponsePB) GetStatus

func (x *PgHeartbeatResponsePB) GetStatus() *AppStatusPB

func (*PgHeartbeatResponsePB) ProtoMessage

func (*PgHeartbeatResponsePB) ProtoMessage()

func (*PgHeartbeatResponsePB) ProtoReflect

func (x *PgHeartbeatResponsePB) ProtoReflect() protoreflect.Message

func (*PgHeartbeatResponsePB) Reset

func (x *PgHeartbeatResponsePB) Reset()

func (*PgHeartbeatResponsePB) String

func (x *PgHeartbeatResponsePB) String() string

type PgIsInitDbDoneRequestPB

type PgIsInitDbDoneRequestPB struct {
	// contains filtered or unexported fields
}

func (*PgIsInitDbDoneRequestPB) Descriptor deprecated

func (*PgIsInitDbDoneRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgIsInitDbDoneRequestPB.ProtoReflect.Descriptor instead.

func (*PgIsInitDbDoneRequestPB) ProtoMessage

func (*PgIsInitDbDoneRequestPB) ProtoMessage()

func (*PgIsInitDbDoneRequestPB) ProtoReflect

func (x *PgIsInitDbDoneRequestPB) ProtoReflect() protoreflect.Message

func (*PgIsInitDbDoneRequestPB) Reset

func (x *PgIsInitDbDoneRequestPB) Reset()

func (*PgIsInitDbDoneRequestPB) String

func (x *PgIsInitDbDoneRequestPB) String() string

type PgIsInitDbDoneResponsePB

type PgIsInitDbDoneResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Done   bool         `protobuf:"varint,2,opt,name=done,proto3" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*PgIsInitDbDoneResponsePB) Descriptor deprecated

func (*PgIsInitDbDoneResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgIsInitDbDoneResponsePB.ProtoReflect.Descriptor instead.

func (*PgIsInitDbDoneResponsePB) GetDone

func (x *PgIsInitDbDoneResponsePB) GetDone() bool

func (*PgIsInitDbDoneResponsePB) GetStatus

func (x *PgIsInitDbDoneResponsePB) GetStatus() *AppStatusPB

func (*PgIsInitDbDoneResponsePB) ProtoMessage

func (*PgIsInitDbDoneResponsePB) ProtoMessage()

func (*PgIsInitDbDoneResponsePB) ProtoReflect

func (x *PgIsInitDbDoneResponsePB) ProtoReflect() protoreflect.Message

func (*PgIsInitDbDoneResponsePB) Reset

func (x *PgIsInitDbDoneResponsePB) Reset()

func (*PgIsInitDbDoneResponsePB) String

func (x *PgIsInitDbDoneResponsePB) String() string

type PgListLiveTabletServersRequestPB

type PgListLiveTabletServersRequestPB struct {
	PrimaryOnly bool `protobuf:"varint,1,opt,name=primary_only,json=primaryOnly,proto3" json:"primary_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PgListLiveTabletServersRequestPB) Descriptor deprecated

func (*PgListLiveTabletServersRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgListLiveTabletServersRequestPB.ProtoReflect.Descriptor instead.

func (*PgListLiveTabletServersRequestPB) GetPrimaryOnly

func (x *PgListLiveTabletServersRequestPB) GetPrimaryOnly() bool

func (*PgListLiveTabletServersRequestPB) ProtoMessage

func (*PgListLiveTabletServersRequestPB) ProtoMessage()

func (*PgListLiveTabletServersRequestPB) ProtoReflect

func (*PgListLiveTabletServersRequestPB) Reset

func (*PgListLiveTabletServersRequestPB) String

type PgListLiveTabletServersResponsePB

type PgListLiveTabletServersResponsePB struct {
	Status  *AppStatusPB            `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Servers []*PgLiveTabletServerPB `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*PgListLiveTabletServersResponsePB) Descriptor deprecated

func (*PgListLiveTabletServersResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgListLiveTabletServersResponsePB.ProtoReflect.Descriptor instead.

func (*PgListLiveTabletServersResponsePB) GetServers

func (*PgListLiveTabletServersResponsePB) GetStatus

func (*PgListLiveTabletServersResponsePB) ProtoMessage

func (*PgListLiveTabletServersResponsePB) ProtoMessage()

func (*PgListLiveTabletServersResponsePB) ProtoReflect

func (*PgListLiveTabletServersResponsePB) Reset

func (*PgListLiveTabletServersResponsePB) String

type PgLiveTabletServerPB

type PgLiveTabletServerPB struct {
	Uuid          string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Hostname      string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
	PlacementUuid string `protobuf:"bytes,3,opt,name=placement_uuid,json=placementUuid,proto3" json:"placement_uuid,omitempty"`
	Cloud         string `protobuf:"bytes,4,opt,name=cloud,proto3" json:"cloud,omitempty"`
	Region        string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
	Zone          string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"`
	IsPrimary     bool   `protobuf:"varint,7,opt,name=is_primary,json=isPrimary,proto3" json:"is_primary,omitempty"`
	PublicIp      string `protobuf:"bytes,8,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"`
	PgPort        uint32 `protobuf:"varint,9,opt,name=pg_port,json=pgPort,proto3" json:"pg_port,omitempty"`
	// contains filtered or unexported fields
}

func (*PgLiveTabletServerPB) Descriptor deprecated

func (*PgLiveTabletServerPB) Descriptor() ([]byte, []int)

Deprecated: Use PgLiveTabletServerPB.ProtoReflect.Descriptor instead.

func (*PgLiveTabletServerPB) GetCloud

func (x *PgLiveTabletServerPB) GetCloud() string

func (*PgLiveTabletServerPB) GetHostname

func (x *PgLiveTabletServerPB) GetHostname() string

func (*PgLiveTabletServerPB) GetIsPrimary

func (x *PgLiveTabletServerPB) GetIsPrimary() bool

func (*PgLiveTabletServerPB) GetPgPort

func (x *PgLiveTabletServerPB) GetPgPort() uint32

func (*PgLiveTabletServerPB) GetPlacementUuid

func (x *PgLiveTabletServerPB) GetPlacementUuid() string

func (*PgLiveTabletServerPB) GetPublicIp

func (x *PgLiveTabletServerPB) GetPublicIp() string

func (*PgLiveTabletServerPB) GetRegion

func (x *PgLiveTabletServerPB) GetRegion() string

func (*PgLiveTabletServerPB) GetUuid

func (x *PgLiveTabletServerPB) GetUuid() string

func (*PgLiveTabletServerPB) GetZone

func (x *PgLiveTabletServerPB) GetZone() string

func (*PgLiveTabletServerPB) ProtoMessage

func (*PgLiveTabletServerPB) ProtoMessage()

func (*PgLiveTabletServerPB) ProtoReflect

func (x *PgLiveTabletServerPB) ProtoReflect() protoreflect.Message

func (*PgLiveTabletServerPB) Reset

func (x *PgLiveTabletServerPB) Reset()

func (*PgLiveTabletServerPB) String

func (x *PgLiveTabletServerPB) String() string

type PgObjectIdPB

type PgObjectIdPB struct {
	DatabaseOid uint32 `protobuf:"varint,1,opt,name=database_oid,json=databaseOid,proto3" json:"database_oid,omitempty"`
	ObjectOid   uint32 `protobuf:"varint,2,opt,name=object_oid,json=objectOid,proto3" json:"object_oid,omitempty"`
	// contains filtered or unexported fields
}

func (*PgObjectIdPB) Descriptor deprecated

func (*PgObjectIdPB) Descriptor() ([]byte, []int)

Deprecated: Use PgObjectIdPB.ProtoReflect.Descriptor instead.

func (*PgObjectIdPB) GetDatabaseOid

func (x *PgObjectIdPB) GetDatabaseOid() uint32

func (*PgObjectIdPB) GetObjectOid

func (x *PgObjectIdPB) GetObjectOid() uint32

func (*PgObjectIdPB) ProtoMessage

func (*PgObjectIdPB) ProtoMessage()

func (*PgObjectIdPB) ProtoReflect

func (x *PgObjectIdPB) ProtoReflect() protoreflect.Message

func (*PgObjectIdPB) Reset

func (x *PgObjectIdPB) Reset()

func (*PgObjectIdPB) String

func (x *PgObjectIdPB) String() string

type PgOpenTableRequestPB

type PgOpenTableRequestPB struct {
	TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PgOpenTableRequestPB) Descriptor deprecated

func (*PgOpenTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgOpenTableRequestPB.ProtoReflect.Descriptor instead.

func (*PgOpenTableRequestPB) GetTableId

func (x *PgOpenTableRequestPB) GetTableId() string

func (*PgOpenTableRequestPB) ProtoMessage

func (*PgOpenTableRequestPB) ProtoMessage()

func (*PgOpenTableRequestPB) ProtoReflect

func (x *PgOpenTableRequestPB) ProtoReflect() protoreflect.Message

func (*PgOpenTableRequestPB) Reset

func (x *PgOpenTableRequestPB) Reset()

func (*PgOpenTableRequestPB) String

func (x *PgOpenTableRequestPB) String() string

type PgOpenTableResponsePB

type PgOpenTableResponsePB struct {
	Status     *AppStatusPB              `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Info       *GetTableSchemaResponsePB `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"`
	Partitions *PgTablePartitionsPB      `protobuf:"bytes,3,opt,name=partitions,proto3" json:"partitions,omitempty"`
	// contains filtered or unexported fields
}

func (*PgOpenTableResponsePB) Descriptor deprecated

func (*PgOpenTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgOpenTableResponsePB.ProtoReflect.Descriptor instead.

func (*PgOpenTableResponsePB) GetInfo

func (*PgOpenTableResponsePB) GetPartitions

func (x *PgOpenTableResponsePB) GetPartitions() *PgTablePartitionsPB

func (*PgOpenTableResponsePB) GetStatus

func (x *PgOpenTableResponsePB) GetStatus() *AppStatusPB

func (*PgOpenTableResponsePB) ProtoMessage

func (*PgOpenTableResponsePB) ProtoMessage()

func (*PgOpenTableResponsePB) ProtoReflect

func (x *PgOpenTableResponsePB) ProtoReflect() protoreflect.Message

func (*PgOpenTableResponsePB) Reset

func (x *PgOpenTableResponsePB) Reset()

func (*PgOpenTableResponsePB) String

func (x *PgOpenTableResponsePB) String() string

type PgPlacementInfoPB added in v2.11.2

type PgPlacementInfoPB struct {
	Cloud          string `protobuf:"bytes,1,opt,name=cloud,proto3" json:"cloud,omitempty"`
	Region         string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	Zone           string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	MinNumReplicas int32  `protobuf:"varint,4,opt,name=min_num_replicas,json=minNumReplicas,proto3" json:"min_num_replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*PgPlacementInfoPB) Descriptor deprecated added in v2.11.2

func (*PgPlacementInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use PgPlacementInfoPB.ProtoReflect.Descriptor instead.

func (*PgPlacementInfoPB) GetCloud added in v2.11.2

func (x *PgPlacementInfoPB) GetCloud() string

func (*PgPlacementInfoPB) GetMinNumReplicas added in v2.11.2

func (x *PgPlacementInfoPB) GetMinNumReplicas() int32

func (*PgPlacementInfoPB) GetRegion added in v2.11.2

func (x *PgPlacementInfoPB) GetRegion() string

func (*PgPlacementInfoPB) GetZone added in v2.11.2

func (x *PgPlacementInfoPB) GetZone() string

func (*PgPlacementInfoPB) ProtoMessage added in v2.11.2

func (*PgPlacementInfoPB) ProtoMessage()

func (*PgPlacementInfoPB) ProtoReflect added in v2.11.2

func (x *PgPlacementInfoPB) ProtoReflect() protoreflect.Message

func (*PgPlacementInfoPB) Reset added in v2.11.2

func (x *PgPlacementInfoPB) Reset()

func (*PgPlacementInfoPB) String added in v2.11.2

func (x *PgPlacementInfoPB) String() string

type PgRenameColumnPB

type PgRenameColumnPB struct {
	OldName string `protobuf:"bytes,1,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"`
	NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PgRenameColumnPB) Descriptor deprecated

func (*PgRenameColumnPB) Descriptor() ([]byte, []int)

Deprecated: Use PgRenameColumnPB.ProtoReflect.Descriptor instead.

func (*PgRenameColumnPB) GetNewName

func (x *PgRenameColumnPB) GetNewName() string

func (*PgRenameColumnPB) GetOldName

func (x *PgRenameColumnPB) GetOldName() string

func (*PgRenameColumnPB) ProtoMessage

func (*PgRenameColumnPB) ProtoMessage()

func (*PgRenameColumnPB) ProtoReflect

func (x *PgRenameColumnPB) ProtoReflect() protoreflect.Message

func (*PgRenameColumnPB) Reset

func (x *PgRenameColumnPB) Reset()

func (*PgRenameColumnPB) String

func (x *PgRenameColumnPB) String() string

type PgRenameTablePB

type PgRenameTablePB struct {
	DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	TableName    string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PgRenameTablePB) Descriptor deprecated

func (*PgRenameTablePB) Descriptor() ([]byte, []int)

Deprecated: Use PgRenameTablePB.ProtoReflect.Descriptor instead.

func (*PgRenameTablePB) GetDatabaseName

func (x *PgRenameTablePB) GetDatabaseName() string

func (*PgRenameTablePB) GetTableName

func (x *PgRenameTablePB) GetTableName() string

func (*PgRenameTablePB) ProtoMessage

func (*PgRenameTablePB) ProtoMessage()

func (*PgRenameTablePB) ProtoReflect

func (x *PgRenameTablePB) ProtoReflect() protoreflect.Message

func (*PgRenameTablePB) Reset

func (x *PgRenameTablePB) Reset()

func (*PgRenameTablePB) String

func (x *PgRenameTablePB) String() string

type PgReserveOidsRequestPB

type PgReserveOidsRequestPB struct {
	DatabaseOid uint32 `protobuf:"varint,1,opt,name=database_oid,json=databaseOid,proto3" json:"database_oid,omitempty"`
	NextOid     uint32 `protobuf:"varint,2,opt,name=next_oid,json=nextOid,proto3" json:"next_oid,omitempty"`
	Count       uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*PgReserveOidsRequestPB) Descriptor deprecated

func (*PgReserveOidsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgReserveOidsRequestPB.ProtoReflect.Descriptor instead.

func (*PgReserveOidsRequestPB) GetCount

func (x *PgReserveOidsRequestPB) GetCount() uint32

func (*PgReserveOidsRequestPB) GetDatabaseOid

func (x *PgReserveOidsRequestPB) GetDatabaseOid() uint32

func (*PgReserveOidsRequestPB) GetNextOid

func (x *PgReserveOidsRequestPB) GetNextOid() uint32

func (*PgReserveOidsRequestPB) ProtoMessage

func (*PgReserveOidsRequestPB) ProtoMessage()

func (*PgReserveOidsRequestPB) ProtoReflect

func (x *PgReserveOidsRequestPB) ProtoReflect() protoreflect.Message

func (*PgReserveOidsRequestPB) Reset

func (x *PgReserveOidsRequestPB) Reset()

func (*PgReserveOidsRequestPB) String

func (x *PgReserveOidsRequestPB) String() string

type PgReserveOidsResponsePB

type PgReserveOidsResponsePB struct {
	Status   *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	BeginOid uint32       `protobuf:"varint,2,opt,name=begin_oid,json=beginOid,proto3" json:"begin_oid,omitempty"`
	EndOid   uint32       `protobuf:"varint,3,opt,name=end_oid,json=endOid,proto3" json:"end_oid,omitempty"`
	// contains filtered or unexported fields
}

func (*PgReserveOidsResponsePB) Descriptor deprecated

func (*PgReserveOidsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgReserveOidsResponsePB.ProtoReflect.Descriptor instead.

func (*PgReserveOidsResponsePB) GetBeginOid

func (x *PgReserveOidsResponsePB) GetBeginOid() uint32

func (*PgReserveOidsResponsePB) GetEndOid

func (x *PgReserveOidsResponsePB) GetEndOid() uint32

func (*PgReserveOidsResponsePB) GetStatus

func (x *PgReserveOidsResponsePB) GetStatus() *AppStatusPB

func (*PgReserveOidsResponsePB) ProtoMessage

func (*PgReserveOidsResponsePB) ProtoMessage()

func (*PgReserveOidsResponsePB) ProtoReflect

func (x *PgReserveOidsResponsePB) ProtoReflect() protoreflect.Message

func (*PgReserveOidsResponsePB) Reset

func (x *PgReserveOidsResponsePB) Reset()

func (*PgReserveOidsResponsePB) String

func (x *PgReserveOidsResponsePB) String() string

type PgTablePartitionsPB

type PgTablePartitionsPB struct {
	Version uint32   `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Keys    [][]byte `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*PgTablePartitionsPB) Descriptor deprecated

func (*PgTablePartitionsPB) Descriptor() ([]byte, []int)

Deprecated: Use PgTablePartitionsPB.ProtoReflect.Descriptor instead.

func (*PgTablePartitionsPB) GetKeys

func (x *PgTablePartitionsPB) GetKeys() [][]byte

func (*PgTablePartitionsPB) GetVersion

func (x *PgTablePartitionsPB) GetVersion() uint32

func (*PgTablePartitionsPB) ProtoMessage

func (*PgTablePartitionsPB) ProtoMessage()

func (*PgTablePartitionsPB) ProtoReflect

func (x *PgTablePartitionsPB) ProtoReflect() protoreflect.Message

func (*PgTablePartitionsPB) Reset

func (x *PgTablePartitionsPB) Reset()

func (*PgTablePartitionsPB) String

func (x *PgTablePartitionsPB) String() string

type PgTabletServerCountRequestPB

type PgTabletServerCountRequestPB struct {
	PrimaryOnly bool `protobuf:"varint,1,opt,name=primary_only,json=primaryOnly,proto3" json:"primary_only,omitempty"`
	// contains filtered or unexported fields
}

func (*PgTabletServerCountRequestPB) Descriptor deprecated

func (*PgTabletServerCountRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgTabletServerCountRequestPB.ProtoReflect.Descriptor instead.

func (*PgTabletServerCountRequestPB) GetPrimaryOnly

func (x *PgTabletServerCountRequestPB) GetPrimaryOnly() bool

func (*PgTabletServerCountRequestPB) ProtoMessage

func (*PgTabletServerCountRequestPB) ProtoMessage()

func (*PgTabletServerCountRequestPB) ProtoReflect

func (*PgTabletServerCountRequestPB) Reset

func (x *PgTabletServerCountRequestPB) Reset()

func (*PgTabletServerCountRequestPB) String

type PgTabletServerCountResponsePB

type PgTabletServerCountResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Count  int32        `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*PgTabletServerCountResponsePB) Descriptor deprecated

func (*PgTabletServerCountResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgTabletServerCountResponsePB.ProtoReflect.Descriptor instead.

func (*PgTabletServerCountResponsePB) GetCount

func (x *PgTabletServerCountResponsePB) GetCount() int32

func (*PgTabletServerCountResponsePB) GetStatus

func (*PgTabletServerCountResponsePB) ProtoMessage

func (*PgTabletServerCountResponsePB) ProtoMessage()

func (*PgTabletServerCountResponsePB) ProtoReflect

func (*PgTabletServerCountResponsePB) Reset

func (x *PgTabletServerCountResponsePB) Reset()

func (*PgTabletServerCountResponsePB) String

type PgTruncateTableRequestPB

type PgTruncateTableRequestPB struct {
	SessionId uint64        `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	TableId   *PgObjectIdPB `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PgTruncateTableRequestPB) Descriptor deprecated

func (*PgTruncateTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgTruncateTableRequestPB.ProtoReflect.Descriptor instead.

func (*PgTruncateTableRequestPB) GetSessionId

func (x *PgTruncateTableRequestPB) GetSessionId() uint64

func (*PgTruncateTableRequestPB) GetTableId

func (x *PgTruncateTableRequestPB) GetTableId() *PgObjectIdPB

func (*PgTruncateTableRequestPB) ProtoMessage

func (*PgTruncateTableRequestPB) ProtoMessage()

func (*PgTruncateTableRequestPB) ProtoReflect

func (x *PgTruncateTableRequestPB) ProtoReflect() protoreflect.Message

func (*PgTruncateTableRequestPB) Reset

func (x *PgTruncateTableRequestPB) Reset()

func (*PgTruncateTableRequestPB) String

func (x *PgTruncateTableRequestPB) String() string

type PgTruncateTableResponsePB

type PgTruncateTableResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgTruncateTableResponsePB) Descriptor deprecated

func (*PgTruncateTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgTruncateTableResponsePB.ProtoReflect.Descriptor instead.

func (*PgTruncateTableResponsePB) GetStatus

func (x *PgTruncateTableResponsePB) GetStatus() *AppStatusPB

func (*PgTruncateTableResponsePB) ProtoMessage

func (*PgTruncateTableResponsePB) ProtoMessage()

func (*PgTruncateTableResponsePB) ProtoReflect

func (*PgTruncateTableResponsePB) Reset

func (x *PgTruncateTableResponsePB) Reset()

func (*PgTruncateTableResponsePB) String

func (x *PgTruncateTableResponsePB) String() string

type PgValidatePlacementRequestPB added in v2.11.2

type PgValidatePlacementRequestPB struct {
	SessionId      uint64               `protobuf:"varint,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	NumReplicas    int32                `protobuf:"varint,2,opt,name=num_replicas,json=numReplicas,proto3" json:"num_replicas,omitempty"`
	PlacementInfos []*PgPlacementInfoPB `protobuf:"bytes,3,rep,name=placement_infos,json=placementInfos,proto3" json:"placement_infos,omitempty"`
	// contains filtered or unexported fields
}

func (*PgValidatePlacementRequestPB) Descriptor deprecated added in v2.11.2

func (*PgValidatePlacementRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgValidatePlacementRequestPB.ProtoReflect.Descriptor instead.

func (*PgValidatePlacementRequestPB) GetNumReplicas added in v2.11.2

func (x *PgValidatePlacementRequestPB) GetNumReplicas() int32

func (*PgValidatePlacementRequestPB) GetPlacementInfos added in v2.11.2

func (x *PgValidatePlacementRequestPB) GetPlacementInfos() []*PgPlacementInfoPB

func (*PgValidatePlacementRequestPB) GetSessionId added in v2.11.2

func (x *PgValidatePlacementRequestPB) GetSessionId() uint64

func (*PgValidatePlacementRequestPB) ProtoMessage added in v2.11.2

func (*PgValidatePlacementRequestPB) ProtoMessage()

func (*PgValidatePlacementRequestPB) ProtoReflect added in v2.11.2

func (*PgValidatePlacementRequestPB) Reset added in v2.11.2

func (x *PgValidatePlacementRequestPB) Reset()

func (*PgValidatePlacementRequestPB) String added in v2.11.2

type PgValidatePlacementResponsePB added in v2.11.2

type PgValidatePlacementResponsePB struct {
	Status *AppStatusPB `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*PgValidatePlacementResponsePB) Descriptor deprecated added in v2.11.2

func (*PgValidatePlacementResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgValidatePlacementResponsePB.ProtoReflect.Descriptor instead.

func (*PgValidatePlacementResponsePB) GetStatus added in v2.11.2

func (*PgValidatePlacementResponsePB) ProtoMessage added in v2.11.2

func (*PgValidatePlacementResponsePB) ProtoMessage()

func (*PgValidatePlacementResponsePB) ProtoReflect added in v2.11.2

func (*PgValidatePlacementResponsePB) Reset added in v2.11.2

func (x *PgValidatePlacementResponsePB) Reset()

func (*PgValidatePlacementResponsePB) String added in v2.11.2

type PgsqlBCallPB

type PgsqlBCallPB struct {
	Opcode   *int32               `protobuf:"varint,1,opt,name=opcode" json:"opcode,omitempty"`
	Operands []*PgsqlExpressionPB `protobuf:"bytes,2,rep,name=operands" json:"operands,omitempty"`
	// contains filtered or unexported fields
}

-------------------------------------------------------------------------------------------------- Expressions. -------------------------------------------------------------------------------------------------- Builtin call expression. There are 3 different calls.

  • Builtin operators such as '>', '<', '=', ... These operators can be executed anywhere.
  • Builtin functions such as Now(). These functions can be executed anywhere.
  • Server builtin functions. Only tablet servers can execute these functions.

TODO(neil) Regular builtin operators. This message can be executed anywhere. - This is more efficient than builtin call as it avoids most overheads of calling builtin lib. - Merge the current condition operator execution with this. - To optimize certain operation (such as +), replace it builtin function with builtin op.

func (*PgsqlBCallPB) Descriptor deprecated

func (*PgsqlBCallPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlBCallPB.ProtoReflect.Descriptor instead.

func (*PgsqlBCallPB) GetOpcode

func (x *PgsqlBCallPB) GetOpcode() int32

func (*PgsqlBCallPB) GetOperands

func (x *PgsqlBCallPB) GetOperands() []*PgsqlExpressionPB

func (*PgsqlBCallPB) ProtoMessage

func (*PgsqlBCallPB) ProtoMessage()

func (*PgsqlBCallPB) ProtoReflect

func (x *PgsqlBCallPB) ProtoReflect() protoreflect.Message

func (*PgsqlBCallPB) Reset

func (x *PgsqlBCallPB) Reset()

func (*PgsqlBCallPB) String

func (x *PgsqlBCallPB) String() string

type PgsqlBackfillSpecPB

type PgsqlBackfillSpecPB struct {

	// Limit for each backfill batch. "-1" means no limit.
	Limit *int64 `protobuf:"varint,1,opt,name=limit,def=-1" json:"limit,omitempty"`
	// Accumulated counter is used to check if the number of scanned rows has reached limit.
	Count *int64 `protobuf:"varint,2,opt,name=count,def=0" json:"count,omitempty"`
	// The next row key to read for backfill. Defined/used similar to how it is used in paging state.
	// i.e. The row key (SubDocKey = [DocKey + HybridTimestamp]) of the next row to read.
	NextRowKey []byte `protobuf:"bytes,3,opt,name=next_row_key,json=nextRowKey" json:"next_row_key,omitempty"`
	// contains filtered or unexported fields
}

Backfill instruction.

func (*PgsqlBackfillSpecPB) Descriptor deprecated

func (*PgsqlBackfillSpecPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlBackfillSpecPB.ProtoReflect.Descriptor instead.

func (*PgsqlBackfillSpecPB) GetCount

func (x *PgsqlBackfillSpecPB) GetCount() int64

func (*PgsqlBackfillSpecPB) GetLimit

func (x *PgsqlBackfillSpecPB) GetLimit() int64

func (*PgsqlBackfillSpecPB) GetNextRowKey

func (x *PgsqlBackfillSpecPB) GetNextRowKey() []byte

func (*PgsqlBackfillSpecPB) ProtoMessage

func (*PgsqlBackfillSpecPB) ProtoMessage()

func (*PgsqlBackfillSpecPB) ProtoReflect

func (x *PgsqlBackfillSpecPB) ProtoReflect() protoreflect.Message

func (*PgsqlBackfillSpecPB) Reset

func (x *PgsqlBackfillSpecPB) Reset()

func (*PgsqlBackfillSpecPB) String

func (x *PgsqlBackfillSpecPB) String() string

type PgsqlBatchArgumentPB

type PgsqlBatchArgumentPB struct {

	// The order number of this argument in a batch.
	// Currently, this is only used for debugging, but it might be needed in the future.
	Order *int64 `protobuf:"varint,1,opt,name=order" json:"order,omitempty"`
	// This attribute is used when fetching by rowid (ybctid). PgGate fetches "base_ctid" from
	// SecondaryIndex and use it to select Targets from UserTable.
	//   SELECT <Targets> FROM <UserTable>
	//     WHERE ybctid IN (SELECT base_ybctid FROM <SecondaryIndex> WHERE <key_condition>)
	Ybctid *PgsqlExpressionPB `protobuf:"bytes,2,opt,name=ybctid" json:"ybctid,omitempty"`
	// Hash codes.
	HashCode    *uint32 `protobuf:"varint,3,opt,name=hash_code,json=hashCode" json:"hash_code,omitempty"`
	MaxHashCode *uint32 `protobuf:"varint,4,opt,name=max_hash_code,json=maxHashCode" json:"max_hash_code,omitempty"`
	// Partition values.
	PartitionColumnValues []*PgsqlExpressionPB `protobuf:"bytes,5,rep,name=partition_column_values,json=partitionColumnValues" json:"partition_column_values,omitempty"`
	// Range values.
	RangeColumnValues []*PgsqlExpressionPB `protobuf:"bytes,6,rep,name=range_column_values,json=rangeColumnValues" json:"range_column_values,omitempty"`
	// contains filtered or unexported fields
}

This message defines an argument in a batch request from PgGate to DocDB. Instead of sending many requests of different arguments, a batch request would send one request that contains an array of independent arguments. DocDB will iterate the array to execute.

DML_request(arg) [n] ---> DML_request ( PgsqlBatchArgument args[n] )

func (*PgsqlBatchArgumentPB) Descriptor deprecated

func (*PgsqlBatchArgumentPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlBatchArgumentPB.ProtoReflect.Descriptor instead.

func (*PgsqlBatchArgumentPB) GetHashCode

func (x *PgsqlBatchArgumentPB) GetHashCode() uint32

func (*PgsqlBatchArgumentPB) GetMaxHashCode

func (x *PgsqlBatchArgumentPB) GetMaxHashCode() uint32

func (*PgsqlBatchArgumentPB) GetOrder

func (x *PgsqlBatchArgumentPB) GetOrder() int64

func (*PgsqlBatchArgumentPB) GetPartitionColumnValues

func (x *PgsqlBatchArgumentPB) GetPartitionColumnValues() []*PgsqlExpressionPB

func (*PgsqlBatchArgumentPB) GetRangeColumnValues

func (x *PgsqlBatchArgumentPB) GetRangeColumnValues() []*PgsqlExpressionPB

func (*PgsqlBatchArgumentPB) GetYbctid

func (x *PgsqlBatchArgumentPB) GetYbctid() *PgsqlExpressionPB

func (*PgsqlBatchArgumentPB) ProtoMessage

func (*PgsqlBatchArgumentPB) ProtoMessage()

func (*PgsqlBatchArgumentPB) ProtoReflect

func (x *PgsqlBatchArgumentPB) ProtoReflect() protoreflect.Message

func (*PgsqlBatchArgumentPB) Reset

func (x *PgsqlBatchArgumentPB) Reset()

func (*PgsqlBatchArgumentPB) String

func (x *PgsqlBatchArgumentPB) String() string

type PgsqlColRefPB added in v2.13.0

type PgsqlColRefPB struct {
	ColumnId *int32 `protobuf:"varint,1,opt,name=column_id,json=columnId" json:"column_id,omitempty"`
	Attno    *int32 `protobuf:"varint,2,opt,name=attno" json:"attno,omitempty"`
	Typid    *int32 `protobuf:"varint,3,opt,name=typid" json:"typid,omitempty"`
	Typmod   *int32 `protobuf:"varint,4,opt,name=typmod" json:"typmod,omitempty"`
	Collid   *int32 `protobuf:"varint,5,opt,name=collid" json:"collid,omitempty"`
	// contains filtered or unexported fields
}

Represents a column referenced by a PGSQL request. - column_id is a DocDB identifier of the column and used to locate a value within a row - attno is a Postgres identifier, must be specified if column is referenced by a PG expression - typid, typmod are needed to convert DocDB values to Postgres format (Datum and isnull pair). They must be specified if used in an expression evaluated by PGgate. - collid is for future collations support

func (*PgsqlColRefPB) Descriptor deprecated added in v2.13.0

func (*PgsqlColRefPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlColRefPB.ProtoReflect.Descriptor instead.

func (*PgsqlColRefPB) GetAttno added in v2.13.0

func (x *PgsqlColRefPB) GetAttno() int32

func (*PgsqlColRefPB) GetCollid added in v2.13.0

func (x *PgsqlColRefPB) GetCollid() int32

func (*PgsqlColRefPB) GetColumnId added in v2.13.0

func (x *PgsqlColRefPB) GetColumnId() int32

func (*PgsqlColRefPB) GetTypid added in v2.13.0

func (x *PgsqlColRefPB) GetTypid() int32

func (*PgsqlColRefPB) GetTypmod added in v2.13.0

func (x *PgsqlColRefPB) GetTypmod() int32

func (*PgsqlColRefPB) ProtoMessage added in v2.13.0

func (*PgsqlColRefPB) ProtoMessage()

func (*PgsqlColRefPB) ProtoReflect added in v2.13.0

func (x *PgsqlColRefPB) ProtoReflect() protoreflect.Message

func (*PgsqlColRefPB) Reset added in v2.13.0

func (x *PgsqlColRefPB) Reset()

func (*PgsqlColRefPB) String added in v2.13.0

func (x *PgsqlColRefPB) String() string

type PgsqlColumnRefsPB

type PgsqlColumnRefsPB struct {
	Ids []int32 `protobuf:"varint,1,rep,name=ids" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

-------------------------------------------------------------------------------------------------- Column messages. -------------------------------------------------------------------------------------------------- ColumnRefs is a list of columns to be read by DocDB before a PGSQL request can be executed. DEPRECATED, new code should use col_refs field of type PgsqlColRefPB instead

func (*PgsqlColumnRefsPB) Descriptor deprecated

func (*PgsqlColumnRefsPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlColumnRefsPB.ProtoReflect.Descriptor instead.

func (*PgsqlColumnRefsPB) GetIds

func (x *PgsqlColumnRefsPB) GetIds() []int32

func (*PgsqlColumnRefsPB) ProtoMessage

func (*PgsqlColumnRefsPB) ProtoMessage()

func (*PgsqlColumnRefsPB) ProtoReflect

func (x *PgsqlColumnRefsPB) ProtoReflect() protoreflect.Message

func (*PgsqlColumnRefsPB) Reset

func (x *PgsqlColumnRefsPB) Reset()

func (*PgsqlColumnRefsPB) String

func (x *PgsqlColumnRefsPB) String() string

type PgsqlColumnValuePB

type PgsqlColumnValuePB struct {
	ColumnId *int32             `protobuf:"varint,1,opt,name=column_id,json=columnId" json:"column_id,omitempty"`
	Expr     *PgsqlExpressionPB `protobuf:"bytes,2,opt,name=expr" json:"expr,omitempty"`
	// contains filtered or unexported fields
}

ColumnValue is a value to be assigned to a table column by DocDB while executing a PGSQL request. Currently, this is used for SET clause.

SET column-of-given-id = expr

func (*PgsqlColumnValuePB) Descriptor deprecated

func (*PgsqlColumnValuePB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlColumnValuePB.ProtoReflect.Descriptor instead.

func (*PgsqlColumnValuePB) GetColumnId

func (x *PgsqlColumnValuePB) GetColumnId() int32

func (*PgsqlColumnValuePB) GetExpr

func (x *PgsqlColumnValuePB) GetExpr() *PgsqlExpressionPB

func (*PgsqlColumnValuePB) ProtoMessage

func (*PgsqlColumnValuePB) ProtoMessage()

func (*PgsqlColumnValuePB) ProtoReflect

func (x *PgsqlColumnValuePB) ProtoReflect() protoreflect.Message

func (*PgsqlColumnValuePB) Reset

func (x *PgsqlColumnValuePB) Reset()

func (*PgsqlColumnValuePB) String

func (x *PgsqlColumnValuePB) String() string

type PgsqlConditionPB

type PgsqlConditionPB struct {
	Op       *QLOperator          `protobuf:"varint,1,opt,name=op,enum=yb.QLOperator" json:"op,omitempty"`
	Operands []*PgsqlExpressionPB `protobuf:"bytes,2,rep,name=operands" json:"operands,omitempty"`
	// contains filtered or unexported fields
}

A logical condition that evaluates to true/false. Used in the WHERE clause.

func (*PgsqlConditionPB) Descriptor deprecated

func (*PgsqlConditionPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlConditionPB.ProtoReflect.Descriptor instead.

func (*PgsqlConditionPB) GetOp

func (x *PgsqlConditionPB) GetOp() QLOperator

func (*PgsqlConditionPB) GetOperands

func (x *PgsqlConditionPB) GetOperands() []*PgsqlExpressionPB

func (*PgsqlConditionPB) ProtoMessage

func (*PgsqlConditionPB) ProtoMessage()

func (*PgsqlConditionPB) ProtoReflect

func (x *PgsqlConditionPB) ProtoReflect() protoreflect.Message

func (*PgsqlConditionPB) Reset

func (x *PgsqlConditionPB) Reset()

func (*PgsqlConditionPB) String

func (x *PgsqlConditionPB) String() string

type PgsqlExpressionPB

type PgsqlExpressionPB struct {

	// Types that are assignable to Expr:
	//	*PgsqlExpressionPB_Value
	//	*PgsqlExpressionPB_ColumnId
	//	*PgsqlExpressionPB_BindId
	//	*PgsqlExpressionPB_AliasId
	//	*PgsqlExpressionPB_Bfcall
	//	*PgsqlExpressionPB_Tscall
	//	*PgsqlExpressionPB_Bocall
	//	*PgsqlExpressionPB_Condition
	Expr isPgsqlExpressionPB_Expr `protobuf_oneof:"expr"`
	// contains filtered or unexported fields
}

An expression in a WHERE condition.

  • Bind values would be given by client and grouped into a repeated field that can be accessed by their indexes.
  • Alias values would be computed by server and grouped into repeated field that can be accessed by their indexes.
  • Code generator write indexes as ref. Executor deref indexes to get actual values.

func (*PgsqlExpressionPB) Descriptor deprecated

func (*PgsqlExpressionPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlExpressionPB.ProtoReflect.Descriptor instead.

func (*PgsqlExpressionPB) GetAliasId

func (x *PgsqlExpressionPB) GetAliasId() int32

func (*PgsqlExpressionPB) GetBfcall

func (x *PgsqlExpressionPB) GetBfcall() *PgsqlBCallPB

func (*PgsqlExpressionPB) GetBindId

func (x *PgsqlExpressionPB) GetBindId() int32

func (*PgsqlExpressionPB) GetBocall

func (x *PgsqlExpressionPB) GetBocall() *PgsqlBCallPB

func (*PgsqlExpressionPB) GetColumnId

func (x *PgsqlExpressionPB) GetColumnId() int32

func (*PgsqlExpressionPB) GetCondition

func (x *PgsqlExpressionPB) GetCondition() *PgsqlConditionPB

func (*PgsqlExpressionPB) GetExpr

func (m *PgsqlExpressionPB) GetExpr() isPgsqlExpressionPB_Expr

func (*PgsqlExpressionPB) GetTscall

func (x *PgsqlExpressionPB) GetTscall() *PgsqlBCallPB

func (*PgsqlExpressionPB) GetValue

func (x *PgsqlExpressionPB) GetValue() *QLValuePB

func (*PgsqlExpressionPB) ProtoMessage

func (*PgsqlExpressionPB) ProtoMessage()

func (*PgsqlExpressionPB) ProtoReflect

func (x *PgsqlExpressionPB) ProtoReflect() protoreflect.Message

func (*PgsqlExpressionPB) Reset

func (x *PgsqlExpressionPB) Reset()

func (*PgsqlExpressionPB) String

func (x *PgsqlExpressionPB) String() string

type PgsqlExpressionPB_AliasId

type PgsqlExpressionPB_AliasId struct {
	AliasId int32 `protobuf:"varint,4,opt,name=alias_id,json=aliasId,oneof"` // Alias index.
}

type PgsqlExpressionPB_Bfcall

type PgsqlExpressionPB_Bfcall struct {
	Bfcall *PgsqlBCallPB `protobuf:"bytes,5,opt,name=bfcall,oneof"` // Regular builtin calls.
}

type PgsqlExpressionPB_BindId

type PgsqlExpressionPB_BindId struct {
	BindId int32 `protobuf:"varint,3,opt,name=bind_id,json=bindId,oneof"` // Bind variable index.
}

type PgsqlExpressionPB_Bocall

type PgsqlExpressionPB_Bocall struct {
	Bocall *PgsqlBCallPB `protobuf:"bytes,7,opt,name=bocall,oneof"` // Builtin operator calls.
}

type PgsqlExpressionPB_ColumnId

type PgsqlExpressionPB_ColumnId struct {
	ColumnId int32 `protobuf:"varint,2,opt,name=column_id,json=columnId,oneof"`
}

type PgsqlExpressionPB_Condition

type PgsqlExpressionPB_Condition struct {
	Condition *PgsqlConditionPB `protobuf:"bytes,8,opt,name=condition,oneof"` // Logical condition that evaluates to true/false.
}

type PgsqlExpressionPB_Tscall

type PgsqlExpressionPB_Tscall struct {
	Tscall *PgsqlBCallPB `protobuf:"bytes,6,opt,name=tscall,oneof"` // Tablet server builtin calls.
}

type PgsqlExpressionPB_Value

type PgsqlExpressionPB_Value struct {
	Value *QLValuePB `protobuf:"bytes,1,opt,name=value,oneof"`
}

type PgsqlPagingStatePB

type PgsqlPagingStatePB struct {

	// Table UUID to verify the same table still exists when continuing in the next fetch.
	TableId []byte `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// Partition key to find the tablet server of the next row to read.
	NextPartitionKey []byte `protobuf:"bytes,2,opt,name=next_partition_key,json=nextPartitionKey" json:"next_partition_key,omitempty"`
	// The row key (SubDocKey = [DocKey + HybridTimestamp]) of the next row to read.
	NextRowKey []byte `protobuf:"bytes,3,opt,name=next_row_key,json=nextRowKey" json:"next_row_key,omitempty"`
	// Running total number of rows read across fetches so far. Needed to ensure we read up to the
	// number of rows in the SELECT's LIMIT clause across fetches.
	TotalNumRowsRead *uint64 `protobuf:"varint,4,opt,name=total_num_rows_read,json=totalNumRowsRead" json:"total_num_rows_read,omitempty"`
	// For selects with IN condition on the hash columns there are multiple partitions that need to be
	// queried, one for each combination of allowed values for the hash columns.
	// This holds the index of the next partition and is used to resume the read from the right place.
	NextPartitionIndex *uint64 `protobuf:"varint,5,opt,name=next_partition_index,json=nextPartitionIndex" json:"next_partition_index,omitempty"`
	// Used read time.
	ReadTime *ReadHybridTimePB `protobuf:"bytes,6,opt,name=read_time,json=readTime" json:"read_time,omitempty"`
	// contains filtered or unexported fields
}

Paging state for continuing a read request.

For a SELECT statement that returns many rows, the client may specify how many rows to return at most in each fetch. This paging state maintains the state for returning the next set of rows of the statement. This paging state is opaque to the client.

When there should be more rows to return from the same tablet in the next fetch, "next_row_key" is populated in DocDB (PgsqlReadOperation) with the DocKey of the next row to read. We also embed a hybrid-time which is the clean snapshot time for read consistency. We also populate the "next_partition_key" for the next row, which is the hash code of the hash portion of the DocKey. This next partition key is needed by YBClient (Batcher) to locate the tablet to send the request to and it doesn't have access to the DocDB function to decode and extract from the DocKey.

When we are done returning rows from the current tablet and the next fetch should continue in the next tablet (possible only for full-table query across tablets), "next_partition_key" is populated by the current tablet with its exclusive partition-end key, which is the start key of next tablet's partition. "next_row_key" is empty in this case which means we will start from the very beginning of the next tablet. (TODO: we need to return the clean snapshot time in this case also).

func (*PgsqlPagingStatePB) Descriptor deprecated

func (*PgsqlPagingStatePB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlPagingStatePB.ProtoReflect.Descriptor instead.

func (*PgsqlPagingStatePB) GetNextPartitionIndex

func (x *PgsqlPagingStatePB) GetNextPartitionIndex() uint64

func (*PgsqlPagingStatePB) GetNextPartitionKey

func (x *PgsqlPagingStatePB) GetNextPartitionKey() []byte

func (*PgsqlPagingStatePB) GetNextRowKey

func (x *PgsqlPagingStatePB) GetNextRowKey() []byte

func (*PgsqlPagingStatePB) GetReadTime

func (x *PgsqlPagingStatePB) GetReadTime() *ReadHybridTimePB

func (*PgsqlPagingStatePB) GetTableId

func (x *PgsqlPagingStatePB) GetTableId() []byte

func (*PgsqlPagingStatePB) GetTotalNumRowsRead

func (x *PgsqlPagingStatePB) GetTotalNumRowsRead() uint64

func (*PgsqlPagingStatePB) ProtoMessage

func (*PgsqlPagingStatePB) ProtoMessage()

func (*PgsqlPagingStatePB) ProtoReflect

func (x *PgsqlPagingStatePB) ProtoReflect() protoreflect.Message

func (*PgsqlPagingStatePB) Reset

func (x *PgsqlPagingStatePB) Reset()

func (*PgsqlPagingStatePB) String

func (x *PgsqlPagingStatePB) String() string

type PgsqlPartitionBound

type PgsqlPartitionBound struct {

	// Boundary partition key.
	Key []byte `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// Indicate whether or not the boundary is inclusive.
	IsInclusive *bool `protobuf:"varint,2,opt,name=is_inclusive,json=isInclusive" json:"is_inclusive,omitempty"`
	// contains filtered or unexported fields
}

Boundary value.

func (*PgsqlPartitionBound) Descriptor deprecated

func (*PgsqlPartitionBound) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlPartitionBound.ProtoReflect.Descriptor instead.

func (*PgsqlPartitionBound) GetIsInclusive

func (x *PgsqlPartitionBound) GetIsInclusive() bool

func (*PgsqlPartitionBound) GetKey

func (x *PgsqlPartitionBound) GetKey() []byte

func (*PgsqlPartitionBound) ProtoMessage

func (*PgsqlPartitionBound) ProtoMessage()

func (*PgsqlPartitionBound) ProtoReflect

func (x *PgsqlPartitionBound) ProtoReflect() protoreflect.Message

func (*PgsqlPartitionBound) Reset

func (x *PgsqlPartitionBound) Reset()

func (*PgsqlPartitionBound) String

func (x *PgsqlPartitionBound) String() string

type PgsqlRSColDescPB

type PgsqlRSColDescPB struct {
	Name   *string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	QlType *QLTypePB `protobuf:"bytes,2,opt,name=ql_type,json=qlType" json:"ql_type,omitempty"`
	// contains filtered or unexported fields
}

PgsqlRSColDesc is the descriptor of a selected column in a ResultSet (RS), which can be any expression and not just table columns.

func (*PgsqlRSColDescPB) Descriptor deprecated

func (*PgsqlRSColDescPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlRSColDescPB.ProtoReflect.Descriptor instead.

func (*PgsqlRSColDescPB) GetName

func (x *PgsqlRSColDescPB) GetName() string

func (*PgsqlRSColDescPB) GetQlType

func (x *PgsqlRSColDescPB) GetQlType() *QLTypePB

func (*PgsqlRSColDescPB) ProtoMessage

func (*PgsqlRSColDescPB) ProtoMessage()

func (*PgsqlRSColDescPB) ProtoReflect

func (x *PgsqlRSColDescPB) ProtoReflect() protoreflect.Message

func (*PgsqlRSColDescPB) Reset

func (x *PgsqlRSColDescPB) Reset()

func (*PgsqlRSColDescPB) String

func (x *PgsqlRSColDescPB) String() string

type PgsqlRSRowDescPB

type PgsqlRSRowDescPB struct {
	RscolDescs []*PgsqlRSColDescPB `protobuf:"bytes,1,rep,name=rscol_descs,json=rscolDescs" json:"rscol_descs,omitempty"`
	// contains filtered or unexported fields
}

Descriptor of a row in a resultset (RS).

func (*PgsqlRSRowDescPB) Descriptor deprecated

func (*PgsqlRSRowDescPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlRSRowDescPB.ProtoReflect.Descriptor instead.

func (*PgsqlRSRowDescPB) GetRscolDescs

func (x *PgsqlRSRowDescPB) GetRscolDescs() []*PgsqlRSColDescPB

func (*PgsqlRSRowDescPB) ProtoMessage

func (*PgsqlRSRowDescPB) ProtoMessage()

func (*PgsqlRSRowDescPB) ProtoReflect

func (x *PgsqlRSRowDescPB) ProtoReflect() protoreflect.Message

func (*PgsqlRSRowDescPB) Reset

func (x *PgsqlRSRowDescPB) Reset()

func (*PgsqlRSRowDescPB) String

func (x *PgsqlRSRowDescPB) String() string

type PgsqlReadRequestPB

type PgsqlReadRequestPB struct {

	// Client info
	Client *QLClient `protobuf:"varint,1,opt,name=client,enum=yb.QLClient" json:"client,omitempty"` // required
	// Statement info. There's only SELECT, so we don't need different request type.
	StmtId *uint64 `protobuf:"varint,2,opt,name=stmt_id,json=stmtId" json:"stmt_id,omitempty"` // required
	// Table id.
	TableId []byte `protobuf:"bytes,19,opt,name=table_id,json=tableId" json:"table_id,omitempty"` // required
	// Table schema version
	SchemaVersion *uint32 `protobuf:"varint,3,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"` // required
	// Hash Code: A hash code is used to locate efficiently a group of data of the same hash code.
	// - First, it is used to find tablet server.
	// - Then, it is used again by DocDB to narrow the search within a tablet.
	// - In general, hash_code should be set by PgGate, but for some reasons, when the field
	// "ybctid_column_value" is used, hash_code is set by "common" lib.
	HashCode          *uint32            `protobuf:"varint,4,opt,name=hash_code,json=hashCode" json:"hash_code,omitempty"`
	YbctidColumnValue *PgsqlExpressionPB `protobuf:"bytes,20,opt,name=ybctid_column_value,json=ybctidColumnValue" json:"ybctid_column_value,omitempty"`
	// Primary key.
	// - Partition columns are used to compute the hash code,
	//   e.g. for h1 = 1 AND h2 = 2 partition_column_values would be [1, 2].
	// - Range columns combining with partition columns are used for indexing.
	PartitionColumnValues []*PgsqlExpressionPB `protobuf:"bytes,5,rep,name=partition_column_values,json=partitionColumnValues" json:"partition_column_values,omitempty"`
	RangeColumnValues     []*PgsqlExpressionPB `protobuf:"bytes,18,rep,name=range_column_values,json=rangeColumnValues" json:"range_column_values,omitempty"`
	// For select using local secondary index: this request selects the ybbasectids to fetch the rows
	// in place of the primary key above.
	IndexRequest *PgsqlReadRequestPB `protobuf:"bytes,21,opt,name=index_request,json=indexRequest" json:"index_request,omitempty"`
	// Where clause condition
	// DEPRECATED in favor of where_clauses
	WhereExpr *PgsqlExpressionPB `protobuf:"bytes,8,opt,name=where_expr,json=whereExpr" json:"where_expr,omitempty"`
	// TODO(alex): This should be renamed to make it clear that it's ONLY related to range columns!
	// Conditions for range columns.
	ConditionExpr *PgsqlExpressionPB `protobuf:"bytes,22,opt,name=condition_expr,json=conditionExpr" json:"condition_expr,omitempty"`
	// If this attribute is present, this request is a batch request.
	BatchArguments []*PgsqlBatchArgumentPB `protobuf:"bytes,24,rep,name=batch_arguments,json=batchArguments" json:"batch_arguments,omitempty"`
	//------------------------------------------------------------------------------------------------
	// Output Argument Specification (Tuple descriptor).
	//
	// For now, we sent rsrow descriptor from proxy to tablet server for every request. RSRow is just
	// a selected row. We call it rsrow to distinguish a selected row from a row of a table in the
	// database in our coding.
	RsrowDesc *PgsqlRSRowDescPB    `protobuf:"bytes,6,opt,name=rsrow_desc,json=rsrowDesc" json:"rsrow_desc,omitempty"`
	Targets   []*PgsqlExpressionPB `protobuf:"bytes,7,rep,name=targets" json:"targets,omitempty"` // required.
	//------------------------------------------------------------------------------------------------
	// Database Arguments - To be read from the DataBase.
	// Listing of all columns that this operation is referencing. TServers will need to read these
	// columns when processing this read request.
	// DEPRECATED in favor of col_refs;
	ColumnRefs *PgsqlColumnRefsPB `protobuf:"bytes,9,opt,name=column_refs,json=columnRefs" json:"column_refs,omitempty"`
	//------------------------------------------------------------------------------------------------
	// Query options.
	IsForwardScan *bool `protobuf:"varint,10,opt,name=is_forward_scan,json=isForwardScan,def=1" json:"is_forward_scan,omitempty"`
	// Reading distinct columns?
	Distinct *bool `protobuf:"varint,11,opt,name=distinct,def=0" json:"distinct,omitempty"`
	// Flag for reading aggregate values.
	IsAggregate *bool `protobuf:"varint,12,opt,name=is_aggregate,json=isAggregate,def=0" json:"is_aggregate,omitempty"`
	// Limit number of rows to return. For SELECT, this limit is the smaller of the page size (max
	// (max number of rows to return per fetch) & the LIMIT clause if present in the SELECT statement.
	Limit *uint64 `protobuf:"varint,13,opt,name=limit" json:"limit,omitempty"`
	//------------------------------------------------------------------------------------------------
	// Paging state retrieved from the last response.
	PagingState *PgsqlPagingStatePB `protobuf:"bytes,14,opt,name=paging_state,json=pagingState" json:"paging_state,omitempty"`
	// Return paging state when "limit" number of rows are returned? In case when "limit" is the
	// page size, this is set for PgsqlResponsePB to return the paging state for the next fetch.
	ReturnPagingState *bool `protobuf:"varint,15,opt,name=return_paging_state,json=returnPagingState,def=0" json:"return_paging_state,omitempty"`
	// the upper limit for partition (hash) key when paging.
	MaxHashCode *uint32 `protobuf:"varint,17,opt,name=max_hash_code,json=maxHashCode" json:"max_hash_code,omitempty"`
	// The version of the ysql system catalog this query was prepared against.
	YsqlCatalogVersion *uint64 `protobuf:"varint,16,opt,name=ysql_catalog_version,json=ysqlCatalogVersion" json:"ysql_catalog_version,omitempty"`
	// Row mark as used by postgres for row locking.
	RowMarkType *RowMarkType `protobuf:"varint,23,opt,name=row_mark_type,json=rowMarkType,enum=yb.RowMarkType" json:"row_mark_type,omitempty"`
	// Used to identify 3 possibilities: WAIT_BLOCK, WAIT_SKIP or WAIT_ERROR
	// TODO(Piyush):
	// 1. YB doesn't support WAIT_BLOCK as of now. That will be supported with blocking infrastructure
	//    that is to be implemented for pessmistic locking feature.
	// 2. Default is set to WAIT_ERROR. For now, WAIT_ERROR denotes the current YB behaviour of
	//    "abort other txn or raise conflict error when a conflict is found". When pessimistic locking
	//    is turned on by default on YB, WAIT_ERROR will only denote the behaviour of raising conflict
	//    error in current txn and not aborting others (like Postgres).
	WaitPolicy *WaitPolicy `protobuf:"varint,32,opt,name=wait_policy,json=waitPolicy,enum=yb.WaitPolicy,def=2" json:"wait_policy,omitempty"`
	// Scan partition boundary.
	// NOTE
	// - Boundaries indicate the scan range that are given by SQL statement. This should be set by
	//   PgGate when it processed query specification.
	// - paging_state indicates the current position of a scan. This should be set ONLY by DocDB
	//   who scans the table.
	// - Don't overload these fields for different purposes to avoid confusion.
	LowerBound *PgsqlPartitionBound `protobuf:"bytes,27,opt,name=lower_bound,json=lowerBound" json:"lower_bound,omitempty"`
	UpperBound *PgsqlPartitionBound `protobuf:"bytes,28,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"`
	// Deprecated fields.
	// Field "max_partition_key" is replaced by "lower_bound" and "upper_bound". This field is only
	// available in beta version for SPLIT_AT feature. The release version for SPLIT AT does not need
	// to be compatible with the beta version as SPLIT AT feature were not used.
	DEPRECATEDMaxPartitionKey []byte `` /* 134-byte string literal not displayed */
	// Does this request correspond to scanning the indexed table for backfill?
	IsForBackfill *bool `protobuf:"varint,29,opt,name=is_for_backfill,json=isForBackfill,def=0" json:"is_for_backfill,omitempty"`
	// If present, the request is to collect random sample
	SamplingState *PgsqlSamplingStatePB `protobuf:"bytes,30,opt,name=sampling_state,json=samplingState" json:"sampling_state,omitempty"`
	// Instruction for BACKFILL operation from the tablet server.
	// This is the serialized-string of "message PgsqlBackfillSpecPB" which will be used by
	// the tablet server handling the PgsqlRead to terminate the scan and checkpoint the paging
	// state as desired.
	BackfillSpec []byte `protobuf:"bytes,31,opt,name=backfill_spec,json=backfillSpec" json:"backfill_spec,omitempty"`
	// Pushed down Postgres conditions. Like in Postgres, conditions are implicitly ANDed.
	// Per scanned row, expressions are evaluated by PGgate one by one, and if any is evaluated to
	// false the row is skipped.
	WhereClauses []*PgsqlExpressionPB `protobuf:"bytes,33,rep,name=where_clauses,json=whereClauses" json:"where_clauses,omitempty"`
	// Columns refereced by this write operation.
	// Provides mapping between DocDB and Postgres identifiers, and provides Postgres type information
	// to convert between DocDB and Postgres formats.
	// One entry per column referenced.
	ColRefs []*PgsqlColRefPB `protobuf:"bytes,34,rep,name=col_refs,json=colRefs" json:"col_refs,omitempty"`
	// contains filtered or unexported fields
}

TODO(neil) The protocol for select needs to be changed accordingly when we introduce and cache execution plan in tablet server.

func (*PgsqlReadRequestPB) Descriptor deprecated

func (*PgsqlReadRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlReadRequestPB.ProtoReflect.Descriptor instead.

func (*PgsqlReadRequestPB) GetBackfillSpec

func (x *PgsqlReadRequestPB) GetBackfillSpec() []byte

func (*PgsqlReadRequestPB) GetBatchArguments

func (x *PgsqlReadRequestPB) GetBatchArguments() []*PgsqlBatchArgumentPB

func (*PgsqlReadRequestPB) GetClient

func (x *PgsqlReadRequestPB) GetClient() QLClient

func (*PgsqlReadRequestPB) GetColRefs added in v2.13.0

func (x *PgsqlReadRequestPB) GetColRefs() []*PgsqlColRefPB

func (*PgsqlReadRequestPB) GetColumnRefs

func (x *PgsqlReadRequestPB) GetColumnRefs() *PgsqlColumnRefsPB

func (*PgsqlReadRequestPB) GetConditionExpr

func (x *PgsqlReadRequestPB) GetConditionExpr() *PgsqlExpressionPB

func (*PgsqlReadRequestPB) GetDEPRECATEDMaxPartitionKey

func (x *PgsqlReadRequestPB) GetDEPRECATEDMaxPartitionKey() []byte

func (*PgsqlReadRequestPB) GetDistinct

func (x *PgsqlReadRequestPB) GetDistinct() bool

func (*PgsqlReadRequestPB) GetHashCode

func (x *PgsqlReadRequestPB) GetHashCode() uint32

func (*PgsqlReadRequestPB) GetIndexRequest

func (x *PgsqlReadRequestPB) GetIndexRequest() *PgsqlReadRequestPB

func (*PgsqlReadRequestPB) GetIsAggregate

func (x *PgsqlReadRequestPB) GetIsAggregate() bool

func (*PgsqlReadRequestPB) GetIsForBackfill

func (x *PgsqlReadRequestPB) GetIsForBackfill() bool

func (*PgsqlReadRequestPB) GetIsForwardScan

func (x *PgsqlReadRequestPB) GetIsForwardScan() bool

func (*PgsqlReadRequestPB) GetLimit

func (x *PgsqlReadRequestPB) GetLimit() uint64

func (*PgsqlReadRequestPB) GetLowerBound

func (x *PgsqlReadRequestPB) GetLowerBound() *PgsqlPartitionBound

func (*PgsqlReadRequestPB) GetMaxHashCode

func (x *PgsqlReadRequestPB) GetMaxHashCode() uint32

func (*PgsqlReadRequestPB) GetPagingState

func (x *PgsqlReadRequestPB) GetPagingState() *PgsqlPagingStatePB

func (*PgsqlReadRequestPB) GetPartitionColumnValues

func (x *PgsqlReadRequestPB) GetPartitionColumnValues() []*PgsqlExpressionPB

func (*PgsqlReadRequestPB) GetRangeColumnValues

func (x *PgsqlReadRequestPB) GetRangeColumnValues() []*PgsqlExpressionPB

func (*PgsqlReadRequestPB) GetReturnPagingState

func (x *PgsqlReadRequestPB) GetReturnPagingState() bool

func (*PgsqlReadRequestPB) GetRowMarkType

func (x *PgsqlReadRequestPB) GetRowMarkType() RowMarkType

func (*PgsqlReadRequestPB) GetRsrowDesc

func (x *PgsqlReadRequestPB) GetRsrowDesc() *PgsqlRSRowDescPB

func (*PgsqlReadRequestPB) GetSamplingState

func (x *PgsqlReadRequestPB) GetSamplingState() *PgsqlSamplingStatePB

func (*PgsqlReadRequestPB) GetSchemaVersion

func (x *PgsqlReadRequestPB) GetSchemaVersion() uint32

func (*PgsqlReadRequestPB) GetStmtId

func (x *PgsqlReadRequestPB) GetStmtId() uint64

func (*PgsqlReadRequestPB) GetTableId

func (x *PgsqlReadRequestPB) GetTableId() []byte

func (*PgsqlReadRequestPB) GetTargets

func (x *PgsqlReadRequestPB) GetTargets() []*PgsqlExpressionPB

func (*PgsqlReadRequestPB) GetUpperBound

func (x *PgsqlReadRequestPB) GetUpperBound() *PgsqlPartitionBound

func (*PgsqlReadRequestPB) GetWaitPolicy added in v2.11.2

func (x *PgsqlReadRequestPB) GetWaitPolicy() WaitPolicy

func (*PgsqlReadRequestPB) GetWhereClauses added in v2.13.0

func (x *PgsqlReadRequestPB) GetWhereClauses() []*PgsqlExpressionPB

func (*PgsqlReadRequestPB) GetWhereExpr

func (x *PgsqlReadRequestPB) GetWhereExpr() *PgsqlExpressionPB

func (*PgsqlReadRequestPB) GetYbctidColumnValue

func (x *PgsqlReadRequestPB) GetYbctidColumnValue() *PgsqlExpressionPB

func (*PgsqlReadRequestPB) GetYsqlCatalogVersion

func (x *PgsqlReadRequestPB) GetYsqlCatalogVersion() uint64

func (*PgsqlReadRequestPB) ProtoMessage

func (*PgsqlReadRequestPB) ProtoMessage()

func (*PgsqlReadRequestPB) ProtoReflect

func (x *PgsqlReadRequestPB) ProtoReflect() protoreflect.Message

func (*PgsqlReadRequestPB) Reset

func (x *PgsqlReadRequestPB) Reset()

func (*PgsqlReadRequestPB) String

func (x *PgsqlReadRequestPB) String() string

type PgsqlResponsePB

type PgsqlResponsePB struct {

	// TODO: AppStatusPB can consolidate status + error_message + pg_error_code
	// Internal Status information
	Status *PgsqlResponsePB_RequestStatus `protobuf:"varint,1,opt,name=status,enum=yb.PgsqlResponsePB_RequestStatus,def=0" json:"status,omitempty"` // required
	// True if this operation was not actually applied, for instance update to the same value.
	Skipped *bool `protobuf:"varint,6,opt,name=skipped" json:"skipped,omitempty"`
	// User readable error message associated with Internal & External Status
	ErrorMessage *string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	// Sidecar of rows data returned
	RowsDataSidecar *int32 `protobuf:"varint,4,opt,name=rows_data_sidecar,json=rowsDataSidecar" json:"rows_data_sidecar,omitempty"`
	// Paging state for continuing the read in the next QLReadRequestPB fetch.
	PagingState *PgsqlPagingStatePB `protobuf:"bytes,5,opt,name=paging_state,json=pagingState" json:"paging_state,omitempty"`
	// When client sends a request that has a batch of many arguments, server might process only a
	// subset of the arguments. Attribute "batch_arg_count" is to indicate how many arguments have
	// been processed by server.
	//
	// NOTE: This variable could have been inside "paging state", but due to rolling upgrade I have
	// to place it here, separated from paging status for singular request.
	BatchArgCount *int64  `protobuf:"varint,10,opt,name=batch_arg_count,json=batchArgCount,def=1" json:"batch_arg_count,omitempty"`
	BatchOrders   []int64 `protobuf:"varint,12,rep,name=batch_orders,json=batchOrders" json:"batch_orders,omitempty"`
	// Number of rows affected by the operation. Currently only used for update and delete.
	RowsAffectedCount *int32 `protobuf:"varint,7,opt,name=rows_affected_count,json=rowsAffectedCount" json:"rows_affected_count,omitempty"`
	// PostgreSQL error code encoded as in errcodes.h or yb_pg_errcodes.h.
	// See https://www.postgresql.org/docs/11/errcodes-appendix.html
	PgErrorCode *uint64 `protobuf:"varint,8,opt,name=pg_error_code,json=pgErrorCode" json:"pg_error_code,omitempty"`
	// Transaction error code, obtained by static_cast of TransactionErrorTag::Decode
	// of Status::ErrorData(TransactionErrorTag::kCategory)
	TxnErrorCode *uint32 `protobuf:"varint,9,opt,name=txn_error_code,json=txnErrorCode" json:"txn_error_code,omitempty"`
	// Random sample state to hand over to the next block
	SamplingState *PgsqlSamplingStatePB `protobuf:"bytes,11,opt,name=sampling_state,json=samplingState" json:"sampling_state,omitempty"`
	// Instruction for BACKFILL operation from master/table server.
	// This is the serialized-string of "message PgsqlBackfillSpecPB".
	//
	// If 'is_backfill_batch_done' == true, Postgres will return this 'backfill_spec' to tablet server
	// that sent out the 'BACKFILL' request statement.
	BackfillSpec        []byte `protobuf:"bytes,13,opt,name=backfill_spec,json=backfillSpec" json:"backfill_spec,omitempty"`
	IsBackfillBatchDone *bool  `protobuf:"varint,14,opt,name=is_backfill_batch_done,json=isBackfillBatchDone" json:"is_backfill_batch_done,omitempty"`
	// contains filtered or unexported fields
}

Response from tablet server for both read and write.

func (*PgsqlResponsePB) Descriptor deprecated

func (*PgsqlResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlResponsePB.ProtoReflect.Descriptor instead.

func (*PgsqlResponsePB) GetBackfillSpec

func (x *PgsqlResponsePB) GetBackfillSpec() []byte

func (*PgsqlResponsePB) GetBatchArgCount

func (x *PgsqlResponsePB) GetBatchArgCount() int64

func (*PgsqlResponsePB) GetBatchOrders

func (x *PgsqlResponsePB) GetBatchOrders() []int64

func (*PgsqlResponsePB) GetErrorMessage

func (x *PgsqlResponsePB) GetErrorMessage() string

func (*PgsqlResponsePB) GetIsBackfillBatchDone

func (x *PgsqlResponsePB) GetIsBackfillBatchDone() bool

func (*PgsqlResponsePB) GetPagingState

func (x *PgsqlResponsePB) GetPagingState() *PgsqlPagingStatePB

func (*PgsqlResponsePB) GetPgErrorCode

func (x *PgsqlResponsePB) GetPgErrorCode() uint64

func (*PgsqlResponsePB) GetRowsAffectedCount

func (x *PgsqlResponsePB) GetRowsAffectedCount() int32

func (*PgsqlResponsePB) GetRowsDataSidecar

func (x *PgsqlResponsePB) GetRowsDataSidecar() int32

func (*PgsqlResponsePB) GetSamplingState

func (x *PgsqlResponsePB) GetSamplingState() *PgsqlSamplingStatePB

func (*PgsqlResponsePB) GetSkipped

func (x *PgsqlResponsePB) GetSkipped() bool

func (*PgsqlResponsePB) GetStatus

func (*PgsqlResponsePB) GetTxnErrorCode

func (x *PgsqlResponsePB) GetTxnErrorCode() uint32

func (*PgsqlResponsePB) ProtoMessage

func (*PgsqlResponsePB) ProtoMessage()

func (*PgsqlResponsePB) ProtoReflect

func (x *PgsqlResponsePB) ProtoReflect() protoreflect.Message

func (*PgsqlResponsePB) Reset

func (x *PgsqlResponsePB) Reset()

func (*PgsqlResponsePB) String

func (x *PgsqlResponsePB) String() string

type PgsqlResponsePB_RequestStatus

type PgsqlResponsePB_RequestStatus int32

Response status

const (
	PgsqlResponsePB_PGSQL_STATUS_OK                      PgsqlResponsePB_RequestStatus = 0
	PgsqlResponsePB_PGSQL_STATUS_SCHEMA_VERSION_MISMATCH PgsqlResponsePB_RequestStatus = 1
	PgsqlResponsePB_PGSQL_STATUS_RUNTIME_ERROR           PgsqlResponsePB_RequestStatus = 2
	PgsqlResponsePB_PGSQL_STATUS_USAGE_ERROR             PgsqlResponsePB_RequestStatus = 3
	PgsqlResponsePB_PGSQL_STATUS_RESTART_REQUIRED_ERROR  PgsqlResponsePB_RequestStatus = 4
	PgsqlResponsePB_PGSQL_STATUS_DUPLICATE_KEY_ERROR     PgsqlResponsePB_RequestStatus = 5
)

func (PgsqlResponsePB_RequestStatus) Descriptor

func (PgsqlResponsePB_RequestStatus) Enum

func (PgsqlResponsePB_RequestStatus) EnumDescriptor deprecated

func (PgsqlResponsePB_RequestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use PgsqlResponsePB_RequestStatus.Descriptor instead.

func (PgsqlResponsePB_RequestStatus) Number

func (PgsqlResponsePB_RequestStatus) String

func (PgsqlResponsePB_RequestStatus) Type

func (*PgsqlResponsePB_RequestStatus) UnmarshalJSON deprecated

func (x *PgsqlResponsePB_RequestStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PgsqlSamplingStatePB

type PgsqlSamplingStatePB struct {

	// target number of rows to collect
	Targrows *int32 `protobuf:"varint,1,opt,name=targrows" json:"targrows,omitempty"`
	// number of rows collected so far across all blocks
	Numrows *int32 `protobuf:"varint,2,opt,name=numrows" json:"numrows,omitempty"`
	// number of rows considered for sample across all blocks
	Samplerows *float64 `protobuf:"fixed64,3,opt,name=samplerows" json:"samplerows,omitempty"`
	// current number of rows to skip
	Rowstoskip *float64 `protobuf:"fixed64,4,opt,name=rowstoskip" json:"rowstoskip,omitempty"`
	// reservoir state W
	RstateW *float64 `protobuf:"fixed64,5,opt,name=rstate_w,json=rstateW" json:"rstate_w,omitempty"`
	// 48 bits of sampler random state
	RandState *uint64 `protobuf:"varint,6,opt,name=rand_state,json=randState" json:"rand_state,omitempty"`
	// contains filtered or unexported fields
}

Random sampling state

func (*PgsqlSamplingStatePB) Descriptor deprecated

func (*PgsqlSamplingStatePB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlSamplingStatePB.ProtoReflect.Descriptor instead.

func (*PgsqlSamplingStatePB) GetNumrows

func (x *PgsqlSamplingStatePB) GetNumrows() int32

func (*PgsqlSamplingStatePB) GetRandState

func (x *PgsqlSamplingStatePB) GetRandState() uint64

func (*PgsqlSamplingStatePB) GetRowstoskip

func (x *PgsqlSamplingStatePB) GetRowstoskip() float64

func (*PgsqlSamplingStatePB) GetRstateW

func (x *PgsqlSamplingStatePB) GetRstateW() float64

func (*PgsqlSamplingStatePB) GetSamplerows

func (x *PgsqlSamplingStatePB) GetSamplerows() float64

func (*PgsqlSamplingStatePB) GetTargrows

func (x *PgsqlSamplingStatePB) GetTargrows() int32

func (*PgsqlSamplingStatePB) ProtoMessage

func (*PgsqlSamplingStatePB) ProtoMessage()

func (*PgsqlSamplingStatePB) ProtoReflect

func (x *PgsqlSamplingStatePB) ProtoReflect() protoreflect.Message

func (*PgsqlSamplingStatePB) Reset

func (x *PgsqlSamplingStatePB) Reset()

func (*PgsqlSamplingStatePB) String

func (x *PgsqlSamplingStatePB) String() string

type PgsqlWriteRequestPB

type PgsqlWriteRequestPB struct {

	// Client info
	Client *QLClient `protobuf:"varint,1,opt,name=client,enum=yb.QLClient" json:"client,omitempty"` // required
	// Statement info
	StmtId   *uint64                            `protobuf:"varint,2,opt,name=stmt_id,json=stmtId" json:"stmt_id,omitempty"`                                                 // client request id.
	StmtType *PgsqlWriteRequestPB_PgsqlStmtType `protobuf:"varint,3,opt,name=stmt_type,json=stmtType,enum=yb.PgsqlWriteRequestPB_PgsqlStmtType" json:"stmt_type,omitempty"` // required
	// Table id.
	TableId []byte `protobuf:"bytes,4,opt,name=table_id,json=tableId" json:"table_id,omitempty"` // required
	// Table schema version.
	SchemaVersion *uint32 `protobuf:"varint,5,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"` // required
	//------------------------------------------------------------------------------------------------
	// Row Identifiers provides information for the row that the server INSERTs, DELETEs, or UPDATEs.
	// - hash_code, if provided, helps locating the row. It is used by the proxy to find tablet server
	//   and by DocDB to find a set of matching rows.
	// - partition_column_values are for partition columns,
	//   e.g. for h1 = 1 AND h2 = 2 partition_column_values would be [1, 2].
	// - range_column_values are for range columns.
	// - column_values are for non-primary columns. They are used to further identify the row to be
	//   inserted, deleted, or updated.
	//
	// NOTE: Primary columns are defined when creating tables. These columns are different from
	//       those columns that are used as part of an INDEX.
	HashCode              *uint32              `protobuf:"varint,6,opt,name=hash_code,json=hashCode" json:"hash_code,omitempty"`
	PartitionColumnValues []*PgsqlExpressionPB `protobuf:"bytes,7,rep,name=partition_column_values,json=partitionColumnValues" json:"partition_column_values,omitempty"`
	RangeColumnValues     []*PgsqlExpressionPB `protobuf:"bytes,8,rep,name=range_column_values,json=rangeColumnValues" json:"range_column_values,omitempty"`
	YbctidColumnValue     *PgsqlExpressionPB   `protobuf:"bytes,9,opt,name=ybctid_column_value,json=ybctidColumnValue" json:"ybctid_column_value,omitempty"`
	// Not used with UPDATEs. Use column_new_values to UPDATE a value.
	ColumnValues []*PgsqlColumnValuePB `protobuf:"bytes,10,rep,name=column_values,json=columnValues" json:"column_values,omitempty"`
	// If this attribute is present, this request is a batch request.
	BatchArguments []*PgsqlBatchArgumentPB `protobuf:"bytes,18,rep,name=batch_arguments,json=batchArguments" json:"batch_arguments,omitempty"`
	//------------------------------------------------------------------------------------------------
	// Column New Values.
	// - Columns to be overwritten (UPDATE SET clause). This field can contain primary-key columns.
	ColumnNewValues []*PgsqlColumnValuePB `protobuf:"bytes,11,rep,name=column_new_values,json=columnNewValues" json:"column_new_values,omitempty"`
	//------------------------------------------------------------------------------------------------
	// Tuple descriptor for RETURNING clause.
	//
	// For now, we sent rsrow descriptor from proxy to tablet server for every request. RSRow is just
	// a selected row. We call it rsrow to distinguish a selected row from a row of a table in the
	// database in our coding.
	RsrowDesc *PgsqlRSRowDescPB    `protobuf:"bytes,12,opt,name=rsrow_desc,json=rsrowDesc" json:"rsrow_desc,omitempty"`
	Targets   []*PgsqlExpressionPB `protobuf:"bytes,13,rep,name=targets" json:"targets,omitempty"` // required for a RETURNING clause.
	//------------------------------------------------------------------------------------------------
	// Where clause condition
	WhereExpr *PgsqlExpressionPB `protobuf:"bytes,14,opt,name=where_expr,json=whereExpr" json:"where_expr,omitempty"`
	// Listing of all columns that this write operation is referencing.
	// TServers will need to read these columns when processing the write request.
	// DEPRECATED in favor of col_refs;
	ColumnRefs *PgsqlColumnRefsPB `protobuf:"bytes,15,opt,name=column_refs,json=columnRefs" json:"column_refs,omitempty"`
	// The version of the ysql system catalog this query was prepared against.
	YsqlCatalogVersion *uint64 `protobuf:"varint,16,opt,name=ysql_catalog_version,json=ysqlCatalogVersion" json:"ysql_catalog_version,omitempty"`
	// True only if this changes a system catalog table (or index).
	IsYsqlCatalogChange *bool `protobuf:"varint,17,opt,name=is_ysql_catalog_change,json=isYsqlCatalogChange,def=0" json:"is_ysql_catalog_change,omitempty"`
	// Does this request correspond to backfilling an index table?
	IsBackfill *bool `protobuf:"varint,19,opt,name=is_backfill,json=isBackfill,def=0" json:"is_backfill,omitempty"`
	// For DELETE requests, do they need to be persisted in regular rocksdb?
	//
	// This is currently only used for DELETEs to the index when the index is getting created with
	// index backfill enabled.
	IsDeletePersistNeeded *bool `` /* 129-byte string literal not displayed */
	// Columns refereced by this write operation.
	// Provides mapping between DocDB and Postgres identifiers, and provides Postgres type information
	// to convert between DocDB and Postgres formats.
	// One entry per column referenced.
	ColRefs []*PgsqlColRefPB `protobuf:"bytes,21,rep,name=col_refs,json=colRefs" json:"col_refs,omitempty"`
	// contains filtered or unexported fields
}

Instruction.

func (*PgsqlWriteRequestPB) Descriptor deprecated

func (*PgsqlWriteRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PgsqlWriteRequestPB.ProtoReflect.Descriptor instead.

func (*PgsqlWriteRequestPB) GetBatchArguments

func (x *PgsqlWriteRequestPB) GetBatchArguments() []*PgsqlBatchArgumentPB

func (*PgsqlWriteRequestPB) GetClient

func (x *PgsqlWriteRequestPB) GetClient() QLClient

func (*PgsqlWriteRequestPB) GetColRefs added in v2.13.0

func (x *PgsqlWriteRequestPB) GetColRefs() []*PgsqlColRefPB

func (*PgsqlWriteRequestPB) GetColumnNewValues

func (x *PgsqlWriteRequestPB) GetColumnNewValues() []*PgsqlColumnValuePB

func (*PgsqlWriteRequestPB) GetColumnRefs

func (x *PgsqlWriteRequestPB) GetColumnRefs() *PgsqlColumnRefsPB

func (*PgsqlWriteRequestPB) GetColumnValues

func (x *PgsqlWriteRequestPB) GetColumnValues() []*PgsqlColumnValuePB

func (*PgsqlWriteRequestPB) GetHashCode

func (x *PgsqlWriteRequestPB) GetHashCode() uint32

func (*PgsqlWriteRequestPB) GetIsBackfill

func (x *PgsqlWriteRequestPB) GetIsBackfill() bool

func (*PgsqlWriteRequestPB) GetIsDeletePersistNeeded

func (x *PgsqlWriteRequestPB) GetIsDeletePersistNeeded() bool

func (*PgsqlWriteRequestPB) GetIsYsqlCatalogChange

func (x *PgsqlWriteRequestPB) GetIsYsqlCatalogChange() bool

func (*PgsqlWriteRequestPB) GetPartitionColumnValues

func (x *PgsqlWriteRequestPB) GetPartitionColumnValues() []*PgsqlExpressionPB

func (*PgsqlWriteRequestPB) GetRangeColumnValues

func (x *PgsqlWriteRequestPB) GetRangeColumnValues() []*PgsqlExpressionPB

func (*PgsqlWriteRequestPB) GetRsrowDesc

func (x *PgsqlWriteRequestPB) GetRsrowDesc() *PgsqlRSRowDescPB

func (*PgsqlWriteRequestPB) GetSchemaVersion

func (x *PgsqlWriteRequestPB) GetSchemaVersion() uint32

func (*PgsqlWriteRequestPB) GetStmtId

func (x *PgsqlWriteRequestPB) GetStmtId() uint64

func (*PgsqlWriteRequestPB) GetStmtType

func (*PgsqlWriteRequestPB) GetTableId

func (x *PgsqlWriteRequestPB) GetTableId() []byte

func (*PgsqlWriteRequestPB) GetTargets

func (x *PgsqlWriteRequestPB) GetTargets() []*PgsqlExpressionPB

func (*PgsqlWriteRequestPB) GetWhereExpr

func (x *PgsqlWriteRequestPB) GetWhereExpr() *PgsqlExpressionPB

func (*PgsqlWriteRequestPB) GetYbctidColumnValue

func (x *PgsqlWriteRequestPB) GetYbctidColumnValue() *PgsqlExpressionPB

func (*PgsqlWriteRequestPB) GetYsqlCatalogVersion

func (x *PgsqlWriteRequestPB) GetYsqlCatalogVersion() uint64

func (*PgsqlWriteRequestPB) ProtoMessage

func (*PgsqlWriteRequestPB) ProtoMessage()

func (*PgsqlWriteRequestPB) ProtoReflect

func (x *PgsqlWriteRequestPB) ProtoReflect() protoreflect.Message

func (*PgsqlWriteRequestPB) Reset

func (x *PgsqlWriteRequestPB) Reset()

func (*PgsqlWriteRequestPB) String

func (x *PgsqlWriteRequestPB) String() string

type PgsqlWriteRequestPB_PgsqlStmtType

type PgsqlWriteRequestPB_PgsqlStmtType int32

Statement types

const (
	PgsqlWriteRequestPB_PGSQL_INSERT             PgsqlWriteRequestPB_PgsqlStmtType = 1
	PgsqlWriteRequestPB_PGSQL_UPDATE             PgsqlWriteRequestPB_PgsqlStmtType = 2
	PgsqlWriteRequestPB_PGSQL_DELETE             PgsqlWriteRequestPB_PgsqlStmtType = 3
	PgsqlWriteRequestPB_PGSQL_UPSERT             PgsqlWriteRequestPB_PgsqlStmtType = 4
	PgsqlWriteRequestPB_PGSQL_TRUNCATE_COLOCATED PgsqlWriteRequestPB_PgsqlStmtType = 5
)

func (PgsqlWriteRequestPB_PgsqlStmtType) Descriptor

func (PgsqlWriteRequestPB_PgsqlStmtType) Enum

func (PgsqlWriteRequestPB_PgsqlStmtType) EnumDescriptor deprecated

func (PgsqlWriteRequestPB_PgsqlStmtType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PgsqlWriteRequestPB_PgsqlStmtType.Descriptor instead.

func (PgsqlWriteRequestPB_PgsqlStmtType) Number

func (PgsqlWriteRequestPB_PgsqlStmtType) String

func (PgsqlWriteRequestPB_PgsqlStmtType) Type

func (*PgsqlWriteRequestPB_PgsqlStmtType) UnmarshalJSON deprecated

func (x *PgsqlWriteRequestPB_PgsqlStmtType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PingRequestPB

type PingRequestPB struct {
	// contains filtered or unexported fields
}

func (*PingRequestPB) Descriptor deprecated

func (*PingRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PingRequestPB.ProtoReflect.Descriptor instead.

func (*PingRequestPB) ProtoMessage

func (*PingRequestPB) ProtoMessage()

func (*PingRequestPB) ProtoReflect

func (x *PingRequestPB) ProtoReflect() protoreflect.Message

func (*PingRequestPB) Reset

func (x *PingRequestPB) Reset()

func (*PingRequestPB) String

func (x *PingRequestPB) String() string

type PingResponsePB

type PingResponsePB struct {
	// contains filtered or unexported fields
}

func (*PingResponsePB) Descriptor deprecated

func (*PingResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PingResponsePB.ProtoReflect.Descriptor instead.

func (*PingResponsePB) ProtoMessage

func (*PingResponsePB) ProtoMessage()

func (*PingResponsePB) ProtoReflect

func (x *PingResponsePB) ProtoReflect() protoreflect.Message

func (*PingResponsePB) Reset

func (x *PingResponsePB) Reset()

func (*PingResponsePB) String

func (x *PingResponsePB) String() string

type PlacementBlockPB

type PlacementBlockPB struct {

	// The cloud, region and zone information for this placement block.
	CloudInfo *CloudInfoPB `protobuf:"bytes,1,opt,name=cloud_info,json=cloudInfo" json:"cloud_info,omitempty"`
	// The minimum number of replicas that should always be up in this placement.
	MinNumReplicas *int32 `protobuf:"varint,2,opt,name=min_num_replicas,json=minNumReplicas" json:"min_num_replicas,omitempty"`
	// contains filtered or unexported fields
}

This represents one instance of a placement constraint for a table. It is used to dictate what is the minimum number of expected replicas in a certain cloud/region/zone combo.

func (*PlacementBlockPB) Descriptor deprecated

func (*PlacementBlockPB) Descriptor() ([]byte, []int)

Deprecated: Use PlacementBlockPB.ProtoReflect.Descriptor instead.

func (*PlacementBlockPB) GetCloudInfo

func (x *PlacementBlockPB) GetCloudInfo() *CloudInfoPB

func (*PlacementBlockPB) GetMinNumReplicas

func (x *PlacementBlockPB) GetMinNumReplicas() int32

func (*PlacementBlockPB) ProtoMessage

func (*PlacementBlockPB) ProtoMessage()

func (*PlacementBlockPB) ProtoReflect

func (x *PlacementBlockPB) ProtoReflect() protoreflect.Message

func (*PlacementBlockPB) Reset

func (x *PlacementBlockPB) Reset()

func (*PlacementBlockPB) String

func (x *PlacementBlockPB) String() string

type PlacementInfoPB

type PlacementInfoPB struct {
	NumReplicas     *int32              `protobuf:"varint,1,opt,name=num_replicas,json=numReplicas" json:"num_replicas,omitempty"`
	PlacementBlocks []*PlacementBlockPB `protobuf:"bytes,2,rep,name=placement_blocks,json=placementBlocks" json:"placement_blocks,omitempty"`
	PlacementUuid   []byte              `protobuf:"bytes,3,opt,name=placement_uuid,json=placementUuid" json:"placement_uuid,omitempty"`
	// contains filtered or unexported fields
}

This keeps track of the set of PlacementBlockPBs defining the placement requirements for a certain table. This is used both in the on-disk storage in SysCatalog, as well as in the actual table creation calls and in the schema returned to client queries.

This is tightly coupled with the overall num_replicas for a certain table, as we want to both be able to specify requirements, per placement block, but also for the overall RF factor of the table.

func (*PlacementInfoPB) Descriptor deprecated

func (*PlacementInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use PlacementInfoPB.ProtoReflect.Descriptor instead.

func (*PlacementInfoPB) GetNumReplicas

func (x *PlacementInfoPB) GetNumReplicas() int32

func (*PlacementInfoPB) GetPlacementBlocks

func (x *PlacementInfoPB) GetPlacementBlocks() []*PlacementBlockPB

func (*PlacementInfoPB) GetPlacementUuid

func (x *PlacementInfoPB) GetPlacementUuid() []byte

func (*PlacementInfoPB) ProtoMessage

func (*PlacementInfoPB) ProtoMessage()

func (*PlacementInfoPB) ProtoReflect

func (x *PlacementInfoPB) ProtoReflect() protoreflect.Message

func (*PlacementInfoPB) Reset

func (x *PlacementInfoPB) Reset()

func (*PlacementInfoPB) String

func (x *PlacementInfoPB) String() string

type ProducerEntryPB

type ProducerEntryPB struct {

	// Map from stream id to metadata for that stream.
	StreamMap     map[string]*StreamEntryPB `` /* 176-byte string literal not displayed */
	MasterAddrs   []*HostPortPB             `protobuf:"bytes,2,rep,name=master_addrs,json=masterAddrs,proto3" json:"master_addrs,omitempty"`
	TserverAddrs  []*HostPortPB             `protobuf:"bytes,3,rep,name=tserver_addrs,json=tserverAddrs,proto3" json:"tserver_addrs,omitempty"`
	DisableStream bool                      `protobuf:"varint,4,opt,name=disable_stream,json=disableStream,proto3" json:"disable_stream,omitempty"` // [default = false] implicit in proto3
	// contains filtered or unexported fields
}

func (*ProducerEntryPB) Descriptor deprecated

func (*ProducerEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use ProducerEntryPB.ProtoReflect.Descriptor instead.

func (*ProducerEntryPB) GetDisableStream

func (x *ProducerEntryPB) GetDisableStream() bool

func (*ProducerEntryPB) GetMasterAddrs

func (x *ProducerEntryPB) GetMasterAddrs() []*HostPortPB

func (*ProducerEntryPB) GetStreamMap

func (x *ProducerEntryPB) GetStreamMap() map[string]*StreamEntryPB

func (*ProducerEntryPB) GetTserverAddrs

func (x *ProducerEntryPB) GetTserverAddrs() []*HostPortPB

func (*ProducerEntryPB) ProtoMessage

func (*ProducerEntryPB) ProtoMessage()

func (*ProducerEntryPB) ProtoReflect

func (x *ProducerEntryPB) ProtoReflect() protoreflect.Message

func (*ProducerEntryPB) Reset

func (x *ProducerEntryPB) Reset()

func (*ProducerEntryPB) String

func (x *ProducerEntryPB) String() string

type ProducerSplitTabletInfoPB added in v2.13.0

type ProducerSplitTabletInfoPB struct {
	TabletId          []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	NewTablet1Id      []byte `protobuf:"bytes,2,req,name=new_tablet1_id,json=newTablet1Id" json:"new_tablet1_id,omitempty"`
	NewTablet2Id      []byte `protobuf:"bytes,3,req,name=new_tablet2_id,json=newTablet2Id" json:"new_tablet2_id,omitempty"`
	SplitPartitionKey []byte `protobuf:"bytes,4,req,name=split_partition_key,json=splitPartitionKey" json:"split_partition_key,omitempty"`
	SplitEncodedKey   []byte `protobuf:"bytes,5,req,name=split_encoded_key,json=splitEncodedKey" json:"split_encoded_key,omitempty"`
	// contains filtered or unexported fields
}

func (*ProducerSplitTabletInfoPB) Descriptor deprecated added in v2.13.0

func (*ProducerSplitTabletInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use ProducerSplitTabletInfoPB.ProtoReflect.Descriptor instead.

func (*ProducerSplitTabletInfoPB) GetNewTablet1Id added in v2.13.0

func (x *ProducerSplitTabletInfoPB) GetNewTablet1Id() []byte

func (*ProducerSplitTabletInfoPB) GetNewTablet2Id added in v2.13.0

func (x *ProducerSplitTabletInfoPB) GetNewTablet2Id() []byte

func (*ProducerSplitTabletInfoPB) GetSplitEncodedKey added in v2.13.0

func (x *ProducerSplitTabletInfoPB) GetSplitEncodedKey() []byte

func (*ProducerSplitTabletInfoPB) GetSplitPartitionKey added in v2.13.0

func (x *ProducerSplitTabletInfoPB) GetSplitPartitionKey() []byte

func (*ProducerSplitTabletInfoPB) GetTabletId added in v2.13.0

func (x *ProducerSplitTabletInfoPB) GetTabletId() []byte

func (*ProducerSplitTabletInfoPB) ProtoMessage added in v2.13.0

func (*ProducerSplitTabletInfoPB) ProtoMessage()

func (*ProducerSplitTabletInfoPB) ProtoReflect added in v2.13.0

func (*ProducerSplitTabletInfoPB) Reset added in v2.13.0

func (x *ProducerSplitTabletInfoPB) Reset()

func (*ProducerSplitTabletInfoPB) String added in v2.13.0

func (x *ProducerSplitTabletInfoPB) String() string

type ProducerTabletListPB

type ProducerTabletListPB struct {

	// List of tablet ids for a given producer table.
	Tablets []string `protobuf:"bytes,1,rep,name=tablets,proto3" json:"tablets,omitempty"`
	// contains filtered or unexported fields
}

func (*ProducerTabletListPB) Descriptor deprecated

func (*ProducerTabletListPB) Descriptor() ([]byte, []int)

Deprecated: Use ProducerTabletListPB.ProtoReflect.Descriptor instead.

func (*ProducerTabletListPB) GetTablets

func (x *ProducerTabletListPB) GetTablets() []string

func (*ProducerTabletListPB) ProtoMessage

func (*ProducerTabletListPB) ProtoMessage()

func (*ProducerTabletListPB) ProtoReflect

func (x *ProducerTabletListPB) ProtoReflect() protoreflect.Message

func (*ProducerTabletListPB) Reset

func (x *ProducerTabletListPB) Reset()

func (*ProducerTabletListPB) String

func (x *ProducerTabletListPB) String() string

type ProtoContainerTest2PB

type ProtoContainerTest2PB struct {
	Record *ProtoContainerTestPB `protobuf:"bytes,1,req,name=record" json:"record,omitempty"`
	// contains filtered or unexported fields
}

Arbitrary protobuf that has one PB dependency.

func (*ProtoContainerTest2PB) Descriptor deprecated

func (*ProtoContainerTest2PB) Descriptor() ([]byte, []int)

Deprecated: Use ProtoContainerTest2PB.ProtoReflect.Descriptor instead.

func (*ProtoContainerTest2PB) GetRecord

func (*ProtoContainerTest2PB) ProtoMessage

func (*ProtoContainerTest2PB) ProtoMessage()

func (*ProtoContainerTest2PB) ProtoReflect

func (x *ProtoContainerTest2PB) ProtoReflect() protoreflect.Message

func (*ProtoContainerTest2PB) Reset

func (x *ProtoContainerTest2PB) Reset()

func (*ProtoContainerTest2PB) String

func (x *ProtoContainerTest2PB) String() string

type ProtoContainerTest3PB

type ProtoContainerTest3PB struct {
	RecordOne *ProtoContainerTestPB  `protobuf:"bytes,1,req,name=record_one,json=recordOne" json:"record_one,omitempty"`
	RecordTwo *ProtoContainerTest2PB `protobuf:"bytes,2,req,name=record_two,json=recordTwo" json:"record_two,omitempty"`
	// contains filtered or unexported fields
}

Arbitrary protobuf has two PB dependencies. dependency.

func (*ProtoContainerTest3PB) Descriptor deprecated

func (*ProtoContainerTest3PB) Descriptor() ([]byte, []int)

Deprecated: Use ProtoContainerTest3PB.ProtoReflect.Descriptor instead.

func (*ProtoContainerTest3PB) GetRecordOne

func (x *ProtoContainerTest3PB) GetRecordOne() *ProtoContainerTestPB

func (*ProtoContainerTest3PB) GetRecordTwo

func (x *ProtoContainerTest3PB) GetRecordTwo() *ProtoContainerTest2PB

func (*ProtoContainerTest3PB) ProtoMessage

func (*ProtoContainerTest3PB) ProtoMessage()

func (*ProtoContainerTest3PB) ProtoReflect

func (x *ProtoContainerTest3PB) ProtoReflect() protoreflect.Message

func (*ProtoContainerTest3PB) Reset

func (x *ProtoContainerTest3PB) Reset()

func (*ProtoContainerTest3PB) String

func (x *ProtoContainerTest3PB) String() string

type ProtoContainerTestPB

type ProtoContainerTestPB struct {
	Name  *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value *int32  `protobuf:"varint,2,req,name=value" json:"value,omitempty"`
	Note  *string `protobuf:"bytes,3,opt,name=note" json:"note,omitempty"`
	// contains filtered or unexported fields
}

Arbitrary protobuf to test writing a containerized protobuf.

func (*ProtoContainerTestPB) Descriptor deprecated

func (*ProtoContainerTestPB) Descriptor() ([]byte, []int)

Deprecated: Use ProtoContainerTestPB.ProtoReflect.Descriptor instead.

func (*ProtoContainerTestPB) GetName

func (x *ProtoContainerTestPB) GetName() string

func (*ProtoContainerTestPB) GetNote

func (x *ProtoContainerTestPB) GetNote() string

func (*ProtoContainerTestPB) GetValue

func (x *ProtoContainerTestPB) GetValue() int32

func (*ProtoContainerTestPB) ProtoMessage

func (*ProtoContainerTestPB) ProtoMessage()

func (*ProtoContainerTestPB) ProtoReflect

func (x *ProtoContainerTestPB) ProtoReflect() protoreflect.Message

func (*ProtoContainerTestPB) Reset

func (x *ProtoContainerTestPB) Reset()

func (*ProtoContainerTestPB) String

func (x *ProtoContainerTestPB) String() string

type PublishRequestPB

type PublishRequestPB struct {
	Channel []byte `protobuf:"bytes,1,req,name=channel" json:"channel,omitempty"`
	Message []byte `protobuf:"bytes,2,req,name=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishRequestPB) Descriptor deprecated

func (*PublishRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use PublishRequestPB.ProtoReflect.Descriptor instead.

func (*PublishRequestPB) GetChannel

func (x *PublishRequestPB) GetChannel() []byte

func (*PublishRequestPB) GetMessage

func (x *PublishRequestPB) GetMessage() []byte

func (*PublishRequestPB) ProtoMessage

func (*PublishRequestPB) ProtoMessage()

func (*PublishRequestPB) ProtoReflect

func (x *PublishRequestPB) ProtoReflect() protoreflect.Message

func (*PublishRequestPB) Reset

func (x *PublishRequestPB) Reset()

func (*PublishRequestPB) String

func (x *PublishRequestPB) String() string

type PublishResponsePB

type PublishResponsePB struct {
	NumClientsForwardedTo *int32 `protobuf:"varint,1,req,name=num_clients_forwarded_to,json=numClientsForwardedTo" json:"num_clients_forwarded_to,omitempty"`
	// contains filtered or unexported fields
}

func (*PublishResponsePB) Descriptor deprecated

func (*PublishResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use PublishResponsePB.ProtoReflect.Descriptor instead.

func (*PublishResponsePB) GetNumClientsForwardedTo

func (x *PublishResponsePB) GetNumClientsForwardedTo() int32

func (*PublishResponsePB) ProtoMessage

func (*PublishResponsePB) ProtoMessage()

func (*PublishResponsePB) ProtoReflect

func (x *PublishResponsePB) ProtoReflect() protoreflect.Message

func (*PublishResponsePB) Reset

func (x *PublishResponsePB) Reset()

func (*PublishResponsePB) String

func (x *PublishResponsePB) String() string

type QLBCallPB

type QLBCallPB struct {
	Opcode   *int32            `protobuf:"varint,1,opt,name=opcode" json:"opcode,omitempty"`
	Operands []*QLExpressionPB `protobuf:"bytes,2,rep,name=operands" json:"operands,omitempty"`
	// contains filtered or unexported fields
}

Builtin call expression. There are 3 different calls.

  • Builtin operators such as '>', '<', '=', ... These operators can be executed anywhere.
  • Builtin functions such as Now(). These functions can be executed anywhere.
  • Server builtin functions. Only tablet servers can execute these functions.

TODO(neil) Regular builtin operators. This message can be executed anywhere. - This is more efficient than builtin call as it avoids most overheads of calling builtin lib. - Merge the current condition operator execution with this. - To optimize certain operation (such as +), replace it builtin function with builtin op.

func (*QLBCallPB) Descriptor deprecated

func (*QLBCallPB) Descriptor() ([]byte, []int)

Deprecated: Use QLBCallPB.ProtoReflect.Descriptor instead.

func (*QLBCallPB) GetOpcode

func (x *QLBCallPB) GetOpcode() int32

func (*QLBCallPB) GetOperands

func (x *QLBCallPB) GetOperands() []*QLExpressionPB

func (*QLBCallPB) ProtoMessage

func (*QLBCallPB) ProtoMessage()

func (*QLBCallPB) ProtoReflect

func (x *QLBCallPB) ProtoReflect() protoreflect.Message

func (*QLBCallPB) Reset

func (x *QLBCallPB) Reset()

func (*QLBCallPB) String

func (x *QLBCallPB) String() string

type QLClient

type QLClient int32

Client type.

const (
	QLClient_YQL_CLIENT_CQL   QLClient = 1
	QLClient_YQL_CLIENT_PGSQL QLClient = 2
	QLClient_YQL_CLIENT_REDIS QLClient = 3
)

func (QLClient) Descriptor

func (QLClient) Descriptor() protoreflect.EnumDescriptor

func (QLClient) Enum

func (x QLClient) Enum() *QLClient

func (QLClient) EnumDescriptor deprecated

func (QLClient) EnumDescriptor() ([]byte, []int)

Deprecated: Use QLClient.Descriptor instead.

func (QLClient) Number

func (x QLClient) Number() protoreflect.EnumNumber

func (QLClient) String

func (x QLClient) String() string

func (QLClient) Type

func (*QLClient) UnmarshalJSON deprecated

func (x *QLClient) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type QLColumnValuePB

type QLColumnValuePB struct {
	ColumnId      *int32               `protobuf:"varint,1,opt,name=column_id,json=columnId" json:"column_id,omitempty"`
	SubscriptArgs []*QLExpressionPB    `protobuf:"bytes,3,rep,name=subscript_args,json=subscriptArgs" json:"subscript_args,omitempty"`
	JsonArgs      []*QLJsonOperationPB `protobuf:"bytes,4,rep,name=json_args,json=jsonArgs" json:"json_args,omitempty"`
	Expr          *QLExpressionPB      `protobuf:"bytes,2,opt,name=expr" json:"expr,omitempty"`
	// contains filtered or unexported fields
}

A column value, optionally with subscripts, e.g. m['x'] or l[2]['x']

func (*QLColumnValuePB) Descriptor deprecated

func (*QLColumnValuePB) Descriptor() ([]byte, []int)

Deprecated: Use QLColumnValuePB.ProtoReflect.Descriptor instead.

func (*QLColumnValuePB) GetColumnId

func (x *QLColumnValuePB) GetColumnId() int32

func (*QLColumnValuePB) GetExpr

func (x *QLColumnValuePB) GetExpr() *QLExpressionPB

func (*QLColumnValuePB) GetJsonArgs

func (x *QLColumnValuePB) GetJsonArgs() []*QLJsonOperationPB

func (*QLColumnValuePB) GetSubscriptArgs

func (x *QLColumnValuePB) GetSubscriptArgs() []*QLExpressionPB

func (*QLColumnValuePB) ProtoMessage

func (*QLColumnValuePB) ProtoMessage()

func (*QLColumnValuePB) ProtoReflect

func (x *QLColumnValuePB) ProtoReflect() protoreflect.Message

func (*QLColumnValuePB) Reset

func (x *QLColumnValuePB) Reset()

func (*QLColumnValuePB) String

func (x *QLColumnValuePB) String() string

type QLConditionPB

type QLConditionPB struct {
	Op       *QLOperator       `protobuf:"varint,1,opt,name=op,enum=yb.QLOperator" json:"op,omitempty"`
	Operands []*QLExpressionPB `protobuf:"bytes,2,rep,name=operands" json:"operands,omitempty"`
	// contains filtered or unexported fields
}

A logical condition that evaluates to true/false. Used in the WHERE clause.

func (*QLConditionPB) Descriptor deprecated

func (*QLConditionPB) Descriptor() ([]byte, []int)

Deprecated: Use QLConditionPB.ProtoReflect.Descriptor instead.

func (*QLConditionPB) GetOp

func (x *QLConditionPB) GetOp() QLOperator

func (*QLConditionPB) GetOperands

func (x *QLConditionPB) GetOperands() []*QLExpressionPB

func (*QLConditionPB) ProtoMessage

func (*QLConditionPB) ProtoMessage()

func (*QLConditionPB) ProtoReflect

func (x *QLConditionPB) ProtoReflect() protoreflect.Message

func (*QLConditionPB) Reset

func (x *QLConditionPB) Reset()

func (*QLConditionPB) String

func (x *QLConditionPB) String() string

type QLExpressionPB

type QLExpressionPB struct {

	// Types that are assignable to Expr:
	//	*QLExpressionPB_Value
	//	*QLExpressionPB_ColumnId
	//	*QLExpressionPB_SubscriptedCol
	//	*QLExpressionPB_BindId
	//	*QLExpressionPB_Condition
	//	*QLExpressionPB_Bfcall
	//	*QLExpressionPB_Tscall
	//	*QLExpressionPB_Bocall
	//	*QLExpressionPB_JsonColumn
	Expr isQLExpressionPB_Expr `protobuf_oneof:"expr"`
	// contains filtered or unexported fields
}

An expression in a WHERE condition

func (*QLExpressionPB) Descriptor deprecated

func (*QLExpressionPB) Descriptor() ([]byte, []int)

Deprecated: Use QLExpressionPB.ProtoReflect.Descriptor instead.

func (*QLExpressionPB) GetBfcall

func (x *QLExpressionPB) GetBfcall() *QLBCallPB

func (*QLExpressionPB) GetBindId

func (x *QLExpressionPB) GetBindId() int32

func (*QLExpressionPB) GetBocall

func (x *QLExpressionPB) GetBocall() *QLBCallPB

func (*QLExpressionPB) GetColumnId

func (x *QLExpressionPB) GetColumnId() int32

func (*QLExpressionPB) GetCondition

func (x *QLExpressionPB) GetCondition() *QLConditionPB

func (*QLExpressionPB) GetExpr

func (m *QLExpressionPB) GetExpr() isQLExpressionPB_Expr

func (*QLExpressionPB) GetJsonColumn

func (x *QLExpressionPB) GetJsonColumn() *QLJsonColumnOperationsPB

func (*QLExpressionPB) GetSubscriptedCol

func (x *QLExpressionPB) GetSubscriptedCol() *QLSubscriptedColPB

func (*QLExpressionPB) GetTscall

func (x *QLExpressionPB) GetTscall() *QLBCallPB

func (*QLExpressionPB) GetValue

func (x *QLExpressionPB) GetValue() *QLValuePB

func (*QLExpressionPB) ProtoMessage

func (*QLExpressionPB) ProtoMessage()

func (*QLExpressionPB) ProtoReflect

func (x *QLExpressionPB) ProtoReflect() protoreflect.Message

func (*QLExpressionPB) Reset

func (x *QLExpressionPB) Reset()

func (*QLExpressionPB) String

func (x *QLExpressionPB) String() string

type QLExpressionPB_Bfcall

type QLExpressionPB_Bfcall struct {
	Bfcall *QLBCallPB `protobuf:"bytes,6,opt,name=bfcall,oneof"` // Regular builtin calls.
}

type QLExpressionPB_BindId

type QLExpressionPB_BindId struct {
	BindId int32 `protobuf:"varint,4,opt,name=bind_id,json=bindId,oneof"` // Bind variable index.
}

type QLExpressionPB_Bocall

type QLExpressionPB_Bocall struct {
	Bocall *QLBCallPB `protobuf:"bytes,8,opt,name=bocall,oneof"` // Builtin operator calls.
}

type QLExpressionPB_ColumnId

type QLExpressionPB_ColumnId struct {
	ColumnId int32 `protobuf:"varint,2,opt,name=column_id,json=columnId,oneof"`
}

type QLExpressionPB_Condition

type QLExpressionPB_Condition struct {
	Condition *QLConditionPB `protobuf:"bytes,5,opt,name=condition,oneof"` // This should be replaced with builtin operator.
}

type QLExpressionPB_JsonColumn

type QLExpressionPB_JsonColumn struct {
	JsonColumn *QLJsonColumnOperationsPB `protobuf:"bytes,9,opt,name=json_column,json=jsonColumn,oneof"` // Json column operators.
}

type QLExpressionPB_SubscriptedCol

type QLExpressionPB_SubscriptedCol struct {
	SubscriptedCol *QLSubscriptedColPB `protobuf:"bytes,3,opt,name=subscripted_col,json=subscriptedCol,oneof"`
}

type QLExpressionPB_Tscall

type QLExpressionPB_Tscall struct {
	Tscall *QLBCallPB `protobuf:"bytes,7,opt,name=tscall,oneof"` // Tablet server builtin calls.
}

type QLExpressionPB_Value

type QLExpressionPB_Value struct {
	Value *QLValuePB `protobuf:"bytes,1,opt,name=value,oneof"`
}

type QLJsonColumnOperationsPB

type QLJsonColumnOperationsPB struct {
	ColumnId       *int32               `protobuf:"varint,1,opt,name=column_id,json=columnId" json:"column_id,omitempty"`
	JsonOperations []*QLJsonOperationPB `protobuf:"bytes,2,rep,name=json_operations,json=jsonOperations" json:"json_operations,omitempty"`
	// contains filtered or unexported fields
}

Represents operations applied to a json column.

func (*QLJsonColumnOperationsPB) Descriptor deprecated

func (*QLJsonColumnOperationsPB) Descriptor() ([]byte, []int)

Deprecated: Use QLJsonColumnOperationsPB.ProtoReflect.Descriptor instead.

func (*QLJsonColumnOperationsPB) GetColumnId

func (x *QLJsonColumnOperationsPB) GetColumnId() int32

func (*QLJsonColumnOperationsPB) GetJsonOperations

func (x *QLJsonColumnOperationsPB) GetJsonOperations() []*QLJsonOperationPB

func (*QLJsonColumnOperationsPB) ProtoMessage

func (*QLJsonColumnOperationsPB) ProtoMessage()

func (*QLJsonColumnOperationsPB) ProtoReflect

func (x *QLJsonColumnOperationsPB) ProtoReflect() protoreflect.Message

func (*QLJsonColumnOperationsPB) Reset

func (x *QLJsonColumnOperationsPB) Reset()

func (*QLJsonColumnOperationsPB) String

func (x *QLJsonColumnOperationsPB) String() string

type QLJsonOperationPB

type QLJsonOperationPB struct {
	JsonOperator *JsonOperatorPB `protobuf:"varint,1,req,name=json_operator,json=jsonOperator,enum=yb.JsonOperatorPB" json:"json_operator,omitempty"`
	Operand      *QLExpressionPB `protobuf:"bytes,2,req,name=operand" json:"operand,omitempty"`
	// contains filtered or unexported fields
}

func (*QLJsonOperationPB) Descriptor deprecated

func (*QLJsonOperationPB) Descriptor() ([]byte, []int)

Deprecated: Use QLJsonOperationPB.ProtoReflect.Descriptor instead.

func (*QLJsonOperationPB) GetJsonOperator

func (x *QLJsonOperationPB) GetJsonOperator() JsonOperatorPB

func (*QLJsonOperationPB) GetOperand

func (x *QLJsonOperationPB) GetOperand() *QLExpressionPB

func (*QLJsonOperationPB) ProtoMessage

func (*QLJsonOperationPB) ProtoMessage()

func (*QLJsonOperationPB) ProtoReflect

func (x *QLJsonOperationPB) ProtoReflect() protoreflect.Message

func (*QLJsonOperationPB) Reset

func (x *QLJsonOperationPB) Reset()

func (*QLJsonOperationPB) String

func (x *QLJsonOperationPB) String() string

type QLMapValuePB

type QLMapValuePB struct {
	Keys   []*QLValuePB `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"`
	Values []*QLValuePB `protobuf:"bytes,2,rep,name=values" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*QLMapValuePB) Descriptor deprecated

func (*QLMapValuePB) Descriptor() ([]byte, []int)

Deprecated: Use QLMapValuePB.ProtoReflect.Descriptor instead.

func (*QLMapValuePB) GetKeys

func (x *QLMapValuePB) GetKeys() []*QLValuePB

func (*QLMapValuePB) GetValues

func (x *QLMapValuePB) GetValues() []*QLValuePB

func (*QLMapValuePB) ProtoMessage

func (*QLMapValuePB) ProtoMessage()

func (*QLMapValuePB) ProtoReflect

func (x *QLMapValuePB) ProtoReflect() protoreflect.Message

func (*QLMapValuePB) Reset

func (x *QLMapValuePB) Reset()

func (*QLMapValuePB) String

func (x *QLMapValuePB) String() string

type QLOperator

type QLOperator int32

Expression operators.

const (
	QLOperator_QL_OP_NOOP QLOperator = 0
	// Logic operators that take one operand.
	QLOperator_QL_OP_NOT      QLOperator = 1
	QLOperator_QL_OP_IS_TRUE  QLOperator = 2
	QLOperator_QL_OP_IS_FALSE QLOperator = 3
	// Logic operators that take two or more operands.
	QLOperator_QL_OP_AND QLOperator = 4
	QLOperator_QL_OP_OR  QLOperator = 5
	// Relation operators that take one operand.
	QLOperator_QL_OP_IS_NULL     QLOperator = 6
	QLOperator_QL_OP_IS_NOT_NULL QLOperator = 7
	// Relation operators that take two operands.
	QLOperator_QL_OP_EQUAL              QLOperator = 8
	QLOperator_QL_OP_LESS_THAN          QLOperator = 9
	QLOperator_QL_OP_LESS_THAN_EQUAL    QLOperator = 10
	QLOperator_QL_OP_GREATER_THAN       QLOperator = 11
	QLOperator_QL_OP_GREATER_THAN_EQUAL QLOperator = 12
	QLOperator_QL_OP_NOT_EQUAL          QLOperator = 13
	QLOperator_QL_OP_LIKE               QLOperator = 14
	QLOperator_QL_OP_NOT_LIKE           QLOperator = 15
	QLOperator_QL_OP_IN                 QLOperator = 16
	QLOperator_QL_OP_NOT_IN             QLOperator = 17
	// Relation operators that take three operands.
	QLOperator_QL_OP_BETWEEN     QLOperator = 18
	QLOperator_QL_OP_NOT_BETWEEN QLOperator = 19
	// Operators that take no operand. For use in "if" clause only currently.
	QLOperator_QL_OP_EXISTS     QLOperator = 20 // IF EXISTS
	QLOperator_QL_OP_NOT_EXISTS QLOperator = 21 // IF NOT EXISTS
)

func (QLOperator) Descriptor

func (QLOperator) Descriptor() protoreflect.EnumDescriptor

func (QLOperator) Enum

func (x QLOperator) Enum() *QLOperator

func (QLOperator) EnumDescriptor deprecated

func (QLOperator) EnumDescriptor() ([]byte, []int)

Deprecated: Use QLOperator.Descriptor instead.

func (QLOperator) Number

func (x QLOperator) Number() protoreflect.EnumNumber

func (QLOperator) String

func (x QLOperator) String() string

func (QLOperator) Type

func (*QLOperator) UnmarshalJSON deprecated

func (x *QLOperator) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type QLPagingStatePB

type QLPagingStatePB struct {

	// Table UUID to verify the same table still exists when continuing in the next fetch.
	TableId []byte `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// Partition key to find the tablet server of the next row to read.
	NextPartitionKey []byte `protobuf:"bytes,2,opt,name=next_partition_key,json=nextPartitionKey" json:"next_partition_key,omitempty"`
	// The row key (SubDocKey = [DocKey + HybridTimestamp]) of the next row to read.
	NextRowKey []byte `protobuf:"bytes,3,opt,name=next_row_key,json=nextRowKey" json:"next_row_key,omitempty"`
	// Running total number of rows read across fetches so far. Needed to ensure we read up to the
	// number of rows in the SELECT's LIMIT clause across fetches.
	TotalNumRowsRead *uint64 `protobuf:"varint,4,opt,name=total_num_rows_read,json=totalNumRowsRead" json:"total_num_rows_read,omitempty"`
	// For selects with IN condition on the hash columns there are multiple partitions that need to be
	// queried, one for each combination of allowed values for the hash columns.
	// This holds the index of the next partition and is used to resume the read from the right place.
	NextPartitionIndex *uint64 `protobuf:"varint,5,opt,name=next_partition_index,json=nextPartitionIndex" json:"next_partition_index,omitempty"`
	// The number of valid rows that we've skipped so far. This is needed to properly implement
	// SELECT's OFFSET clause.
	TotalRowsSkipped *uint64 `protobuf:"varint,6,opt,name=total_rows_skipped,json=totalRowsSkipped" json:"total_rows_skipped,omitempty"`
	// Request id of the first request, that started paging.
	OriginalRequestId *uint64 `protobuf:"varint,7,opt,name=original_request_id,json=originalRequestId" json:"original_request_id,omitempty"`
	// Used read time.
	ReadTime *ReadHybridTimePB `protobuf:"bytes,8,opt,name=read_time,json=readTime" json:"read_time,omitempty"`
	// SELECT row counters.
	// NOTE:
	// - The select-row-counter is always applied to the entire SELECT statement.
	// - The rest of the counters might be applied to just one batch. When indexed query returns
	//   data in batches, and these counters would be for just one specific batch.
	//
	// Example on nested query.
	//   SELECT <data> FROM <table> WHERE <keys> IN (SELECT <keys> FROM <index> WHERE hash IN <set>)
	//   - The <row_counter> is used for query "SELECT <data>".
	//   - The rest of the counters are for nested query "SELECT <keys>".
	RowCounter *QLSelectRowCounterPB `protobuf:"bytes,9,opt,name=row_counter,json=rowCounter" json:"row_counter,omitempty"`
	// contains filtered or unexported fields
}

func (*QLPagingStatePB) Descriptor deprecated

func (*QLPagingStatePB) Descriptor() ([]byte, []int)

Deprecated: Use QLPagingStatePB.ProtoReflect.Descriptor instead.

func (*QLPagingStatePB) GetNextPartitionIndex

func (x *QLPagingStatePB) GetNextPartitionIndex() uint64

func (*QLPagingStatePB) GetNextPartitionKey

func (x *QLPagingStatePB) GetNextPartitionKey() []byte

func (*QLPagingStatePB) GetNextRowKey

func (x *QLPagingStatePB) GetNextRowKey() []byte

func (*QLPagingStatePB) GetOriginalRequestId

func (x *QLPagingStatePB) GetOriginalRequestId() uint64

func (*QLPagingStatePB) GetReadTime

func (x *QLPagingStatePB) GetReadTime() *ReadHybridTimePB

func (*QLPagingStatePB) GetRowCounter

func (x *QLPagingStatePB) GetRowCounter() *QLSelectRowCounterPB

func (*QLPagingStatePB) GetTableId

func (x *QLPagingStatePB) GetTableId() []byte

func (*QLPagingStatePB) GetTotalNumRowsRead

func (x *QLPagingStatePB) GetTotalNumRowsRead() uint64

func (*QLPagingStatePB) GetTotalRowsSkipped

func (x *QLPagingStatePB) GetTotalRowsSkipped() uint64

func (*QLPagingStatePB) ProtoMessage

func (*QLPagingStatePB) ProtoMessage()

func (*QLPagingStatePB) ProtoReflect

func (x *QLPagingStatePB) ProtoReflect() protoreflect.Message

func (*QLPagingStatePB) Reset

func (x *QLPagingStatePB) Reset()

func (*QLPagingStatePB) String

func (x *QLPagingStatePB) String() string

type QLRSColDescPB

type QLRSColDescPB struct {
	Name   *string   `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	QlType *QLTypePB `protobuf:"bytes,2,opt,name=ql_type,json=qlType" json:"ql_type,omitempty"`
	// contains filtered or unexported fields
}

QLRSColDesc is the descriptor of a SELECT'ed column in a ResultSet, which can be any expression and not just table columns.

func (*QLRSColDescPB) Descriptor deprecated

func (*QLRSColDescPB) Descriptor() ([]byte, []int)

Deprecated: Use QLRSColDescPB.ProtoReflect.Descriptor instead.

func (*QLRSColDescPB) GetName

func (x *QLRSColDescPB) GetName() string

func (*QLRSColDescPB) GetQlType

func (x *QLRSColDescPB) GetQlType() *QLTypePB

func (*QLRSColDescPB) ProtoMessage

func (*QLRSColDescPB) ProtoMessage()

func (*QLRSColDescPB) ProtoReflect

func (x *QLRSColDescPB) ProtoReflect() protoreflect.Message

func (*QLRSColDescPB) Reset

func (x *QLRSColDescPB) Reset()

func (*QLRSColDescPB) String

func (x *QLRSColDescPB) String() string

type QLRSRowDescPB

type QLRSRowDescPB struct {
	RscolDescs []*QLRSColDescPB `protobuf:"bytes,1,rep,name=rscol_descs,json=rscolDescs" json:"rscol_descs,omitempty"`
	// contains filtered or unexported fields
}

Descriptor of a row in a resultset.

func (*QLRSRowDescPB) Descriptor deprecated

func (*QLRSRowDescPB) Descriptor() ([]byte, []int)

Deprecated: Use QLRSRowDescPB.ProtoReflect.Descriptor instead.

func (*QLRSRowDescPB) GetRscolDescs

func (x *QLRSRowDescPB) GetRscolDescs() []*QLRSColDescPB

func (*QLRSRowDescPB) ProtoMessage

func (*QLRSRowDescPB) ProtoMessage()

func (*QLRSRowDescPB) ProtoReflect

func (x *QLRSRowDescPB) ProtoReflect() protoreflect.Message

func (*QLRSRowDescPB) Reset

func (x *QLRSRowDescPB) Reset()

func (*QLRSRowDescPB) String

func (x *QLRSRowDescPB) String() string

type QLReadRequestPB

type QLReadRequestPB struct {

	// Client info
	Client    *QLClient `protobuf:"varint,1,opt,name=client,enum=yb.QLClient" json:"client,omitempty"`       // required
	RequestId *uint64   `protobuf:"varint,2,opt,name=request_id,json=requestId" json:"request_id,omitempty"` // client request id - for debug tracing purpose only
	// Table schema version
	SchemaVersion *uint32 `protobuf:"varint,3,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"` // required
	// Hashed key of row(s) to read - all fields required. The hashed column values must be in the
	// same order as the column order in the table schema. If only a subset of hash columns are
	// specified in the WHERE clause of the SELECT statement, "hashed_column_values" will be empty
	// and we will do a full-table query across tablets.
	HashCode           *uint32           `protobuf:"varint,4,opt,name=hash_code,json=hashCode" json:"hash_code,omitempty"`
	HashedColumnValues []*QLExpressionPB `protobuf:"bytes,5,rep,name=hashed_column_values,json=hashedColumnValues" json:"hashed_column_values,omitempty"`
	IsForwardScan      *bool             `protobuf:"varint,18,opt,name=is_forward_scan,json=isForwardScan,def=1" json:"is_forward_scan,omitempty"`
	// Where clause condition
	WhereExpr *QLExpressionPB `protobuf:"bytes,6,opt,name=where_expr,json=whereExpr" json:"where_expr,omitempty"`
	// If clause condition
	IfExpr *QLExpressionPB `protobuf:"bytes,21,opt,name=if_expr,json=ifExpr" json:"if_expr,omitempty"`
	// TODO(neil) Currently, we need only the datatypes of the rsrow descriptor. However, when we
	// optimize our execution pipeline to bypass QL layer, we might need to send the name as part
	// of the prepared protobuf so that server know how to form result set without the help from QL.
	//
	// For now, we sent rsrow descriptor from proxy to tablet server for every request. RSRow is just
	// a selected row. We call it rsrow to distinguish a selected row from a row of a table in the
	// database in our coding.
	RsrowDesc     *QLRSRowDescPB    `protobuf:"bytes,17,opt,name=rsrow_desc,json=rsrowDesc" json:"rsrow_desc,omitempty"`            // required.
	SelectedExprs []*QLExpressionPB `protobuf:"bytes,7,rep,name=selected_exprs,json=selectedExprs" json:"selected_exprs,omitempty"` // required.
	// Reading distinct columns?
	Distinct *bool `protobuf:"varint,12,opt,name=distinct,def=0" json:"distinct,omitempty"`
	// Limit number of rows to return. For QL SELECT, this limit is the smaller of the page size (max
	// (max number of rows to return per fetch) & the LIMIT clause if present in the SELECT statement.
	Limit *uint64 `protobuf:"varint,8,opt,name=limit" json:"limit,omitempty"`
	// The offset from which we should start returning rows. This is primarily used to support the
	// QL OFFSET clause.
	Offset *uint64 `protobuf:"varint,9,opt,name=offset" json:"offset,omitempty"`
	// Paging state retrieved from the last response.
	PagingState *QLPagingStatePB `protobuf:"bytes,10,opt,name=paging_state,json=pagingState" json:"paging_state,omitempty"`
	// Return paging state when "limit" number of rows are returned? In case when "limit" is the
	// page size, this is set for QLResponsePB to return the paging state for the next fetch.
	ReturnPagingState *bool `protobuf:"varint,11,opt,name=return_paging_state,json=returnPagingState,def=0" json:"return_paging_state,omitempty"`
	// The remote endpoint sending this request. This is filled in by the server and should not be
	// set.
	RemoteEndpoint *HostPortPB `protobuf:"bytes,13,opt,name=remote_endpoint,json=remoteEndpoint" json:"remote_endpoint,omitempty"`
	// If this request comes from proxy, it should be filled with UUID of this proxy.
	ProxyUuid *string `protobuf:"bytes,20,opt,name=proxy_uuid,json=proxyUuid" json:"proxy_uuid,omitempty"`
	// the upper limit for partition (hash) key scan ranges (inclusive)
	MaxHashCode *uint32 `protobuf:"varint,14,opt,name=max_hash_code,json=maxHashCode" json:"max_hash_code,omitempty"`
	// Listing of all columns that this operation is referencing. TServers will need to read these
	// columns when processing this read request.
	ColumnRefs *QLReferencedColumnsPB `protobuf:"bytes,15,opt,name=column_refs,json=columnRefs" json:"column_refs,omitempty"`
	// Id used to track different queries.
	QueryId *int64 `protobuf:"varint,16,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	// Flag for reading aggregate values.
	IsAggregate                     *bool `protobuf:"varint,19,opt,name=is_aggregate,json=isAggregate,def=0" json:"is_aggregate,omitempty"`
	IsCompatibleWithPreviousVersion *bool `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

TODO(neil) The protocol for select needs to be changed accordingly when we introduce and cache execution plan in tablet server.

func (*QLReadRequestPB) Descriptor deprecated

func (*QLReadRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use QLReadRequestPB.ProtoReflect.Descriptor instead.

func (*QLReadRequestPB) GetClient

func (x *QLReadRequestPB) GetClient() QLClient

func (*QLReadRequestPB) GetColumnRefs

func (x *QLReadRequestPB) GetColumnRefs() *QLReferencedColumnsPB

func (*QLReadRequestPB) GetDistinct

func (x *QLReadRequestPB) GetDistinct() bool

func (*QLReadRequestPB) GetHashCode

func (x *QLReadRequestPB) GetHashCode() uint32

func (*QLReadRequestPB) GetHashedColumnValues

func (x *QLReadRequestPB) GetHashedColumnValues() []*QLExpressionPB

func (*QLReadRequestPB) GetIfExpr

func (x *QLReadRequestPB) GetIfExpr() *QLExpressionPB

func (*QLReadRequestPB) GetIsAggregate

func (x *QLReadRequestPB) GetIsAggregate() bool

func (*QLReadRequestPB) GetIsCompatibleWithPreviousVersion

func (x *QLReadRequestPB) GetIsCompatibleWithPreviousVersion() bool

func (*QLReadRequestPB) GetIsForwardScan

func (x *QLReadRequestPB) GetIsForwardScan() bool

func (*QLReadRequestPB) GetLimit

func (x *QLReadRequestPB) GetLimit() uint64

func (*QLReadRequestPB) GetMaxHashCode

func (x *QLReadRequestPB) GetMaxHashCode() uint32

func (*QLReadRequestPB) GetOffset

func (x *QLReadRequestPB) GetOffset() uint64

func (*QLReadRequestPB) GetPagingState

func (x *QLReadRequestPB) GetPagingState() *QLPagingStatePB

func (*QLReadRequestPB) GetProxyUuid

func (x *QLReadRequestPB) GetProxyUuid() string

func (*QLReadRequestPB) GetQueryId

func (x *QLReadRequestPB) GetQueryId() int64

func (*QLReadRequestPB) GetRemoteEndpoint

func (x *QLReadRequestPB) GetRemoteEndpoint() *HostPortPB

func (*QLReadRequestPB) GetRequestId

func (x *QLReadRequestPB) GetRequestId() uint64

func (*QLReadRequestPB) GetReturnPagingState

func (x *QLReadRequestPB) GetReturnPagingState() bool

func (*QLReadRequestPB) GetRsrowDesc

func (x *QLReadRequestPB) GetRsrowDesc() *QLRSRowDescPB

func (*QLReadRequestPB) GetSchemaVersion

func (x *QLReadRequestPB) GetSchemaVersion() uint32

func (*QLReadRequestPB) GetSelectedExprs

func (x *QLReadRequestPB) GetSelectedExprs() []*QLExpressionPB

func (*QLReadRequestPB) GetWhereExpr

func (x *QLReadRequestPB) GetWhereExpr() *QLExpressionPB

func (*QLReadRequestPB) ProtoMessage

func (*QLReadRequestPB) ProtoMessage()

func (*QLReadRequestPB) ProtoReflect

func (x *QLReadRequestPB) ProtoReflect() protoreflect.Message

func (*QLReadRequestPB) Reset

func (x *QLReadRequestPB) Reset()

func (*QLReadRequestPB) String

func (x *QLReadRequestPB) String() string

type QLReferencedColumnsPB

type QLReferencedColumnsPB struct {
	Ids       []int32 `protobuf:"varint,1,rep,name=ids" json:"ids,omitempty"`
	StaticIds []int32 `protobuf:"varint,2,rep,name=static_ids,json=staticIds" json:"static_ids,omitempty"`
	// contains filtered or unexported fields
}

These columns must be read by DocDB before a read or write request can be executed.

func (*QLReferencedColumnsPB) Descriptor deprecated

func (*QLReferencedColumnsPB) Descriptor() ([]byte, []int)

Deprecated: Use QLReferencedColumnsPB.ProtoReflect.Descriptor instead.

func (*QLReferencedColumnsPB) GetIds

func (x *QLReferencedColumnsPB) GetIds() []int32

func (*QLReferencedColumnsPB) GetStaticIds

func (x *QLReferencedColumnsPB) GetStaticIds() []int32

func (*QLReferencedColumnsPB) ProtoMessage

func (*QLReferencedColumnsPB) ProtoMessage()

func (*QLReferencedColumnsPB) ProtoReflect

func (x *QLReferencedColumnsPB) ProtoReflect() protoreflect.Message

func (*QLReferencedColumnsPB) Reset

func (x *QLReferencedColumnsPB) Reset()

func (*QLReferencedColumnsPB) String

func (x *QLReferencedColumnsPB) String() string

type QLResponsePB

type QLResponsePB struct {

	// Status and error message
	Status       *QLResponsePB_QLStatus `protobuf:"varint,1,opt,name=status,enum=yb.QLResponsePB_QLStatus,def=0" json:"status,omitempty"` // required
	ErrorMessage *string                `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	// Schema of the rows returned if present (used by conditional DML (write) request only
	// as of Jan 2017).
	ColumnSchemas []*ColumnSchemaPB `protobuf:"bytes,3,rep,name=column_schemas,json=columnSchemas" json:"column_schemas,omitempty"`
	// Sidecar of rows data returned
	RowsDataSidecar *int32 `protobuf:"varint,4,opt,name=rows_data_sidecar,json=rowsDataSidecar" json:"rows_data_sidecar,omitempty"`
	// Paging state for continuing the read in the next QLReadRequestPB fetch.
	PagingState *QLPagingStatePB `protobuf:"bytes,5,opt,name=paging_state,json=pagingState" json:"paging_state,omitempty"`
	// Result of child transaction.
	ChildTransactionResult *ChildTransactionResultPB `protobuf:"bytes,6,opt,name=child_transaction_result,json=childTransactionResult" json:"child_transaction_result,omitempty"`
	// For conditional DML: indicate if the DML is applied or not according to the conditions.
	Applied *bool `protobuf:"varint,7,opt,name=applied" json:"applied,omitempty"`
	// contains filtered or unexported fields
}

func (*QLResponsePB) Descriptor deprecated

func (*QLResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use QLResponsePB.ProtoReflect.Descriptor instead.

func (*QLResponsePB) GetApplied

func (x *QLResponsePB) GetApplied() bool

func (*QLResponsePB) GetChildTransactionResult

func (x *QLResponsePB) GetChildTransactionResult() *ChildTransactionResultPB

func (*QLResponsePB) GetColumnSchemas

func (x *QLResponsePB) GetColumnSchemas() []*ColumnSchemaPB

func (*QLResponsePB) GetErrorMessage

func (x *QLResponsePB) GetErrorMessage() string

func (*QLResponsePB) GetPagingState

func (x *QLResponsePB) GetPagingState() *QLPagingStatePB

func (*QLResponsePB) GetRowsDataSidecar

func (x *QLResponsePB) GetRowsDataSidecar() int32

func (*QLResponsePB) GetStatus

func (x *QLResponsePB) GetStatus() QLResponsePB_QLStatus

func (*QLResponsePB) ProtoMessage

func (*QLResponsePB) ProtoMessage()

func (*QLResponsePB) ProtoReflect

func (x *QLResponsePB) ProtoReflect() protoreflect.Message

func (*QLResponsePB) Reset

func (x *QLResponsePB) Reset()

func (*QLResponsePB) String

func (x *QLResponsePB) String() string

type QLResponsePB_QLStatus

type QLResponsePB_QLStatus int32

Response status

const (
	QLResponsePB_YQL_STATUS_OK                      QLResponsePB_QLStatus = 0
	QLResponsePB_YQL_STATUS_SCHEMA_VERSION_MISMATCH QLResponsePB_QLStatus = 1
	QLResponsePB_YQL_STATUS_RUNTIME_ERROR           QLResponsePB_QLStatus = 2
	QLResponsePB_YQL_STATUS_USAGE_ERROR             QLResponsePB_QLStatus = 3
	QLResponsePB_YQL_STATUS_RESTART_REQUIRED_ERROR  QLResponsePB_QLStatus = 4
	QLResponsePB_YQL_STATUS_QUERY_ERROR             QLResponsePB_QLStatus = 5
)

func (QLResponsePB_QLStatus) Descriptor

func (QLResponsePB_QLStatus) Enum

func (QLResponsePB_QLStatus) EnumDescriptor deprecated

func (QLResponsePB_QLStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use QLResponsePB_QLStatus.Descriptor instead.

func (QLResponsePB_QLStatus) Number

func (QLResponsePB_QLStatus) String

func (x QLResponsePB_QLStatus) String() string

func (QLResponsePB_QLStatus) Type

func (*QLResponsePB_QLStatus) UnmarshalJSON deprecated

func (x *QLResponsePB_QLStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type QLSelectRowCounterPB

type QLSelectRowCounterPB struct {

	// The following counters represent LIMIT and OFFSET clause in SELECT and their status.
	//   SELECT ... FROM table LIMIT xxx OFFSET yyy;
	// - When a field value == -1, that field is not used.
	// - When a field value >= 0, it is valid.
	// - Example: If "select_limit == 0", users are querying zero rows.
	SelectLimit  *int64 `protobuf:"varint,1,opt,name=select_limit,json=selectLimit,def=-1" json:"select_limit,omitempty"`
	SelectOffset *int64 `protobuf:"varint,2,opt,name=select_offset,json=selectOffset,def=-1" json:"select_offset,omitempty"`
	ReadCount    *int64 `protobuf:"varint,3,opt,name=read_count,json=readCount,def=0" json:"read_count,omitempty"`
	SkipCount    *int64 `protobuf:"varint,4,opt,name=skip_count,json=skipCount,def=0" json:"skip_count,omitempty"`
	// contains filtered or unexported fields
}

Paging state for continuing a read request.

For a SELECT statement that returns many rows, the client may specify how many rows to return at most in each fetch. This paging state maintains the state for returning the next set of rows of the statement. This paging state is opaque to the client.

When there should be more rows to return from the same tablet in the next fetch, "next_row_key" is populated in DocDB (QLReadOperation) with the DocKey of the next row to read. We also embed a hybrid-time which is the clean snapshot time for read consistency. We also populate the "next_partition_key" for the next row, which is the hash code of the hash portion of the DocKey. This next partition key is needed by YBClient (Batcher) to locate the tablet to send the request to and it doesn't have access to the DocDB function to decode and extract from the DocKey.

When we are done returning rows from the current tablet and the next fetch should continue in the next tablet (possible only for full-table query across tablets), "next_partition_key" is populated by the current tablet with its exclusive partition-end key, which is the start key of next tablet's partition. "next_row_key" is empty in this case which means we will start from the very beginning of the next tablet. (TODO: we need to return the clean snapshot time in this case also).

RowCounter message. - These state variables are exchanged between users and CQL server when query result is paged. - DocDB does not use these.

func (*QLSelectRowCounterPB) Descriptor deprecated

func (*QLSelectRowCounterPB) Descriptor() ([]byte, []int)

Deprecated: Use QLSelectRowCounterPB.ProtoReflect.Descriptor instead.

func (*QLSelectRowCounterPB) GetReadCount

func (x *QLSelectRowCounterPB) GetReadCount() int64

func (*QLSelectRowCounterPB) GetSelectLimit

func (x *QLSelectRowCounterPB) GetSelectLimit() int64

func (*QLSelectRowCounterPB) GetSelectOffset

func (x *QLSelectRowCounterPB) GetSelectOffset() int64

func (*QLSelectRowCounterPB) GetSkipCount

func (x *QLSelectRowCounterPB) GetSkipCount() int64

func (*QLSelectRowCounterPB) ProtoMessage

func (*QLSelectRowCounterPB) ProtoMessage()

func (*QLSelectRowCounterPB) ProtoReflect

func (x *QLSelectRowCounterPB) ProtoReflect() protoreflect.Message

func (*QLSelectRowCounterPB) Reset

func (x *QLSelectRowCounterPB) Reset()

func (*QLSelectRowCounterPB) String

func (x *QLSelectRowCounterPB) String() string

type QLSeqValuePB

type QLSeqValuePB struct {
	Elems []*QLValuePB `protobuf:"bytes,1,rep,name=elems" json:"elems,omitempty"`
	// contains filtered or unexported fields
}

Sequence of values used to represent Lists and Sets (and later Tuples)

func (*QLSeqValuePB) Descriptor deprecated

func (*QLSeqValuePB) Descriptor() ([]byte, []int)

Deprecated: Use QLSeqValuePB.ProtoReflect.Descriptor instead.

func (*QLSeqValuePB) GetElems

func (x *QLSeqValuePB) GetElems() []*QLValuePB

func (*QLSeqValuePB) ProtoMessage

func (*QLSeqValuePB) ProtoMessage()

func (*QLSeqValuePB) ProtoReflect

func (x *QLSeqValuePB) ProtoReflect() protoreflect.Message

func (*QLSeqValuePB) Reset

func (x *QLSeqValuePB) Reset()

func (*QLSeqValuePB) String

func (x *QLSeqValuePB) String() string

type QLSubscriptedColPB

type QLSubscriptedColPB struct {
	ColumnId      *int32            `protobuf:"varint,1,opt,name=column_id,json=columnId" json:"column_id,omitempty"`
	SubscriptArgs []*QLExpressionPB `protobuf:"bytes,2,rep,name=subscript_args,json=subscriptArgs" json:"subscript_args,omitempty"`
	// contains filtered or unexported fields
}

Reference to a subcolumn, e.g. m['x'] or l[2]['x']

func (*QLSubscriptedColPB) Descriptor deprecated

func (*QLSubscriptedColPB) Descriptor() ([]byte, []int)

Deprecated: Use QLSubscriptedColPB.ProtoReflect.Descriptor instead.

func (*QLSubscriptedColPB) GetColumnId

func (x *QLSubscriptedColPB) GetColumnId() int32

func (*QLSubscriptedColPB) GetSubscriptArgs

func (x *QLSubscriptedColPB) GetSubscriptArgs() []*QLExpressionPB

func (*QLSubscriptedColPB) ProtoMessage

func (*QLSubscriptedColPB) ProtoMessage()

func (*QLSubscriptedColPB) ProtoReflect

func (x *QLSubscriptedColPB) ProtoReflect() protoreflect.Message

func (*QLSubscriptedColPB) Reset

func (x *QLSubscriptedColPB) Reset()

func (*QLSubscriptedColPB) String

func (x *QLSubscriptedColPB) String() string

type QLTypePB

type QLTypePB struct {
	Main       *DataType            `protobuf:"varint,1,opt,name=main,enum=yb.DataType" json:"main,omitempty"`
	Params     []*QLTypePB          `protobuf:"bytes,2,rep,name=params" json:"params,omitempty"`
	UdtypeInfo *QLTypePB_UDTypeInfo `protobuf:"bytes,3,opt,name=udtype_info,json=udtypeInfo" json:"udtype_info,omitempty"`
	// contains filtered or unexported fields
}

func (*QLTypePB) Descriptor deprecated

func (*QLTypePB) Descriptor() ([]byte, []int)

Deprecated: Use QLTypePB.ProtoReflect.Descriptor instead.

func (*QLTypePB) GetMain

func (x *QLTypePB) GetMain() DataType

func (*QLTypePB) GetParams

func (x *QLTypePB) GetParams() []*QLTypePB

func (*QLTypePB) GetUdtypeInfo

func (x *QLTypePB) GetUdtypeInfo() *QLTypePB_UDTypeInfo

func (*QLTypePB) ProtoMessage

func (*QLTypePB) ProtoMessage()

func (*QLTypePB) ProtoReflect

func (x *QLTypePB) ProtoReflect() protoreflect.Message

func (*QLTypePB) Reset

func (x *QLTypePB) Reset()

func (*QLTypePB) String

func (x *QLTypePB) String() string

type QLTypePB_UDTypeInfo

type QLTypePB_UDTypeInfo struct {
	KeyspaceName *string  `protobuf:"bytes,1,opt,name=keyspace_name,json=keyspaceName" json:"keyspace_name,omitempty"`
	Name         *string  `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Id           *string  `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	FieldNames   []string `protobuf:"bytes,4,rep,name=field_names,json=fieldNames" json:"field_names,omitempty"`
	// contains filtered or unexported fields
}

Fields for user-defined types

func (*QLTypePB_UDTypeInfo) Descriptor deprecated

func (*QLTypePB_UDTypeInfo) Descriptor() ([]byte, []int)

Deprecated: Use QLTypePB_UDTypeInfo.ProtoReflect.Descriptor instead.

func (*QLTypePB_UDTypeInfo) GetFieldNames

func (x *QLTypePB_UDTypeInfo) GetFieldNames() []string

func (*QLTypePB_UDTypeInfo) GetId

func (x *QLTypePB_UDTypeInfo) GetId() string

func (*QLTypePB_UDTypeInfo) GetKeyspaceName

func (x *QLTypePB_UDTypeInfo) GetKeyspaceName() string

func (*QLTypePB_UDTypeInfo) GetName

func (x *QLTypePB_UDTypeInfo) GetName() string

func (*QLTypePB_UDTypeInfo) ProtoMessage

func (*QLTypePB_UDTypeInfo) ProtoMessage()

func (*QLTypePB_UDTypeInfo) ProtoReflect

func (x *QLTypePB_UDTypeInfo) ProtoReflect() protoreflect.Message

func (*QLTypePB_UDTypeInfo) Reset

func (x *QLTypePB_UDTypeInfo) Reset()

func (*QLTypePB_UDTypeInfo) String

func (x *QLTypePB_UDTypeInfo) String() string

type QLValuePB

type QLValuePB struct {

	// Note: an absent value means NULL
	//
	// Types that are assignable to Value:
	//	*QLValuePB_Int8Value
	//	*QLValuePB_Int16Value
	//	*QLValuePB_Int32Value
	//	*QLValuePB_Int64Value
	//	*QLValuePB_FloatValue
	//	*QLValuePB_DoubleValue
	//	*QLValuePB_StringValue
	//	*QLValuePB_BoolValue
	//	*QLValuePB_TimestampValue
	//	*QLValuePB_BinaryValue
	//	*QLValuePB_InetaddressValue
	//	*QLValuePB_MapValue
	//	*QLValuePB_SetValue
	//	*QLValuePB_ListValue
	//	*QLValuePB_DecimalValue
	//	*QLValuePB_VarintValue
	//	*QLValuePB_FrozenValue
	//	*QLValuePB_UuidValue
	//	*QLValuePB_TimeuuidValue
	//	*QLValuePB_JsonbValue
	//	*QLValuePB_DateValue
	//	*QLValuePB_TimeValue
	//	*QLValuePB_Uint32Value
	//	*QLValuePB_Uint64Value
	//	*QLValuePB_VirtualValue
	//	*QLValuePB_GinNullValue
	Value isQLValuePB_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

A QL value

func (*QLValuePB) Descriptor deprecated

func (*QLValuePB) Descriptor() ([]byte, []int)

Deprecated: Use QLValuePB.ProtoReflect.Descriptor instead.

func (*QLValuePB) GetBinaryValue

func (x *QLValuePB) GetBinaryValue() []byte

func (*QLValuePB) GetBoolValue

func (x *QLValuePB) GetBoolValue() bool

func (*QLValuePB) GetDateValue

func (x *QLValuePB) GetDateValue() uint32

func (*QLValuePB) GetDecimalValue

func (x *QLValuePB) GetDecimalValue() []byte

func (*QLValuePB) GetDoubleValue

func (x *QLValuePB) GetDoubleValue() float64

func (*QLValuePB) GetFloatValue

func (x *QLValuePB) GetFloatValue() float32

func (*QLValuePB) GetFrozenValue

func (x *QLValuePB) GetFrozenValue() *QLSeqValuePB

func (*QLValuePB) GetGinNullValue added in v2.11.0

func (x *QLValuePB) GetGinNullValue() uint32

func (*QLValuePB) GetInetaddressValue

func (x *QLValuePB) GetInetaddressValue() []byte

func (*QLValuePB) GetInt16Value

func (x *QLValuePB) GetInt16Value() int32

func (*QLValuePB) GetInt32Value

func (x *QLValuePB) GetInt32Value() int32

func (*QLValuePB) GetInt64Value

func (x *QLValuePB) GetInt64Value() int64

func (*QLValuePB) GetInt8Value

func (x *QLValuePB) GetInt8Value() int32

func (*QLValuePB) GetJsonbValue

func (x *QLValuePB) GetJsonbValue() []byte

func (*QLValuePB) GetListValue

func (x *QLValuePB) GetListValue() *QLSeqValuePB

func (*QLValuePB) GetMapValue

func (x *QLValuePB) GetMapValue() *QLMapValuePB

func (*QLValuePB) GetSetValue

func (x *QLValuePB) GetSetValue() *QLSeqValuePB

func (*QLValuePB) GetStringValue

func (x *QLValuePB) GetStringValue() []byte

func (*QLValuePB) GetTimeValue

func (x *QLValuePB) GetTimeValue() int64

func (*QLValuePB) GetTimestampValue

func (x *QLValuePB) GetTimestampValue() int64

func (*QLValuePB) GetTimeuuidValue

func (x *QLValuePB) GetTimeuuidValue() []byte

func (*QLValuePB) GetUint32Value

func (x *QLValuePB) GetUint32Value() uint32

func (*QLValuePB) GetUint64Value

func (x *QLValuePB) GetUint64Value() uint64

func (*QLValuePB) GetUuidValue

func (x *QLValuePB) GetUuidValue() []byte

func (*QLValuePB) GetValue

func (m *QLValuePB) GetValue() isQLValuePB_Value

func (*QLValuePB) GetVarintValue

func (x *QLValuePB) GetVarintValue() []byte

func (*QLValuePB) GetVirtualValue

func (x *QLValuePB) GetVirtualValue() QLVirtualValuePB

func (*QLValuePB) ProtoMessage

func (*QLValuePB) ProtoMessage()

func (*QLValuePB) ProtoReflect

func (x *QLValuePB) ProtoReflect() protoreflect.Message

func (*QLValuePB) Reset

func (x *QLValuePB) Reset()

func (*QLValuePB) String

func (x *QLValuePB) String() string

type QLValuePB_BinaryValue

type QLValuePB_BinaryValue struct {
	BinaryValue []byte `protobuf:"bytes,10,opt,name=binary_value,json=binaryValue,oneof"`
}

type QLValuePB_BoolValue

type QLValuePB_BoolValue struct {
	BoolValue bool `protobuf:"varint,8,opt,name=bool_value,json=boolValue,oneof"`
}

type QLValuePB_DateValue

type QLValuePB_DateValue struct {
	// Number of days where 2^31 corresponds to 1970-01-01
	// (see DateTime::DateFromString)
	DateValue uint32 `protobuf:"varint,21,opt,name=date_value,json=dateValue,oneof"`
}

type QLValuePB_DecimalValue

type QLValuePB_DecimalValue struct {
	DecimalValue []byte `protobuf:"bytes,15,opt,name=decimal_value,json=decimalValue,oneof"`
}

type QLValuePB_DoubleValue

type QLValuePB_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,oneof"`
}

type QLValuePB_FloatValue

type QLValuePB_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,5,opt,name=float_value,json=floatValue,oneof"`
}

type QLValuePB_FrozenValue

type QLValuePB_FrozenValue struct {
	FrozenValue *QLSeqValuePB `protobuf:"bytes,17,opt,name=frozen_value,json=frozenValue,oneof"`
}

type QLValuePB_GinNullValue added in v2.11.0

type QLValuePB_GinNullValue struct {
	// Null category for GIN indexes.
	GinNullValue uint32 `protobuf:"varint,26,opt,name=gin_null_value,json=ginNullValue,oneof"`
}

type QLValuePB_InetaddressValue

type QLValuePB_InetaddressValue struct {
	// raw bytes for inet address in network byte order.
	InetaddressValue []byte `protobuf:"bytes,11,opt,name=inetaddress_value,json=inetaddressValue,oneof"`
}

type QLValuePB_Int16Value

type QLValuePB_Int16Value struct {
	Int16Value int32 `protobuf:"varint,2,opt,name=int16_value,json=int16Value,oneof"`
}

type QLValuePB_Int32Value

type QLValuePB_Int32Value struct {
	Int32Value int32 `protobuf:"varint,3,opt,name=int32_value,json=int32Value,oneof"`
}

type QLValuePB_Int64Value

type QLValuePB_Int64Value struct {
	Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,oneof"`
}

type QLValuePB_Int8Value

type QLValuePB_Int8Value struct {
	Int8Value int32 `protobuf:"varint,1,opt,name=int8_value,json=int8Value,oneof"` // Note: min int size in protobuf is int32
}

type QLValuePB_JsonbValue

type QLValuePB_JsonbValue struct {
	JsonbValue []byte `protobuf:"bytes,20,opt,name=jsonb_value,json=jsonbValue,oneof"`
}

type QLValuePB_ListValue

type QLValuePB_ListValue struct {
	ListValue *QLSeqValuePB `protobuf:"bytes,14,opt,name=list_value,json=listValue,oneof"`
}

type QLValuePB_MapValue

type QLValuePB_MapValue struct {
	MapValue *QLMapValuePB `protobuf:"bytes,12,opt,name=map_value,json=mapValue,oneof"`
}

type QLValuePB_SetValue

type QLValuePB_SetValue struct {
	SetValue *QLSeqValuePB `protobuf:"bytes,13,opt,name=set_value,json=setValue,oneof"`
}

type QLValuePB_StringValue

type QLValuePB_StringValue struct {
	// Sometimes YB sends non-UTF8 string in string field. For example, this can happen
	// with a collated string: under "en_US.utf8" collation, string 'abc' is encoded
	// as string_value: "\000\201\014\r\016\001\t\t\t\001\t\t\t\000abc" which is not
	// a valid UTF8 string. That is why 'bytes' is used for string_value field.
	StringValue []byte `protobuf:"bytes,7,opt,name=string_value,json=stringValue,oneof"`
}

type QLValuePB_TimeValue

type QLValuePB_TimeValue struct {
	// Number of nano-seconds, from 0 to (24 * 60 * 60 * 1,000,000,000 - 1)
	// (see DateTime::kMaxTime)
	TimeValue int64 `protobuf:"varint,22,opt,name=time_value,json=timeValue,oneof"`
}

type QLValuePB_TimestampValue

type QLValuePB_TimestampValue struct {
	TimestampValue int64 `protobuf:"varint,9,opt,name=timestamp_value,json=timestampValue,oneof"`
}

type QLValuePB_TimeuuidValue

type QLValuePB_TimeuuidValue struct {
	// raw bytes for timeuuid value.
	TimeuuidValue []byte `protobuf:"bytes,19,opt,name=timeuuid_value,json=timeuuidValue,oneof"`
}

type QLValuePB_Uint32Value

type QLValuePB_Uint32Value struct {
	Uint32Value uint32 `protobuf:"varint,23,opt,name=uint32_value,json=uint32Value,oneof"`
}

type QLValuePB_Uint64Value

type QLValuePB_Uint64Value struct {
	Uint64Value uint64 `protobuf:"varint,24,opt,name=uint64_value,json=uint64Value,oneof"`
}

type QLValuePB_UuidValue

type QLValuePB_UuidValue struct {
	// raw bytes for uuid value.
	UuidValue []byte `protobuf:"bytes,18,opt,name=uuid_value,json=uuidValue,oneof"`
}

type QLValuePB_VarintValue

type QLValuePB_VarintValue struct {
	VarintValue []byte `protobuf:"bytes,16,opt,name=varint_value,json=varintValue,oneof"`
}

type QLValuePB_VirtualValue

type QLValuePB_VirtualValue struct {
	// Represent various system values.
	VirtualValue QLVirtualValuePB `protobuf:"varint,25,opt,name=virtual_value,json=virtualValue,enum=yb.QLVirtualValuePB,oneof"`
}

type QLVirtualValuePB

type QLVirtualValuePB int32

-------------------------------------------------------------------------------------------------- YQL support. The following section is common for all query language. -------------------------------------------------------------------------------------------------- Represent system internal values.

const (
	QLVirtualValuePB_LIMIT_MAX QLVirtualValuePB = 1
	QLVirtualValuePB_LIMIT_MIN QLVirtualValuePB = 2
)

func (QLVirtualValuePB) Descriptor

func (QLVirtualValuePB) Enum

func (QLVirtualValuePB) EnumDescriptor deprecated

func (QLVirtualValuePB) EnumDescriptor() ([]byte, []int)

Deprecated: Use QLVirtualValuePB.Descriptor instead.

func (QLVirtualValuePB) Number

func (QLVirtualValuePB) String

func (x QLVirtualValuePB) String() string

func (QLVirtualValuePB) Type

func (*QLVirtualValuePB) UnmarshalJSON deprecated

func (x *QLVirtualValuePB) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type QLWriteRequestPB

type QLWriteRequestPB struct {

	// Statement type
	Type *QLWriteRequestPB_QLStmtType `protobuf:"varint,1,opt,name=type,enum=yb.QLWriteRequestPB_QLStmtType" json:"type,omitempty"` // required
	// Client info
	Client    *QLClient `protobuf:"varint,2,opt,name=client,enum=yb.QLClient" json:"client,omitempty"`       // required
	RequestId *uint64   `protobuf:"varint,3,opt,name=request_id,json=requestId" json:"request_id,omitempty"` // client request id - for debug tracing purpose only
	// Table schema version
	SchemaVersion *uint32 `protobuf:"varint,4,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"` // required
	// Primary key of the row to insert/update/delete - all fields required. The hashed and
	// range column values must be in the same order as the column order in the table schema.
	//
	// Note: the hash_code is the hash of the hashed_column_values. Technically, this can be
	// recomputed by tserver also, but since the client already calculates this to look up the
	// correct tablet server, it is passed in.
	HashCode           *uint32           `protobuf:"varint,5,opt,name=hash_code,json=hashCode" json:"hash_code,omitempty"`
	HashedColumnValues []*QLExpressionPB `protobuf:"bytes,6,rep,name=hashed_column_values,json=hashedColumnValues" json:"hashed_column_values,omitempty"`
	RangeColumnValues  []*QLExpressionPB `protobuf:"bytes,7,rep,name=range_column_values,json=rangeColumnValues" json:"range_column_values,omitempty"`
	// Column values to insert/update/delete - required
	// Note: DELETE statement has no column value.
	ColumnValues []*QLColumnValuePB `protobuf:"bytes,8,rep,name=column_values,json=columnValues" json:"column_values,omitempty"`
	// Where clause condition -- currently this is only allowed for deletes.
	WhereExpr *QLExpressionPB `protobuf:"bytes,14,opt,name=where_expr,json=whereExpr" json:"where_expr,omitempty"`
	// If clause condition
	IfExpr *QLExpressionPB `protobuf:"bytes,9,opt,name=if_expr,json=ifExpr" json:"if_expr,omitempty"`
	// Else error clause
	ElseError *bool `protobuf:"varint,17,opt,name=else_error,json=elseError,def=0" json:"else_error,omitempty"`
	// Time to live in milliseconds.
	Ttl *uint64 `protobuf:"varint,10,opt,name=ttl" json:"ttl,omitempty"`
	// Listing of all columns that this write operation is referencing. TServers will need to read
	// these columns when processing the write request.
	ColumnRefs *QLReferencedColumnsPB `protobuf:"bytes,11,opt,name=column_refs,json=columnRefs" json:"column_refs,omitempty"`
	// Id used to track different queries.
	QueryId *int64 `protobuf:"varint,12,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	// User-provided timestamp in microseconds.
	UserTimestampUsec *uint64 `protobuf:"varint,13,opt,name=user_timestamp_usec,json=userTimestampUsec" json:"user_timestamp_usec,omitempty"`
	// Ids of indexes that need update.
	UpdateIndexIds [][]byte `protobuf:"bytes,15,rep,name=update_index_ids,json=updateIndexIds" json:"update_index_ids,omitempty"`
	// Child transaction data for additional write requests necessary for index updates, etc.
	ChildTransactionData *ChildTransactionDataPB `protobuf:"bytes,16,opt,name=child_transaction_data,json=childTransactionData" json:"child_transaction_data,omitempty"`
	// Whether to return a status row reporting applied status and execution errors (if any).
	ReturnsStatus *bool `protobuf:"varint,18,opt,name=returns_status,json=returnsStatus,def=0" json:"returns_status,omitempty"`
	// Does this request correspond to backfilling an index table?
	IsBackfill                      *bool `protobuf:"varint,19,opt,name=is_backfill,json=isBackfill,def=0" json:"is_backfill,omitempty"`
	IsCompatibleWithPreviousVersion *bool `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QLWriteRequestPB) Descriptor deprecated

func (*QLWriteRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use QLWriteRequestPB.ProtoReflect.Descriptor instead.

func (*QLWriteRequestPB) GetChildTransactionData

func (x *QLWriteRequestPB) GetChildTransactionData() *ChildTransactionDataPB

func (*QLWriteRequestPB) GetClient

func (x *QLWriteRequestPB) GetClient() QLClient

func (*QLWriteRequestPB) GetColumnRefs

func (x *QLWriteRequestPB) GetColumnRefs() *QLReferencedColumnsPB

func (*QLWriteRequestPB) GetColumnValues

func (x *QLWriteRequestPB) GetColumnValues() []*QLColumnValuePB

func (*QLWriteRequestPB) GetElseError

func (x *QLWriteRequestPB) GetElseError() bool

func (*QLWriteRequestPB) GetHashCode

func (x *QLWriteRequestPB) GetHashCode() uint32

func (*QLWriteRequestPB) GetHashedColumnValues

func (x *QLWriteRequestPB) GetHashedColumnValues() []*QLExpressionPB

func (*QLWriteRequestPB) GetIfExpr

func (x *QLWriteRequestPB) GetIfExpr() *QLExpressionPB

func (*QLWriteRequestPB) GetIsBackfill

func (x *QLWriteRequestPB) GetIsBackfill() bool

func (*QLWriteRequestPB) GetIsCompatibleWithPreviousVersion

func (x *QLWriteRequestPB) GetIsCompatibleWithPreviousVersion() bool

func (*QLWriteRequestPB) GetQueryId

func (x *QLWriteRequestPB) GetQueryId() int64

func (*QLWriteRequestPB) GetRangeColumnValues

func (x *QLWriteRequestPB) GetRangeColumnValues() []*QLExpressionPB

func (*QLWriteRequestPB) GetRequestId

func (x *QLWriteRequestPB) GetRequestId() uint64

func (*QLWriteRequestPB) GetReturnsStatus

func (x *QLWriteRequestPB) GetReturnsStatus() bool

func (*QLWriteRequestPB) GetSchemaVersion

func (x *QLWriteRequestPB) GetSchemaVersion() uint32

func (*QLWriteRequestPB) GetTtl

func (x *QLWriteRequestPB) GetTtl() uint64

func (*QLWriteRequestPB) GetType

func (*QLWriteRequestPB) GetUpdateIndexIds

func (x *QLWriteRequestPB) GetUpdateIndexIds() [][]byte

func (*QLWriteRequestPB) GetUserTimestampUsec

func (x *QLWriteRequestPB) GetUserTimestampUsec() uint64

func (*QLWriteRequestPB) GetWhereExpr

func (x *QLWriteRequestPB) GetWhereExpr() *QLExpressionPB

func (*QLWriteRequestPB) ProtoMessage

func (*QLWriteRequestPB) ProtoMessage()

func (*QLWriteRequestPB) ProtoReflect

func (x *QLWriteRequestPB) ProtoReflect() protoreflect.Message

func (*QLWriteRequestPB) Reset

func (x *QLWriteRequestPB) Reset()

func (*QLWriteRequestPB) String

func (x *QLWriteRequestPB) String() string

type QLWriteRequestPB_QLStmtType

type QLWriteRequestPB_QLStmtType int32

Statement types

const (
	QLWriteRequestPB_QL_STMT_INSERT QLWriteRequestPB_QLStmtType = 1
	QLWriteRequestPB_QL_STMT_UPDATE QLWriteRequestPB_QLStmtType = 2
	QLWriteRequestPB_QL_STMT_DELETE QLWriteRequestPB_QLStmtType = 3
)

func (QLWriteRequestPB_QLStmtType) Descriptor

func (QLWriteRequestPB_QLStmtType) Enum

func (QLWriteRequestPB_QLStmtType) EnumDescriptor deprecated

func (QLWriteRequestPB_QLStmtType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QLWriteRequestPB_QLStmtType.Descriptor instead.

func (QLWriteRequestPB_QLStmtType) Number

func (QLWriteRequestPB_QLStmtType) String

func (QLWriteRequestPB_QLStmtType) Type

func (*QLWriteRequestPB_QLStmtType) UnmarshalJSON deprecated

func (x *QLWriteRequestPB_QLStmtType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RTestPingRequestPB

type RTestPingRequestPB struct {
	Id *uint64 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RTestPingRequestPB) Descriptor deprecated

func (*RTestPingRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RTestPingRequestPB.ProtoReflect.Descriptor instead.

func (*RTestPingRequestPB) GetId

func (x *RTestPingRequestPB) GetId() uint64

func (*RTestPingRequestPB) ProtoMessage

func (*RTestPingRequestPB) ProtoMessage()

func (*RTestPingRequestPB) ProtoReflect

func (x *RTestPingRequestPB) ProtoReflect() protoreflect.Message

func (*RTestPingRequestPB) Reset

func (x *RTestPingRequestPB) Reset()

func (*RTestPingRequestPB) String

func (x *RTestPingRequestPB) String() string

type RTestPingResponsePB

type RTestPingResponsePB struct {
	Time *uint64 `protobuf:"varint,1,req,name=time" json:"time,omitempty"` // Time when this call was received by server.
	// contains filtered or unexported fields
}

func (*RTestPingResponsePB) Descriptor deprecated

func (*RTestPingResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RTestPingResponsePB.ProtoReflect.Descriptor instead.

func (*RTestPingResponsePB) GetTime

func (x *RTestPingResponsePB) GetTime() uint64

func (*RTestPingResponsePB) ProtoMessage

func (*RTestPingResponsePB) ProtoMessage()

func (*RTestPingResponsePB) ProtoReflect

func (x *RTestPingResponsePB) ProtoReflect() protoreflect.Message

func (*RTestPingResponsePB) Reset

func (x *RTestPingResponsePB) Reset()

func (*RTestPingResponsePB) String

func (x *RTestPingResponsePB) String() string

type RaftConfigPB

type RaftConfigPB struct {

	// The index of the operation which serialized this RaftConfigPB through
	// consensus. It is set when the operation is consensus-committed (replicated
	// to a majority of voters) and before the consensus metadata is updated.
	// It is left undefined if the operation isn't committed.
	OpidIndex *int64 `protobuf:"varint,1,opt,name=opid_index,json=opidIndex" json:"opid_index,omitempty"`
	// Flag to allow unsafe config change operations.
	UnsafeConfigChange *bool `protobuf:"varint,4,opt,name=unsafe_config_change,json=unsafeConfigChange,def=0" json:"unsafe_config_change,omitempty"`
	// The set of peers in the configuration.
	Peers []*RaftPeerPB `protobuf:"bytes,2,rep,name=peers" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

A set of peers, serving a single tablet.

func (*RaftConfigPB) Descriptor deprecated

func (*RaftConfigPB) Descriptor() ([]byte, []int)

Deprecated: Use RaftConfigPB.ProtoReflect.Descriptor instead.

func (*RaftConfigPB) GetOpidIndex

func (x *RaftConfigPB) GetOpidIndex() int64

func (*RaftConfigPB) GetPeers

func (x *RaftConfigPB) GetPeers() []*RaftPeerPB

func (*RaftConfigPB) GetUnsafeConfigChange added in v2.13.0

func (x *RaftConfigPB) GetUnsafeConfigChange() bool

func (*RaftConfigPB) ProtoMessage

func (*RaftConfigPB) ProtoMessage()

func (*RaftConfigPB) ProtoReflect

func (x *RaftConfigPB) ProtoReflect() protoreflect.Message

func (*RaftConfigPB) Reset

func (x *RaftConfigPB) Reset()

func (*RaftConfigPB) String

func (x *RaftConfigPB) String() string

type RaftGroupReplicaSuperBlockPB

type RaftGroupReplicaSuperBlockPB struct {

	// Table ID of the primary table in this Raft group. For now we can only have more than one
	// tables in master Raft group and sys catalog table is the primary table in this case.
	PrimaryTableId []byte `protobuf:"bytes,1,req,name=primary_table_id,json=primaryTableId" json:"primary_table_id,omitempty"`
	RaftGroupId    []byte `protobuf:"bytes,2,req,name=raft_group_id,json=raftGroupId" json:"raft_group_id,omitempty"`
	// The partition of the table.
	Partition *PartitionPB `protobuf:"bytes,13,opt,name=partition" json:"partition,omitempty"`
	// The latest schema
	// TODO: maybe this should be TableSchemaPB? Need to actually put those attributes
	// into use throughout the code. Using the simpler one for now.
	OBSOLETETableName     *string    `protobuf:"bytes,7,opt,name=OBSOLETE_table_name,json=OBSOLETETableName" json:"OBSOLETE_table_name,omitempty"`
	OBSOLETETableType     *TableType `` /* 133-byte string literal not displayed */
	OBSOLETESchema        *SchemaPB  `protobuf:"bytes,8,opt,name=OBSOLETE_schema,json=OBSOLETESchema" json:"OBSOLETE_schema,omitempty"`
	OBSOLETESchemaVersion *uint32    `protobuf:"varint,9,opt,name=OBSOLETE_schema_version,json=OBSOLETESchemaVersion" json:"OBSOLETE_schema_version,omitempty"`
	// The partition schema of the table.
	OBSOLETEPartitionSchema *PartitionSchemaPB `` /* 126-byte string literal not displayed */
	// The current state of the Raft group's data.
	TabletDataState *TabletDataState `` /* 142-byte string literal not displayed */
	// The write-ahead log directory for this Raft group.
	WalDir *string `protobuf:"bytes,18,opt,name=wal_dir,json=walDir" json:"wal_dir,omitempty"`
	// For tablets that have been tombstoned, stores the last OpId stored in the
	// WAL before tombstoning.
	// Only relevant for TOMBSTONED tablets.
	TombstoneLastLoggedOpid *OpIdPB `` /* 128-byte string literal not displayed */
	// KV-store for this Raft group.
	KvStore *KvStoreInfoPB `protobuf:"bytes,24,opt,name=kv_store,json=kvStore" json:"kv_store,omitempty"`
	// The RocksDB directory for this tablet.
	OBSOLETERocksdbDir *string `protobuf:"bytes,16,opt,name=OBSOLETE_rocksdb_dir,json=OBSOLETERocksdbDir" json:"OBSOLETE_rocksdb_dir,omitempty"`
	// List of RocksDB SST files.
	OBSOLETERocksdbFiles []*FilePB `protobuf:"bytes,17,rep,name=OBSOLETE_rocksdb_files,json=OBSOLETERocksdbFiles" json:"OBSOLETE_rocksdb_files,omitempty"`
	// List of Snapshot files.
	OBSOLETESnapshotFiles []*SnapshotFilePB `protobuf:"bytes,20,rep,name=OBSOLETE_snapshot_files,json=OBSOLETESnapshotFiles" json:"OBSOLETE_snapshot_files,omitempty"`
	// Deleted column IDs with timestamps so that memory can be cleaned up.
	OBSOLETEDeletedCols []*DeletedColumnPB `protobuf:"bytes,19,rep,name=OBSOLETE_deleted_cols,json=OBSOLETEDeletedCols" json:"OBSOLETE_deleted_cols,omitempty"`
	// Secondary indexes of the table.
	OBSOLETEIndexes []*IndexInfoPB `protobuf:"bytes,21,rep,name=OBSOLETE_indexes,json=OBSOLETEIndexes" json:"OBSOLETE_indexes,omitempty"`
	// For index table: information about this index.
	OBSOLETEIndexInfo *IndexInfoPB `protobuf:"bytes,22,opt,name=OBSOLETE_index_info,json=OBSOLETEIndexInfo" json:"OBSOLETE_index_info,omitempty"`
	// Tables co-located in this tablet.
	OBSOLETETables []*TableInfoPB `protobuf:"bytes,23,rep,name=OBSOLETE_tables,json=OBSOLETETables" json:"OBSOLETE_tables,omitempty"`
	// True if the raft group is for a colocated tablet.
	Colocated *bool `protobuf:"varint,25,opt,name=colocated,def=0" json:"colocated,omitempty"`
	// Minimum replicated op id index for cdc streams. This value is used to retain log files
	// that contain any entries with indices larger than this one. By default max int64 to avoid
	// retaining any log files unnecessarily.
	CdcMinReplicatedIndex *int64 `` /* 147-byte string literal not displayed */
	// Is this tablet currently a consumer tablet for 2dc replication.
	IsUnderTwodcReplication *bool `` /* 129-byte string literal not displayed */
	// Reject client queries (read and write) to this tablet like it does not present.
	Hidden *bool `protobuf:"varint,28,opt,name=hidden" json:"hidden,omitempty"`
	// Picked at master while enabling writes after restoration.
	RestorationHybridTime *uint64  `protobuf:"fixed64,32,opt,name=restoration_hybrid_time,json=restorationHybridTime" json:"restoration_hybrid_time,omitempty"`
	SplitOpId             *OpIdPB  `protobuf:"bytes,29,opt,name=split_op_id,json=splitOpId" json:"split_op_id,omitempty"`
	SplitChildTabletIds   [][]byte `protobuf:"bytes,30,rep,name=split_child_tablet_ids,json=splitChildTabletIds" json:"split_child_tablet_ids,omitempty"`
	ActiveRestorations    [][]byte `protobuf:"bytes,31,rep,name=active_restorations,json=activeRestorations" json:"active_restorations,omitempty"`
	// contains filtered or unexported fields
}

The super-block keeps track of the Raft group.

func (*RaftGroupReplicaSuperBlockPB) Descriptor deprecated

func (*RaftGroupReplicaSuperBlockPB) Descriptor() ([]byte, []int)

Deprecated: Use RaftGroupReplicaSuperBlockPB.ProtoReflect.Descriptor instead.

func (*RaftGroupReplicaSuperBlockPB) GetActiveRestorations

func (x *RaftGroupReplicaSuperBlockPB) GetActiveRestorations() [][]byte

func (*RaftGroupReplicaSuperBlockPB) GetCdcMinReplicatedIndex

func (x *RaftGroupReplicaSuperBlockPB) GetCdcMinReplicatedIndex() int64

func (*RaftGroupReplicaSuperBlockPB) GetColocated

func (x *RaftGroupReplicaSuperBlockPB) GetColocated() bool

func (*RaftGroupReplicaSuperBlockPB) GetHidden

func (x *RaftGroupReplicaSuperBlockPB) GetHidden() bool

func (*RaftGroupReplicaSuperBlockPB) GetIsUnderTwodcReplication

func (x *RaftGroupReplicaSuperBlockPB) GetIsUnderTwodcReplication() bool

func (*RaftGroupReplicaSuperBlockPB) GetKvStore

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETEDeletedCols

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETEDeletedCols() []*DeletedColumnPB

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETEIndexInfo

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETEIndexInfo() *IndexInfoPB

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETEIndexes

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETEIndexes() []*IndexInfoPB

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETEPartitionSchema

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETEPartitionSchema() *PartitionSchemaPB

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETERocksdbDir

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETERocksdbDir() string

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETERocksdbFiles

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETERocksdbFiles() []*FilePB

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETESchema

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETESchema() *SchemaPB

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETESchemaVersion

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETESchemaVersion() uint32

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETESnapshotFiles

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETESnapshotFiles() []*SnapshotFilePB

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETETableName

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETETableName() string

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETETableType

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETETableType() TableType

func (*RaftGroupReplicaSuperBlockPB) GetOBSOLETETables

func (x *RaftGroupReplicaSuperBlockPB) GetOBSOLETETables() []*TableInfoPB

func (*RaftGroupReplicaSuperBlockPB) GetPartition

func (x *RaftGroupReplicaSuperBlockPB) GetPartition() *PartitionPB

func (*RaftGroupReplicaSuperBlockPB) GetPrimaryTableId

func (x *RaftGroupReplicaSuperBlockPB) GetPrimaryTableId() []byte

func (*RaftGroupReplicaSuperBlockPB) GetRaftGroupId

func (x *RaftGroupReplicaSuperBlockPB) GetRaftGroupId() []byte

func (*RaftGroupReplicaSuperBlockPB) GetRestorationHybridTime

func (x *RaftGroupReplicaSuperBlockPB) GetRestorationHybridTime() uint64

func (*RaftGroupReplicaSuperBlockPB) GetSplitChildTabletIds

func (x *RaftGroupReplicaSuperBlockPB) GetSplitChildTabletIds() [][]byte

func (*RaftGroupReplicaSuperBlockPB) GetSplitOpId

func (x *RaftGroupReplicaSuperBlockPB) GetSplitOpId() *OpIdPB

func (*RaftGroupReplicaSuperBlockPB) GetTabletDataState

func (x *RaftGroupReplicaSuperBlockPB) GetTabletDataState() TabletDataState

func (*RaftGroupReplicaSuperBlockPB) GetTombstoneLastLoggedOpid

func (x *RaftGroupReplicaSuperBlockPB) GetTombstoneLastLoggedOpid() *OpIdPB

func (*RaftGroupReplicaSuperBlockPB) GetWalDir

func (x *RaftGroupReplicaSuperBlockPB) GetWalDir() string

func (*RaftGroupReplicaSuperBlockPB) ProtoMessage

func (*RaftGroupReplicaSuperBlockPB) ProtoMessage()

func (*RaftGroupReplicaSuperBlockPB) ProtoReflect

func (*RaftGroupReplicaSuperBlockPB) Reset

func (x *RaftGroupReplicaSuperBlockPB) Reset()

func (*RaftGroupReplicaSuperBlockPB) String

type RaftGroupStatePB

type RaftGroupStatePB int32

The enum of Raft group states. Raft group states are sent in TabletReports and kept in TabletPeer.

const (
	RaftGroupStatePB_UNKNOWN RaftGroupStatePB = 999
	// Raft group has not yet started.
	RaftGroupStatePB_NOT_STARTED RaftGroupStatePB = 5
	// Indicates the Raft group is bootstrapping, i.e. that the Raft group is not available for RPC.
	RaftGroupStatePB_BOOTSTRAPPING RaftGroupStatePB = 0
	// Once the configuration phase is over Peers are in RUNNING state. In this state Peers are
	// available for client RPCs.
	RaftGroupStatePB_RUNNING RaftGroupStatePB = 1
	// The Raft group failed to for some reason. TabletPeer::error() will return the reason for the
	// failure.
	RaftGroupStatePB_FAILED RaftGroupStatePB = 2
	// The Raft group is shutting down, and will not accept further requests.
	RaftGroupStatePB_QUIESCING RaftGroupStatePB = 3
	// The Raft group has been stopped.
	RaftGroupStatePB_SHUTDOWN RaftGroupStatePB = 4
)

func (RaftGroupStatePB) Descriptor

func (RaftGroupStatePB) Enum

func (RaftGroupStatePB) EnumDescriptor deprecated

func (RaftGroupStatePB) EnumDescriptor() ([]byte, []int)

Deprecated: Use RaftGroupStatePB.Descriptor instead.

func (RaftGroupStatePB) Number

func (RaftGroupStatePB) String

func (x RaftGroupStatePB) String() string

func (RaftGroupStatePB) Type

func (*RaftGroupStatePB) UnmarshalJSON deprecated

func (x *RaftGroupStatePB) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RaftPeerPB

type RaftPeerPB struct {

	// Permanent uuid is optional: RaftPeerPB/RaftConfigPB instances may
	// be created before the permanent uuid is known (e.g., when
	// manually specifying a configuration for Master/CatalogManager);
	// permament uuid can be retrieved at a later time through RPC.
	PermanentUuid          []byte          `protobuf:"bytes,1,opt,name=permanent_uuid,json=permanentUuid" json:"permanent_uuid,omitempty"`
	MemberType             *PeerMemberType `protobuf:"varint,2,opt,name=member_type,json=memberType,enum=yb.consensus.PeerMemberType" json:"member_type,omitempty"`
	LastKnownPrivateAddr   []*HostPortPB   `protobuf:"bytes,3,rep,name=last_known_private_addr,json=lastKnownPrivateAddr" json:"last_known_private_addr,omitempty"`
	LastKnownBroadcastAddr []*HostPortPB   `protobuf:"bytes,4,rep,name=last_known_broadcast_addr,json=lastKnownBroadcastAddr" json:"last_known_broadcast_addr,omitempty"`
	CloudInfo              *CloudInfoPB    `protobuf:"bytes,5,opt,name=cloud_info,json=cloudInfo" json:"cloud_info,omitempty"`
	// contains filtered or unexported fields
}

A peer in a configuration.

func (*RaftPeerPB) Descriptor deprecated

func (*RaftPeerPB) Descriptor() ([]byte, []int)

Deprecated: Use RaftPeerPB.ProtoReflect.Descriptor instead.

func (*RaftPeerPB) GetCloudInfo

func (x *RaftPeerPB) GetCloudInfo() *CloudInfoPB

func (*RaftPeerPB) GetLastKnownBroadcastAddr

func (x *RaftPeerPB) GetLastKnownBroadcastAddr() []*HostPortPB

func (*RaftPeerPB) GetLastKnownPrivateAddr

func (x *RaftPeerPB) GetLastKnownPrivateAddr() []*HostPortPB

func (*RaftPeerPB) GetMemberType

func (x *RaftPeerPB) GetMemberType() PeerMemberType

func (*RaftPeerPB) GetPermanentUuid

func (x *RaftPeerPB) GetPermanentUuid() []byte

func (*RaftPeerPB) ProtoMessage

func (*RaftPeerPB) ProtoMessage()

func (*RaftPeerPB) ProtoReflect

func (x *RaftPeerPB) ProtoReflect() protoreflect.Message

func (*RaftPeerPB) Reset

func (x *RaftPeerPB) Reset()

func (*RaftPeerPB) String

func (x *RaftPeerPB) String() string

type ReadHybridTimePB

type ReadHybridTimePB struct {
	ReadHt                                 *uint64 `protobuf:"fixed64,1,opt,name=read_ht,json=readHt" json:"read_ht,omitempty"`
	DEPRECATEDMaxOfReadTimeAndLocalLimitHt *uint64 `` /* 184-byte string literal not displayed */
	GlobalLimitHt                          *uint64 `protobuf:"fixed64,3,opt,name=global_limit_ht,json=globalLimitHt" json:"global_limit_ht,omitempty"`
	InTxnLimitHt                           *uint64 `protobuf:"fixed64,4,opt,name=in_txn_limit_ht,json=inTxnLimitHt" json:"in_txn_limit_ht,omitempty"`
	LocalLimitHt                           *uint64 `protobuf:"fixed64,5,opt,name=local_limit_ht,json=localLimitHt" json:"local_limit_ht,omitempty"`
	// contains filtered or unexported fields
}

See ReadHybridTime for explation of this message.

func (*ReadHybridTimePB) Descriptor deprecated

func (*ReadHybridTimePB) Descriptor() ([]byte, []int)

Deprecated: Use ReadHybridTimePB.ProtoReflect.Descriptor instead.

func (*ReadHybridTimePB) GetDEPRECATEDMaxOfReadTimeAndLocalLimitHt

func (x *ReadHybridTimePB) GetDEPRECATEDMaxOfReadTimeAndLocalLimitHt() uint64

func (*ReadHybridTimePB) GetGlobalLimitHt

func (x *ReadHybridTimePB) GetGlobalLimitHt() uint64

func (*ReadHybridTimePB) GetInTxnLimitHt

func (x *ReadHybridTimePB) GetInTxnLimitHt() uint64

func (*ReadHybridTimePB) GetLocalLimitHt

func (x *ReadHybridTimePB) GetLocalLimitHt() uint64

func (*ReadHybridTimePB) GetReadHt

func (x *ReadHybridTimePB) GetReadHt() uint64

func (*ReadHybridTimePB) ProtoMessage

func (*ReadHybridTimePB) ProtoMessage()

func (*ReadHybridTimePB) ProtoReflect

func (x *ReadHybridTimePB) ProtoReflect() protoreflect.Message

func (*ReadHybridTimePB) Reset

func (x *ReadHybridTimePB) Reset()

func (*ReadHybridTimePB) String

func (x *ReadHybridTimePB) String() string

type ReadRequestPB

type ReadRequestPB struct {

	// The tablet to scan.
	TabletId   []byte                `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	RedisBatch []*RedisReadRequestPB `protobuf:"bytes,2,rep,name=redis_batch,json=redisBatch" json:"redis_batch,omitempty"`
	QlBatch    []*QLReadRequestPB    `protobuf:"bytes,4,rep,name=ql_batch,json=qlBatch" json:"ql_batch,omitempty"`
	PgsqlBatch []*PgsqlReadRequestPB `protobuf:"bytes,10,rep,name=pgsql_batch,json=pgsqlBatch" json:"pgsql_batch,omitempty"`
	// Whether data blocks will be cached when read from the files or discarded after use.
	// Disable this to lower cache churn when doing large scans.
	CacheBlocks      *bool               `protobuf:"varint,3,opt,name=cache_blocks,json=cacheBlocks,def=1" json:"cache_blocks,omitempty"`
	IncludeTrace     *bool               `protobuf:"varint,5,opt,name=include_trace,json=includeTrace,def=0" json:"include_trace,omitempty"`
	ConsistencyLevel *YBConsistencyLevel `` // TODO: add hybrid_time in future
	/* 136-byte string literal not displayed */
	Transaction          *TransactionMetadataPB    `protobuf:"bytes,7,opt,name=transaction" json:"transaction,omitempty"`
	Subtransaction       *SubTransactionMetadataPB `protobuf:"bytes,15,opt,name=subtransaction" json:"subtransaction,omitempty"`
	PropagatedHybridTime *uint64                   `protobuf:"fixed64,8,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// See ReadHybridTime for explation of next two fields.
	ReadTime                  *ReadHybridTimePB `protobuf:"bytes,9,opt,name=read_time,json=readTime" json:"read_time,omitempty"`
	ProxyUuid                 *string           `protobuf:"bytes,11,opt,name=proxy_uuid,json=proxyUuid" json:"proxy_uuid,omitempty"`
	DEPRECATEDMayHaveMetadata *bool             `` /* 135-byte string literal not displayed */
	RejectionScore            *float64          `protobuf:"fixed64,13,opt,name=rejection_score,json=rejectionScore" json:"rejection_score,omitempty"`
	BatchIdx                  *uint64           `protobuf:"varint,14,opt,name=batch_idx,json=batchIdx" json:"batch_idx,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRequestPB) Descriptor deprecated

func (*ReadRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ReadRequestPB.ProtoReflect.Descriptor instead.

func (*ReadRequestPB) GetBatchIdx

func (x *ReadRequestPB) GetBatchIdx() uint64

func (*ReadRequestPB) GetCacheBlocks

func (x *ReadRequestPB) GetCacheBlocks() bool

func (*ReadRequestPB) GetConsistencyLevel

func (x *ReadRequestPB) GetConsistencyLevel() YBConsistencyLevel

func (*ReadRequestPB) GetDEPRECATEDMayHaveMetadata

func (x *ReadRequestPB) GetDEPRECATEDMayHaveMetadata() bool

func (*ReadRequestPB) GetIncludeTrace

func (x *ReadRequestPB) GetIncludeTrace() bool

func (*ReadRequestPB) GetPgsqlBatch

func (x *ReadRequestPB) GetPgsqlBatch() []*PgsqlReadRequestPB

func (*ReadRequestPB) GetPropagatedHybridTime

func (x *ReadRequestPB) GetPropagatedHybridTime() uint64

func (*ReadRequestPB) GetProxyUuid

func (x *ReadRequestPB) GetProxyUuid() string

func (*ReadRequestPB) GetQlBatch

func (x *ReadRequestPB) GetQlBatch() []*QLReadRequestPB

func (*ReadRequestPB) GetReadTime

func (x *ReadRequestPB) GetReadTime() *ReadHybridTimePB

func (*ReadRequestPB) GetRedisBatch

func (x *ReadRequestPB) GetRedisBatch() []*RedisReadRequestPB

func (*ReadRequestPB) GetRejectionScore

func (x *ReadRequestPB) GetRejectionScore() float64

func (*ReadRequestPB) GetSubtransaction

func (x *ReadRequestPB) GetSubtransaction() *SubTransactionMetadataPB

func (*ReadRequestPB) GetTabletId

func (x *ReadRequestPB) GetTabletId() []byte

func (*ReadRequestPB) GetTransaction

func (x *ReadRequestPB) GetTransaction() *TransactionMetadataPB

func (*ReadRequestPB) ProtoMessage

func (*ReadRequestPB) ProtoMessage()

func (*ReadRequestPB) ProtoReflect

func (x *ReadRequestPB) ProtoReflect() protoreflect.Message

func (*ReadRequestPB) Reset

func (x *ReadRequestPB) Reset()

func (*ReadRequestPB) String

func (x *ReadRequestPB) String() string

type ReadResponsePB

type ReadResponsePB struct {
	RedisBatch           []*RedisResponsePB   `protobuf:"bytes,1,rep,name=redis_batch,json=redisBatch" json:"redis_batch,omitempty"`
	QlBatch              []*QLResponsePB      `protobuf:"bytes,4,rep,name=ql_batch,json=qlBatch" json:"ql_batch,omitempty"`
	PgsqlBatch           []*PgsqlResponsePB   `protobuf:"bytes,8,rep,name=pgsql_batch,json=pgsqlBatch" json:"pgsql_batch,omitempty"`
	Error                *TabletServerErrorPB `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	TraceBuffer          *string              `protobuf:"bytes,5,opt,name=trace_buffer,json=traceBuffer" json:"trace_buffer,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,6,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// Used to report restart whether this operation requires read restart.
	RestartReadTime *ReadHybridTimePB `protobuf:"bytes,7,opt,name=restart_read_time,json=restartReadTime" json:"restart_read_time,omitempty"`
	// Used to report used read time when transaction asked for it.
	UsedReadTime *ReadHybridTimePB `protobuf:"bytes,9,opt,name=used_read_time,json=usedReadTime" json:"used_read_time,omitempty"`
	LocalLimitHt *uint64           `protobuf:"fixed64,10,opt,name=local_limit_ht,json=localLimitHt" json:"local_limit_ht,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadResponsePB) Descriptor deprecated

func (*ReadResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ReadResponsePB.ProtoReflect.Descriptor instead.

func (*ReadResponsePB) GetError

func (x *ReadResponsePB) GetError() *TabletServerErrorPB

func (*ReadResponsePB) GetLocalLimitHt

func (x *ReadResponsePB) GetLocalLimitHt() uint64

func (*ReadResponsePB) GetPgsqlBatch

func (x *ReadResponsePB) GetPgsqlBatch() []*PgsqlResponsePB

func (*ReadResponsePB) GetPropagatedHybridTime

func (x *ReadResponsePB) GetPropagatedHybridTime() uint64

func (*ReadResponsePB) GetQlBatch

func (x *ReadResponsePB) GetQlBatch() []*QLResponsePB

func (*ReadResponsePB) GetRedisBatch

func (x *ReadResponsePB) GetRedisBatch() []*RedisResponsePB

func (*ReadResponsePB) GetRestartReadTime

func (x *ReadResponsePB) GetRestartReadTime() *ReadHybridTimePB

func (*ReadResponsePB) GetTraceBuffer

func (x *ReadResponsePB) GetTraceBuffer() string

func (*ReadResponsePB) GetUsedReadTime

func (x *ReadResponsePB) GetUsedReadTime() *ReadHybridTimePB

func (*ReadResponsePB) ProtoMessage

func (*ReadResponsePB) ProtoMessage()

func (*ReadResponsePB) ProtoReflect

func (x *ReadResponsePB) ProtoReflect() protoreflect.Message

func (*ReadResponsePB) Reset

func (x *ReadResponsePB) Reset()

func (*ReadResponsePB) String

func (x *ReadResponsePB) String() string

type RedisAddRequestPB

type RedisAddRequestPB struct {

	// Following options are for ZADD only.
	Mode *RedisWriteMode `protobuf:"varint,2,opt,name=mode,enum=yb.RedisWriteMode,def=1" json:"mode,omitempty"`
	// Modify the return value from the number of new elements added,
	// to the total number of elements changed.
	Ch *bool `protobuf:"varint,3,opt,name=ch" json:"ch,omitempty"`
	// contains filtered or unexported fields
}

SADD

func (*RedisAddRequestPB) Descriptor deprecated

func (*RedisAddRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisAddRequestPB.ProtoReflect.Descriptor instead.

func (*RedisAddRequestPB) GetCh

func (x *RedisAddRequestPB) GetCh() bool

func (*RedisAddRequestPB) GetMode

func (x *RedisAddRequestPB) GetMode() RedisWriteMode

func (*RedisAddRequestPB) ProtoMessage

func (*RedisAddRequestPB) ProtoMessage()

func (*RedisAddRequestPB) ProtoReflect

func (x *RedisAddRequestPB) ProtoReflect() protoreflect.Message

func (*RedisAddRequestPB) Reset

func (x *RedisAddRequestPB) Reset()

func (*RedisAddRequestPB) String

func (x *RedisAddRequestPB) String() string

type RedisAppendRequestPB

type RedisAppendRequestPB struct {
	// contains filtered or unexported fields
}

APPEND

func (*RedisAppendRequestPB) Descriptor deprecated

func (*RedisAppendRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisAppendRequestPB.ProtoReflect.Descriptor instead.

func (*RedisAppendRequestPB) ProtoMessage

func (*RedisAppendRequestPB) ProtoMessage()

func (*RedisAppendRequestPB) ProtoReflect

func (x *RedisAppendRequestPB) ProtoReflect() protoreflect.Message

func (*RedisAppendRequestPB) Reset

func (x *RedisAppendRequestPB) Reset()

func (*RedisAppendRequestPB) String

func (x *RedisAppendRequestPB) String() string

type RedisArrayPB

type RedisArrayPB struct {
	Elements [][]byte `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"`
	Encoded  *bool    `protobuf:"varint,2,opt,name=encoded" json:"encoded,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisArrayPB) Descriptor deprecated

func (*RedisArrayPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisArrayPB.ProtoReflect.Descriptor instead.

func (*RedisArrayPB) GetElements

func (x *RedisArrayPB) GetElements() [][]byte

func (*RedisArrayPB) GetEncoded

func (x *RedisArrayPB) GetEncoded() bool

func (*RedisArrayPB) ProtoMessage

func (*RedisArrayPB) ProtoMessage()

func (*RedisArrayPB) ProtoReflect

func (x *RedisArrayPB) ProtoReflect() protoreflect.Message

func (*RedisArrayPB) Reset

func (x *RedisArrayPB) Reset()

func (*RedisArrayPB) String

func (x *RedisArrayPB) String() string

type RedisCallDetailsPB

type RedisCallDetailsPB struct {
	CallDetails []*RedisStatementsDetailsPB `protobuf:"bytes,1,rep,name=call_details,json=callDetails" json:"call_details,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisCallDetailsPB) Descriptor deprecated

func (*RedisCallDetailsPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisCallDetailsPB.ProtoReflect.Descriptor instead.

func (*RedisCallDetailsPB) GetCallDetails

func (x *RedisCallDetailsPB) GetCallDetails() []*RedisStatementsDetailsPB

func (*RedisCallDetailsPB) ProtoMessage

func (*RedisCallDetailsPB) ProtoMessage()

func (*RedisCallDetailsPB) ProtoReflect

func (x *RedisCallDetailsPB) ProtoReflect() protoreflect.Message

func (*RedisCallDetailsPB) Reset

func (x *RedisCallDetailsPB) Reset()

func (*RedisCallDetailsPB) String

func (x *RedisCallDetailsPB) String() string

type RedisCollectionGetRangeRequestPB

type RedisCollectionGetRangeRequestPB struct {
	RequestType *RedisCollectionGetRangeRequestPB_GetRangeRequestType ``                                                                                            /* 155-byte string literal not displayed */
	WithScores  *bool                                                 `protobuf:"varint,2,opt,name=with_scores,json=withScores,def=0" json:"with_scores,omitempty"` // Used only with ZRANGEBYSCORE, ZREVRANGE.
	// contains filtered or unexported fields
}

func (*RedisCollectionGetRangeRequestPB) Descriptor deprecated

func (*RedisCollectionGetRangeRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisCollectionGetRangeRequestPB.ProtoReflect.Descriptor instead.

func (*RedisCollectionGetRangeRequestPB) GetRequestType

func (*RedisCollectionGetRangeRequestPB) GetWithScores

func (x *RedisCollectionGetRangeRequestPB) GetWithScores() bool

func (*RedisCollectionGetRangeRequestPB) ProtoMessage

func (*RedisCollectionGetRangeRequestPB) ProtoMessage()

func (*RedisCollectionGetRangeRequestPB) ProtoReflect

func (*RedisCollectionGetRangeRequestPB) Reset

func (*RedisCollectionGetRangeRequestPB) String

type RedisCollectionGetRangeRequestPB_GetRangeRequestType

type RedisCollectionGetRangeRequestPB_GetRangeRequestType int32
const (
	RedisCollectionGetRangeRequestPB_TSRANGEBYTIME    RedisCollectionGetRangeRequestPB_GetRangeRequestType = 1
	RedisCollectionGetRangeRequestPB_ZRANGEBYSCORE    RedisCollectionGetRangeRequestPB_GetRangeRequestType = 2
	RedisCollectionGetRangeRequestPB_ZREVRANGE        RedisCollectionGetRangeRequestPB_GetRangeRequestType = 3
	RedisCollectionGetRangeRequestPB_ZRANGE           RedisCollectionGetRangeRequestPB_GetRangeRequestType = 4
	RedisCollectionGetRangeRequestPB_TSREVRANGEBYTIME RedisCollectionGetRangeRequestPB_GetRangeRequestType = 5
	RedisCollectionGetRangeRequestPB_UNKNOWN          RedisCollectionGetRangeRequestPB_GetRangeRequestType = 99
)

func (RedisCollectionGetRangeRequestPB_GetRangeRequestType) Descriptor

func (RedisCollectionGetRangeRequestPB_GetRangeRequestType) Enum

func (RedisCollectionGetRangeRequestPB_GetRangeRequestType) EnumDescriptor deprecated

Deprecated: Use RedisCollectionGetRangeRequestPB_GetRangeRequestType.Descriptor instead.

func (RedisCollectionGetRangeRequestPB_GetRangeRequestType) Number

func (RedisCollectionGetRangeRequestPB_GetRangeRequestType) String

func (RedisCollectionGetRangeRequestPB_GetRangeRequestType) Type

func (*RedisCollectionGetRangeRequestPB_GetRangeRequestType) UnmarshalJSON deprecated

Deprecated: Do not use.

type RedisConfigGetRequestPB

type RedisConfigGetRequestPB struct {
	Keyword *string `protobuf:"bytes,1,opt,name=keyword" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisConfigGetRequestPB) Descriptor deprecated

func (*RedisConfigGetRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisConfigGetRequestPB.ProtoReflect.Descriptor instead.

func (*RedisConfigGetRequestPB) GetKeyword

func (x *RedisConfigGetRequestPB) GetKeyword() string

func (*RedisConfigGetRequestPB) ProtoMessage

func (*RedisConfigGetRequestPB) ProtoMessage()

func (*RedisConfigGetRequestPB) ProtoReflect

func (x *RedisConfigGetRequestPB) ProtoReflect() protoreflect.Message

func (*RedisConfigGetRequestPB) Reset

func (x *RedisConfigGetRequestPB) Reset()

func (*RedisConfigGetRequestPB) String

func (x *RedisConfigGetRequestPB) String() string

type RedisConfigGetResponsePB

type RedisConfigGetResponsePB struct {
	Keyword *string        `protobuf:"bytes,1,opt,name=keyword" json:"keyword,omitempty"`
	Args    [][]byte       `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
	Error   *MasterErrorPB `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisConfigGetResponsePB) Descriptor deprecated

func (*RedisConfigGetResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RedisConfigGetResponsePB.ProtoReflect.Descriptor instead.

func (*RedisConfigGetResponsePB) GetArgs

func (x *RedisConfigGetResponsePB) GetArgs() [][]byte

func (*RedisConfigGetResponsePB) GetError

func (x *RedisConfigGetResponsePB) GetError() *MasterErrorPB

func (*RedisConfigGetResponsePB) GetKeyword

func (x *RedisConfigGetResponsePB) GetKeyword() string

func (*RedisConfigGetResponsePB) ProtoMessage

func (*RedisConfigGetResponsePB) ProtoMessage()

func (*RedisConfigGetResponsePB) ProtoReflect

func (x *RedisConfigGetResponsePB) ProtoReflect() protoreflect.Message

func (*RedisConfigGetResponsePB) Reset

func (x *RedisConfigGetResponsePB) Reset()

func (*RedisConfigGetResponsePB) String

func (x *RedisConfigGetResponsePB) String() string

type RedisConfigSetRequestPB

type RedisConfigSetRequestPB struct {
	Keyword *string  `protobuf:"bytes,1,opt,name=keyword" json:"keyword,omitempty"`
	Args    [][]byte `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisConfigSetRequestPB) Descriptor deprecated

func (*RedisConfigSetRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisConfigSetRequestPB.ProtoReflect.Descriptor instead.

func (*RedisConfigSetRequestPB) GetArgs

func (x *RedisConfigSetRequestPB) GetArgs() [][]byte

func (*RedisConfigSetRequestPB) GetKeyword

func (x *RedisConfigSetRequestPB) GetKeyword() string

func (*RedisConfigSetRequestPB) ProtoMessage

func (*RedisConfigSetRequestPB) ProtoMessage()

func (*RedisConfigSetRequestPB) ProtoReflect

func (x *RedisConfigSetRequestPB) ProtoReflect() protoreflect.Message

func (*RedisConfigSetRequestPB) Reset

func (x *RedisConfigSetRequestPB) Reset()

func (*RedisConfigSetRequestPB) String

func (x *RedisConfigSetRequestPB) String() string

type RedisConfigSetResponsePB

type RedisConfigSetResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisConfigSetResponsePB) Descriptor deprecated

func (*RedisConfigSetResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RedisConfigSetResponsePB.ProtoReflect.Descriptor instead.

func (*RedisConfigSetResponsePB) GetError

func (x *RedisConfigSetResponsePB) GetError() *MasterErrorPB

func (*RedisConfigSetResponsePB) ProtoMessage

func (*RedisConfigSetResponsePB) ProtoMessage()

func (*RedisConfigSetResponsePB) ProtoReflect

func (x *RedisConfigSetResponsePB) ProtoReflect() protoreflect.Message

func (*RedisConfigSetResponsePB) Reset

func (x *RedisConfigSetResponsePB) Reset()

func (*RedisConfigSetResponsePB) String

func (x *RedisConfigSetResponsePB) String() string

type RedisDataType

type RedisDataType int32
const (
	RedisDataType_REDIS_TYPE_NONE       RedisDataType = 1
	RedisDataType_REDIS_TYPE_STRING     RedisDataType = 2
	RedisDataType_REDIS_TYPE_LIST       RedisDataType = 3
	RedisDataType_REDIS_TYPE_SET        RedisDataType = 4
	RedisDataType_REDIS_TYPE_HASH       RedisDataType = 5
	RedisDataType_REDIS_TYPE_SORTEDSET  RedisDataType = 6
	RedisDataType_REDIS_TYPE_TIMESERIES RedisDataType = 7
)

func (RedisDataType) Descriptor

func (RedisDataType) Enum

func (x RedisDataType) Enum() *RedisDataType

func (RedisDataType) EnumDescriptor deprecated

func (RedisDataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisDataType.Descriptor instead.

func (RedisDataType) Number

func (RedisDataType) String

func (x RedisDataType) String() string

func (RedisDataType) Type

func (*RedisDataType) UnmarshalJSON deprecated

func (x *RedisDataType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RedisDelRequestPB

type RedisDelRequestPB struct {
	// contains filtered or unexported fields
}

DEL, HDEL

func (*RedisDelRequestPB) Descriptor deprecated

func (*RedisDelRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisDelRequestPB.ProtoReflect.Descriptor instead.

func (*RedisDelRequestPB) ProtoMessage

func (*RedisDelRequestPB) ProtoMessage()

func (*RedisDelRequestPB) ProtoReflect

func (x *RedisDelRequestPB) ProtoReflect() protoreflect.Message

func (*RedisDelRequestPB) Reset

func (x *RedisDelRequestPB) Reset()

func (*RedisDelRequestPB) String

func (x *RedisDelRequestPB) String() string

type RedisExistsRequestPB

type RedisExistsRequestPB struct {
	// contains filtered or unexported fields
}

EXISTS, HEXISTS

func (*RedisExistsRequestPB) Descriptor deprecated

func (*RedisExistsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisExistsRequestPB.ProtoReflect.Descriptor instead.

func (*RedisExistsRequestPB) ProtoMessage

func (*RedisExistsRequestPB) ProtoMessage()

func (*RedisExistsRequestPB) ProtoReflect

func (x *RedisExistsRequestPB) ProtoReflect() protoreflect.Message

func (*RedisExistsRequestPB) Reset

func (x *RedisExistsRequestPB) Reset()

func (*RedisExistsRequestPB) String

func (x *RedisExistsRequestPB) String() string

type RedisGetForRenameRequestPB

type RedisGetForRenameRequestPB struct {
	// contains filtered or unexported fields
}

RENAME

func (*RedisGetForRenameRequestPB) Descriptor deprecated

func (*RedisGetForRenameRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisGetForRenameRequestPB.ProtoReflect.Descriptor instead.

func (*RedisGetForRenameRequestPB) ProtoMessage

func (*RedisGetForRenameRequestPB) ProtoMessage()

func (*RedisGetForRenameRequestPB) ProtoReflect

func (*RedisGetForRenameRequestPB) Reset

func (x *RedisGetForRenameRequestPB) Reset()

func (*RedisGetForRenameRequestPB) String

func (x *RedisGetForRenameRequestPB) String() string

type RedisGetRangeRequestPB

type RedisGetRangeRequestPB struct {
	Start *int32 `protobuf:"varint,2,opt,name=start" json:"start,omitempty"` // Required
	End   *int32 `protobuf:"varint,3,opt,name=end" json:"end,omitempty"`     // Required
	// contains filtered or unexported fields
}

GETRANGE

func (*RedisGetRangeRequestPB) Descriptor deprecated

func (*RedisGetRangeRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisGetRangeRequestPB.ProtoReflect.Descriptor instead.

func (*RedisGetRangeRequestPB) GetEnd

func (x *RedisGetRangeRequestPB) GetEnd() int32

func (*RedisGetRangeRequestPB) GetStart

func (x *RedisGetRangeRequestPB) GetStart() int32

func (*RedisGetRangeRequestPB) ProtoMessage

func (*RedisGetRangeRequestPB) ProtoMessage()

func (*RedisGetRangeRequestPB) ProtoReflect

func (x *RedisGetRangeRequestPB) ProtoReflect() protoreflect.Message

func (*RedisGetRangeRequestPB) Reset

func (x *RedisGetRangeRequestPB) Reset()

func (*RedisGetRangeRequestPB) String

func (x *RedisGetRangeRequestPB) String() string

type RedisGetRequestPB

type RedisGetRequestPB struct {
	RequestType *RedisGetRequestPB_GetRequestType `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

GET, HGET, MGET, HMGET, HGETALL, SMEMBERS HKEYS, HKEYS, HLEN

func (*RedisGetRequestPB) Descriptor deprecated

func (*RedisGetRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisGetRequestPB.ProtoReflect.Descriptor instead.

func (*RedisGetRequestPB) GetRequestType

func (*RedisGetRequestPB) ProtoMessage

func (*RedisGetRequestPB) ProtoMessage()

func (*RedisGetRequestPB) ProtoReflect

func (x *RedisGetRequestPB) ProtoReflect() protoreflect.Message

func (*RedisGetRequestPB) Reset

func (x *RedisGetRequestPB) Reset()

func (*RedisGetRequestPB) String

func (x *RedisGetRequestPB) String() string

type RedisGetRequestPB_GetRequestType

type RedisGetRequestPB_GetRequestType int32
const (
	RedisGetRequestPB_GET       RedisGetRequestPB_GetRequestType = 1
	RedisGetRequestPB_MGET      RedisGetRequestPB_GetRequestType = 3
	RedisGetRequestPB_HGET      RedisGetRequestPB_GetRequestType = 2
	RedisGetRequestPB_HMGET     RedisGetRequestPB_GetRequestType = 4
	RedisGetRequestPB_HGETALL   RedisGetRequestPB_GetRequestType = 5
	RedisGetRequestPB_HKEYS     RedisGetRequestPB_GetRequestType = 7
	RedisGetRequestPB_HVALS     RedisGetRequestPB_GetRequestType = 8
	RedisGetRequestPB_HLEN      RedisGetRequestPB_GetRequestType = 9
	RedisGetRequestPB_HEXISTS   RedisGetRequestPB_GetRequestType = 10
	RedisGetRequestPB_HSTRLEN   RedisGetRequestPB_GetRequestType = 11
	RedisGetRequestPB_SMEMBERS  RedisGetRequestPB_GetRequestType = 6
	RedisGetRequestPB_SISMEMBER RedisGetRequestPB_GetRequestType = 12
	RedisGetRequestPB_SCARD     RedisGetRequestPB_GetRequestType = 13
	RedisGetRequestPB_ZCARD     RedisGetRequestPB_GetRequestType = 15
	RedisGetRequestPB_TSGET     RedisGetRequestPB_GetRequestType = 14
	RedisGetRequestPB_TSCARD    RedisGetRequestPB_GetRequestType = 16
	RedisGetRequestPB_ZSCORE    RedisGetRequestPB_GetRequestType = 17
	RedisGetRequestPB_LLEN      RedisGetRequestPB_GetRequestType = 18
	RedisGetRequestPB_UNKNOWN   RedisGetRequestPB_GetRequestType = 99
)

func (RedisGetRequestPB_GetRequestType) Descriptor

func (RedisGetRequestPB_GetRequestType) Enum

func (RedisGetRequestPB_GetRequestType) EnumDescriptor deprecated

func (RedisGetRequestPB_GetRequestType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisGetRequestPB_GetRequestType.Descriptor instead.

func (RedisGetRequestPB_GetRequestType) Number

func (RedisGetRequestPB_GetRequestType) String

func (RedisGetRequestPB_GetRequestType) Type

func (*RedisGetRequestPB_GetRequestType) UnmarshalJSON deprecated

func (x *RedisGetRequestPB_GetRequestType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RedisGetSetRequestPB

type RedisGetSetRequestPB struct {
	// contains filtered or unexported fields
}

GETSET

func (*RedisGetSetRequestPB) Descriptor deprecated

func (*RedisGetSetRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisGetSetRequestPB.ProtoReflect.Descriptor instead.

func (*RedisGetSetRequestPB) ProtoMessage

func (*RedisGetSetRequestPB) ProtoMessage()

func (*RedisGetSetRequestPB) ProtoReflect

func (x *RedisGetSetRequestPB) ProtoReflect() protoreflect.Message

func (*RedisGetSetRequestPB) Reset

func (x *RedisGetSetRequestPB) Reset()

func (*RedisGetSetRequestPB) String

func (x *RedisGetSetRequestPB) String() string

type RedisGetTtlRequestPB

type RedisGetTtlRequestPB struct {

	// By default, the return value is in milliseconds.
	ReturnSeconds *bool `protobuf:"varint,1,opt,name=return_seconds,json=returnSeconds,def=0" json:"return_seconds,omitempty"`
	// contains filtered or unexported fields
}

TTL, PTTL

func (*RedisGetTtlRequestPB) Descriptor deprecated

func (*RedisGetTtlRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisGetTtlRequestPB.ProtoReflect.Descriptor instead.

func (*RedisGetTtlRequestPB) GetReturnSeconds

func (x *RedisGetTtlRequestPB) GetReturnSeconds() bool

func (*RedisGetTtlRequestPB) ProtoMessage

func (*RedisGetTtlRequestPB) ProtoMessage()

func (*RedisGetTtlRequestPB) ProtoReflect

func (x *RedisGetTtlRequestPB) ProtoReflect() protoreflect.Message

func (*RedisGetTtlRequestPB) Reset

func (x *RedisGetTtlRequestPB) Reset()

func (*RedisGetTtlRequestPB) String

func (x *RedisGetTtlRequestPB) String() string

type RedisIncrRequestPB

type RedisIncrRequestPB struct {
	IncrementInt   *int64   `protobuf:"varint,2,opt,name=increment_int,json=incrementInt,def=1" json:"increment_int,omitempty"`
	IncrementFloat *float64 `protobuf:"fixed64,3,opt,name=increment_float,json=incrementFloat" json:"increment_float,omitempty"`
	// contains filtered or unexported fields
}

INCR, INCRBY, INCRBYFLOAT, HINCRBY, HINCRBYFLOAT, ZINCRBY, DECR, DECRBY, ZADD with incr option

func (*RedisIncrRequestPB) Descriptor deprecated

func (*RedisIncrRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisIncrRequestPB.ProtoReflect.Descriptor instead.

func (*RedisIncrRequestPB) GetIncrementFloat

func (x *RedisIncrRequestPB) GetIncrementFloat() float64

func (*RedisIncrRequestPB) GetIncrementInt

func (x *RedisIncrRequestPB) GetIncrementInt() int64

func (*RedisIncrRequestPB) ProtoMessage

func (*RedisIncrRequestPB) ProtoMessage()

func (*RedisIncrRequestPB) ProtoReflect

func (x *RedisIncrRequestPB) ProtoReflect() protoreflect.Message

func (*RedisIncrRequestPB) Reset

func (x *RedisIncrRequestPB) Reset()

func (*RedisIncrRequestPB) String

func (x *RedisIncrRequestPB) String() string

type RedisIndexBoundPB

type RedisIndexBoundPB struct {
	Index *int64 `protobuf:"varint,1,req,name=index" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisIndexBoundPB) Descriptor deprecated

func (*RedisIndexBoundPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisIndexBoundPB.ProtoReflect.Descriptor instead.

func (*RedisIndexBoundPB) GetIndex

func (x *RedisIndexBoundPB) GetIndex() int64

func (*RedisIndexBoundPB) ProtoMessage

func (*RedisIndexBoundPB) ProtoMessage()

func (*RedisIndexBoundPB) ProtoReflect

func (x *RedisIndexBoundPB) ProtoReflect() protoreflect.Message

func (*RedisIndexBoundPB) Reset

func (x *RedisIndexBoundPB) Reset()

func (*RedisIndexBoundPB) String

func (x *RedisIndexBoundPB) String() string

type RedisIndexRangePB

type RedisIndexRangePB struct {
	LowerBound *RedisIndexBoundPB `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound" json:"lower_bound,omitempty"`
	UpperBound *RedisIndexBoundPB `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisIndexRangePB) Descriptor deprecated

func (*RedisIndexRangePB) Descriptor() ([]byte, []int)

Deprecated: Use RedisIndexRangePB.ProtoReflect.Descriptor instead.

func (*RedisIndexRangePB) GetLowerBound

func (x *RedisIndexRangePB) GetLowerBound() *RedisIndexBoundPB

func (*RedisIndexRangePB) GetUpperBound

func (x *RedisIndexRangePB) GetUpperBound() *RedisIndexBoundPB

func (*RedisIndexRangePB) ProtoMessage

func (*RedisIndexRangePB) ProtoMessage()

func (*RedisIndexRangePB) ProtoReflect

func (x *RedisIndexRangePB) ProtoReflect() protoreflect.Message

func (*RedisIndexRangePB) Reset

func (x *RedisIndexRangePB) Reset()

func (*RedisIndexRangePB) String

func (x *RedisIndexRangePB) String() string

type RedisInsertRequestPB

type RedisInsertRequestPB struct {
	Order *RedisOrder `protobuf:"varint,2,opt,name=order,enum=yb.RedisOrder" json:"order,omitempty"` // Required
	// contains filtered or unexported fields
}

LINSERT

func (*RedisInsertRequestPB) Descriptor deprecated

func (*RedisInsertRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisInsertRequestPB.ProtoReflect.Descriptor instead.

func (*RedisInsertRequestPB) GetOrder

func (x *RedisInsertRequestPB) GetOrder() RedisOrder

func (*RedisInsertRequestPB) ProtoMessage

func (*RedisInsertRequestPB) ProtoMessage()

func (*RedisInsertRequestPB) ProtoReflect

func (x *RedisInsertRequestPB) ProtoReflect() protoreflect.Message

func (*RedisInsertRequestPB) Reset

func (x *RedisInsertRequestPB) Reset()

func (*RedisInsertRequestPB) String

func (x *RedisInsertRequestPB) String() string

type RedisKeyValuePB

type RedisKeyValuePB struct {

	// Note: the hash_code is the hash of the 'key' below. Technically, this can be recomputed by
	// tserver also, but since the client already calculates this to look up the correct tablet
	// server, it is passed in.
	HashCode *uint32        `protobuf:"varint,1,opt,name=hash_code,json=hashCode" json:"hash_code,omitempty"`
	Key      []byte         `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` // Required
	Type     *RedisDataType `protobuf:"varint,3,opt,name=type,enum=yb.RedisDataType,def=1" json:"type,omitempty"`
	// It is assumed that all subkeys are distinct for HMSET and SADD.  For collection range requests,
	// we would have exactly two subkeys denoting the lower bound and upper bound for the range
	// request.
	Subkey []*RedisKeyValueSubKeyPB `protobuf:"bytes,4,rep,name=subkey" json:"subkey,omitempty"`
	Index  *int32                   `protobuf:"varint,5,opt,name=index" json:"index,omitempty"`
	Value  [][]byte                 `protobuf:"bytes,6,rep,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}
  • Even if just a key is needed, or there are multiple values, this is used.
  • In case of referring to an entity within a container, the type of the outer_key and the subkey or index of the inner entity is specified.
  • String : Set the key and value only (setting STRING type is optional as it is understood).
  • List : Set the key, index, and value.
  • Set : Set the key, and value (possibly multiple depending on the command).
  • Hash : Set key, subkey, value.
  • SortedSet : Set key, subkey, value (value is interpreted as score).
  • Timeseries: Set key, subkey, value (timestamp_subkey in RedisKeyValueSubKeyPB is interpreted as timestamp).
  • Value is not present in case of an append, get, exists, etc. For multiple inserts into a

container, the subkey and value fields have one or more items.

func (*RedisKeyValuePB) Descriptor deprecated

func (*RedisKeyValuePB) Descriptor() ([]byte, []int)

Deprecated: Use RedisKeyValuePB.ProtoReflect.Descriptor instead.

func (*RedisKeyValuePB) GetHashCode

func (x *RedisKeyValuePB) GetHashCode() uint32

func (*RedisKeyValuePB) GetIndex

func (x *RedisKeyValuePB) GetIndex() int32

func (*RedisKeyValuePB) GetKey

func (x *RedisKeyValuePB) GetKey() []byte

func (*RedisKeyValuePB) GetSubkey

func (x *RedisKeyValuePB) GetSubkey() []*RedisKeyValueSubKeyPB

func (*RedisKeyValuePB) GetType

func (x *RedisKeyValuePB) GetType() RedisDataType

func (*RedisKeyValuePB) GetValue

func (x *RedisKeyValuePB) GetValue() [][]byte

func (*RedisKeyValuePB) ProtoMessage

func (*RedisKeyValuePB) ProtoMessage()

func (*RedisKeyValuePB) ProtoReflect

func (x *RedisKeyValuePB) ProtoReflect() protoreflect.Message

func (*RedisKeyValuePB) Reset

func (x *RedisKeyValuePB) Reset()

func (*RedisKeyValuePB) String

func (x *RedisKeyValuePB) String() string

type RedisKeyValueSubKeyPB

type RedisKeyValueSubKeyPB struct {

	// Types that are assignable to Subkey:
	//	*RedisKeyValueSubKeyPB_StringSubkey
	//	*RedisKeyValueSubKeyPB_TimestampSubkey
	//	*RedisKeyValueSubKeyPB_DoubleSubkey
	Subkey isRedisKeyValueSubKeyPB_Subkey `protobuf_oneof:"subkey"`
	// contains filtered or unexported fields
}

func (*RedisKeyValueSubKeyPB) Descriptor deprecated

func (*RedisKeyValueSubKeyPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisKeyValueSubKeyPB.ProtoReflect.Descriptor instead.

func (*RedisKeyValueSubKeyPB) GetDoubleSubkey

func (x *RedisKeyValueSubKeyPB) GetDoubleSubkey() float64

func (*RedisKeyValueSubKeyPB) GetStringSubkey

func (x *RedisKeyValueSubKeyPB) GetStringSubkey() []byte

func (*RedisKeyValueSubKeyPB) GetSubkey

func (m *RedisKeyValueSubKeyPB) GetSubkey() isRedisKeyValueSubKeyPB_Subkey

func (*RedisKeyValueSubKeyPB) GetTimestampSubkey

func (x *RedisKeyValueSubKeyPB) GetTimestampSubkey() int64

func (*RedisKeyValueSubKeyPB) ProtoMessage

func (*RedisKeyValueSubKeyPB) ProtoMessage()

func (*RedisKeyValueSubKeyPB) ProtoReflect

func (x *RedisKeyValueSubKeyPB) ProtoReflect() protoreflect.Message

func (*RedisKeyValueSubKeyPB) Reset

func (x *RedisKeyValueSubKeyPB) Reset()

func (*RedisKeyValueSubKeyPB) String

func (x *RedisKeyValueSubKeyPB) String() string

type RedisKeyValueSubKeyPB_DoubleSubkey

type RedisKeyValueSubKeyPB_DoubleSubkey struct {
	DoubleSubkey float64 `protobuf:"fixed64,3,opt,name=double_subkey,json=doubleSubkey,oneof"` // Double used in redis sorted set datatype.
}

type RedisKeyValueSubKeyPB_StringSubkey

type RedisKeyValueSubKeyPB_StringSubkey struct {
	StringSubkey []byte `protobuf:"bytes,1,opt,name=string_subkey,json=stringSubkey,oneof"`
}

type RedisKeyValueSubKeyPB_TimestampSubkey

type RedisKeyValueSubKeyPB_TimestampSubkey struct {
	TimestampSubkey int64 `protobuf:"varint,2,opt,name=timestamp_subkey,json=timestampSubkey,oneof"` // Timestamp used in the redis timeseries datatype.
}

type RedisKeysRequestPB

type RedisKeysRequestPB struct {
	Pattern   *string `protobuf:"bytes,1,opt,name=pattern" json:"pattern,omitempty"`
	Threshold *int32  `protobuf:"varint,2,opt,name=threshold" json:"threshold,omitempty"`
	// contains filtered or unexported fields
}

KEYS

func (*RedisKeysRequestPB) Descriptor deprecated

func (*RedisKeysRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisKeysRequestPB.ProtoReflect.Descriptor instead.

func (*RedisKeysRequestPB) GetPattern

func (x *RedisKeysRequestPB) GetPattern() string

func (*RedisKeysRequestPB) GetThreshold

func (x *RedisKeysRequestPB) GetThreshold() int32

func (*RedisKeysRequestPB) ProtoMessage

func (*RedisKeysRequestPB) ProtoMessage()

func (*RedisKeysRequestPB) ProtoReflect

func (x *RedisKeysRequestPB) ProtoReflect() protoreflect.Message

func (*RedisKeysRequestPB) Reset

func (x *RedisKeysRequestPB) Reset()

func (*RedisKeysRequestPB) String

func (x *RedisKeysRequestPB) String() string

type RedisNoOpRequestPB

type RedisNoOpRequestPB struct {
	// contains filtered or unexported fields
}

No operation.

func (*RedisNoOpRequestPB) Descriptor deprecated

func (*RedisNoOpRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisNoOpRequestPB.ProtoReflect.Descriptor instead.

func (*RedisNoOpRequestPB) ProtoMessage

func (*RedisNoOpRequestPB) ProtoMessage()

func (*RedisNoOpRequestPB) ProtoReflect

func (x *RedisNoOpRequestPB) ProtoReflect() protoreflect.Message

func (*RedisNoOpRequestPB) Reset

func (x *RedisNoOpRequestPB) Reset()

func (*RedisNoOpRequestPB) String

func (x *RedisNoOpRequestPB) String() string

type RedisOrder

type RedisOrder int32

This enum is used to specify the insertion position (Insert after or before index).

const (
	RedisOrder_REDIS_ORDER_BEFORE RedisOrder = 1
	RedisOrder_REDIS_ORDER_AFTER  RedisOrder = 2
)

func (RedisOrder) Descriptor

func (RedisOrder) Descriptor() protoreflect.EnumDescriptor

func (RedisOrder) Enum

func (x RedisOrder) Enum() *RedisOrder

func (RedisOrder) EnumDescriptor deprecated

func (RedisOrder) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisOrder.Descriptor instead.

func (RedisOrder) Number

func (x RedisOrder) Number() protoreflect.EnumNumber

func (RedisOrder) String

func (x RedisOrder) String() string

func (RedisOrder) Type

func (*RedisOrder) UnmarshalJSON deprecated

func (x *RedisOrder) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RedisPopRequestPB

type RedisPopRequestPB struct {
	Side  *RedisSide `protobuf:"varint,2,opt,name=side,enum=yb.RedisSide,def=1" json:"side,omitempty"`
	Count *int32     `protobuf:"varint,3,opt,name=count" json:"count,omitempty"` // Count is allowed only when popping from a set.
	// contains filtered or unexported fields
}

LPOP, RPOP, SPOP; blocking versions BLPOP etc. currently not supported.

func (*RedisPopRequestPB) Descriptor deprecated

func (*RedisPopRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisPopRequestPB.ProtoReflect.Descriptor instead.

func (*RedisPopRequestPB) GetCount

func (x *RedisPopRequestPB) GetCount() int32

func (*RedisPopRequestPB) GetSide

func (x *RedisPopRequestPB) GetSide() RedisSide

func (*RedisPopRequestPB) ProtoMessage

func (*RedisPopRequestPB) ProtoMessage()

func (*RedisPopRequestPB) ProtoReflect

func (x *RedisPopRequestPB) ProtoReflect() protoreflect.Message

func (*RedisPopRequestPB) Reset

func (x *RedisPopRequestPB) Reset()

func (*RedisPopRequestPB) String

func (x *RedisPopRequestPB) String() string

type RedisPushRequestPB

type RedisPushRequestPB struct {
	Side           *RedisSide `protobuf:"varint,2,opt,name=side,enum=yb.RedisSide,def=1" json:"side,omitempty"`
	CheckExistence *bool      `protobuf:"varint,3,opt,name=check_existence,json=checkExistence,def=0" json:"check_existence,omitempty"`
	// contains filtered or unexported fields
}

RPUSH, RPUSHX, LPUSH, LPUSHX

func (*RedisPushRequestPB) Descriptor deprecated

func (*RedisPushRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisPushRequestPB.ProtoReflect.Descriptor instead.

func (*RedisPushRequestPB) GetCheckExistence

func (x *RedisPushRequestPB) GetCheckExistence() bool

func (*RedisPushRequestPB) GetSide

func (x *RedisPushRequestPB) GetSide() RedisSide

func (*RedisPushRequestPB) ProtoMessage

func (*RedisPushRequestPB) ProtoMessage()

func (*RedisPushRequestPB) ProtoReflect

func (x *RedisPushRequestPB) ProtoReflect() protoreflect.Message

func (*RedisPushRequestPB) Reset

func (x *RedisPushRequestPB) Reset()

func (*RedisPushRequestPB) String

func (x *RedisPushRequestPB) String() string

type RedisReadRequestPB

type RedisReadRequestPB struct {

	// Types that are assignable to Request:
	//	*RedisReadRequestPB_GetRequest
	//	*RedisReadRequestPB_StrlenRequest
	//	*RedisReadRequestPB_ExistsRequest
	//	*RedisReadRequestPB_GetRangeRequest
	//	*RedisReadRequestPB_GetCollectionRangeRequest
	//	*RedisReadRequestPB_GetTtlRequest
	//	*RedisReadRequestPB_KeysRequest
	//	*RedisReadRequestPB_GetForRenameRequest
	Request     isRedisReadRequestPB_Request `protobuf_oneof:"request"`
	KeyValue    *RedisKeyValuePB             `protobuf:"bytes,6,opt,name=key_value,json=keyValue" json:"key_value,omitempty"`
	SubkeyRange *RedisSubKeyRangePB          `protobuf:"bytes,7,opt,name=subkey_range,json=subkeyRange" json:"subkey_range,omitempty"`
	IndexRange  *RedisIndexRangePB           `protobuf:"bytes,8,opt,name=index_range,json=indexRange" json:"index_range,omitempty"`
	// The maximum number of entries to retrieve for a range request.
	RangeRequestLimit *int32 `protobuf:"varint,10,opt,name=range_request_limit,json=rangeRequestLimit,def=0" json:"range_request_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisReadRequestPB) Descriptor deprecated

func (*RedisReadRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisReadRequestPB.ProtoReflect.Descriptor instead.

func (*RedisReadRequestPB) GetExistsRequest

func (x *RedisReadRequestPB) GetExistsRequest() *RedisExistsRequestPB

func (*RedisReadRequestPB) GetGetCollectionRangeRequest

func (x *RedisReadRequestPB) GetGetCollectionRangeRequest() *RedisCollectionGetRangeRequestPB

func (*RedisReadRequestPB) GetGetForRenameRequest

func (x *RedisReadRequestPB) GetGetForRenameRequest() *RedisGetForRenameRequestPB

func (*RedisReadRequestPB) GetGetRangeRequest

func (x *RedisReadRequestPB) GetGetRangeRequest() *RedisGetRangeRequestPB

func (*RedisReadRequestPB) GetGetRequest

func (x *RedisReadRequestPB) GetGetRequest() *RedisGetRequestPB

func (*RedisReadRequestPB) GetGetTtlRequest

func (x *RedisReadRequestPB) GetGetTtlRequest() *RedisGetTtlRequestPB

func (*RedisReadRequestPB) GetIndexRange

func (x *RedisReadRequestPB) GetIndexRange() *RedisIndexRangePB

func (*RedisReadRequestPB) GetKeyValue

func (x *RedisReadRequestPB) GetKeyValue() *RedisKeyValuePB

func (*RedisReadRequestPB) GetKeysRequest

func (x *RedisReadRequestPB) GetKeysRequest() *RedisKeysRequestPB

func (*RedisReadRequestPB) GetRangeRequestLimit

func (x *RedisReadRequestPB) GetRangeRequestLimit() int32

func (*RedisReadRequestPB) GetRequest

func (m *RedisReadRequestPB) GetRequest() isRedisReadRequestPB_Request

func (*RedisReadRequestPB) GetStrlenRequest

func (x *RedisReadRequestPB) GetStrlenRequest() *RedisStrLenRequestPB

func (*RedisReadRequestPB) GetSubkeyRange

func (x *RedisReadRequestPB) GetSubkeyRange() *RedisSubKeyRangePB

func (*RedisReadRequestPB) ProtoMessage

func (*RedisReadRequestPB) ProtoMessage()

func (*RedisReadRequestPB) ProtoReflect

func (x *RedisReadRequestPB) ProtoReflect() protoreflect.Message

func (*RedisReadRequestPB) Reset

func (x *RedisReadRequestPB) Reset()

func (*RedisReadRequestPB) String

func (x *RedisReadRequestPB) String() string

type RedisReadRequestPB_ExistsRequest

type RedisReadRequestPB_ExistsRequest struct {
	ExistsRequest *RedisExistsRequestPB `protobuf:"bytes,4,opt,name=exists_request,json=existsRequest,oneof"`
}

type RedisReadRequestPB_GetCollectionRangeRequest

type RedisReadRequestPB_GetCollectionRangeRequest struct {
	GetCollectionRangeRequest *RedisCollectionGetRangeRequestPB `protobuf:"bytes,9,opt,name=get_collection_range_request,json=getCollectionRangeRequest,oneof"`
}

type RedisReadRequestPB_GetForRenameRequest

type RedisReadRequestPB_GetForRenameRequest struct {
	GetForRenameRequest *RedisGetForRenameRequestPB `protobuf:"bytes,13,opt,name=get_for_rename_request,json=getForRenameRequest,oneof"`
}

type RedisReadRequestPB_GetRangeRequest

type RedisReadRequestPB_GetRangeRequest struct {
	GetRangeRequest *RedisGetRangeRequestPB `protobuf:"bytes,5,opt,name=get_range_request,json=getRangeRequest,oneof"`
}

type RedisReadRequestPB_GetRequest

type RedisReadRequestPB_GetRequest struct {
	GetRequest *RedisGetRequestPB `protobuf:"bytes,2,opt,name=get_request,json=getRequest,oneof"`
}

type RedisReadRequestPB_GetTtlRequest

type RedisReadRequestPB_GetTtlRequest struct {
	GetTtlRequest *RedisGetTtlRequestPB `protobuf:"bytes,11,opt,name=get_ttl_request,json=getTtlRequest,oneof"`
}

type RedisReadRequestPB_KeysRequest

type RedisReadRequestPB_KeysRequest struct {
	KeysRequest *RedisKeysRequestPB `protobuf:"bytes,12,opt,name=keys_request,json=keysRequest,oneof"`
}

type RedisReadRequestPB_StrlenRequest

type RedisReadRequestPB_StrlenRequest struct {
	StrlenRequest *RedisStrLenRequestPB `protobuf:"bytes,3,opt,name=strlen_request,json=strlenRequest,oneof"`
}

type RedisResponsePB

type RedisResponsePB struct {
	Code *RedisResponsePB_RedisStatusCode `protobuf:"varint,1,opt,name=code,enum=yb.RedisResponsePB_RedisStatusCode" json:"code,omitempty"`
	// Types that are assignable to ResponseData:
	//	*RedisResponsePB_IntResponse
	//	*RedisResponsePB_StringResponse
	//	*RedisResponsePB_ArrayResponse
	//	*RedisResponsePB_StatusResponse
	//	*RedisResponsePB_EncodedResponse
	ResponseData isRedisResponsePB_ResponseData `protobuf_oneof:"response_data"`
	ErrorMessage []byte                         `protobuf:"bytes,6,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	Type         *RedisDataType                 `protobuf:"varint,8,opt,name=type,enum=yb.RedisDataType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisResponsePB) Descriptor deprecated

func (*RedisResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RedisResponsePB.ProtoReflect.Descriptor instead.

func (*RedisResponsePB) GetArrayResponse

func (x *RedisResponsePB) GetArrayResponse() *RedisArrayPB

func (*RedisResponsePB) GetCode

func (*RedisResponsePB) GetEncodedResponse

func (x *RedisResponsePB) GetEncodedResponse() []byte

func (*RedisResponsePB) GetErrorMessage

func (x *RedisResponsePB) GetErrorMessage() []byte

func (*RedisResponsePB) GetIntResponse

func (x *RedisResponsePB) GetIntResponse() int64

func (*RedisResponsePB) GetResponseData

func (m *RedisResponsePB) GetResponseData() isRedisResponsePB_ResponseData

func (*RedisResponsePB) GetStatusResponse

func (x *RedisResponsePB) GetStatusResponse() []byte

func (*RedisResponsePB) GetStringResponse

func (x *RedisResponsePB) GetStringResponse() []byte

func (*RedisResponsePB) GetType

func (x *RedisResponsePB) GetType() RedisDataType

func (*RedisResponsePB) ProtoMessage

func (*RedisResponsePB) ProtoMessage()

func (*RedisResponsePB) ProtoReflect

func (x *RedisResponsePB) ProtoReflect() protoreflect.Message

func (*RedisResponsePB) Reset

func (x *RedisResponsePB) Reset()

func (*RedisResponsePB) String

func (x *RedisResponsePB) String() string

type RedisResponsePB_ArrayResponse

type RedisResponsePB_ArrayResponse struct {
	ArrayResponse *RedisArrayPB `protobuf:"bytes,4,opt,name=array_response,json=arrayResponse,oneof"`
}

type RedisResponsePB_EncodedResponse

type RedisResponsePB_EncodedResponse struct {
	EncodedResponse []byte `protobuf:"bytes,7,opt,name=encoded_response,json=encodedResponse,oneof"`
}

type RedisResponsePB_IntResponse

type RedisResponsePB_IntResponse struct {
	IntResponse int64 `protobuf:"varint,2,opt,name=int_response,json=intResponse,oneof"`
}

type RedisResponsePB_RedisStatusCode

type RedisResponsePB_RedisStatusCode int32
const (
	RedisResponsePB_OK RedisResponsePB_RedisStatusCode = 1
	// Nil is when value is not found, but isn't an error case, eg. GET key when key has no value.
	RedisResponsePB_NIL RedisResponsePB_RedisStatusCode = 2
	// Not found is an error when an existing value is needed for the command, eg. RENAME.
	RedisResponsePB_NOT_FOUND       RedisResponsePB_RedisStatusCode = 5
	RedisResponsePB_UNKNOWN_COMMAND RedisResponsePB_RedisStatusCode = 3
	RedisResponsePB_WRONG_TYPE      RedisResponsePB_RedisStatusCode = 4
	// This code is set in the client to mark commands for which no response was received.
	// This happens when the batch RPC fails somewhere and the individual requests don't
	// get processed.
	RedisResponsePB_SERVER_ERROR        RedisResponsePB_RedisStatusCode = 6
	RedisResponsePB_INDEX_OUT_OF_BOUNDS RedisResponsePB_RedisStatusCode = 7
	RedisResponsePB_PARSING_ERROR       RedisResponsePB_RedisStatusCode = 8
)

func (RedisResponsePB_RedisStatusCode) Descriptor

func (RedisResponsePB_RedisStatusCode) Enum

func (RedisResponsePB_RedisStatusCode) EnumDescriptor deprecated

func (RedisResponsePB_RedisStatusCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisResponsePB_RedisStatusCode.Descriptor instead.

func (RedisResponsePB_RedisStatusCode) Number

func (RedisResponsePB_RedisStatusCode) String

func (RedisResponsePB_RedisStatusCode) Type

func (*RedisResponsePB_RedisStatusCode) UnmarshalJSON deprecated

func (x *RedisResponsePB_RedisStatusCode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RedisResponsePB_StatusResponse

type RedisResponsePB_StatusResponse struct {
	StatusResponse []byte `protobuf:"bytes,5,opt,name=status_response,json=statusResponse,oneof"`
}

type RedisResponsePB_StringResponse

type RedisResponsePB_StringResponse struct {
	StringResponse []byte `protobuf:"bytes,3,opt,name=string_response,json=stringResponse,oneof"`
}

type RedisSetRangeRequestPB

type RedisSetRangeRequestPB struct {
	Offset *int32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` // Required
	// contains filtered or unexported fields
}

SETRANGE

func (*RedisSetRangeRequestPB) Descriptor deprecated

func (*RedisSetRangeRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisSetRangeRequestPB.ProtoReflect.Descriptor instead.

func (*RedisSetRangeRequestPB) GetOffset

func (x *RedisSetRangeRequestPB) GetOffset() int32

func (*RedisSetRangeRequestPB) ProtoMessage

func (*RedisSetRangeRequestPB) ProtoMessage()

func (*RedisSetRangeRequestPB) ProtoReflect

func (x *RedisSetRangeRequestPB) ProtoReflect() protoreflect.Message

func (*RedisSetRangeRequestPB) Reset

func (x *RedisSetRangeRequestPB) Reset()

func (*RedisSetRangeRequestPB) String

func (x *RedisSetRangeRequestPB) String() string

type RedisSetRequestPB

type RedisSetRequestPB struct {
	ExpectOkResponse *bool               `protobuf:"varint,1,opt,name=expect_ok_response,json=expectOkResponse,def=0" json:"expect_ok_response,omitempty"`
	Ttl              *int64              `protobuf:"varint,2,opt,name=ttl,def=-1" json:"ttl,omitempty"` // Expiration time in milliseconds.
	Mode             *RedisWriteMode     `protobuf:"varint,3,opt,name=mode,enum=yb.RedisWriteMode,def=1" json:"mode,omitempty"`
	SortedSetOptions *SortedSetOptionsPB `protobuf:"bytes,14,opt,name=sorted_set_options,json=sortedSetOptions" json:"sorted_set_options,omitempty"`
	// contains filtered or unexported fields
}

SET, SETNX, SETXX, HSET, HSETNX, LSET, MSET, HMSET, MSETNX

func (*RedisSetRequestPB) Descriptor deprecated

func (*RedisSetRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisSetRequestPB.ProtoReflect.Descriptor instead.

func (*RedisSetRequestPB) GetExpectOkResponse

func (x *RedisSetRequestPB) GetExpectOkResponse() bool

func (*RedisSetRequestPB) GetMode

func (x *RedisSetRequestPB) GetMode() RedisWriteMode

func (*RedisSetRequestPB) GetSortedSetOptions

func (x *RedisSetRequestPB) GetSortedSetOptions() *SortedSetOptionsPB

func (*RedisSetRequestPB) GetTtl

func (x *RedisSetRequestPB) GetTtl() int64

func (*RedisSetRequestPB) ProtoMessage

func (*RedisSetRequestPB) ProtoMessage()

func (*RedisSetRequestPB) ProtoReflect

func (x *RedisSetRequestPB) ProtoReflect() protoreflect.Message

func (*RedisSetRequestPB) Reset

func (x *RedisSetRequestPB) Reset()

func (*RedisSetRequestPB) String

func (x *RedisSetRequestPB) String() string

type RedisSetTtlRequestPB

type RedisSetTtlRequestPB struct {

	// Expiration time in milliseconds.
	//
	// Types that are assignable to Expiration:
	//	*RedisSetTtlRequestPB_Ttl
	//	*RedisSetTtlRequestPB_AbsoluteTime
	Expiration isRedisSetTtlRequestPB_Expiration `protobuf_oneof:"expiration"`
	// contains filtered or unexported fields
}

PERSIST, (P)EXPIRE, (P)EXPIREAT

func (*RedisSetTtlRequestPB) Descriptor deprecated

func (*RedisSetTtlRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisSetTtlRequestPB.ProtoReflect.Descriptor instead.

func (*RedisSetTtlRequestPB) GetAbsoluteTime

func (x *RedisSetTtlRequestPB) GetAbsoluteTime() int64

func (*RedisSetTtlRequestPB) GetExpiration

func (m *RedisSetTtlRequestPB) GetExpiration() isRedisSetTtlRequestPB_Expiration

func (*RedisSetTtlRequestPB) GetTtl

func (x *RedisSetTtlRequestPB) GetTtl() int64

func (*RedisSetTtlRequestPB) ProtoMessage

func (*RedisSetTtlRequestPB) ProtoMessage()

func (*RedisSetTtlRequestPB) ProtoReflect

func (x *RedisSetTtlRequestPB) ProtoReflect() protoreflect.Message

func (*RedisSetTtlRequestPB) Reset

func (x *RedisSetTtlRequestPB) Reset()

func (*RedisSetTtlRequestPB) String

func (x *RedisSetTtlRequestPB) String() string

type RedisSetTtlRequestPB_AbsoluteTime

type RedisSetTtlRequestPB_AbsoluteTime struct {
	AbsoluteTime int64 `protobuf:"varint,2,opt,name=absolute_time,json=absoluteTime,oneof"` // For (P)EXPIREAT
}

type RedisSetTtlRequestPB_Ttl

type RedisSetTtlRequestPB_Ttl struct {
	Ttl int64 `protobuf:"varint,1,opt,name=ttl,oneof,def=-1"` // For (P)EXPIRE
}

type RedisSide

type RedisSide int32

This enum is used to specify the side of a list (For LPOP or RPOP etc.).

const (
	RedisSide_REDIS_SIDE_LEFT  RedisSide = 1
	RedisSide_REDIS_SIDE_RIGHT RedisSide = 2
)

func (RedisSide) Descriptor

func (RedisSide) Descriptor() protoreflect.EnumDescriptor

func (RedisSide) Enum

func (x RedisSide) Enum() *RedisSide

func (RedisSide) EnumDescriptor deprecated

func (RedisSide) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisSide.Descriptor instead.

func (RedisSide) Number

func (x RedisSide) Number() protoreflect.EnumNumber

func (RedisSide) String

func (x RedisSide) String() string

func (RedisSide) Type

func (*RedisSide) UnmarshalJSON deprecated

func (x *RedisSide) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RedisStatementsDetailsPB

type RedisStatementsDetailsPB struct {
	RedisString *string `protobuf:"bytes,1,opt,name=redis_string,json=redisString" json:"redis_string,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisStatementsDetailsPB) Descriptor deprecated

func (*RedisStatementsDetailsPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisStatementsDetailsPB.ProtoReflect.Descriptor instead.

func (*RedisStatementsDetailsPB) GetRedisString

func (x *RedisStatementsDetailsPB) GetRedisString() string

func (*RedisStatementsDetailsPB) ProtoMessage

func (*RedisStatementsDetailsPB) ProtoMessage()

func (*RedisStatementsDetailsPB) ProtoReflect

func (x *RedisStatementsDetailsPB) ProtoReflect() protoreflect.Message

func (*RedisStatementsDetailsPB) Reset

func (x *RedisStatementsDetailsPB) Reset()

func (*RedisStatementsDetailsPB) String

func (x *RedisStatementsDetailsPB) String() string

type RedisStrLenRequestPB

type RedisStrLenRequestPB struct {
	// contains filtered or unexported fields
}

STRLEN, HSTRLEN

func (*RedisStrLenRequestPB) Descriptor deprecated

func (*RedisStrLenRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisStrLenRequestPB.ProtoReflect.Descriptor instead.

func (*RedisStrLenRequestPB) ProtoMessage

func (*RedisStrLenRequestPB) ProtoMessage()

func (*RedisStrLenRequestPB) ProtoReflect

func (x *RedisStrLenRequestPB) ProtoReflect() protoreflect.Message

func (*RedisStrLenRequestPB) Reset

func (x *RedisStrLenRequestPB) Reset()

func (*RedisStrLenRequestPB) String

func (x *RedisStrLenRequestPB) String() string

type RedisSubKeyBoundPB

type RedisSubKeyBoundPB struct {
	SubkeyBound  *RedisKeyValueSubKeyPB           `protobuf:"bytes,3,opt,name=subkey_bound,json=subkeyBound" json:"subkey_bound,omitempty"`
	InfinityType *RedisSubKeyBoundPB_InfinityType `` /* 131-byte string literal not displayed */
	IsExclusive  *bool                            `protobuf:"varint,6,opt,name=is_exclusive,json=isExclusive,def=0" json:"is_exclusive,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for a subkey which denotes an upper/lower bound for a range request.

func (*RedisSubKeyBoundPB) Descriptor deprecated

func (*RedisSubKeyBoundPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisSubKeyBoundPB.ProtoReflect.Descriptor instead.

func (*RedisSubKeyBoundPB) GetInfinityType

func (*RedisSubKeyBoundPB) GetIsExclusive

func (x *RedisSubKeyBoundPB) GetIsExclusive() bool

func (*RedisSubKeyBoundPB) GetSubkeyBound

func (x *RedisSubKeyBoundPB) GetSubkeyBound() *RedisKeyValueSubKeyPB

func (*RedisSubKeyBoundPB) ProtoMessage

func (*RedisSubKeyBoundPB) ProtoMessage()

func (*RedisSubKeyBoundPB) ProtoReflect

func (x *RedisSubKeyBoundPB) ProtoReflect() protoreflect.Message

func (*RedisSubKeyBoundPB) Reset

func (x *RedisSubKeyBoundPB) Reset()

func (*RedisSubKeyBoundPB) String

func (x *RedisSubKeyBoundPB) String() string

type RedisSubKeyBoundPB_InfinityType

type RedisSubKeyBoundPB_InfinityType int32
const (
	RedisSubKeyBoundPB_POSITIVE RedisSubKeyBoundPB_InfinityType = 1
	RedisSubKeyBoundPB_NEGATIVE RedisSubKeyBoundPB_InfinityType = 2
)

func (RedisSubKeyBoundPB_InfinityType) Descriptor

func (RedisSubKeyBoundPB_InfinityType) Enum

func (RedisSubKeyBoundPB_InfinityType) EnumDescriptor deprecated

func (RedisSubKeyBoundPB_InfinityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisSubKeyBoundPB_InfinityType.Descriptor instead.

func (RedisSubKeyBoundPB_InfinityType) Number

func (RedisSubKeyBoundPB_InfinityType) String

func (RedisSubKeyBoundPB_InfinityType) Type

func (*RedisSubKeyBoundPB_InfinityType) UnmarshalJSON deprecated

func (x *RedisSubKeyBoundPB_InfinityType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RedisSubKeyRangePB

type RedisSubKeyRangePB struct {
	LowerBound *RedisSubKeyBoundPB `protobuf:"bytes,1,opt,name=lower_bound,json=lowerBound" json:"lower_bound,omitempty"`
	UpperBound *RedisSubKeyBoundPB `protobuf:"bytes,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"`
	// contains filtered or unexported fields
}

func (*RedisSubKeyRangePB) Descriptor deprecated

func (*RedisSubKeyRangePB) Descriptor() ([]byte, []int)

Deprecated: Use RedisSubKeyRangePB.ProtoReflect.Descriptor instead.

func (*RedisSubKeyRangePB) GetLowerBound

func (x *RedisSubKeyRangePB) GetLowerBound() *RedisSubKeyBoundPB

func (*RedisSubKeyRangePB) GetUpperBound

func (x *RedisSubKeyRangePB) GetUpperBound() *RedisSubKeyBoundPB

func (*RedisSubKeyRangePB) ProtoMessage

func (*RedisSubKeyRangePB) ProtoMessage()

func (*RedisSubKeyRangePB) ProtoReflect

func (x *RedisSubKeyRangePB) ProtoReflect() protoreflect.Message

func (*RedisSubKeyRangePB) Reset

func (x *RedisSubKeyRangePB) Reset()

func (*RedisSubKeyRangePB) String

func (x *RedisSubKeyRangePB) String() string

type RedisWriteMode

type RedisWriteMode int32
const (
	RedisWriteMode_REDIS_WRITEMODE_UPSERT RedisWriteMode = 1
	RedisWriteMode_REDIS_WRITEMODE_INSERT RedisWriteMode = 2
	RedisWriteMode_REDIS_WRITEMODE_UPDATE RedisWriteMode = 3
)

func (RedisWriteMode) Descriptor

func (RedisWriteMode) Enum

func (x RedisWriteMode) Enum() *RedisWriteMode

func (RedisWriteMode) EnumDescriptor deprecated

func (RedisWriteMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use RedisWriteMode.Descriptor instead.

func (RedisWriteMode) Number

func (RedisWriteMode) String

func (x RedisWriteMode) String() string

func (RedisWriteMode) Type

func (*RedisWriteMode) UnmarshalJSON deprecated

func (x *RedisWriteMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RedisWriteRequestPB

type RedisWriteRequestPB struct {

	// Types that are assignable to Request:
	//	*RedisWriteRequestPB_SetRequest
	//	*RedisWriteRequestPB_GetsetRequest
	//	*RedisWriteRequestPB_AppendRequest
	//	*RedisWriteRequestPB_DelRequest
	//	*RedisWriteRequestPB_SetRangeRequest
	//	*RedisWriteRequestPB_IncrRequest
	//	*RedisWriteRequestPB_PushRequest
	//	*RedisWriteRequestPB_InsertRequest
	//	*RedisWriteRequestPB_PopRequest
	//	*RedisWriteRequestPB_AddRequest
	//	*RedisWriteRequestPB_SetTtlRequest
	//	*RedisWriteRequestPB_NoOpRequest
	Request  isRedisWriteRequestPB_Request `protobuf_oneof:"request"`
	KeyValue *RedisKeyValuePB              `protobuf:"bytes,13,opt,name=key_value,json=keyValue" json:"key_value,omitempty"`
	// contains filtered or unexported fields
}

A single Redis request. Some user commands like MGET should be split into multiple of these.

func (*RedisWriteRequestPB) Descriptor deprecated

func (*RedisWriteRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RedisWriteRequestPB.ProtoReflect.Descriptor instead.

func (*RedisWriteRequestPB) GetAddRequest

func (x *RedisWriteRequestPB) GetAddRequest() *RedisAddRequestPB

func (*RedisWriteRequestPB) GetAppendRequest

func (x *RedisWriteRequestPB) GetAppendRequest() *RedisAppendRequestPB

func (*RedisWriteRequestPB) GetDelRequest

func (x *RedisWriteRequestPB) GetDelRequest() *RedisDelRequestPB

func (*RedisWriteRequestPB) GetGetsetRequest

func (x *RedisWriteRequestPB) GetGetsetRequest() *RedisGetSetRequestPB

func (*RedisWriteRequestPB) GetIncrRequest

func (x *RedisWriteRequestPB) GetIncrRequest() *RedisIncrRequestPB

func (*RedisWriteRequestPB) GetInsertRequest

func (x *RedisWriteRequestPB) GetInsertRequest() *RedisInsertRequestPB

func (*RedisWriteRequestPB) GetKeyValue

func (x *RedisWriteRequestPB) GetKeyValue() *RedisKeyValuePB

func (*RedisWriteRequestPB) GetNoOpRequest

func (x *RedisWriteRequestPB) GetNoOpRequest() *RedisNoOpRequestPB

func (*RedisWriteRequestPB) GetPopRequest

func (x *RedisWriteRequestPB) GetPopRequest() *RedisPopRequestPB

func (*RedisWriteRequestPB) GetPushRequest

func (x *RedisWriteRequestPB) GetPushRequest() *RedisPushRequestPB

func (*RedisWriteRequestPB) GetRequest

func (m *RedisWriteRequestPB) GetRequest() isRedisWriteRequestPB_Request

func (*RedisWriteRequestPB) GetSetRangeRequest

func (x *RedisWriteRequestPB) GetSetRangeRequest() *RedisSetRangeRequestPB

func (*RedisWriteRequestPB) GetSetRequest

func (x *RedisWriteRequestPB) GetSetRequest() *RedisSetRequestPB

func (*RedisWriteRequestPB) GetSetTtlRequest

func (x *RedisWriteRequestPB) GetSetTtlRequest() *RedisSetTtlRequestPB

func (*RedisWriteRequestPB) ProtoMessage

func (*RedisWriteRequestPB) ProtoMessage()

func (*RedisWriteRequestPB) ProtoReflect

func (x *RedisWriteRequestPB) ProtoReflect() protoreflect.Message

func (*RedisWriteRequestPB) Reset

func (x *RedisWriteRequestPB) Reset()

func (*RedisWriteRequestPB) String

func (x *RedisWriteRequestPB) String() string

type RedisWriteRequestPB_AddRequest

type RedisWriteRequestPB_AddRequest struct {
	AddRequest *RedisAddRequestPB `protobuf:"bytes,11,opt,name=add_request,json=addRequest,oneof"`
}

type RedisWriteRequestPB_AppendRequest

type RedisWriteRequestPB_AppendRequest struct {
	AppendRequest *RedisAppendRequestPB `protobuf:"bytes,4,opt,name=append_request,json=appendRequest,oneof"`
}

type RedisWriteRequestPB_DelRequest

type RedisWriteRequestPB_DelRequest struct {
	DelRequest *RedisDelRequestPB `protobuf:"bytes,5,opt,name=del_request,json=delRequest,oneof"`
}

type RedisWriteRequestPB_GetsetRequest

type RedisWriteRequestPB_GetsetRequest struct {
	GetsetRequest *RedisGetSetRequestPB `protobuf:"bytes,3,opt,name=getset_request,json=getsetRequest,oneof"`
}

type RedisWriteRequestPB_IncrRequest

type RedisWriteRequestPB_IncrRequest struct {
	IncrRequest *RedisIncrRequestPB `protobuf:"bytes,7,opt,name=incr_request,json=incrRequest,oneof"`
}

type RedisWriteRequestPB_InsertRequest

type RedisWriteRequestPB_InsertRequest struct {
	InsertRequest *RedisInsertRequestPB `protobuf:"bytes,9,opt,name=insert_request,json=insertRequest,oneof"`
}

type RedisWriteRequestPB_NoOpRequest

type RedisWriteRequestPB_NoOpRequest struct {
	NoOpRequest *RedisNoOpRequestPB `protobuf:"bytes,14,opt,name=no_op_request,json=noOpRequest,oneof"`
}

type RedisWriteRequestPB_PopRequest

type RedisWriteRequestPB_PopRequest struct {
	PopRequest *RedisPopRequestPB `protobuf:"bytes,10,opt,name=pop_request,json=popRequest,oneof"`
}

type RedisWriteRequestPB_PushRequest

type RedisWriteRequestPB_PushRequest struct {
	PushRequest *RedisPushRequestPB `protobuf:"bytes,8,opt,name=push_request,json=pushRequest,oneof"`
}

type RedisWriteRequestPB_SetRangeRequest

type RedisWriteRequestPB_SetRangeRequest struct {
	SetRangeRequest *RedisSetRangeRequestPB `protobuf:"bytes,6,opt,name=set_range_request,json=setRangeRequest,oneof"`
}

type RedisWriteRequestPB_SetRequest

type RedisWriteRequestPB_SetRequest struct {
	// Only one of the following fields should be set.
	SetRequest *RedisSetRequestPB `protobuf:"bytes,2,opt,name=set_request,json=setRequest,oneof"`
}

type RedisWriteRequestPB_SetTtlRequest

type RedisWriteRequestPB_SetTtlRequest struct {
	SetTtlRequest *RedisSetTtlRequestPB `protobuf:"bytes,12,opt,name=set_ttl_request,json=setTtlRequest,oneof"`
}

type RefreshFlagsRequestPB

type RefreshFlagsRequestPB struct {
	// contains filtered or unexported fields
}

func (*RefreshFlagsRequestPB) Descriptor deprecated

func (*RefreshFlagsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RefreshFlagsRequestPB.ProtoReflect.Descriptor instead.

func (*RefreshFlagsRequestPB) ProtoMessage

func (*RefreshFlagsRequestPB) ProtoMessage()

func (*RefreshFlagsRequestPB) ProtoReflect

func (x *RefreshFlagsRequestPB) ProtoReflect() protoreflect.Message

func (*RefreshFlagsRequestPB) Reset

func (x *RefreshFlagsRequestPB) Reset()

func (*RefreshFlagsRequestPB) String

func (x *RefreshFlagsRequestPB) String() string

type RefreshFlagsResponsePB

type RefreshFlagsResponsePB struct {
	// contains filtered or unexported fields
}

func (*RefreshFlagsResponsePB) Descriptor deprecated

func (*RefreshFlagsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RefreshFlagsResponsePB.ProtoReflect.Descriptor instead.

func (*RefreshFlagsResponsePB) ProtoMessage

func (*RefreshFlagsResponsePB) ProtoMessage()

func (*RefreshFlagsResponsePB) ProtoReflect

func (x *RefreshFlagsResponsePB) ProtoReflect() protoreflect.Message

func (*RefreshFlagsResponsePB) Reset

func (x *RefreshFlagsResponsePB) Reset()

func (*RefreshFlagsResponsePB) String

func (x *RefreshFlagsResponsePB) String() string

type RelationType

type RelationType int32
const (
	RelationType_SYSTEM_TABLE_RELATION RelationType = 1
	RelationType_USER_TABLE_RELATION   RelationType = 2
	RelationType_INDEX_TABLE_RELATION  RelationType = 3
)

func (RelationType) Descriptor

func (RelationType) Enum

func (x RelationType) Enum() *RelationType

func (RelationType) EnumDescriptor deprecated

func (RelationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RelationType.Descriptor instead.

func (RelationType) Number

func (RelationType) String

func (x RelationType) String() string

func (RelationType) Type

func (*RelationType) UnmarshalJSON deprecated

func (x *RelationType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RemoteBootstrapErrorPB

type RemoteBootstrapErrorPB struct {

	// The error code.
	Code *RemoteBootstrapErrorPB_Code `protobuf:"varint,1,req,name=code,enum=yb.tserver.RemoteBootstrapErrorPB_Code,def=1" json:"code,omitempty"`
	// The Status object for the error. This will include a textual
	// message that may be more useful to present in log messages, etc,
	// though its error code is less specific.
	Status *AppStatusPB `protobuf:"bytes,2,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Remote bootstrap-specific errors use this protobuf.

func (*RemoteBootstrapErrorPB) Descriptor deprecated

func (*RemoteBootstrapErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use RemoteBootstrapErrorPB.ProtoReflect.Descriptor instead.

func (*RemoteBootstrapErrorPB) GetCode

func (*RemoteBootstrapErrorPB) GetStatus

func (x *RemoteBootstrapErrorPB) GetStatus() *AppStatusPB

func (*RemoteBootstrapErrorPB) ProtoMessage

func (*RemoteBootstrapErrorPB) ProtoMessage()

func (*RemoteBootstrapErrorPB) ProtoReflect

func (x *RemoteBootstrapErrorPB) ProtoReflect() protoreflect.Message

func (*RemoteBootstrapErrorPB) Reset

func (x *RemoteBootstrapErrorPB) Reset()

func (*RemoteBootstrapErrorPB) String

func (x *RemoteBootstrapErrorPB) String() string

type RemoteBootstrapErrorPB_Code

type RemoteBootstrapErrorPB_Code int32
const (
	// An error which has no more specific error code.
	// The code and message in 'status' may reveal more details.
	//
	// RPCs should avoid returning this, since callers will not be
	// able to easily parse the error.
	RemoteBootstrapErrorPB_UNKNOWN_ERROR RemoteBootstrapErrorPB_Code = 1
	// The specified remote bootstrap session either never existed or has expired.
	RemoteBootstrapErrorPB_NO_SESSION RemoteBootstrapErrorPB_Code = 2
	// Unknown tablet.
	RemoteBootstrapErrorPB_TABLET_NOT_FOUND RemoteBootstrapErrorPB_Code = 3
	// Unknown data block.
	RemoteBootstrapErrorPB_BLOCK_NOT_FOUND RemoteBootstrapErrorPB_Code = 4
	// Unknown WAL segment.
	RemoteBootstrapErrorPB_WAL_SEGMENT_NOT_FOUND RemoteBootstrapErrorPB_Code = 5
	// Invalid request. Possibly missing parameters.
	RemoteBootstrapErrorPB_INVALID_REMOTE_BOOTSTRAP_REQUEST RemoteBootstrapErrorPB_Code = 6
	// Error reading or transferring data.
	RemoteBootstrapErrorPB_IO_ERROR RemoteBootstrapErrorPB_Code = 7
	// Unknown RocksDB file.
	RemoteBootstrapErrorPB_ROCKSDB_FILE_NOT_FOUND RemoteBootstrapErrorPB_Code = 8
)

func (RemoteBootstrapErrorPB_Code) Descriptor

func (RemoteBootstrapErrorPB_Code) Enum

func (RemoteBootstrapErrorPB_Code) EnumDescriptor deprecated

func (RemoteBootstrapErrorPB_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use RemoteBootstrapErrorPB_Code.Descriptor instead.

func (RemoteBootstrapErrorPB_Code) Number

func (RemoteBootstrapErrorPB_Code) String

func (RemoteBootstrapErrorPB_Code) Type

func (*RemoteBootstrapErrorPB_Code) UnmarshalJSON deprecated

func (x *RemoteBootstrapErrorPB_Code) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RemoteBootstrapServiceClient

type RemoteBootstrapServiceClient interface {
	// Establish a remote bootstrap session.
	BeginRemoteBootstrapSession(ctx context.Context, in *BeginRemoteBootstrapSessionRequestPB, opts ...grpc.CallOption) (*BeginRemoteBootstrapSessionResponsePB, error)
	// Check whether the specified session is active.
	CheckSessionActive(ctx context.Context, in *CheckRemoteBootstrapSessionActiveRequestPB, opts ...grpc.CallOption) (*CheckRemoteBootstrapSessionActiveResponsePB, error)
	// Fetch data (blocks, logs) from the server.
	FetchData(ctx context.Context, in *FetchDataRequestPB, opts ...grpc.CallOption) (*FetchDataResponsePB, error)
	// End a remote bootstrap session, allow server to release resources.
	EndRemoteBootstrapSession(ctx context.Context, in *EndRemoteBootstrapSessionRequestPB, opts ...grpc.CallOption) (*EndRemoteBootstrapSessionResponsePB, error)
	RemoveSession(ctx context.Context, in *RemoveSessionRequestPB, opts ...grpc.CallOption) (*RemoveSessionResponsePB, error)
}

RemoteBootstrapServiceClient is the client API for RemoteBootstrapService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type RemoteBootstrapServiceServer

type RemoteBootstrapServiceServer interface {
	// Establish a remote bootstrap session.
	BeginRemoteBootstrapSession(context.Context, *BeginRemoteBootstrapSessionRequestPB) (*BeginRemoteBootstrapSessionResponsePB, error)
	// Check whether the specified session is active.
	CheckSessionActive(context.Context, *CheckRemoteBootstrapSessionActiveRequestPB) (*CheckRemoteBootstrapSessionActiveResponsePB, error)
	// Fetch data (blocks, logs) from the server.
	FetchData(context.Context, *FetchDataRequestPB) (*FetchDataResponsePB, error)
	// End a remote bootstrap session, allow server to release resources.
	EndRemoteBootstrapSession(context.Context, *EndRemoteBootstrapSessionRequestPB) (*EndRemoteBootstrapSessionResponsePB, error)
	RemoveSession(context.Context, *RemoveSessionRequestPB) (*RemoveSessionResponsePB, error)
}

RemoteBootstrapServiceServer is the server API for RemoteBootstrapService service. All implementations should embed UnimplementedRemoteBootstrapServiceServer for forward compatibility

type RemoteMethodPB

type RemoteMethodPB struct {

	// Service name for the RPC layer.
	// The client created a proxy with this service name.
	// Example: yb.rpc_test.CalculatorService
	ServiceName *string `protobuf:"bytes,1,req,name=service_name,json=serviceName" json:"service_name,omitempty"`
	// Name of the RPC method.
	MethodName *string `protobuf:"bytes,2,req,name=method_name,json=methodName" json:"method_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoteMethodPB) Descriptor deprecated

func (*RemoteMethodPB) Descriptor() ([]byte, []int)

Deprecated: Use RemoteMethodPB.ProtoReflect.Descriptor instead.

func (*RemoteMethodPB) GetMethodName

func (x *RemoteMethodPB) GetMethodName() string

func (*RemoteMethodPB) GetServiceName

func (x *RemoteMethodPB) GetServiceName() string

func (*RemoteMethodPB) ProtoMessage

func (*RemoteMethodPB) ProtoMessage()

func (*RemoteMethodPB) ProtoReflect

func (x *RemoteMethodPB) ProtoReflect() protoreflect.Message

func (*RemoteMethodPB) Reset

func (x *RemoteMethodPB) Reset()

func (*RemoteMethodPB) String

func (x *RemoteMethodPB) String() string

type RemoveSessionRequestPB

type RemoveSessionRequestPB struct {
	SessionId []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveSessionRequestPB) Descriptor deprecated

func (*RemoveSessionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RemoveSessionRequestPB.ProtoReflect.Descriptor instead.

func (*RemoveSessionRequestPB) GetSessionId

func (x *RemoveSessionRequestPB) GetSessionId() []byte

func (*RemoveSessionRequestPB) ProtoMessage

func (*RemoveSessionRequestPB) ProtoMessage()

func (*RemoveSessionRequestPB) ProtoReflect

func (x *RemoveSessionRequestPB) ProtoReflect() protoreflect.Message

func (*RemoveSessionRequestPB) Reset

func (x *RemoveSessionRequestPB) Reset()

func (*RemoveSessionRequestPB) String

func (x *RemoveSessionRequestPB) String() string

type RemoveSessionResponsePB

type RemoveSessionResponsePB struct {
	// contains filtered or unexported fields
}

func (*RemoveSessionResponsePB) Descriptor deprecated

func (*RemoveSessionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RemoveSessionResponsePB.ProtoReflect.Descriptor instead.

func (*RemoveSessionResponsePB) ProtoMessage

func (*RemoveSessionResponsePB) ProtoMessage()

func (*RemoveSessionResponsePB) ProtoReflect

func (x *RemoveSessionResponsePB) ProtoReflect() protoreflect.Message

func (*RemoveSessionResponsePB) Reset

func (x *RemoveSessionResponsePB) Reset()

func (*RemoveSessionResponsePB) String

func (x *RemoveSessionResponsePB) String() string

type RemoveTableFromTabletRequestPB

type RemoveTableFromTabletRequestPB struct {
	TabletId      []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	RemoveTableId []byte `protobuf:"bytes,2,req,name=remove_table_id,json=removeTableId" json:"remove_table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTableFromTabletRequestPB) Descriptor deprecated

func (*RemoveTableFromTabletRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTableFromTabletRequestPB.ProtoReflect.Descriptor instead.

func (*RemoveTableFromTabletRequestPB) GetRemoveTableId

func (x *RemoveTableFromTabletRequestPB) GetRemoveTableId() []byte

func (*RemoveTableFromTabletRequestPB) GetTabletId

func (x *RemoveTableFromTabletRequestPB) GetTabletId() []byte

func (*RemoveTableFromTabletRequestPB) ProtoMessage

func (*RemoveTableFromTabletRequestPB) ProtoMessage()

func (*RemoveTableFromTabletRequestPB) ProtoReflect

func (*RemoveTableFromTabletRequestPB) Reset

func (x *RemoveTableFromTabletRequestPB) Reset()

func (*RemoveTableFromTabletRequestPB) String

type RemoveTableFromTabletResponsePB

type RemoveTableFromTabletResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTableFromTabletResponsePB) Descriptor deprecated

func (*RemoveTableFromTabletResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RemoveTableFromTabletResponsePB.ProtoReflect.Descriptor instead.

func (*RemoveTableFromTabletResponsePB) GetError

func (*RemoveTableFromTabletResponsePB) GetPropagatedHybridTime

func (x *RemoveTableFromTabletResponsePB) GetPropagatedHybridTime() uint64

func (*RemoveTableFromTabletResponsePB) ProtoMessage

func (*RemoveTableFromTabletResponsePB) ProtoMessage()

func (*RemoveTableFromTabletResponsePB) ProtoReflect

func (*RemoveTableFromTabletResponsePB) Reset

func (*RemoveTableFromTabletResponsePB) String

type RemovedMasterUpdateRequestPB

type RemovedMasterUpdateRequestPB struct {
	// contains filtered or unexported fields
}

Update an ex-peer about its removal from the cluster.

func (*RemovedMasterUpdateRequestPB) Descriptor deprecated

func (*RemovedMasterUpdateRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RemovedMasterUpdateRequestPB.ProtoReflect.Descriptor instead.

func (*RemovedMasterUpdateRequestPB) ProtoMessage

func (*RemovedMasterUpdateRequestPB) ProtoMessage()

func (*RemovedMasterUpdateRequestPB) ProtoReflect

func (*RemovedMasterUpdateRequestPB) Reset

func (x *RemovedMasterUpdateRequestPB) Reset()

func (*RemovedMasterUpdateRequestPB) String

type RemovedMasterUpdateResponsePB

type RemovedMasterUpdateResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovedMasterUpdateResponsePB) Descriptor deprecated

func (*RemovedMasterUpdateResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RemovedMasterUpdateResponsePB.ProtoReflect.Descriptor instead.

func (*RemovedMasterUpdateResponsePB) GetError

func (*RemovedMasterUpdateResponsePB) ProtoMessage

func (*RemovedMasterUpdateResponsePB) ProtoMessage()

func (*RemovedMasterUpdateResponsePB) ProtoReflect

func (*RemovedMasterUpdateResponsePB) Reset

func (x *RemovedMasterUpdateResponsePB) Reset()

func (*RemovedMasterUpdateResponsePB) String

type ReplicateMsg

type ReplicateMsg struct {
	Id *OpIdPB `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// The hybrid time assigned to this message.
	HybridTime *uint64 `protobuf:"fixed64,2,req,name=hybrid_time,json=hybridTime" json:"hybrid_time,omitempty"`
	// A counter that is forever increasing in a tablet (like hybrid time). Used for list indexing.
	MonotonicCounter      *int64                     `protobuf:"varint,9,opt,name=monotonic_counter,json=monotonicCounter" json:"monotonic_counter,omitempty"`
	OpType                *OperationType             `protobuf:"varint,4,req,name=op_type,json=opType,enum=yb.consensus.OperationType" json:"op_type,omitempty"`
	Write                 *WritePB                   `protobuf:"bytes,5,opt,name=write" json:"write,omitempty"`
	ChangeMetadataRequest *ChangeMetadataRequestPB   `protobuf:"bytes,6,opt,name=change_metadata_request,json=changeMetadataRequest" json:"change_metadata_request,omitempty"`
	TransactionState      *TransactionStatePB        `protobuf:"bytes,10,opt,name=transaction_state,json=transactionState" json:"transaction_state,omitempty"`
	SnapshotRequest       *TabletSnapshotOpRequestPB `protobuf:"bytes,11,opt,name=snapshot_request,json=snapshotRequest" json:"snapshot_request,omitempty"`
	Truncate              *TruncatePB                `protobuf:"bytes,12,opt,name=truncate" json:"truncate,omitempty"`
	SplitRequest          *SplitTabletRequestPB      `protobuf:"bytes,14,opt,name=split_request,json=splitRequest" json:"split_request,omitempty"`
	ChangeConfigRecord    *ChangeConfigRecordPB      `protobuf:"bytes,7,opt,name=change_config_record,json=changeConfigRecord" json:"change_config_record,omitempty"`
	HistoryCutoff         *HistoryCutoffPB           `protobuf:"bytes,13,opt,name=history_cutoff,json=historyCutoff" json:"history_cutoff,omitempty"`
	// The Raft operation ID known to the leader to be committed at the time this message was sent.
	// This is used during tablet bootstrap for RocksDB-backed tables.
	CommittedOpId *OpIdPB                 `protobuf:"bytes,8,opt,name=committed_op_id,json=committedOpId" json:"committed_op_id,omitempty"`
	NoopRequest   *ConsensusNoOpRequestPB `protobuf:"bytes,999,opt,name=noop_request,json=noopRequest" json:"noop_request,omitempty"`
	// contains filtered or unexported fields
}

A Replicate message, sent to replicas by leader to indicate this operation must be stored in the write-ahead log.

func (*ReplicateMsg) Descriptor deprecated

func (*ReplicateMsg) Descriptor() ([]byte, []int)

Deprecated: Use ReplicateMsg.ProtoReflect.Descriptor instead.

func (*ReplicateMsg) GetChangeConfigRecord

func (x *ReplicateMsg) GetChangeConfigRecord() *ChangeConfigRecordPB

func (*ReplicateMsg) GetChangeMetadataRequest

func (x *ReplicateMsg) GetChangeMetadataRequest() *ChangeMetadataRequestPB

func (*ReplicateMsg) GetCommittedOpId

func (x *ReplicateMsg) GetCommittedOpId() *OpIdPB

func (*ReplicateMsg) GetHistoryCutoff

func (x *ReplicateMsg) GetHistoryCutoff() *HistoryCutoffPB

func (*ReplicateMsg) GetHybridTime

func (x *ReplicateMsg) GetHybridTime() uint64

func (*ReplicateMsg) GetId

func (x *ReplicateMsg) GetId() *OpIdPB

func (*ReplicateMsg) GetMonotonicCounter

func (x *ReplicateMsg) GetMonotonicCounter() int64

func (*ReplicateMsg) GetNoopRequest

func (x *ReplicateMsg) GetNoopRequest() *ConsensusNoOpRequestPB

func (*ReplicateMsg) GetOpType

func (x *ReplicateMsg) GetOpType() OperationType

func (*ReplicateMsg) GetSnapshotRequest

func (x *ReplicateMsg) GetSnapshotRequest() *TabletSnapshotOpRequestPB

func (*ReplicateMsg) GetSplitRequest

func (x *ReplicateMsg) GetSplitRequest() *SplitTabletRequestPB

func (*ReplicateMsg) GetTransactionState

func (x *ReplicateMsg) GetTransactionState() *TransactionStatePB

func (*ReplicateMsg) GetTruncate added in v2.11.2

func (x *ReplicateMsg) GetTruncate() *TruncatePB

func (*ReplicateMsg) GetWrite added in v2.11.2

func (x *ReplicateMsg) GetWrite() *WritePB

func (*ReplicateMsg) ProtoMessage

func (*ReplicateMsg) ProtoMessage()

func (*ReplicateMsg) ProtoReflect

func (x *ReplicateMsg) ProtoReflect() protoreflect.Message

func (*ReplicateMsg) Reset

func (x *ReplicateMsg) Reset()

func (*ReplicateMsg) String

func (x *ReplicateMsg) String() string

type ReplicationInfoPB

type ReplicationInfoPB struct {
	LiveReplicas       *PlacementInfoPB   `protobuf:"bytes,1,opt,name=live_replicas,json=liveReplicas" json:"live_replicas,omitempty"`
	ReadReplicas       []*PlacementInfoPB `protobuf:"bytes,2,rep,name=read_replicas,json=readReplicas" json:"read_replicas,omitempty"`
	AffinitizedLeaders []*CloudInfoPB     `protobuf:"bytes,3,rep,name=affinitized_leaders,json=affinitizedLeaders" json:"affinitized_leaders,omitempty"`
	// contains filtered or unexported fields
}

Higher level structure to keep track of all types of replicas configured. This will have, at a minimum, the information about the replicas that are supposed to be active members of the raft configs, but can also include extra information, such as read only replicas.

func (*ReplicationInfoPB) Descriptor deprecated

func (*ReplicationInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use ReplicationInfoPB.ProtoReflect.Descriptor instead.

func (*ReplicationInfoPB) GetAffinitizedLeaders

func (x *ReplicationInfoPB) GetAffinitizedLeaders() []*CloudInfoPB

func (*ReplicationInfoPB) GetLiveReplicas

func (x *ReplicationInfoPB) GetLiveReplicas() *PlacementInfoPB

func (*ReplicationInfoPB) GetReadReplicas

func (x *ReplicationInfoPB) GetReadReplicas() []*PlacementInfoPB

func (*ReplicationInfoPB) ProtoMessage

func (*ReplicationInfoPB) ProtoMessage()

func (*ReplicationInfoPB) ProtoReflect

func (x *ReplicationInfoPB) ProtoReflect() protoreflect.Message

func (*ReplicationInfoPB) Reset

func (x *ReplicationInfoPB) Reset()

func (*ReplicationInfoPB) String

func (x *ReplicationInfoPB) String() string

type ReportedTabletPB

type ReportedTabletPB struct {
	TabletId        []byte            `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	State           *RaftGroupStatePB `protobuf:"varint,2,opt,name=state,enum=yb.tablet.RaftGroupStatePB,def=999" json:"state,omitempty"`
	TabletDataState *TabletDataState  `` /* 141-byte string literal not displayed */
	// The latest _committed_ consensus state.
	// This will be missing if the tablet is not in a RUNNING state
	// (i.e. if it is BOOTSTRAPPING).
	CommittedConsensusState *ConsensusStatePB `protobuf:"bytes,3,opt,name=committed_consensus_state,json=committedConsensusState" json:"committed_consensus_state,omitempty"`
	Error                   *AppStatusPB      `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
	SchemaVersion           *uint32           `protobuf:"varint,5,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	// Replica is reporting that load balancer moves should be disabled
	ShouldDisableLbMove *bool  `protobuf:"varint,7,opt,name=should_disable_lb_move,json=shouldDisableLbMove" json:"should_disable_lb_move,omitempty"`
	FsDataDir           []byte `protobuf:"bytes,8,opt,name=fs_data_dir,json=fsDataDir" json:"fs_data_dir,omitempty"`
	// Is the tablet hidden.
	IsHidden *bool `protobuf:"varint,9,opt,name=is_hidden,json=isHidden" json:"is_hidden,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportedTabletPB) Descriptor deprecated

func (*ReportedTabletPB) Descriptor() ([]byte, []int)

Deprecated: Use ReportedTabletPB.ProtoReflect.Descriptor instead.

func (*ReportedTabletPB) GetCommittedConsensusState

func (x *ReportedTabletPB) GetCommittedConsensusState() *ConsensusStatePB

func (*ReportedTabletPB) GetError

func (x *ReportedTabletPB) GetError() *AppStatusPB

func (*ReportedTabletPB) GetFsDataDir

func (x *ReportedTabletPB) GetFsDataDir() []byte

func (*ReportedTabletPB) GetIsHidden added in v2.11.0

func (x *ReportedTabletPB) GetIsHidden() bool

func (*ReportedTabletPB) GetSchemaVersion

func (x *ReportedTabletPB) GetSchemaVersion() uint32

func (*ReportedTabletPB) GetShouldDisableLbMove

func (x *ReportedTabletPB) GetShouldDisableLbMove() bool

func (*ReportedTabletPB) GetState

func (x *ReportedTabletPB) GetState() RaftGroupStatePB

func (*ReportedTabletPB) GetTabletDataState

func (x *ReportedTabletPB) GetTabletDataState() TabletDataState

func (*ReportedTabletPB) GetTabletId

func (x *ReportedTabletPB) GetTabletId() []byte

func (*ReportedTabletPB) ProtoMessage

func (*ReportedTabletPB) ProtoMessage()

func (*ReportedTabletPB) ProtoReflect

func (x *ReportedTabletPB) ProtoReflect() protoreflect.Message

func (*ReportedTabletPB) Reset

func (x *ReportedTabletPB) Reset()

func (*ReportedTabletPB) String

func (x *ReportedTabletPB) String() string

type ReportedTabletUpdatesPB

type ReportedTabletUpdatesPB struct {
	TabletId []byte  `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	StateMsg *string `protobuf:"bytes,2,opt,name=state_msg,json=stateMsg" json:"state_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*ReportedTabletUpdatesPB) Descriptor deprecated

func (*ReportedTabletUpdatesPB) Descriptor() ([]byte, []int)

Deprecated: Use ReportedTabletUpdatesPB.ProtoReflect.Descriptor instead.

func (*ReportedTabletUpdatesPB) GetStateMsg

func (x *ReportedTabletUpdatesPB) GetStateMsg() string

func (*ReportedTabletUpdatesPB) GetTabletId

func (x *ReportedTabletUpdatesPB) GetTabletId() []byte

func (*ReportedTabletUpdatesPB) ProtoMessage

func (*ReportedTabletUpdatesPB) ProtoMessage()

func (*ReportedTabletUpdatesPB) ProtoReflect

func (x *ReportedTabletUpdatesPB) ProtoReflect() protoreflect.Message

func (*ReportedTabletUpdatesPB) Reset

func (x *ReportedTabletUpdatesPB) Reset()

func (*ReportedTabletUpdatesPB) String

func (x *ReportedTabletUpdatesPB) String() string

type ReqDiffPackagePB

type ReqDiffPackagePB struct {
	// contains filtered or unexported fields
}

func (*ReqDiffPackagePB) Descriptor deprecated

func (*ReqDiffPackagePB) Descriptor() ([]byte, []int)

Deprecated: Use ReqDiffPackagePB.ProtoReflect.Descriptor instead.

func (*ReqDiffPackagePB) ProtoMessage

func (*ReqDiffPackagePB) ProtoMessage()

func (*ReqDiffPackagePB) ProtoReflect

func (x *ReqDiffPackagePB) ProtoReflect() protoreflect.Message

func (*ReqDiffPackagePB) Reset

func (x *ReqDiffPackagePB) Reset()

func (*ReqDiffPackagePB) String

func (x *ReqDiffPackagePB) String() string

type RequestHeader

type RequestHeader struct {

	// A sequence number that is sent back in the Response. Hadoop specifies a uint32 and
	// casts it to a signed int. That is counterintuitive, so we use an int32 instead.
	// Allowed values (inherited from Hadoop):
	//   0 through INT32_MAX: Regular RPC call IDs.
	//   -2: Invalid call ID.
	//   -3: Connection context call ID.
	//   -33: SASL negotiation call ID.
	CallId *int32 `protobuf:"varint,1,opt,name=call_id,json=callId" json:"call_id,omitempty"`
	// RPC method being invoked.
	// Not used for "connection setup" calls.
	RemoteMethod *RemoteMethodPB `protobuf:"bytes,2,opt,name=remote_method,json=remoteMethod" json:"remote_method,omitempty"`
	// Propagate the timeout as specified by the user. Note that, since there is some
	// transit time between the client and server, if you wait exactly this amount of
	// time and then respond, you are likely to cause a timeout on the client.
	TimeoutMillis *uint32 `protobuf:"varint,3,opt,name=timeout_millis,json=timeoutMillis" json:"timeout_millis,omitempty"`
	// contains filtered or unexported fields
}

The header for the RPC request frame.

func (*RequestHeader) Descriptor deprecated

func (*RequestHeader) Descriptor() ([]byte, []int)

Deprecated: Use RequestHeader.ProtoReflect.Descriptor instead.

func (*RequestHeader) GetCallId

func (x *RequestHeader) GetCallId() int32

func (*RequestHeader) GetRemoteMethod

func (x *RequestHeader) GetRemoteMethod() *RemoteMethodPB

func (*RequestHeader) GetTimeoutMillis

func (x *RequestHeader) GetTimeoutMillis() uint32

func (*RequestHeader) ProtoMessage

func (*RequestHeader) ProtoMessage()

func (*RequestHeader) ProtoReflect

func (x *RequestHeader) ProtoReflect() protoreflect.Message

func (*RequestHeader) Reset

func (x *RequestHeader) Reset()

func (*RequestHeader) String

func (x *RequestHeader) String() string

type ReservePgsqlOidsRequestPB

type ReservePgsqlOidsRequestPB struct {
	NamespaceId []byte  `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"` // The namespace id of the Postgres database.
	NextOid     *uint32 `protobuf:"varint,2,opt,name=next_oid,json=nextOid" json:"next_oid,omitempty"`            // The next oid to reserve.
	Count       *uint32 `protobuf:"varint,3,opt,name=count" json:"count,omitempty"`                               // The number of oids to reserve.
	// contains filtered or unexported fields
}

Reserve Postgres oid

func (*ReservePgsqlOidsRequestPB) Descriptor deprecated

func (*ReservePgsqlOidsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ReservePgsqlOidsRequestPB.ProtoReflect.Descriptor instead.

func (*ReservePgsqlOidsRequestPB) GetCount

func (x *ReservePgsqlOidsRequestPB) GetCount() uint32

func (*ReservePgsqlOidsRequestPB) GetNamespaceId

func (x *ReservePgsqlOidsRequestPB) GetNamespaceId() []byte

func (*ReservePgsqlOidsRequestPB) GetNextOid

func (x *ReservePgsqlOidsRequestPB) GetNextOid() uint32

func (*ReservePgsqlOidsRequestPB) ProtoMessage

func (*ReservePgsqlOidsRequestPB) ProtoMessage()

func (*ReservePgsqlOidsRequestPB) ProtoReflect

func (*ReservePgsqlOidsRequestPB) Reset

func (x *ReservePgsqlOidsRequestPB) Reset()

func (*ReservePgsqlOidsRequestPB) String

func (x *ReservePgsqlOidsRequestPB) String() string

type ReservePgsqlOidsResponsePB

type ReservePgsqlOidsResponsePB struct {

	// The error, if an error occurred with this request.
	Error    *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	BeginOid *uint32        `protobuf:"varint,2,opt,name=begin_oid,json=beginOid" json:"begin_oid,omitempty"` // The beginning oid reserved. Can be higher than requested.
	EndOid   *uint32        `protobuf:"varint,3,opt,name=end_oid,json=endOid" json:"end_oid,omitempty"`       // The end (exclusive) oid reserved.
	// contains filtered or unexported fields
}

func (*ReservePgsqlOidsResponsePB) Descriptor deprecated

func (*ReservePgsqlOidsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ReservePgsqlOidsResponsePB.ProtoReflect.Descriptor instead.

func (*ReservePgsqlOidsResponsePB) GetBeginOid

func (x *ReservePgsqlOidsResponsePB) GetBeginOid() uint32

func (*ReservePgsqlOidsResponsePB) GetEndOid

func (x *ReservePgsqlOidsResponsePB) GetEndOid() uint32

func (*ReservePgsqlOidsResponsePB) GetError

func (*ReservePgsqlOidsResponsePB) ProtoMessage

func (*ReservePgsqlOidsResponsePB) ProtoMessage()

func (*ReservePgsqlOidsResponsePB) ProtoReflect

func (*ReservePgsqlOidsResponsePB) Reset

func (x *ReservePgsqlOidsResponsePB) Reset()

func (*ReservePgsqlOidsResponsePB) String

func (x *ReservePgsqlOidsResponsePB) String() string

type ResourcePermissionInfoPB

type ResourcePermissionInfoPB struct {
	CanonicalResource *string `protobuf:"bytes,1,opt,name=canonical_resource,json=canonicalResource" json:"canonical_resource,omitempty"`
	// Bitmap representing the permissions.
	Permissions *uint32 `protobuf:"varint,2,opt,name=permissions" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePermissionInfoPB) Descriptor deprecated

func (*ResourcePermissionInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use ResourcePermissionInfoPB.ProtoReflect.Descriptor instead.

func (*ResourcePermissionInfoPB) GetCanonicalResource

func (x *ResourcePermissionInfoPB) GetCanonicalResource() string

func (*ResourcePermissionInfoPB) GetPermissions

func (x *ResourcePermissionInfoPB) GetPermissions() uint32

func (*ResourcePermissionInfoPB) ProtoMessage

func (*ResourcePermissionInfoPB) ProtoMessage()

func (*ResourcePermissionInfoPB) ProtoReflect

func (x *ResourcePermissionInfoPB) ProtoReflect() protoreflect.Message

func (*ResourcePermissionInfoPB) Reset

func (x *ResourcePermissionInfoPB) Reset()

func (*ResourcePermissionInfoPB) String

func (x *ResourcePermissionInfoPB) String() string

type ResourcePermissionsPB

type ResourcePermissionsPB struct {
	ResourceName      *string          `protobuf:"bytes,1,opt,name=resource_name,json=resourceName" json:"resource_name,omitempty"`
	CanonicalResource *string          `protobuf:"bytes,11,opt,name=canonical_resource,json=canonicalResource" json:"canonical_resource,omitempty"`
	NamespaceName     *string          `protobuf:"bytes,12,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	ResourceType      *ResourceType    `protobuf:"varint,2,opt,name=resource_type,json=resourceType,enum=yb.ResourceType" json:"resource_type,omitempty"`
	Permissions       []PermissionType `protobuf:"varint,13,rep,name=permissions,enum=yb.PermissionType" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourcePermissionsPB) Descriptor deprecated

func (*ResourcePermissionsPB) Descriptor() ([]byte, []int)

Deprecated: Use ResourcePermissionsPB.ProtoReflect.Descriptor instead.

func (*ResourcePermissionsPB) GetCanonicalResource

func (x *ResourcePermissionsPB) GetCanonicalResource() string

func (*ResourcePermissionsPB) GetNamespaceName

func (x *ResourcePermissionsPB) GetNamespaceName() string

func (*ResourcePermissionsPB) GetPermissions

func (x *ResourcePermissionsPB) GetPermissions() []PermissionType

func (*ResourcePermissionsPB) GetResourceName

func (x *ResourcePermissionsPB) GetResourceName() string

func (*ResourcePermissionsPB) GetResourceType

func (x *ResourcePermissionsPB) GetResourceType() ResourceType

func (*ResourcePermissionsPB) ProtoMessage

func (*ResourcePermissionsPB) ProtoMessage()

func (*ResourcePermissionsPB) ProtoReflect

func (x *ResourcePermissionsPB) ProtoReflect() protoreflect.Message

func (*ResourcePermissionsPB) Reset

func (x *ResourcePermissionsPB) Reset()

func (*ResourcePermissionsPB) String

func (x *ResourcePermissionsPB) String() string

type ResourceType

type ResourceType int32

Used for Cassandra Roles and Permissions

const (
	ResourceType_ALL_KEYSPACES ResourceType = 1
	ResourceType_KEYSPACE      ResourceType = 2
	ResourceType_TABLE         ResourceType = 3
	ResourceType_ALL_ROLES     ResourceType = 4
	ResourceType_ROLE          ResourceType = 5
)

func (ResourceType) Descriptor

func (ResourceType) Enum

func (x ResourceType) Enum() *ResourceType

func (ResourceType) EnumDescriptor deprecated

func (ResourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResourceType.Descriptor instead.

func (ResourceType) Number

func (ResourceType) String

func (x ResourceType) String() string

func (ResourceType) Type

func (*ResourceType) UnmarshalJSON deprecated

func (x *ResourceType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RespDiffPackagePB

type RespDiffPackagePB struct {
	// contains filtered or unexported fields
}

func (*RespDiffPackagePB) Descriptor deprecated

func (*RespDiffPackagePB) Descriptor() ([]byte, []int)

Deprecated: Use RespDiffPackagePB.ProtoReflect.Descriptor instead.

func (*RespDiffPackagePB) ProtoMessage

func (*RespDiffPackagePB) ProtoMessage()

func (*RespDiffPackagePB) ProtoReflect

func (x *RespDiffPackagePB) ProtoReflect() protoreflect.Message

func (*RespDiffPackagePB) Reset

func (x *RespDiffPackagePB) Reset()

func (*RespDiffPackagePB) String

func (x *RespDiffPackagePB) String() string

type ResponseHeader

type ResponseHeader struct {
	CallId *int32 `protobuf:"varint,1,req,name=call_id,json=callId" json:"call_id,omitempty"`
	// If this is set, then this is an error response and the
	// response message will be of type ErrorStatusPB instead of
	// the expected response type.
	IsError *bool `protobuf:"varint,2,opt,name=is_error,json=isError,def=0" json:"is_error,omitempty"`
	// Byte offsets for side cars in the main body of the response message.
	// These offsets are counted AFTER the message header, i.e., offset 0
	// is the first byte after the bytes for this protobuf.
	SidecarOffsets []uint32 `protobuf:"varint,3,rep,name=sidecar_offsets,json=sidecarOffsets" json:"sidecar_offsets,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseHeader) Descriptor deprecated

func (*ResponseHeader) Descriptor() ([]byte, []int)

Deprecated: Use ResponseHeader.ProtoReflect.Descriptor instead.

func (*ResponseHeader) GetCallId

func (x *ResponseHeader) GetCallId() int32

func (*ResponseHeader) GetIsError

func (x *ResponseHeader) GetIsError() bool

func (*ResponseHeader) GetSidecarOffsets

func (x *ResponseHeader) GetSidecarOffsets() []uint32

func (*ResponseHeader) ProtoMessage

func (*ResponseHeader) ProtoMessage()

func (*ResponseHeader) ProtoReflect

func (x *ResponseHeader) ProtoReflect() protoreflect.Message

func (*ResponseHeader) Reset

func (x *ResponseHeader) Reset()

func (*ResponseHeader) String

func (x *ResponseHeader) String() string

type RestorationInfoPB added in v2.11.2

type RestorationInfoPB struct {
	Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Detailed snapshot entries.
	Entry *SysRestorationEntryPB `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*RestorationInfoPB) Descriptor deprecated added in v2.11.2

func (*RestorationInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use RestorationInfoPB.ProtoReflect.Descriptor instead.

func (*RestorationInfoPB) GetEntry added in v2.11.2

func (*RestorationInfoPB) GetId added in v2.11.2

func (x *RestorationInfoPB) GetId() []byte

func (*RestorationInfoPB) ProtoMessage added in v2.11.2

func (*RestorationInfoPB) ProtoMessage()

func (*RestorationInfoPB) ProtoReflect added in v2.11.2

func (x *RestorationInfoPB) ProtoReflect() protoreflect.Message

func (*RestorationInfoPB) Reset added in v2.11.2

func (x *RestorationInfoPB) Reset()

func (*RestorationInfoPB) String added in v2.11.2

func (x *RestorationInfoPB) String() string

type RestoreSnapshotRequestPB added in v2.11.2

type RestoreSnapshotRequestPB struct {
	SnapshotId []byte  `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	RestoreHt  *uint64 `protobuf:"fixed64,3,opt,name=restore_ht,json=restoreHt" json:"restore_ht,omitempty"` // Absolute Timing Option: Max HybridTime, in Micros.
	// contains filtered or unexported fields
}

func (*RestoreSnapshotRequestPB) Descriptor deprecated added in v2.11.2

func (*RestoreSnapshotRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RestoreSnapshotRequestPB.ProtoReflect.Descriptor instead.

func (*RestoreSnapshotRequestPB) GetRestoreHt added in v2.11.2

func (x *RestoreSnapshotRequestPB) GetRestoreHt() uint64

func (*RestoreSnapshotRequestPB) GetSnapshotId added in v2.11.2

func (x *RestoreSnapshotRequestPB) GetSnapshotId() []byte

func (*RestoreSnapshotRequestPB) ProtoMessage added in v2.11.2

func (*RestoreSnapshotRequestPB) ProtoMessage()

func (*RestoreSnapshotRequestPB) ProtoReflect added in v2.11.2

func (x *RestoreSnapshotRequestPB) ProtoReflect() protoreflect.Message

func (*RestoreSnapshotRequestPB) Reset added in v2.11.2

func (x *RestoreSnapshotRequestPB) Reset()

func (*RestoreSnapshotRequestPB) String added in v2.11.2

func (x *RestoreSnapshotRequestPB) String() string

type RestoreSnapshotResponsePB added in v2.11.2

type RestoreSnapshotResponsePB struct {
	Error         *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	RestorationId []byte         `protobuf:"bytes,2,opt,name=restoration_id,json=restorationId" json:"restoration_id,omitempty"` // 16 bytes UUID
	// contains filtered or unexported fields
}

func (*RestoreSnapshotResponsePB) Descriptor deprecated added in v2.11.2

func (*RestoreSnapshotResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RestoreSnapshotResponsePB.ProtoReflect.Descriptor instead.

func (*RestoreSnapshotResponsePB) GetError added in v2.11.2

func (*RestoreSnapshotResponsePB) GetRestorationId added in v2.11.2

func (x *RestoreSnapshotResponsePB) GetRestorationId() []byte

func (*RestoreSnapshotResponsePB) ProtoMessage added in v2.11.2

func (*RestoreSnapshotResponsePB) ProtoMessage()

func (*RestoreSnapshotResponsePB) ProtoReflect added in v2.11.2

func (*RestoreSnapshotResponsePB) Reset added in v2.11.2

func (x *RestoreSnapshotResponsePB) Reset()

func (*RestoreSnapshotResponsePB) String added in v2.11.2

func (x *RestoreSnapshotResponsePB) String() string

type RolePermissionInfoPB

type RolePermissionInfoPB struct {
	Role *string `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	// Bitmap representing the permissions for 'ALL KEYSPACES' and 'ALL ROLES'.
	AllKeyspacesPermissions *uint32                     `` /* 126-byte string literal not displayed */
	AllRolesPermissions     *uint32                     `protobuf:"varint,3,opt,name=all_roles_permissions,json=allRolesPermissions" json:"all_roles_permissions,omitempty"`
	ResourcePermissions     []*ResourcePermissionInfoPB `protobuf:"bytes,4,rep,name=resource_permissions,json=resourcePermissions" json:"resource_permissions,omitempty"`
	SaltedHash              *string                     `protobuf:"bytes,5,opt,name=salted_hash,json=saltedHash" json:"salted_hash,omitempty"`
	CanLogin                *bool                       `protobuf:"varint,6,opt,name=can_login,json=canLogin" json:"can_login,omitempty"`
	// contains filtered or unexported fields
}

func (*RolePermissionInfoPB) Descriptor deprecated

func (*RolePermissionInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use RolePermissionInfoPB.ProtoReflect.Descriptor instead.

func (*RolePermissionInfoPB) GetAllKeyspacesPermissions

func (x *RolePermissionInfoPB) GetAllKeyspacesPermissions() uint32

func (*RolePermissionInfoPB) GetAllRolesPermissions

func (x *RolePermissionInfoPB) GetAllRolesPermissions() uint32

func (*RolePermissionInfoPB) GetCanLogin

func (x *RolePermissionInfoPB) GetCanLogin() bool

func (*RolePermissionInfoPB) GetResourcePermissions

func (x *RolePermissionInfoPB) GetResourcePermissions() []*ResourcePermissionInfoPB

func (*RolePermissionInfoPB) GetRole

func (x *RolePermissionInfoPB) GetRole() string

func (*RolePermissionInfoPB) GetSaltedHash

func (x *RolePermissionInfoPB) GetSaltedHash() string

func (*RolePermissionInfoPB) ProtoMessage

func (*RolePermissionInfoPB) ProtoMessage()

func (*RolePermissionInfoPB) ProtoReflect

func (x *RolePermissionInfoPB) ProtoReflect() protoreflect.Message

func (*RolePermissionInfoPB) Reset

func (x *RolePermissionInfoPB) Reset()

func (*RolePermissionInfoPB) String

func (x *RolePermissionInfoPB) String() string

type RowMarkType

type RowMarkType int32

This enum matches enum RowMarkType defined in src/include/nodes/plannodes.h. The exception is ROW_MARK_ABSENT, which signifies the absence of a row mark.

const (
	// Obtain exclusive tuple lock.
	RowMarkType_ROW_MARK_EXCLUSIVE RowMarkType = 0
	// Obtain no-key exclusive tuple lock.
	RowMarkType_ROW_MARK_NOKEYEXCLUSIVE RowMarkType = 1
	// Obtain shared tuple lock.
	RowMarkType_ROW_MARK_SHARE RowMarkType = 2
	// Obtain keyshare tuple lock.
	RowMarkType_ROW_MARK_KEYSHARE RowMarkType = 3
	// Not supported. Used for postgres compatibility.
	RowMarkType_ROW_MARK_REFERENCE RowMarkType = 4
	// Not supported. Used for postgres compatibility.
	RowMarkType_ROW_MARK_COPY RowMarkType = 5
	// Obtain no tuple lock (this should never sent be on the wire).  The value
	// should be high for convenient comparisons with the other row lock types.
	RowMarkType_ROW_MARK_ABSENT RowMarkType = 15
)

func (RowMarkType) Descriptor

func (RowMarkType) Enum

func (x RowMarkType) Enum() *RowMarkType

func (RowMarkType) EnumDescriptor deprecated

func (RowMarkType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RowMarkType.Descriptor instead.

func (RowMarkType) Number

func (x RowMarkType) Number() protoreflect.EnumNumber

func (RowMarkType) String

func (x RowMarkType) String() string

func (RowMarkType) Type

func (*RowMarkType) UnmarshalJSON deprecated

func (x *RowMarkType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RowMessage added in v2.13.0

type RowMessage struct {
	TransactionId []byte            `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	CommitTime    *uint64           `protobuf:"varint,2,opt,name=commit_time,json=commitTime" json:"commit_time,omitempty"`
	Table         *string           `protobuf:"bytes,3,opt,name=table" json:"table,omitempty"`
	Op            *RowMessage_Op    `protobuf:"varint,4,opt,name=op,enum=yb.cdc.RowMessage_Op" json:"op,omitempty"`
	NewTuple      []*DatumMessagePB `protobuf:"bytes,5,rep,name=new_tuple,json=newTuple" json:"new_tuple,omitempty"`
	OldTuple      []*DatumMessagePB `protobuf:"bytes,6,rep,name=old_tuple,json=oldTuple" json:"old_tuple,omitempty"`
	NewTypeinfo   []*TypeInfo       `protobuf:"bytes,7,rep,name=new_typeinfo,json=newTypeinfo" json:"new_typeinfo,omitempty"`
	// Schema information used in case of DDL
	Schema *CDCSDKSchemaPB `protobuf:"bytes,8,opt,name=schema" json:"schema,omitempty"`
	// Schema version
	SchemaVersion *uint32 `protobuf:"varint,9,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	// New table name, used in the case of rename table
	NewTableName *string `protobuf:"bytes,10,opt,name=new_table_name,json=newTableName" json:"new_table_name,omitempty"`
	PgschemaName *string `protobuf:"bytes,11,opt,name=pgschema_name,json=pgschemaName" json:"pgschema_name,omitempty"`
	// truncate info
	TruncateRequestInfo *TruncateRequestPB `protobuf:"bytes,13,opt,name=truncate_request_info,json=truncateRequestInfo" json:"truncate_request_info,omitempty"`
	// contains filtered or unexported fields
}

func (*RowMessage) Descriptor deprecated added in v2.13.0

func (*RowMessage) Descriptor() ([]byte, []int)

Deprecated: Use RowMessage.ProtoReflect.Descriptor instead.

func (*RowMessage) GetCommitTime added in v2.13.0

func (x *RowMessage) GetCommitTime() uint64

func (*RowMessage) GetNewTableName added in v2.13.0

func (x *RowMessage) GetNewTableName() string

func (*RowMessage) GetNewTuple added in v2.13.0

func (x *RowMessage) GetNewTuple() []*DatumMessagePB

func (*RowMessage) GetNewTypeinfo added in v2.13.0

func (x *RowMessage) GetNewTypeinfo() []*TypeInfo

func (*RowMessage) GetOldTuple added in v2.13.0

func (x *RowMessage) GetOldTuple() []*DatumMessagePB

func (*RowMessage) GetOp added in v2.13.0

func (x *RowMessage) GetOp() RowMessage_Op

func (*RowMessage) GetPgschemaName added in v2.13.0

func (x *RowMessage) GetPgschemaName() string

func (*RowMessage) GetSchema added in v2.13.0

func (x *RowMessage) GetSchema() *CDCSDKSchemaPB

func (*RowMessage) GetSchemaVersion added in v2.13.0

func (x *RowMessage) GetSchemaVersion() uint32

func (*RowMessage) GetTable added in v2.13.0

func (x *RowMessage) GetTable() string

func (*RowMessage) GetTransactionId added in v2.13.0

func (x *RowMessage) GetTransactionId() []byte

func (*RowMessage) GetTruncateRequestInfo added in v2.13.0

func (x *RowMessage) GetTruncateRequestInfo() *TruncateRequestPB

func (*RowMessage) ProtoMessage added in v2.13.0

func (*RowMessage) ProtoMessage()

func (*RowMessage) ProtoReflect added in v2.13.0

func (x *RowMessage) ProtoReflect() protoreflect.Message

func (*RowMessage) Reset added in v2.13.0

func (x *RowMessage) Reset()

func (*RowMessage) String added in v2.13.0

func (x *RowMessage) String() string

type RowMessage_Op added in v2.13.0

type RowMessage_Op int32
const (
	RowMessage_UNKNOWN  RowMessage_Op = -1
	RowMessage_INSERT   RowMessage_Op = 0
	RowMessage_UPDATE   RowMessage_Op = 1
	RowMessage_DELETE   RowMessage_Op = 2
	RowMessage_BEGIN    RowMessage_Op = 3
	RowMessage_COMMIT   RowMessage_Op = 4
	RowMessage_DDL      RowMessage_Op = 5
	RowMessage_TRUNCATE RowMessage_Op = 6
	RowMessage_READ     RowMessage_Op = 7
)

func (RowMessage_Op) Descriptor added in v2.13.0

func (RowMessage_Op) Enum added in v2.13.0

func (x RowMessage_Op) Enum() *RowMessage_Op

func (RowMessage_Op) EnumDescriptor deprecated added in v2.13.0

func (RowMessage_Op) EnumDescriptor() ([]byte, []int)

Deprecated: Use RowMessage_Op.Descriptor instead.

func (RowMessage_Op) Number added in v2.13.0

func (RowMessage_Op) String added in v2.13.0

func (x RowMessage_Op) String() string

func (RowMessage_Op) Type added in v2.13.0

func (*RowMessage_Op) UnmarshalJSON deprecated added in v2.13.0

func (x *RowMessage_Op) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RpcCallInProgressPB

type RpcCallInProgressPB struct {
	Header        *RequestHeader `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
	TraceBuffer   *string        `protobuf:"bytes,2,opt,name=trace_buffer,json=traceBuffer" json:"trace_buffer,omitempty"`
	ElapsedMillis *uint64        `protobuf:"varint,3,opt,name=elapsed_millis,json=elapsedMillis" json:"elapsed_millis,omitempty"`
	SendingBytes  *uint64        `protobuf:"varint,6,opt,name=sending_bytes,json=sendingBytes" json:"sending_bytes,omitempty"`
	State         *RpcCallState  `protobuf:"varint,7,opt,name=state,enum=yb.rpc.RpcCallState" json:"state,omitempty"`
	// Types that are assignable to CallDetails:
	//	*RpcCallInProgressPB_CqlDetails
	//	*RpcCallInProgressPB_RedisDetails
	CallDetails isRpcCallInProgressPB_CallDetails `protobuf_oneof:"call_details"`
	// contains filtered or unexported fields
}

func (*RpcCallInProgressPB) Descriptor deprecated

func (*RpcCallInProgressPB) Descriptor() ([]byte, []int)

Deprecated: Use RpcCallInProgressPB.ProtoReflect.Descriptor instead.

func (*RpcCallInProgressPB) GetCallDetails

func (m *RpcCallInProgressPB) GetCallDetails() isRpcCallInProgressPB_CallDetails

func (*RpcCallInProgressPB) GetCqlDetails

func (x *RpcCallInProgressPB) GetCqlDetails() *CQLCallDetailsPB

func (*RpcCallInProgressPB) GetElapsedMillis

func (x *RpcCallInProgressPB) GetElapsedMillis() uint64

func (*RpcCallInProgressPB) GetHeader

func (x *RpcCallInProgressPB) GetHeader() *RequestHeader

func (*RpcCallInProgressPB) GetRedisDetails

func (x *RpcCallInProgressPB) GetRedisDetails() *RedisCallDetailsPB

func (*RpcCallInProgressPB) GetSendingBytes

func (x *RpcCallInProgressPB) GetSendingBytes() uint64

func (*RpcCallInProgressPB) GetState

func (x *RpcCallInProgressPB) GetState() RpcCallState

func (*RpcCallInProgressPB) GetTraceBuffer

func (x *RpcCallInProgressPB) GetTraceBuffer() string

func (*RpcCallInProgressPB) ProtoMessage

func (*RpcCallInProgressPB) ProtoMessage()

func (*RpcCallInProgressPB) ProtoReflect

func (x *RpcCallInProgressPB) ProtoReflect() protoreflect.Message

func (*RpcCallInProgressPB) Reset

func (x *RpcCallInProgressPB) Reset()

func (*RpcCallInProgressPB) String

func (x *RpcCallInProgressPB) String() string

type RpcCallInProgressPB_CqlDetails

type RpcCallInProgressPB_CqlDetails struct {
	CqlDetails *CQLCallDetailsPB `protobuf:"bytes,4,opt,name=cql_details,json=cqlDetails,oneof"`
}

type RpcCallInProgressPB_RedisDetails

type RpcCallInProgressPB_RedisDetails struct {
	RedisDetails *RedisCallDetailsPB `protobuf:"bytes,5,opt,name=redis_details,json=redisDetails,oneof"`
}

type RpcCallState

type RpcCallState int32
const (
	RpcCallState_READY             RpcCallState = 0
	RpcCallState_ON_OUTBOUND_QUEUE RpcCallState = 1
	RpcCallState_SENT              RpcCallState = 2
	RpcCallState_TIMED_OUT         RpcCallState = 3
	RpcCallState_FINISHED_ERROR    RpcCallState = 4
	RpcCallState_FINISHED_SUCCESS  RpcCallState = 5
)

func (RpcCallState) Descriptor

func (RpcCallState) Enum

func (x RpcCallState) Enum() *RpcCallState

func (RpcCallState) EnumDescriptor deprecated

func (RpcCallState) EnumDescriptor() ([]byte, []int)

Deprecated: Use RpcCallState.Descriptor instead.

func (RpcCallState) Number

func (RpcCallState) String

func (x RpcCallState) String() string

func (RpcCallState) Type

func (*RpcCallState) UnmarshalJSON deprecated

func (x *RpcCallState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RpcConnectionDetailsPB

type RpcConnectionDetailsPB struct {

	// Types that are assignable to ConnectionDetails:
	//	*RpcConnectionDetailsPB_CqlConnectionDetails
	ConnectionDetails isRpcConnectionDetailsPB_ConnectionDetails `protobuf_oneof:"connection_details"`
	// contains filtered or unexported fields
}

func (*RpcConnectionDetailsPB) Descriptor deprecated

func (*RpcConnectionDetailsPB) Descriptor() ([]byte, []int)

Deprecated: Use RpcConnectionDetailsPB.ProtoReflect.Descriptor instead.

func (*RpcConnectionDetailsPB) GetConnectionDetails

func (m *RpcConnectionDetailsPB) GetConnectionDetails() isRpcConnectionDetailsPB_ConnectionDetails

func (*RpcConnectionDetailsPB) GetCqlConnectionDetails

func (x *RpcConnectionDetailsPB) GetCqlConnectionDetails() *CQLConnectionDetailsPB

func (*RpcConnectionDetailsPB) ProtoMessage

func (*RpcConnectionDetailsPB) ProtoMessage()

func (*RpcConnectionDetailsPB) ProtoReflect

func (x *RpcConnectionDetailsPB) ProtoReflect() protoreflect.Message

func (*RpcConnectionDetailsPB) Reset

func (x *RpcConnectionDetailsPB) Reset()

func (*RpcConnectionDetailsPB) String

func (x *RpcConnectionDetailsPB) String() string

type RpcConnectionDetailsPB_CqlConnectionDetails

type RpcConnectionDetailsPB_CqlConnectionDetails struct {
	CqlConnectionDetails *CQLConnectionDetailsPB `protobuf:"bytes,1,opt,name=cql_connection_details,json=cqlConnectionDetails,oneof"`
}

type RpcConnectionPB

type RpcConnectionPB struct {
	RemoteIp           *string                    `protobuf:"bytes,1,req,name=remote_ip,json=remoteIp" json:"remote_ip,omitempty"`
	State              *RpcConnectionPB_StateType `protobuf:"varint,2,req,name=state,enum=yb.rpc.RpcConnectionPB_StateType" json:"state,omitempty"`
	ProcessedCallCount *uint64                    `protobuf:"varint,4,opt,name=processed_call_count,json=processedCallCount" json:"processed_call_count,omitempty"`
	SendingBytes       *uint64                    `protobuf:"varint,7,opt,name=sending_bytes,json=sendingBytes" json:"sending_bytes,omitempty"`
	ConnectionDetails  *RpcConnectionDetailsPB    `protobuf:"bytes,5,opt,name=connection_details,json=connectionDetails" json:"connection_details,omitempty"`
	CallsInFlight      []*RpcCallInProgressPB     `protobuf:"bytes,6,rep,name=calls_in_flight,json=callsInFlight" json:"calls_in_flight,omitempty"`
	// contains filtered or unexported fields
}

func (*RpcConnectionPB) Descriptor deprecated

func (*RpcConnectionPB) Descriptor() ([]byte, []int)

Deprecated: Use RpcConnectionPB.ProtoReflect.Descriptor instead.

func (*RpcConnectionPB) GetCallsInFlight

func (x *RpcConnectionPB) GetCallsInFlight() []*RpcCallInProgressPB

func (*RpcConnectionPB) GetConnectionDetails

func (x *RpcConnectionPB) GetConnectionDetails() *RpcConnectionDetailsPB

func (*RpcConnectionPB) GetProcessedCallCount

func (x *RpcConnectionPB) GetProcessedCallCount() uint64

func (*RpcConnectionPB) GetRemoteIp

func (x *RpcConnectionPB) GetRemoteIp() string

func (*RpcConnectionPB) GetSendingBytes

func (x *RpcConnectionPB) GetSendingBytes() uint64

func (*RpcConnectionPB) GetState

func (*RpcConnectionPB) ProtoMessage

func (*RpcConnectionPB) ProtoMessage()

func (*RpcConnectionPB) ProtoReflect

func (x *RpcConnectionPB) ProtoReflect() protoreflect.Message

func (*RpcConnectionPB) Reset

func (x *RpcConnectionPB) Reset()

func (*RpcConnectionPB) String

func (x *RpcConnectionPB) String() string

type RpcConnectionPB_StateType

type RpcConnectionPB_StateType int32
const (
	RpcConnectionPB_UNKNOWN     RpcConnectionPB_StateType = 999
	RpcConnectionPB_NEGOTIATING RpcConnectionPB_StateType = 0 // Connection is still being negotiated.
	RpcConnectionPB_OPEN        RpcConnectionPB_StateType = 1 // Connection is active.
)

func (RpcConnectionPB_StateType) Descriptor

func (RpcConnectionPB_StateType) Enum

func (RpcConnectionPB_StateType) EnumDescriptor deprecated

func (RpcConnectionPB_StateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RpcConnectionPB_StateType.Descriptor instead.

func (RpcConnectionPB_StateType) Number

func (RpcConnectionPB_StateType) String

func (x RpcConnectionPB_StateType) String() string

func (RpcConnectionPB_StateType) Type

func (*RpcConnectionPB_StateType) UnmarshalJSON deprecated

func (x *RpcConnectionPB_StateType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type RpcSides added in v2.11.2

type RpcSides int32
const (
	RpcSides_NONE    RpcSides = 0
	RpcSides_SERVICE RpcSides = 1
	RpcSides_PROXY   RpcSides = 2
	RpcSides_BOTH    RpcSides = 3
)

func (RpcSides) Descriptor added in v2.11.2

func (RpcSides) Descriptor() protoreflect.EnumDescriptor

func (RpcSides) Enum added in v2.11.2

func (x RpcSides) Enum() *RpcSides

func (RpcSides) EnumDescriptor deprecated added in v2.11.2

func (RpcSides) EnumDescriptor() ([]byte, []int)

Deprecated: Use RpcSides.Descriptor instead.

func (RpcSides) Number added in v2.11.2

func (x RpcSides) Number() protoreflect.EnumNumber

func (RpcSides) String added in v2.11.2

func (x RpcSides) String() string

func (RpcSides) Type added in v2.11.2

type RunLeaderElectionRequestPB

type RunLeaderElectionRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,2,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	// the id of the tablet
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// The id of the last operation the current leader has committed to its log.
	// When specified, the peer must wait till the operation has been committed
	// to its log before starting the election to be qualified as a leader.
	CommittedIndex *OpIdPB `protobuf:"bytes,3,opt,name=committed_index,json=committedIndex" json:"committed_index,omitempty"`
	// UUID of old leader, that requested this election.
	// If we lost election, we would notify originator about this fact.
	// So it would reset its withold timeout and try to become a leader again.
	OriginatorUuid      []byte `protobuf:"bytes,4,opt,name=originator_uuid,json=originatorUuid" json:"originator_uuid,omitempty"`
	SuppressVoteRequest *bool  `protobuf:"varint,5,opt,name=suppress_vote_request,json=suppressVoteRequest" json:"suppress_vote_request,omitempty"`
	InitialElection     *bool  `protobuf:"varint,6,opt,name=initial_election,json=initialElection" json:"initial_election,omitempty"`
	// contains filtered or unexported fields
}

Message that makes the local peer run leader election to be elected leader. Assumes that a tablet with 'tablet_id' exists.

func (*RunLeaderElectionRequestPB) Descriptor deprecated

func (*RunLeaderElectionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use RunLeaderElectionRequestPB.ProtoReflect.Descriptor instead.

func (*RunLeaderElectionRequestPB) GetCommittedIndex

func (x *RunLeaderElectionRequestPB) GetCommittedIndex() *OpIdPB

func (*RunLeaderElectionRequestPB) GetDestUuid

func (x *RunLeaderElectionRequestPB) GetDestUuid() []byte

func (*RunLeaderElectionRequestPB) GetInitialElection

func (x *RunLeaderElectionRequestPB) GetInitialElection() bool

func (*RunLeaderElectionRequestPB) GetOriginatorUuid

func (x *RunLeaderElectionRequestPB) GetOriginatorUuid() []byte

func (*RunLeaderElectionRequestPB) GetSuppressVoteRequest

func (x *RunLeaderElectionRequestPB) GetSuppressVoteRequest() bool

func (*RunLeaderElectionRequestPB) GetTabletId

func (x *RunLeaderElectionRequestPB) GetTabletId() []byte

func (*RunLeaderElectionRequestPB) ProtoMessage

func (*RunLeaderElectionRequestPB) ProtoMessage()

func (*RunLeaderElectionRequestPB) ProtoReflect

func (*RunLeaderElectionRequestPB) Reset

func (x *RunLeaderElectionRequestPB) Reset()

func (*RunLeaderElectionRequestPB) String

func (x *RunLeaderElectionRequestPB) String() string

type RunLeaderElectionResponsePB

type RunLeaderElectionResponsePB struct {

	// A generic error message (such as tablet not found).
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*RunLeaderElectionResponsePB) Descriptor deprecated

func (*RunLeaderElectionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use RunLeaderElectionResponsePB.ProtoReflect.Descriptor instead.

func (*RunLeaderElectionResponsePB) GetError

func (*RunLeaderElectionResponsePB) ProtoMessage

func (*RunLeaderElectionResponsePB) ProtoMessage()

func (*RunLeaderElectionResponsePB) ProtoReflect

func (*RunLeaderElectionResponsePB) Reset

func (x *RunLeaderElectionResponsePB) Reset()

func (*RunLeaderElectionResponsePB) String

func (x *RunLeaderElectionResponsePB) String() string

type SchemaPB

type SchemaPB struct {
	Columns          []*ColumnSchemaPB           `protobuf:"bytes,1,rep,name=columns" json:"columns,omitempty"`
	TableProperties  *TablePropertiesPB          `protobuf:"bytes,2,opt,name=table_properties,json=tableProperties" json:"table_properties,omitempty"`
	ColocatedTableId *ColocatedTableIdentifierPB `protobuf:"bytes,3,opt,name=colocated_table_id,json=colocatedTableId" json:"colocated_table_id,omitempty"`
	// Added in 2.13, any upgraded cluster may not have this value so use it appropriately.
	PgschemaName *string `protobuf:"bytes,4,opt,name=pgschema_name,json=pgschemaName" json:"pgschema_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SchemaPB) Descriptor deprecated

func (*SchemaPB) Descriptor() ([]byte, []int)

Deprecated: Use SchemaPB.ProtoReflect.Descriptor instead.

func (*SchemaPB) GetColocatedTableId

func (x *SchemaPB) GetColocatedTableId() *ColocatedTableIdentifierPB

func (*SchemaPB) GetColumns

func (x *SchemaPB) GetColumns() []*ColumnSchemaPB

func (*SchemaPB) GetPgschemaName added in v2.13.0

func (x *SchemaPB) GetPgschemaName() string

func (*SchemaPB) GetTableProperties

func (x *SchemaPB) GetTableProperties() *TablePropertiesPB

func (*SchemaPB) ProtoMessage

func (*SchemaPB) ProtoMessage()

func (*SchemaPB) ProtoReflect

func (x *SchemaPB) ProtoReflect() protoreflect.Message

func (*SchemaPB) Reset

func (x *SchemaPB) Reset()

func (*SchemaPB) String

func (x *SchemaPB) String() string

type SelectPlanPB

type SelectPlanPB struct {
	SelectType *string `protobuf:"bytes,1,opt,name=select_type,json=selectType" json:"select_type,omitempty"`
	// Overarching information like "Aggregate" or "Limit"
	Aggregate     *string `protobuf:"bytes,2,opt,name=aggregate" json:"aggregate,omitempty"`
	KeyConditions *string `protobuf:"bytes,3,opt,name=key_conditions,json=keyConditions" json:"key_conditions,omitempty"`
	Filter        *string `protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"`
	OutputWidth   *int32  `protobuf:"varint,5,opt,name=output_width,json=outputWidth" json:"output_width,omitempty"`
	// contains filtered or unexported fields
}

func (*SelectPlanPB) Descriptor deprecated

func (*SelectPlanPB) Descriptor() ([]byte, []int)

Deprecated: Use SelectPlanPB.ProtoReflect.Descriptor instead.

func (*SelectPlanPB) GetAggregate

func (x *SelectPlanPB) GetAggregate() string

func (*SelectPlanPB) GetFilter

func (x *SelectPlanPB) GetFilter() string

func (*SelectPlanPB) GetKeyConditions

func (x *SelectPlanPB) GetKeyConditions() string

func (*SelectPlanPB) GetOutputWidth

func (x *SelectPlanPB) GetOutputWidth() int32

func (*SelectPlanPB) GetSelectType

func (x *SelectPlanPB) GetSelectType() string

func (*SelectPlanPB) ProtoMessage

func (*SelectPlanPB) ProtoMessage()

func (*SelectPlanPB) ProtoReflect

func (x *SelectPlanPB) ProtoReflect() protoreflect.Message

func (*SelectPlanPB) Reset

func (x *SelectPlanPB) Reset()

func (*SelectPlanPB) String

func (x *SelectPlanPB) String() string

type SendStringsRequestPB

type SendStringsRequestPB struct {
	RandomSeed *uint32  `protobuf:"varint,1,opt,name=random_seed,json=randomSeed" json:"random_seed,omitempty"`
	Sizes      []uint64 `protobuf:"varint,2,rep,name=sizes" json:"sizes,omitempty"`
	// contains filtered or unexported fields
}

func (*SendStringsRequestPB) Descriptor deprecated

func (*SendStringsRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SendStringsRequestPB.ProtoReflect.Descriptor instead.

func (*SendStringsRequestPB) GetRandomSeed

func (x *SendStringsRequestPB) GetRandomSeed() uint32

func (*SendStringsRequestPB) GetSizes

func (x *SendStringsRequestPB) GetSizes() []uint64

func (*SendStringsRequestPB) ProtoMessage

func (*SendStringsRequestPB) ProtoMessage()

func (*SendStringsRequestPB) ProtoReflect

func (x *SendStringsRequestPB) ProtoReflect() protoreflect.Message

func (*SendStringsRequestPB) Reset

func (x *SendStringsRequestPB) Reset()

func (*SendStringsRequestPB) String

func (x *SendStringsRequestPB) String() string

type SendStringsResponsePB

type SendStringsResponsePB struct {
	Sidecars []uint32 `protobuf:"varint,1,rep,name=sidecars" json:"sidecars,omitempty"`
	// contains filtered or unexported fields
}

func (*SendStringsResponsePB) Descriptor deprecated

func (*SendStringsResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SendStringsResponsePB.ProtoReflect.Descriptor instead.

func (*SendStringsResponsePB) GetSidecars

func (x *SendStringsResponsePB) GetSidecars() []uint32

func (*SendStringsResponsePB) ProtoMessage

func (*SendStringsResponsePB) ProtoMessage()

func (*SendStringsResponsePB) ProtoReflect

func (x *SendStringsResponsePB) ProtoReflect() protoreflect.Message

func (*SendStringsResponsePB) Reset

func (x *SendStringsResponsePB) Reset()

func (*SendStringsResponsePB) String

func (x *SendStringsResponsePB) String() string

type ServerClockRequestPB

type ServerClockRequestPB struct {
	// contains filtered or unexported fields
}

Requests the server's current hybrid_time.

func (*ServerClockRequestPB) Descriptor deprecated

func (*ServerClockRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ServerClockRequestPB.ProtoReflect.Descriptor instead.

func (*ServerClockRequestPB) ProtoMessage

func (*ServerClockRequestPB) ProtoMessage()

func (*ServerClockRequestPB) ProtoReflect

func (x *ServerClockRequestPB) ProtoReflect() protoreflect.Message

func (*ServerClockRequestPB) Reset

func (x *ServerClockRequestPB) Reset()

func (*ServerClockRequestPB) String

func (x *ServerClockRequestPB) String() string

type ServerClockResponsePB

type ServerClockResponsePB struct {

	// The current hybrid_time of the server.
	HybridTime *uint64 `protobuf:"fixed64,1,opt,name=hybrid_time,json=hybridTime" json:"hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerClockResponsePB) Descriptor deprecated

func (*ServerClockResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ServerClockResponsePB.ProtoReflect.Descriptor instead.

func (*ServerClockResponsePB) GetHybridTime

func (x *ServerClockResponsePB) GetHybridTime() uint64

func (*ServerClockResponsePB) ProtoMessage

func (*ServerClockResponsePB) ProtoMessage()

func (*ServerClockResponsePB) ProtoReflect

func (x *ServerClockResponsePB) ProtoReflect() protoreflect.Message

func (*ServerClockResponsePB) Reset

func (x *ServerClockResponsePB) Reset()

func (*ServerClockResponsePB) String

func (x *ServerClockResponsePB) String() string

type ServerEntryPB

type ServerEntryPB struct {

	// If there is an error communicating with the server (or retrieving
	// the server registration on the server itself), this field will be
	// set to contain the error.
	//
	// All subsequent fields are optional, as they may not be set if
	// an error is encountered communicating with the individual server.
	Error        *AppStatusPB          `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	InstanceId   *NodeInstancePB       `protobuf:"bytes,2,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"`
	Registration *ServerRegistrationPB `protobuf:"bytes,3,opt,name=registration" json:"registration,omitempty"`
	// If an error has occurred earlier in the RPC call, the role
	// may be not be set.
	Role *PeerRole `protobuf:"varint,4,opt,name=role,enum=yb.PeerRole" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerEntryPB) Descriptor deprecated

func (*ServerEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use ServerEntryPB.ProtoReflect.Descriptor instead.

func (*ServerEntryPB) GetError

func (x *ServerEntryPB) GetError() *AppStatusPB

func (*ServerEntryPB) GetInstanceId

func (x *ServerEntryPB) GetInstanceId() *NodeInstancePB

func (*ServerEntryPB) GetRegistration

func (x *ServerEntryPB) GetRegistration() *ServerRegistrationPB

func (*ServerEntryPB) GetRole

func (x *ServerEntryPB) GetRole() PeerRole

func (*ServerEntryPB) ProtoMessage

func (*ServerEntryPB) ProtoMessage()

func (*ServerEntryPB) ProtoReflect

func (x *ServerEntryPB) ProtoReflect() protoreflect.Message

func (*ServerEntryPB) Reset

func (x *ServerEntryPB) Reset()

func (*ServerEntryPB) String

func (x *ServerEntryPB) String() string

type ServerRegistrationPB

type ServerRegistrationPB struct {
	PrivateRpcAddresses []*HostPortPB `protobuf:"bytes,1,rep,name=private_rpc_addresses,json=privateRpcAddresses" json:"private_rpc_addresses,omitempty"`
	BroadcastAddresses  []*HostPortPB `protobuf:"bytes,5,rep,name=broadcast_addresses,json=broadcastAddresses" json:"broadcast_addresses,omitempty"`
	HttpAddresses       []*HostPortPB `protobuf:"bytes,2,rep,name=http_addresses,json=httpAddresses" json:"http_addresses,omitempty"`
	PgPort              *uint32       `protobuf:"varint,6,opt,name=pg_port,json=pgPort,def=5433" json:"pg_port,omitempty"`
	CloudInfo           *CloudInfoPB  `protobuf:"bytes,3,opt,name=cloud_info,json=cloudInfo" json:"cloud_info,omitempty"`
	// Placement uuid of the tserver's cluster.
	PlacementUuid []byte `protobuf:"bytes,4,opt,name=placement_uuid,json=placementUuid" json:"placement_uuid,omitempty"`
	// contains filtered or unexported fields
}

RPC and HTTP addresses for each server, as well as cloud related information.

func (*ServerRegistrationPB) Descriptor deprecated

func (*ServerRegistrationPB) Descriptor() ([]byte, []int)

Deprecated: Use ServerRegistrationPB.ProtoReflect.Descriptor instead.

func (*ServerRegistrationPB) GetBroadcastAddresses

func (x *ServerRegistrationPB) GetBroadcastAddresses() []*HostPortPB

func (*ServerRegistrationPB) GetCloudInfo

func (x *ServerRegistrationPB) GetCloudInfo() *CloudInfoPB

func (*ServerRegistrationPB) GetHttpAddresses

func (x *ServerRegistrationPB) GetHttpAddresses() []*HostPortPB

func (*ServerRegistrationPB) GetPgPort

func (x *ServerRegistrationPB) GetPgPort() uint32

func (*ServerRegistrationPB) GetPlacementUuid

func (x *ServerRegistrationPB) GetPlacementUuid() []byte

func (*ServerRegistrationPB) GetPrivateRpcAddresses

func (x *ServerRegistrationPB) GetPrivateRpcAddresses() []*HostPortPB

func (*ServerRegistrationPB) ProtoMessage

func (*ServerRegistrationPB) ProtoMessage()

func (*ServerRegistrationPB) ProtoReflect

func (x *ServerRegistrationPB) ProtoReflect() protoreflect.Message

func (*ServerRegistrationPB) Reset

func (x *ServerRegistrationPB) Reset()

func (*ServerRegistrationPB) String

func (x *ServerRegistrationPB) String() string

type ServerStatusPB

type ServerStatusPB struct {
	NodeInstance       *NodeInstancePB `protobuf:"bytes,1,req,name=node_instance,json=nodeInstance" json:"node_instance,omitempty"`
	BoundRpcAddresses  []*HostPortPB   `protobuf:"bytes,2,rep,name=bound_rpc_addresses,json=boundRpcAddresses" json:"bound_rpc_addresses,omitempty"`
	BoundHttpAddresses []*HostPortPB   `protobuf:"bytes,3,rep,name=bound_http_addresses,json=boundHttpAddresses" json:"bound_http_addresses,omitempty"`
	VersionInfo        *VersionInfoPB  `protobuf:"bytes,4,opt,name=version_info,json=versionInfo" json:"version_info,omitempty"`
	// contains filtered or unexported fields
}

The status information dumped by a server after it starts.

This is optionally exposed on the local host in a text file which the server writes out at startup.

Additionally, it is exposed via RPC through the GenericService interface.

func (*ServerStatusPB) Descriptor deprecated

func (*ServerStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use ServerStatusPB.ProtoReflect.Descriptor instead.

func (*ServerStatusPB) GetBoundHttpAddresses

func (x *ServerStatusPB) GetBoundHttpAddresses() []*HostPortPB

func (*ServerStatusPB) GetBoundRpcAddresses

func (x *ServerStatusPB) GetBoundRpcAddresses() []*HostPortPB

func (*ServerStatusPB) GetNodeInstance

func (x *ServerStatusPB) GetNodeInstance() *NodeInstancePB

func (*ServerStatusPB) GetVersionInfo

func (x *ServerStatusPB) GetVersionInfo() *VersionInfoPB

func (*ServerStatusPB) ProtoMessage

func (*ServerStatusPB) ProtoMessage()

func (*ServerStatusPB) ProtoReflect

func (x *ServerStatusPB) ProtoReflect() protoreflect.Message

func (*ServerStatusPB) Reset

func (x *ServerStatusPB) Reset()

func (*ServerStatusPB) String

func (x *ServerStatusPB) String() string

type SetCDCCheckpointRequestPB added in v2.13.0

type SetCDCCheckpointRequestPB struct {
	Checkpoint       *CDCCheckpointPB    `protobuf:"bytes,1,opt,name=checkpoint" json:"checkpoint,omitempty"`
	CdcSdkCheckpoint *CDCSDKCheckpointPB `protobuf:"bytes,2,opt,name=cdc_sdk_checkpoint,json=cdcSdkCheckpoint" json:"cdc_sdk_checkpoint,omitempty"`
	StreamId         []byte              `protobuf:"bytes,3,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	TabletId         []byte              `protobuf:"bytes,4,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetCDCCheckpointRequestPB) Descriptor deprecated added in v2.13.0

func (*SetCDCCheckpointRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SetCDCCheckpointRequestPB.ProtoReflect.Descriptor instead.

func (*SetCDCCheckpointRequestPB) GetCdcSdkCheckpoint added in v2.13.0

func (x *SetCDCCheckpointRequestPB) GetCdcSdkCheckpoint() *CDCSDKCheckpointPB

func (*SetCDCCheckpointRequestPB) GetCheckpoint added in v2.13.0

func (x *SetCDCCheckpointRequestPB) GetCheckpoint() *CDCCheckpointPB

func (*SetCDCCheckpointRequestPB) GetStreamId added in v2.13.0

func (x *SetCDCCheckpointRequestPB) GetStreamId() []byte

func (*SetCDCCheckpointRequestPB) GetTabletId added in v2.13.0

func (x *SetCDCCheckpointRequestPB) GetTabletId() []byte

func (*SetCDCCheckpointRequestPB) ProtoMessage added in v2.13.0

func (*SetCDCCheckpointRequestPB) ProtoMessage()

func (*SetCDCCheckpointRequestPB) ProtoReflect added in v2.13.0

func (*SetCDCCheckpointRequestPB) Reset added in v2.13.0

func (x *SetCDCCheckpointRequestPB) Reset()

func (*SetCDCCheckpointRequestPB) String added in v2.13.0

func (x *SetCDCCheckpointRequestPB) String() string

type SetCDCCheckpointResponsePB added in v2.13.0

type SetCDCCheckpointResponsePB struct {
	Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SetCDCCheckpointResponsePB) Descriptor deprecated added in v2.13.0

func (*SetCDCCheckpointResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SetCDCCheckpointResponsePB.ProtoReflect.Descriptor instead.

func (*SetCDCCheckpointResponsePB) GetError added in v2.13.0

func (x *SetCDCCheckpointResponsePB) GetError() *CDCErrorPB

func (*SetCDCCheckpointResponsePB) ProtoMessage added in v2.13.0

func (*SetCDCCheckpointResponsePB) ProtoMessage()

func (*SetCDCCheckpointResponsePB) ProtoReflect added in v2.13.0

func (*SetCDCCheckpointResponsePB) Reset added in v2.13.0

func (x *SetCDCCheckpointResponsePB) Reset()

func (*SetCDCCheckpointResponsePB) String added in v2.13.0

func (x *SetCDCCheckpointResponsePB) String() string

type SetFlagRequestPB

type SetFlagRequestPB struct {
	Flag  *string `protobuf:"bytes,1,req,name=flag" json:"flag,omitempty"`
	Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	// Force the change, even if the flag is not marked as safe to change
	// at runtime. This can cause crashes or other bad behavior, so should
	// only be used as a last resort.
	Force *bool `protobuf:"varint,3,opt,name=force,def=0" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Attempt to set a command line flag. Note that many command line flags do not take effect if changed at runtime.

TODO: We plan to add tags indicating which flags can be modified at runtime. For now, this is an advanced option.

func (*SetFlagRequestPB) Descriptor deprecated

func (*SetFlagRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SetFlagRequestPB.ProtoReflect.Descriptor instead.

func (*SetFlagRequestPB) GetFlag

func (x *SetFlagRequestPB) GetFlag() string

func (*SetFlagRequestPB) GetForce

func (x *SetFlagRequestPB) GetForce() bool

func (*SetFlagRequestPB) GetValue

func (x *SetFlagRequestPB) GetValue() string

func (*SetFlagRequestPB) ProtoMessage

func (*SetFlagRequestPB) ProtoMessage()

func (*SetFlagRequestPB) ProtoReflect

func (x *SetFlagRequestPB) ProtoReflect() protoreflect.Message

func (*SetFlagRequestPB) Reset

func (x *SetFlagRequestPB) Reset()

func (*SetFlagRequestPB) String

func (x *SetFlagRequestPB) String() string

type SetFlagResponsePB

type SetFlagResponsePB struct {
	Result *SetFlagResponsePB_Code `protobuf:"varint,1,req,name=result,enum=yb.server.SetFlagResponsePB_Code" json:"result,omitempty"`
	// A string describing the new value that the option has been set to.
	// This passes through the return value of SetCommandLineOption() from
	// gflags, which doesn't specify anything about the format of this message.
	//
	// Using 'result' above is more reliable.
	Msg *string `protobuf:"bytes,2,opt,name=msg" json:"msg,omitempty"`
	// If the flag exists, the prior value of the flag. This is set even in the
	// case of BAD_VALUE.
	OldValue *string `protobuf:"bytes,3,opt,name=old_value,json=oldValue" json:"old_value,omitempty"`
	// contains filtered or unexported fields
}

func (*SetFlagResponsePB) Descriptor deprecated

func (*SetFlagResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SetFlagResponsePB.ProtoReflect.Descriptor instead.

func (*SetFlagResponsePB) GetMsg

func (x *SetFlagResponsePB) GetMsg() string

func (*SetFlagResponsePB) GetOldValue

func (x *SetFlagResponsePB) GetOldValue() string

func (*SetFlagResponsePB) GetResult

func (*SetFlagResponsePB) ProtoMessage

func (*SetFlagResponsePB) ProtoMessage()

func (*SetFlagResponsePB) ProtoReflect

func (x *SetFlagResponsePB) ProtoReflect() protoreflect.Message

func (*SetFlagResponsePB) Reset

func (x *SetFlagResponsePB) Reset()

func (*SetFlagResponsePB) String

func (x *SetFlagResponsePB) String() string

type SetFlagResponsePB_Code

type SetFlagResponsePB_Code int32
const (
	SetFlagResponsePB_UNKNOWN      SetFlagResponsePB_Code = 0
	SetFlagResponsePB_SUCCESS      SetFlagResponsePB_Code = 1
	SetFlagResponsePB_NO_SUCH_FLAG SetFlagResponsePB_Code = 2
	SetFlagResponsePB_BAD_VALUE    SetFlagResponsePB_Code = 3
	// The flag is not safe to change at runtime without the 'force' flag.
	SetFlagResponsePB_NOT_SAFE SetFlagResponsePB_Code = 4
)

func (SetFlagResponsePB_Code) Descriptor

func (SetFlagResponsePB_Code) Enum

func (SetFlagResponsePB_Code) EnumDescriptor deprecated

func (SetFlagResponsePB_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetFlagResponsePB_Code.Descriptor instead.

func (SetFlagResponsePB_Code) Number

func (SetFlagResponsePB_Code) String

func (x SetFlagResponsePB_Code) String() string

func (SetFlagResponsePB_Code) Type

func (*SetFlagResponsePB_Code) UnmarshalJSON deprecated

func (x *SetFlagResponsePB_Code) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SetPreferredZonesRequestPB

type SetPreferredZonesRequestPB struct {
	PreferredZones []*CloudInfoPB `protobuf:"bytes,1,rep,name=preferred_zones,json=preferredZones" json:"preferred_zones,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPreferredZonesRequestPB) Descriptor deprecated

func (*SetPreferredZonesRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SetPreferredZonesRequestPB.ProtoReflect.Descriptor instead.

func (*SetPreferredZonesRequestPB) GetPreferredZones

func (x *SetPreferredZonesRequestPB) GetPreferredZones() []*CloudInfoPB

func (*SetPreferredZonesRequestPB) ProtoMessage

func (*SetPreferredZonesRequestPB) ProtoMessage()

func (*SetPreferredZonesRequestPB) ProtoReflect

func (*SetPreferredZonesRequestPB) Reset

func (x *SetPreferredZonesRequestPB) Reset()

func (*SetPreferredZonesRequestPB) String

func (x *SetPreferredZonesRequestPB) String() string

type SetPreferredZonesResponsePB

type SetPreferredZonesResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SetPreferredZonesResponsePB) Descriptor deprecated

func (*SetPreferredZonesResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SetPreferredZonesResponsePB.ProtoReflect.Descriptor instead.

func (*SetPreferredZonesResponsePB) GetError

func (*SetPreferredZonesResponsePB) ProtoMessage

func (*SetPreferredZonesResponsePB) ProtoMessage()

func (*SetPreferredZonesResponsePB) ProtoReflect

func (*SetPreferredZonesResponsePB) Reset

func (x *SetPreferredZonesResponsePB) Reset()

func (*SetPreferredZonesResponsePB) String

func (x *SetPreferredZonesResponsePB) String() string

type SetUniverseReplicationEnabledRequestPB

type SetUniverseReplicationEnabledRequestPB struct {
	ProducerId *string `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	IsEnabled  *bool   `protobuf:"varint,2,opt,name=is_enabled,json=isEnabled" json:"is_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUniverseReplicationEnabledRequestPB) Descriptor deprecated

func (*SetUniverseReplicationEnabledRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SetUniverseReplicationEnabledRequestPB.ProtoReflect.Descriptor instead.

func (*SetUniverseReplicationEnabledRequestPB) GetIsEnabled

func (x *SetUniverseReplicationEnabledRequestPB) GetIsEnabled() bool

func (*SetUniverseReplicationEnabledRequestPB) GetProducerId

func (*SetUniverseReplicationEnabledRequestPB) ProtoMessage

func (*SetUniverseReplicationEnabledRequestPB) ProtoReflect

func (*SetUniverseReplicationEnabledRequestPB) Reset

func (*SetUniverseReplicationEnabledRequestPB) String

type SetUniverseReplicationEnabledResponsePB

type SetUniverseReplicationEnabledResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SetUniverseReplicationEnabledResponsePB) Descriptor deprecated

func (*SetUniverseReplicationEnabledResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SetUniverseReplicationEnabledResponsePB.ProtoReflect.Descriptor instead.

func (*SetUniverseReplicationEnabledResponsePB) GetError

func (*SetUniverseReplicationEnabledResponsePB) ProtoMessage

func (*SetUniverseReplicationEnabledResponsePB) ProtoReflect

func (*SetUniverseReplicationEnabledResponsePB) Reset

func (*SetUniverseReplicationEnabledResponsePB) String

type SetupUniverseReplicationRequestPB

type SetupUniverseReplicationRequestPB struct {
	ProducerId              *string       `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	ProducerMasterAddresses []*HostPortPB `protobuf:"bytes,2,rep,name=producer_master_addresses,json=producerMasterAddresses" json:"producer_master_addresses,omitempty"`
	ProducerTableIds        []string      `protobuf:"bytes,3,rep,name=producer_table_ids,json=producerTableIds" json:"producer_table_ids,omitempty"`
	// An id generated by the producer when BootstrapProducer rpc is called.
	ProducerBootstrapIds []string `protobuf:"bytes,4,rep,name=producer_bootstrap_ids,json=producerBootstrapIds" json:"producer_bootstrap_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupUniverseReplicationRequestPB) Descriptor deprecated

func (*SetupUniverseReplicationRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SetupUniverseReplicationRequestPB.ProtoReflect.Descriptor instead.

func (*SetupUniverseReplicationRequestPB) GetProducerBootstrapIds

func (x *SetupUniverseReplicationRequestPB) GetProducerBootstrapIds() []string

func (*SetupUniverseReplicationRequestPB) GetProducerId

func (x *SetupUniverseReplicationRequestPB) GetProducerId() string

func (*SetupUniverseReplicationRequestPB) GetProducerMasterAddresses

func (x *SetupUniverseReplicationRequestPB) GetProducerMasterAddresses() []*HostPortPB

func (*SetupUniverseReplicationRequestPB) GetProducerTableIds

func (x *SetupUniverseReplicationRequestPB) GetProducerTableIds() []string

func (*SetupUniverseReplicationRequestPB) ProtoMessage

func (*SetupUniverseReplicationRequestPB) ProtoMessage()

func (*SetupUniverseReplicationRequestPB) ProtoReflect

func (*SetupUniverseReplicationRequestPB) Reset

func (*SetupUniverseReplicationRequestPB) String

type SetupUniverseReplicationResponsePB

type SetupUniverseReplicationResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupUniverseReplicationResponsePB) Descriptor deprecated

func (*SetupUniverseReplicationResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SetupUniverseReplicationResponsePB.ProtoReflect.Descriptor instead.

func (*SetupUniverseReplicationResponsePB) GetError

func (*SetupUniverseReplicationResponsePB) ProtoMessage

func (*SetupUniverseReplicationResponsePB) ProtoMessage()

func (*SetupUniverseReplicationResponsePB) ProtoReflect

func (*SetupUniverseReplicationResponsePB) Reset

func (*SetupUniverseReplicationResponsePB) String

type SleepRequestPB

type SleepRequestPB struct {
	SleepMicros *uint32 `protobuf:"varint,1,req,name=sleep_micros,json=sleepMicros" json:"sleep_micros,omitempty"`
	// Used in rpc_stub-test: if this is true, it will respond from a different
	// thread than the one that receives the request.
	Deferred *bool `protobuf:"varint,2,opt,name=deferred,def=0" json:"deferred,omitempty"`
	// If set, returns a CalculatorError response.
	ReturnAppError *bool `protobuf:"varint,3,opt,name=return_app_error,json=returnAppError,def=0" json:"return_app_error,omitempty"`
	// Used in rpc-test: if this is set to true and no client timeout is set,
	// the service will respond to the client with an error.
	ClientTimeoutDefined *bool `protobuf:"varint,4,opt,name=client_timeout_defined,json=clientTimeoutDefined,def=0" json:"client_timeout_defined,omitempty"`
	// contains filtered or unexported fields
}

func (*SleepRequestPB) Descriptor deprecated

func (*SleepRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SleepRequestPB.ProtoReflect.Descriptor instead.

func (*SleepRequestPB) GetClientTimeoutDefined

func (x *SleepRequestPB) GetClientTimeoutDefined() bool

func (*SleepRequestPB) GetDeferred

func (x *SleepRequestPB) GetDeferred() bool

func (*SleepRequestPB) GetReturnAppError

func (x *SleepRequestPB) GetReturnAppError() bool

func (*SleepRequestPB) GetSleepMicros

func (x *SleepRequestPB) GetSleepMicros() uint32

func (*SleepRequestPB) ProtoMessage

func (*SleepRequestPB) ProtoMessage()

func (*SleepRequestPB) ProtoReflect

func (x *SleepRequestPB) ProtoReflect() protoreflect.Message

func (*SleepRequestPB) Reset

func (x *SleepRequestPB) Reset()

func (*SleepRequestPB) String

func (x *SleepRequestPB) String() string

type SleepResponsePB

type SleepResponsePB struct {
	// contains filtered or unexported fields
}

func (*SleepResponsePB) Descriptor deprecated

func (*SleepResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SleepResponsePB.ProtoReflect.Descriptor instead.

func (*SleepResponsePB) ProtoMessage

func (*SleepResponsePB) ProtoMessage()

func (*SleepResponsePB) ProtoReflect

func (x *SleepResponsePB) ProtoReflect() protoreflect.Message

func (*SleepResponsePB) Reset

func (x *SleepResponsePB) Reset()

func (*SleepResponsePB) String

func (x *SleepResponsePB) String() string

type SnapshotFilePB

type SnapshotFilePB struct {
	File       *FilePB `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
	SnapshotId []byte  `protobuf:"bytes,2,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotFilePB) Descriptor deprecated

func (*SnapshotFilePB) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotFilePB.ProtoReflect.Descriptor instead.

func (*SnapshotFilePB) GetFile

func (x *SnapshotFilePB) GetFile() *FilePB

func (*SnapshotFilePB) GetSnapshotId

func (x *SnapshotFilePB) GetSnapshotId() []byte

func (*SnapshotFilePB) ProtoMessage

func (*SnapshotFilePB) ProtoMessage()

func (*SnapshotFilePB) ProtoReflect

func (x *SnapshotFilePB) ProtoReflect() protoreflect.Message

func (*SnapshotFilePB) Reset

func (x *SnapshotFilePB) Reset()

func (*SnapshotFilePB) String

func (x *SnapshotFilePB) String() string

type SnapshotInfoPB added in v2.11.2

type SnapshotInfoPB struct {
	Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Detailed snapshot entries.
	Entry         *SysSnapshotEntryPB `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
	FormatVersion *int64              `protobuf:"varint,3,opt,name=format_version,json=formatVersion,def=1" json:"format_version,omitempty"`
	// Stored extended info about snapshot (1) namespaces (2) tables (3) tablets
	// instead of 'SysRowEntry entry.entries'.
	BackupEntries []*BackupRowEntryPB `protobuf:"bytes,4,rep,name=backup_entries,json=backupEntries" json:"backup_entries,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotInfoPB) Descriptor deprecated added in v2.11.2

func (*SnapshotInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotInfoPB.ProtoReflect.Descriptor instead.

func (*SnapshotInfoPB) GetBackupEntries added in v2.11.2

func (x *SnapshotInfoPB) GetBackupEntries() []*BackupRowEntryPB

func (*SnapshotInfoPB) GetEntry added in v2.11.2

func (x *SnapshotInfoPB) GetEntry() *SysSnapshotEntryPB

func (*SnapshotInfoPB) GetFormatVersion added in v2.11.2

func (x *SnapshotInfoPB) GetFormatVersion() int64

func (*SnapshotInfoPB) GetId added in v2.11.2

func (x *SnapshotInfoPB) GetId() []byte

func (*SnapshotInfoPB) ProtoMessage added in v2.11.2

func (*SnapshotInfoPB) ProtoMessage()

func (*SnapshotInfoPB) ProtoReflect added in v2.11.2

func (x *SnapshotInfoPB) ProtoReflect() protoreflect.Message

func (*SnapshotInfoPB) Reset added in v2.11.2

func (x *SnapshotInfoPB) Reset()

func (*SnapshotInfoPB) String added in v2.11.2

func (x *SnapshotInfoPB) String() string

type SnapshotScheduleFilterPB added in v2.11.2

type SnapshotScheduleFilterPB struct {

	// Types that are assignable to Filter:
	//	*SnapshotScheduleFilterPB_Tables
	Filter isSnapshotScheduleFilterPB_Filter `protobuf_oneof:"filter"`
	// contains filtered or unexported fields
}

func (*SnapshotScheduleFilterPB) Descriptor deprecated added in v2.11.2

func (*SnapshotScheduleFilterPB) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotScheduleFilterPB.ProtoReflect.Descriptor instead.

func (*SnapshotScheduleFilterPB) GetFilter added in v2.11.2

func (m *SnapshotScheduleFilterPB) GetFilter() isSnapshotScheduleFilterPB_Filter

func (*SnapshotScheduleFilterPB) GetTables added in v2.11.2

func (*SnapshotScheduleFilterPB) ProtoMessage added in v2.11.2

func (*SnapshotScheduleFilterPB) ProtoMessage()

func (*SnapshotScheduleFilterPB) ProtoReflect added in v2.11.2

func (x *SnapshotScheduleFilterPB) ProtoReflect() protoreflect.Message

func (*SnapshotScheduleFilterPB) Reset added in v2.11.2

func (x *SnapshotScheduleFilterPB) Reset()

func (*SnapshotScheduleFilterPB) String added in v2.11.2

func (x *SnapshotScheduleFilterPB) String() string

type SnapshotScheduleFilterPB_Tables added in v2.11.2

type SnapshotScheduleFilterPB_Tables struct {
	Tables *TableIdentifiersPB `protobuf:"bytes,1,opt,name=tables,oneof"`
}

type SnapshotScheduleInfoPB added in v2.11.2

type SnapshotScheduleInfoPB struct {
	Id        []byte                     `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Options   *SnapshotScheduleOptionsPB `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"`
	Snapshots []*SnapshotInfoPB          `protobuf:"bytes,3,rep,name=snapshots" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

func (*SnapshotScheduleInfoPB) Descriptor deprecated added in v2.11.2

func (*SnapshotScheduleInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotScheduleInfoPB.ProtoReflect.Descriptor instead.

func (*SnapshotScheduleInfoPB) GetId added in v2.11.2

func (x *SnapshotScheduleInfoPB) GetId() []byte

func (*SnapshotScheduleInfoPB) GetOptions added in v2.11.2

func (*SnapshotScheduleInfoPB) GetSnapshots added in v2.11.2

func (x *SnapshotScheduleInfoPB) GetSnapshots() []*SnapshotInfoPB

func (*SnapshotScheduleInfoPB) ProtoMessage added in v2.11.2

func (*SnapshotScheduleInfoPB) ProtoMessage()

func (*SnapshotScheduleInfoPB) ProtoReflect added in v2.11.2

func (x *SnapshotScheduleInfoPB) ProtoReflect() protoreflect.Message

func (*SnapshotScheduleInfoPB) Reset added in v2.11.2

func (x *SnapshotScheduleInfoPB) Reset()

func (*SnapshotScheduleInfoPB) String added in v2.11.2

func (x *SnapshotScheduleInfoPB) String() string

type SnapshotScheduleOptionsPB added in v2.11.2

type SnapshotScheduleOptionsPB struct {
	Filter               *SnapshotScheduleFilterPB `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"`
	IntervalSec          *uint64                   `protobuf:"varint,2,opt,name=interval_sec,json=intervalSec" json:"interval_sec,omitempty"`                              // interval for taking snapshot in seconds.
	RetentionDurationSec *uint64                   `protobuf:"varint,3,opt,name=retention_duration_sec,json=retentionDurationSec" json:"retention_duration_sec,omitempty"` // how long store snapshots in seconds.
	DeleteTime           *uint64                   `protobuf:"fixed64,4,opt,name=delete_time,json=deleteTime" json:"delete_time,omitempty"`                                // hybrid time when this schedule was deleted.
	RestorationTimes     []uint64                  `protobuf:"fixed64,5,rep,name=restoration_times,json=restorationTimes" json:"restoration_times,omitempty"`              // list of all restorations of this schedule.
	// contains filtered or unexported fields
}

func (*SnapshotScheduleOptionsPB) Descriptor deprecated added in v2.11.2

func (*SnapshotScheduleOptionsPB) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotScheduleOptionsPB.ProtoReflect.Descriptor instead.

func (*SnapshotScheduleOptionsPB) GetDeleteTime added in v2.11.2

func (x *SnapshotScheduleOptionsPB) GetDeleteTime() uint64

func (*SnapshotScheduleOptionsPB) GetFilter added in v2.11.2

func (*SnapshotScheduleOptionsPB) GetIntervalSec added in v2.11.2

func (x *SnapshotScheduleOptionsPB) GetIntervalSec() uint64

func (*SnapshotScheduleOptionsPB) GetRestorationTimes added in v2.13.0

func (x *SnapshotScheduleOptionsPB) GetRestorationTimes() []uint64

func (*SnapshotScheduleOptionsPB) GetRetentionDurationSec added in v2.11.2

func (x *SnapshotScheduleOptionsPB) GetRetentionDurationSec() uint64

func (*SnapshotScheduleOptionsPB) ProtoMessage added in v2.11.2

func (*SnapshotScheduleOptionsPB) ProtoMessage()

func (*SnapshotScheduleOptionsPB) ProtoReflect added in v2.11.2

func (*SnapshotScheduleOptionsPB) Reset added in v2.11.2

func (x *SnapshotScheduleOptionsPB) Reset()

func (*SnapshotScheduleOptionsPB) String added in v2.11.2

func (x *SnapshotScheduleOptionsPB) String() string

type SortedSetOptionsPB

type SortedSetOptionsPB struct {
	UpdateOptions *SortedSetOptionsPB_UpdateOptions `` /* 141-byte string literal not displayed */
	Ch            *bool                             `protobuf:"varint,5,opt,name=ch,def=0" json:"ch,omitempty"`
	Incr          *bool                             `protobuf:"varint,6,opt,name=incr,def=0" json:"incr,omitempty"`
	// contains filtered or unexported fields
}

func (*SortedSetOptionsPB) Descriptor deprecated

func (*SortedSetOptionsPB) Descriptor() ([]byte, []int)

Deprecated: Use SortedSetOptionsPB.ProtoReflect.Descriptor instead.

func (*SortedSetOptionsPB) GetCh

func (x *SortedSetOptionsPB) GetCh() bool

func (*SortedSetOptionsPB) GetIncr

func (x *SortedSetOptionsPB) GetIncr() bool

func (*SortedSetOptionsPB) GetUpdateOptions

func (*SortedSetOptionsPB) ProtoMessage

func (*SortedSetOptionsPB) ProtoMessage()

func (*SortedSetOptionsPB) ProtoReflect

func (x *SortedSetOptionsPB) ProtoReflect() protoreflect.Message

func (*SortedSetOptionsPB) Reset

func (x *SortedSetOptionsPB) Reset()

func (*SortedSetOptionsPB) String

func (x *SortedSetOptionsPB) String() string

type SortedSetOptionsPB_UpdateOptions

type SortedSetOptionsPB_UpdateOptions int32
const (
	SortedSetOptionsPB_NX   SortedSetOptionsPB_UpdateOptions = 1
	SortedSetOptionsPB_XX   SortedSetOptionsPB_UpdateOptions = 2
	SortedSetOptionsPB_NONE SortedSetOptionsPB_UpdateOptions = 3
)

func (SortedSetOptionsPB_UpdateOptions) Descriptor

func (SortedSetOptionsPB_UpdateOptions) Enum

func (SortedSetOptionsPB_UpdateOptions) EnumDescriptor deprecated

func (SortedSetOptionsPB_UpdateOptions) EnumDescriptor() ([]byte, []int)

Deprecated: Use SortedSetOptionsPB_UpdateOptions.Descriptor instead.

func (SortedSetOptionsPB_UpdateOptions) Number

func (SortedSetOptionsPB_UpdateOptions) String

func (SortedSetOptionsPB_UpdateOptions) Type

func (*SortedSetOptionsPB_UpdateOptions) UnmarshalJSON deprecated

func (x *SortedSetOptionsPB_UpdateOptions) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SplitTabletRequestPB

type SplitTabletRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid             []byte  `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	PropagatedHybridTime *uint64 `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	TabletId             []byte  `protobuf:"bytes,3,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	NewTablet1Id         []byte  `protobuf:"bytes,4,req,name=new_tablet1_id,json=newTablet1Id" json:"new_tablet1_id,omitempty"`
	NewTablet2Id         []byte  `protobuf:"bytes,5,req,name=new_tablet2_id,json=newTablet2Id" json:"new_tablet2_id,omitempty"`
	SplitPartitionKey    []byte  `protobuf:"bytes,6,req,name=split_partition_key,json=splitPartitionKey" json:"split_partition_key,omitempty"`
	SplitEncodedKey      []byte  `protobuf:"bytes,7,req,name=split_encoded_key,json=splitEncodedKey" json:"split_encoded_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitTabletRequestPB) Descriptor deprecated

func (*SplitTabletRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use SplitTabletRequestPB.ProtoReflect.Descriptor instead.

func (*SplitTabletRequestPB) GetDestUuid

func (x *SplitTabletRequestPB) GetDestUuid() []byte

func (*SplitTabletRequestPB) GetNewTablet1Id

func (x *SplitTabletRequestPB) GetNewTablet1Id() []byte

func (*SplitTabletRequestPB) GetNewTablet2Id

func (x *SplitTabletRequestPB) GetNewTablet2Id() []byte

func (*SplitTabletRequestPB) GetPropagatedHybridTime

func (x *SplitTabletRequestPB) GetPropagatedHybridTime() uint64

func (*SplitTabletRequestPB) GetSplitEncodedKey

func (x *SplitTabletRequestPB) GetSplitEncodedKey() []byte

func (*SplitTabletRequestPB) GetSplitPartitionKey

func (x *SplitTabletRequestPB) GetSplitPartitionKey() []byte

func (*SplitTabletRequestPB) GetTabletId

func (x *SplitTabletRequestPB) GetTabletId() []byte

func (*SplitTabletRequestPB) ProtoMessage

func (*SplitTabletRequestPB) ProtoMessage()

func (*SplitTabletRequestPB) ProtoReflect

func (x *SplitTabletRequestPB) ProtoReflect() protoreflect.Message

func (*SplitTabletRequestPB) Reset

func (x *SplitTabletRequestPB) Reset()

func (*SplitTabletRequestPB) String

func (x *SplitTabletRequestPB) String() string

type SplitTabletResponsePB

type SplitTabletResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*SplitTabletResponsePB) Descriptor deprecated

func (*SplitTabletResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use SplitTabletResponsePB.ProtoReflect.Descriptor instead.

func (*SplitTabletResponsePB) GetError

func (*SplitTabletResponsePB) GetPropagatedHybridTime

func (x *SplitTabletResponsePB) GetPropagatedHybridTime() uint64

func (*SplitTabletResponsePB) ProtoMessage

func (*SplitTabletResponsePB) ProtoMessage()

func (*SplitTabletResponsePB) ProtoReflect

func (x *SplitTabletResponsePB) ProtoReflect() protoreflect.Message

func (*SplitTabletResponsePB) Reset

func (x *SplitTabletResponsePB) Reset()

func (*SplitTabletResponsePB) String

func (x *SplitTabletResponsePB) String() string

type StartRemoteBootstrapRequestPB

type StartRemoteBootstrapRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid            []byte `protobuf:"bytes,5,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId            []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	SplitParentTabletId []byte `protobuf:"bytes,8,opt,name=split_parent_tablet_id,json=splitParentTabletId" json:"split_parent_tablet_id,omitempty"`
	// Identification for the host we are bootstrapping from.
	// TODO: Consider renaming these to bootstrap_source_*.
	BootstrapPeerUuid   []byte        `protobuf:"bytes,2,req,name=bootstrap_peer_uuid,json=bootstrapPeerUuid" json:"bootstrap_peer_uuid,omitempty"`
	SourcePrivateAddr   []*HostPortPB `protobuf:"bytes,3,rep,name=source_private_addr,json=sourcePrivateAddr" json:"source_private_addr,omitempty"`
	SourceBroadcastAddr []*HostPortPB `protobuf:"bytes,6,rep,name=source_broadcast_addr,json=sourceBroadcastAddr" json:"source_broadcast_addr,omitempty"`
	SourceCloudInfo     *CloudInfoPB  `protobuf:"bytes,7,opt,name=source_cloud_info,json=sourceCloudInfo" json:"source_cloud_info,omitempty"`
	// The caller's term. In the case that the target of this request has a
	// TOMBSTONED replica with a term higher than this one, the request will fail.
	CallerTerm *int64 `protobuf:"varint,4,opt,name=caller_term,json=callerTerm,def=-1" json:"caller_term,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRemoteBootstrapRequestPB) Descriptor deprecated

func (*StartRemoteBootstrapRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use StartRemoteBootstrapRequestPB.ProtoReflect.Descriptor instead.

func (*StartRemoteBootstrapRequestPB) GetBootstrapPeerUuid

func (x *StartRemoteBootstrapRequestPB) GetBootstrapPeerUuid() []byte

func (*StartRemoteBootstrapRequestPB) GetCallerTerm

func (x *StartRemoteBootstrapRequestPB) GetCallerTerm() int64

func (*StartRemoteBootstrapRequestPB) GetDestUuid

func (x *StartRemoteBootstrapRequestPB) GetDestUuid() []byte

func (*StartRemoteBootstrapRequestPB) GetSourceBroadcastAddr

func (x *StartRemoteBootstrapRequestPB) GetSourceBroadcastAddr() []*HostPortPB

func (*StartRemoteBootstrapRequestPB) GetSourceCloudInfo

func (x *StartRemoteBootstrapRequestPB) GetSourceCloudInfo() *CloudInfoPB

func (*StartRemoteBootstrapRequestPB) GetSourcePrivateAddr

func (x *StartRemoteBootstrapRequestPB) GetSourcePrivateAddr() []*HostPortPB

func (*StartRemoteBootstrapRequestPB) GetSplitParentTabletId

func (x *StartRemoteBootstrapRequestPB) GetSplitParentTabletId() []byte

func (*StartRemoteBootstrapRequestPB) GetTabletId

func (x *StartRemoteBootstrapRequestPB) GetTabletId() []byte

func (*StartRemoteBootstrapRequestPB) ProtoMessage

func (*StartRemoteBootstrapRequestPB) ProtoMessage()

func (*StartRemoteBootstrapRequestPB) ProtoReflect

func (*StartRemoteBootstrapRequestPB) Reset

func (x *StartRemoteBootstrapRequestPB) Reset()

func (*StartRemoteBootstrapRequestPB) String

type StartRemoteBootstrapResponsePB

type StartRemoteBootstrapResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*StartRemoteBootstrapResponsePB) Descriptor deprecated

func (*StartRemoteBootstrapResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use StartRemoteBootstrapResponsePB.ProtoReflect.Descriptor instead.

func (*StartRemoteBootstrapResponsePB) GetError

func (*StartRemoteBootstrapResponsePB) ProtoMessage

func (*StartRemoteBootstrapResponsePB) ProtoMessage()

func (*StartRemoteBootstrapResponsePB) ProtoReflect

func (*StartRemoteBootstrapResponsePB) Reset

func (x *StartRemoteBootstrapResponsePB) Reset()

func (*StartRemoteBootstrapResponsePB) String

type StreamEntryPB

type StreamEntryPB struct {

	// Map from consumer to producer tablet id.
	ConsumerProducerTabletMap      map[string]*ProducerTabletListPB `` /* 228-byte string literal not displayed */
	ConsumerTableId                string                           `protobuf:"bytes,2,opt,name=consumer_table_id,json=consumerTableId,proto3" json:"consumer_table_id,omitempty"`
	ProducerTableId                string                           `protobuf:"bytes,3,opt,name=producer_table_id,json=producerTableId,proto3" json:"producer_table_id,omitempty"`
	SameNumProducerConsumerTablets bool                             `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StreamEntryPB) Descriptor deprecated

func (*StreamEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use StreamEntryPB.ProtoReflect.Descriptor instead.

func (*StreamEntryPB) GetConsumerProducerTabletMap

func (x *StreamEntryPB) GetConsumerProducerTabletMap() map[string]*ProducerTabletListPB

func (*StreamEntryPB) GetConsumerTableId

func (x *StreamEntryPB) GetConsumerTableId() string

func (*StreamEntryPB) GetProducerTableId

func (x *StreamEntryPB) GetProducerTableId() string

func (*StreamEntryPB) GetSameNumProducerConsumerTablets

func (x *StreamEntryPB) GetSameNumProducerConsumerTablets() bool

func (*StreamEntryPB) ProtoMessage

func (*StreamEntryPB) ProtoMessage()

func (*StreamEntryPB) ProtoReflect

func (x *StreamEntryPB) ProtoReflect() protoreflect.Message

func (*StreamEntryPB) Reset

func (x *StreamEntryPB) Reset()

func (*StreamEntryPB) String

func (x *StreamEntryPB) String() string

type SubTransactionMetadataPB

type SubTransactionMetadataPB struct {
	SubtransactionId *uint32                     `protobuf:"varint,1,opt,name=subtransaction_id,json=subtransactionId" json:"subtransaction_id,omitempty"`
	Aborted          *AbortedSubTransactionSetPB `protobuf:"bytes,2,opt,name=aborted" json:"aborted,omitempty"`
	// contains filtered or unexported fields
}

func (*SubTransactionMetadataPB) Descriptor deprecated

func (*SubTransactionMetadataPB) Descriptor() ([]byte, []int)

Deprecated: Use SubTransactionMetadataPB.ProtoReflect.Descriptor instead.

func (*SubTransactionMetadataPB) GetAborted

func (*SubTransactionMetadataPB) GetSubtransactionId

func (x *SubTransactionMetadataPB) GetSubtransactionId() uint32

func (*SubTransactionMetadataPB) ProtoMessage

func (*SubTransactionMetadataPB) ProtoMessage()

func (*SubTransactionMetadataPB) ProtoReflect

func (x *SubTransactionMetadataPB) ProtoReflect() protoreflect.Message

func (*SubTransactionMetadataPB) Reset

func (x *SubTransactionMetadataPB) Reset()

func (*SubTransactionMetadataPB) String

func (x *SubTransactionMetadataPB) String() string

type SysCDCStreamEntryPB

type SysCDCStreamEntryPB struct {
	TableId     []string                   `protobuf:"bytes,1,rep,name=table_id,json=tableId" json:"table_id,omitempty"`
	Options     []*CDCStreamOptionsPB      `protobuf:"bytes,2,rep,name=options" json:"options,omitempty"`
	State       *SysCDCStreamEntryPB_State `protobuf:"varint,3,opt,name=state,enum=yb.master.SysCDCStreamEntryPB_State,def=0" json:"state,omitempty"`
	NamespaceId *string                    `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

The data part of a SysRowEntry in the sys.catalog table for a CDC stream.

func (*SysCDCStreamEntryPB) Descriptor deprecated

func (*SysCDCStreamEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysCDCStreamEntryPB.ProtoReflect.Descriptor instead.

func (*SysCDCStreamEntryPB) GetNamespaceId added in v2.13.0

func (x *SysCDCStreamEntryPB) GetNamespaceId() string

func (*SysCDCStreamEntryPB) GetOptions

func (x *SysCDCStreamEntryPB) GetOptions() []*CDCStreamOptionsPB

func (*SysCDCStreamEntryPB) GetState

func (*SysCDCStreamEntryPB) GetTableId

func (x *SysCDCStreamEntryPB) GetTableId() []string

func (*SysCDCStreamEntryPB) ProtoMessage

func (*SysCDCStreamEntryPB) ProtoMessage()

func (*SysCDCStreamEntryPB) ProtoReflect

func (x *SysCDCStreamEntryPB) ProtoReflect() protoreflect.Message

func (*SysCDCStreamEntryPB) Reset

func (x *SysCDCStreamEntryPB) Reset()

func (*SysCDCStreamEntryPB) String

func (x *SysCDCStreamEntryPB) String() string

type SysCDCStreamEntryPB_State

type SysCDCStreamEntryPB_State int32
const (
	// Used to mark a stream that has been bootstrapped, but hasn't started streaming yet.
	SysCDCStreamEntryPB_INITIATED SysCDCStreamEntryPB_State = 3
	SysCDCStreamEntryPB_ACTIVE    SysCDCStreamEntryPB_State = 0
	SysCDCStreamEntryPB_DELETING  SysCDCStreamEntryPB_State = 1
	// Currently DELETED is not being used because we delete streams entries from sys catalog.
	SysCDCStreamEntryPB_DELETED SysCDCStreamEntryPB_State = 2
)

func (SysCDCStreamEntryPB_State) Descriptor

func (SysCDCStreamEntryPB_State) Enum

func (SysCDCStreamEntryPB_State) EnumDescriptor deprecated

func (SysCDCStreamEntryPB_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysCDCStreamEntryPB_State.Descriptor instead.

func (SysCDCStreamEntryPB_State) Number

func (SysCDCStreamEntryPB_State) String

func (x SysCDCStreamEntryPB_State) String() string

func (SysCDCStreamEntryPB_State) Type

func (*SysCDCStreamEntryPB_State) UnmarshalJSON deprecated

func (x *SysCDCStreamEntryPB_State) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysClusterConfigEntryPB

type SysClusterConfigEntryPB struct {
	Version          *int32              `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	ClusterUuid      *string             `protobuf:"bytes,4,opt,name=cluster_uuid,json=clusterUuid" json:"cluster_uuid,omitempty"`
	ReplicationInfo  *ReplicationInfoPB  `protobuf:"bytes,2,opt,name=replication_info,json=replicationInfo" json:"replication_info,omitempty"`
	ServerBlacklist  *BlacklistPB        `protobuf:"bytes,3,opt,name=server_blacklist,json=serverBlacklist" json:"server_blacklist,omitempty"`
	LeaderBlacklist  *BlacklistPB        `protobuf:"bytes,7,opt,name=leader_blacklist,json=leaderBlacklist" json:"leader_blacklist,omitempty"`
	EncryptionInfo   *EncryptionInfoPB   `protobuf:"bytes,5,opt,name=encryption_info,json=encryptionInfo" json:"encryption_info,omitempty"`
	ConsumerRegistry *ConsumerRegistryPB `protobuf:"bytes,6,opt,name=consumer_registry,json=consumerRegistry" json:"consumer_registry,omitempty"`
	// contains filtered or unexported fields
}

The on-disk entry in the sys.catalog table for configuration vinformation that are relevant to the entire cluster. This has a version entry that is used for ensuring that client read-modify-writes are valid.

func (*SysClusterConfigEntryPB) Descriptor deprecated

func (*SysClusterConfigEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysClusterConfigEntryPB.ProtoReflect.Descriptor instead.

func (*SysClusterConfigEntryPB) GetClusterUuid

func (x *SysClusterConfigEntryPB) GetClusterUuid() string

func (*SysClusterConfigEntryPB) GetConsumerRegistry

func (x *SysClusterConfigEntryPB) GetConsumerRegistry() *ConsumerRegistryPB

func (*SysClusterConfigEntryPB) GetEncryptionInfo

func (x *SysClusterConfigEntryPB) GetEncryptionInfo() *EncryptionInfoPB

func (*SysClusterConfigEntryPB) GetLeaderBlacklist

func (x *SysClusterConfigEntryPB) GetLeaderBlacklist() *BlacklistPB

func (*SysClusterConfigEntryPB) GetReplicationInfo

func (x *SysClusterConfigEntryPB) GetReplicationInfo() *ReplicationInfoPB

func (*SysClusterConfigEntryPB) GetServerBlacklist

func (x *SysClusterConfigEntryPB) GetServerBlacklist() *BlacklistPB

func (*SysClusterConfigEntryPB) GetVersion

func (x *SysClusterConfigEntryPB) GetVersion() int32

func (*SysClusterConfigEntryPB) ProtoMessage

func (*SysClusterConfigEntryPB) ProtoMessage()

func (*SysClusterConfigEntryPB) ProtoReflect

func (x *SysClusterConfigEntryPB) ProtoReflect() protoreflect.Message

func (*SysClusterConfigEntryPB) Reset

func (x *SysClusterConfigEntryPB) Reset()

func (*SysClusterConfigEntryPB) String

func (x *SysClusterConfigEntryPB) String() string

type SysConfigEntryPB

type SysConfigEntryPB struct {

	// Types that are assignable to Config:
	//	*SysConfigEntryPB_SecurityConfig
	//	*SysConfigEntryPB_YsqlCatalogConfig
	//	*SysConfigEntryPB_TransactionTablesConfig
	Config isSysConfigEntryPB_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

Various cluster configuration.

func (*SysConfigEntryPB) Descriptor deprecated

func (*SysConfigEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysConfigEntryPB.ProtoReflect.Descriptor instead.

func (*SysConfigEntryPB) GetConfig

func (m *SysConfigEntryPB) GetConfig() isSysConfigEntryPB_Config

func (*SysConfigEntryPB) GetSecurityConfig

func (x *SysConfigEntryPB) GetSecurityConfig() *SysSecurityConfigEntryPB

func (*SysConfigEntryPB) GetTransactionTablesConfig added in v2.13.0

func (x *SysConfigEntryPB) GetTransactionTablesConfig() *SysTransactionTablesConfigEntryPB

func (*SysConfigEntryPB) GetYsqlCatalogConfig

func (x *SysConfigEntryPB) GetYsqlCatalogConfig() *SysYSQLCatalogConfigEntryPB

func (*SysConfigEntryPB) ProtoMessage

func (*SysConfigEntryPB) ProtoMessage()

func (*SysConfigEntryPB) ProtoReflect

func (x *SysConfigEntryPB) ProtoReflect() protoreflect.Message

func (*SysConfigEntryPB) Reset

func (x *SysConfigEntryPB) Reset()

func (*SysConfigEntryPB) String

func (x *SysConfigEntryPB) String() string

type SysConfigEntryPB_SecurityConfig

type SysConfigEntryPB_SecurityConfig struct {
	SecurityConfig *SysSecurityConfigEntryPB `protobuf:"bytes,1,opt,name=security_config,json=securityConfig,oneof"`
}

type SysConfigEntryPB_TransactionTablesConfig added in v2.13.0

type SysConfigEntryPB_TransactionTablesConfig struct {
	TransactionTablesConfig *SysTransactionTablesConfigEntryPB `protobuf:"bytes,3,opt,name=transaction_tables_config,json=transactionTablesConfig,oneof"`
}

type SysConfigEntryPB_YsqlCatalogConfig

type SysConfigEntryPB_YsqlCatalogConfig struct {
	YsqlCatalogConfig *SysYSQLCatalogConfigEntryPB `protobuf:"bytes,2,opt,name=ysql_catalog_config,json=ysqlCatalogConfig,oneof"`
}

type SysNamespaceEntryPB

type SysNamespaceEntryPB struct {

	// Namespace name.
	Name []byte `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Namespace/Database type.
	DatabaseType *YQLDatabase `protobuf:"varint,2,opt,name=database_type,json=databaseType,enum=yb.YQLDatabase,def=2" json:"database_type,omitempty"`
	// For Postgres:
	NextPgOid *uint32 `protobuf:"varint,3,opt,name=next_pg_oid,json=nextPgOid" json:"next_pg_oid,omitempty"` // Next oid to assign.
	// True if the namespace is colocated.
	Colocated *bool `protobuf:"varint,4,opt,name=colocated,def=0" json:"colocated,omitempty"`
	// Optional: Namespace dependent upon transaction success (abort removes NS). Used by YSQL.
	Transaction *TransactionMetadataPB     `protobuf:"bytes,6,opt,name=transaction" json:"transaction,omitempty"`
	State       *SysNamespaceEntryPB_State `protobuf:"varint,5,opt,name=state,enum=yb.master.SysNamespaceEntryPB_State,def=0" json:"state,omitempty"`
	// contains filtered or unexported fields
}

The data part of a SysRowEntry in the sys.catalog table for a namespace.

func (*SysNamespaceEntryPB) Descriptor deprecated

func (*SysNamespaceEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysNamespaceEntryPB.ProtoReflect.Descriptor instead.

func (*SysNamespaceEntryPB) GetColocated

func (x *SysNamespaceEntryPB) GetColocated() bool

func (*SysNamespaceEntryPB) GetDatabaseType

func (x *SysNamespaceEntryPB) GetDatabaseType() YQLDatabase

func (*SysNamespaceEntryPB) GetName

func (x *SysNamespaceEntryPB) GetName() []byte

func (*SysNamespaceEntryPB) GetNextPgOid

func (x *SysNamespaceEntryPB) GetNextPgOid() uint32

func (*SysNamespaceEntryPB) GetState

func (*SysNamespaceEntryPB) GetTransaction

func (x *SysNamespaceEntryPB) GetTransaction() *TransactionMetadataPB

func (*SysNamespaceEntryPB) ProtoMessage

func (*SysNamespaceEntryPB) ProtoMessage()

func (*SysNamespaceEntryPB) ProtoReflect

func (x *SysNamespaceEntryPB) ProtoReflect() protoreflect.Message

func (*SysNamespaceEntryPB) Reset

func (x *SysNamespaceEntryPB) Reset()

func (*SysNamespaceEntryPB) String

func (x *SysNamespaceEntryPB) String() string

type SysNamespaceEntryPB_State

type SysNamespaceEntryPB_State int32
const (
	SysNamespaceEntryPB_UNKNOWN   SysNamespaceEntryPB_State = 0 // Unset or bad data. Unexpected state.
	SysNamespaceEntryPB_PREPARING SysNamespaceEntryPB_State = 1 // Creating. Transitive State. Possible Next States: [RUNNING, FAILED].
	SysNamespaceEntryPB_FAILED    SysNamespaceEntryPB_State = 2 // Creation Failed. Permanent State.
	SysNamespaceEntryPB_RUNNING   SysNamespaceEntryPB_State = 3 // Live. Permanent State. Possible Next States: [FAILED, DELETING].
	SysNamespaceEntryPB_DELETING  SysNamespaceEntryPB_State = 4 // Delete Requested. Transitive State. Possible Next States: [DELETED].
	SysNamespaceEntryPB_DELETED   SysNamespaceEntryPB_State = 5 // Delete Finished on TServers or Tombstone. Final State before erasure.
)

func (SysNamespaceEntryPB_State) Descriptor

func (SysNamespaceEntryPB_State) Enum

func (SysNamespaceEntryPB_State) EnumDescriptor deprecated

func (SysNamespaceEntryPB_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysNamespaceEntryPB_State.Descriptor instead.

func (SysNamespaceEntryPB_State) Number

func (SysNamespaceEntryPB_State) String

func (x SysNamespaceEntryPB_State) String() string

func (SysNamespaceEntryPB_State) Type

func (*SysNamespaceEntryPB_State) UnmarshalJSON deprecated

func (x *SysNamespaceEntryPB_State) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysRedisConfigEntryPB

type SysRedisConfigEntryPB struct {
	Key  *string  `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Args [][]byte `protobuf:"bytes,2,rep,name=args" json:"args,omitempty"`
	// contains filtered or unexported fields
}

The data part of a SysRowEntry in the sys.catalog table for Redis Config.

func (*SysRedisConfigEntryPB) Descriptor deprecated

func (*SysRedisConfigEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysRedisConfigEntryPB.ProtoReflect.Descriptor instead.

func (*SysRedisConfigEntryPB) GetArgs

func (x *SysRedisConfigEntryPB) GetArgs() [][]byte

func (*SysRedisConfigEntryPB) GetKey

func (x *SysRedisConfigEntryPB) GetKey() string

func (*SysRedisConfigEntryPB) ProtoMessage

func (*SysRedisConfigEntryPB) ProtoMessage()

func (*SysRedisConfigEntryPB) ProtoReflect

func (x *SysRedisConfigEntryPB) ProtoReflect() protoreflect.Message

func (*SysRedisConfigEntryPB) Reset

func (x *SysRedisConfigEntryPB) Reset()

func (*SysRedisConfigEntryPB) String

func (x *SysRedisConfigEntryPB) String() string

type SysRestorationEntryPB added in v2.11.2

type SysRestorationEntryPB struct {
	State              *SysSnapshotEntryPB_State `protobuf:"varint,1,opt,name=state,enum=yb.master.SysSnapshotEntryPB_State,def=0" json:"state,omitempty"`
	TabletRestorations []*TabletRestorationPB    `protobuf:"bytes,2,rep,name=tablet_restorations,json=tabletRestorations" json:"tablet_restorations,omitempty"`
	SnapshotId         []byte                    `protobuf:"bytes,8,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	// Time when restoration finished. Computed on master after received response from the last
	// tablet.
	CompleteTimeHt *uint64 `protobuf:"fixed64,3,opt,name=complete_time_ht,json=completeTimeHt" json:"complete_time_ht,omitempty"`
	// contains filtered or unexported fields
}

func (*SysRestorationEntryPB) Descriptor deprecated added in v2.11.2

func (*SysRestorationEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysRestorationEntryPB.ProtoReflect.Descriptor instead.

func (*SysRestorationEntryPB) GetCompleteTimeHt added in v2.11.2

func (x *SysRestorationEntryPB) GetCompleteTimeHt() uint64

func (*SysRestorationEntryPB) GetSnapshotId added in v2.11.2

func (x *SysRestorationEntryPB) GetSnapshotId() []byte

func (*SysRestorationEntryPB) GetState added in v2.11.2

func (*SysRestorationEntryPB) GetTabletRestorations added in v2.11.2

func (x *SysRestorationEntryPB) GetTabletRestorations() []*TabletRestorationPB

func (*SysRestorationEntryPB) ProtoMessage added in v2.11.2

func (*SysRestorationEntryPB) ProtoMessage()

func (*SysRestorationEntryPB) ProtoReflect added in v2.11.2

func (x *SysRestorationEntryPB) ProtoReflect() protoreflect.Message

func (*SysRestorationEntryPB) Reset added in v2.11.2

func (x *SysRestorationEntryPB) Reset()

func (*SysRestorationEntryPB) String added in v2.11.2

func (x *SysRestorationEntryPB) String() string

type SysRoleEntryPB

type SysRoleEntryPB struct {
	Role        []byte                   `protobuf:"bytes,1,opt,name=role" json:"role,omitempty"`
	CanLogin    *bool                    `protobuf:"varint,2,opt,name=can_login,json=canLogin" json:"can_login,omitempty"`
	IsSuperuser *bool                    `protobuf:"varint,3,opt,name=is_superuser,json=isSuperuser" json:"is_superuser,omitempty"`
	MemberOf    [][]byte                 `protobuf:"bytes,4,rep,name=member_of,json=memberOf" json:"member_of,omitempty"`
	SaltedHash  []byte                   `protobuf:"bytes,5,opt,name=salted_hash,json=saltedHash" json:"salted_hash,omitempty"`
	Resources   []*ResourcePermissionsPB `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*SysRoleEntryPB) Descriptor deprecated

func (*SysRoleEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysRoleEntryPB.ProtoReflect.Descriptor instead.

func (*SysRoleEntryPB) GetCanLogin

func (x *SysRoleEntryPB) GetCanLogin() bool

func (*SysRoleEntryPB) GetIsSuperuser

func (x *SysRoleEntryPB) GetIsSuperuser() bool

func (*SysRoleEntryPB) GetMemberOf

func (x *SysRoleEntryPB) GetMemberOf() [][]byte

func (*SysRoleEntryPB) GetResources

func (x *SysRoleEntryPB) GetResources() []*ResourcePermissionsPB

func (*SysRoleEntryPB) GetRole

func (x *SysRoleEntryPB) GetRole() []byte

func (*SysRoleEntryPB) GetSaltedHash

func (x *SysRoleEntryPB) GetSaltedHash() []byte

func (*SysRoleEntryPB) ProtoMessage

func (*SysRoleEntryPB) ProtoMessage()

func (*SysRoleEntryPB) ProtoReflect

func (x *SysRoleEntryPB) ProtoReflect() protoreflect.Message

func (*SysRoleEntryPB) Reset

func (x *SysRoleEntryPB) Reset()

func (*SysRoleEntryPB) String

func (x *SysRoleEntryPB) String() string

type SysRowEntries

type SysRowEntries struct {
	Entries []*SysRowEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
	// contains filtered or unexported fields
}

func (*SysRowEntries) Descriptor deprecated

func (*SysRowEntries) Descriptor() ([]byte, []int)

Deprecated: Use SysRowEntries.ProtoReflect.Descriptor instead.

func (*SysRowEntries) GetEntries

func (x *SysRowEntries) GetEntries() []*SysRowEntry

func (*SysRowEntries) ProtoMessage

func (*SysRowEntries) ProtoMessage()

func (*SysRowEntries) ProtoReflect

func (x *SysRowEntries) ProtoReflect() protoreflect.Message

func (*SysRowEntries) Reset

func (x *SysRowEntries) Reset()

func (*SysRowEntries) String

func (x *SysRowEntries) String() string

type SysRowEntry

type SysRowEntry struct {

	// The type of entry we are storing. Since the data is serialized, we cannot
	// just store it with
	// the data, as we are not able to read into the appropriate type.
	Type *SysRowEntryType `protobuf:"varint,1,opt,name=type,enum=yb.master.SysRowEntryType" json:"type,omitempty"`
	// The optional ID of the data that we are storing. This can be useful to only
	// read information
	// related to a single item, in the case of tables or tablets, for example.
	// This is optional.
	Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
	// This is the serialized format of the proto we store. This used to be of the "string" type, but
	// was giving warnings due to non-UTF8 data. This is safe, because "bytes" and "string" are
	// encoded the same way in Protobuf.
	// https://groups.google.com/forum/#!msg/protobuf/au6eQBkRT5s/Bhpctql7Q5sJ
	Data []byte `protobuf:"bytes,3,opt,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

The actual on disk abstract representation of a row in the sys catalog. This has to respect the fixed schema of the catalog. In case of changes to the schema, this proto must reflect them.

func (*SysRowEntry) Descriptor deprecated

func (*SysRowEntry) Descriptor() ([]byte, []int)

Deprecated: Use SysRowEntry.ProtoReflect.Descriptor instead.

func (*SysRowEntry) GetData

func (x *SysRowEntry) GetData() []byte

func (*SysRowEntry) GetId

func (x *SysRowEntry) GetId() string

func (*SysRowEntry) GetType

func (x *SysRowEntry) GetType() SysRowEntryType

func (*SysRowEntry) ProtoMessage

func (*SysRowEntry) ProtoMessage()

func (*SysRowEntry) ProtoReflect

func (x *SysRowEntry) ProtoReflect() protoreflect.Message

func (*SysRowEntry) Reset

func (x *SysRowEntry) Reset()

func (*SysRowEntry) String

func (x *SysRowEntry) String() string

type SysRowEntryType added in v2.11.2

type SysRowEntryType int32
const (
	SysRowEntryType_UNKNOWN              SysRowEntryType = 0
	SysRowEntryType_TABLE                SysRowEntryType = 1
	SysRowEntryType_TABLET               SysRowEntryType = 2
	SysRowEntryType_CLUSTER_CONFIG       SysRowEntryType = 3
	SysRowEntryType_NAMESPACE            SysRowEntryType = 4
	SysRowEntryType_UDTYPE               SysRowEntryType = 5
	SysRowEntryType_ROLE                 SysRowEntryType = 6
	SysRowEntryType_SNAPSHOT             SysRowEntryType = 7
	SysRowEntryType_REDIS_CONFIG         SysRowEntryType = 8
	SysRowEntryType_SYS_CONFIG           SysRowEntryType = 9
	SysRowEntryType_CDC_STREAM           SysRowEntryType = 10
	SysRowEntryType_UNIVERSE_REPLICATION SysRowEntryType = 11
	SysRowEntryType_SNAPSHOT_SCHEDULE    SysRowEntryType = 12
	SysRowEntryType_DDL_LOG_ENTRY        SysRowEntryType = 13
)

func (SysRowEntryType) Descriptor added in v2.11.2

func (SysRowEntryType) Enum added in v2.11.2

func (x SysRowEntryType) Enum() *SysRowEntryType

func (SysRowEntryType) EnumDescriptor deprecated added in v2.11.2

func (SysRowEntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysRowEntryType.Descriptor instead.

func (SysRowEntryType) Number added in v2.11.2

func (SysRowEntryType) String added in v2.11.2

func (x SysRowEntryType) String() string

func (SysRowEntryType) Type added in v2.11.2

func (*SysRowEntryType) UnmarshalJSON deprecated added in v2.11.2

func (x *SysRowEntryType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysSecurityConfigEntryPB

type SysSecurityConfigEntryPB struct {

	// Roles configuration version. Every time a role gets created/deleted, or a permission gets
	// added/removed, we increase the version.
	RolesVersion *uint64 `protobuf:"varint,1,opt,name=roles_version,json=rolesVersion" json:"roles_version,omitempty"`
	// contains filtered or unexported fields
}

Cluster security configuration.

func (*SysSecurityConfigEntryPB) Descriptor deprecated

func (*SysSecurityConfigEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysSecurityConfigEntryPB.ProtoReflect.Descriptor instead.

func (*SysSecurityConfigEntryPB) GetRolesVersion

func (x *SysSecurityConfigEntryPB) GetRolesVersion() uint64

func (*SysSecurityConfigEntryPB) ProtoMessage

func (*SysSecurityConfigEntryPB) ProtoMessage()

func (*SysSecurityConfigEntryPB) ProtoReflect

func (x *SysSecurityConfigEntryPB) ProtoReflect() protoreflect.Message

func (*SysSecurityConfigEntryPB) Reset

func (x *SysSecurityConfigEntryPB) Reset()

func (*SysSecurityConfigEntryPB) String

func (x *SysSecurityConfigEntryPB) String() string

type SysSnapshotEntryPB added in v2.11.2

type SysSnapshotEntryPB struct {
	State           *SysSnapshotEntryPB_State              `protobuf:"varint,1,opt,name=state,enum=yb.master.SysSnapshotEntryPB_State,def=0" json:"state,omitempty"`
	TabletSnapshots []*SysSnapshotEntryPB_TabletSnapshotPB `protobuf:"bytes,2,rep,name=tablet_snapshots,json=tabletSnapshots" json:"tablet_snapshots,omitempty"`
	// Stored info about snapshot (1) namespaces (2) tables (3) tablets.
	Entries                    []*SysRowEntry `protobuf:"bytes,3,rep,name=entries" json:"entries,omitempty"`
	SnapshotHybridTime         *uint64        `protobuf:"fixed64,4,opt,name=snapshot_hybrid_time,json=snapshotHybridTime" json:"snapshot_hybrid_time,omitempty"`
	Version                    *int64         `protobuf:"varint,5,opt,name=version" json:"version,omitempty"`
	ScheduleId                 []byte         `protobuf:"bytes,6,opt,name=schedule_id,json=scheduleId" json:"schedule_id,omitempty"`
	PreviousSnapshotHybridTime *uint64        `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

The on-disk entry in the sys.catalog table ("metadata" column) for snapshots entries.

func (*SysSnapshotEntryPB) Descriptor deprecated added in v2.11.2

func (*SysSnapshotEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysSnapshotEntryPB.ProtoReflect.Descriptor instead.

func (*SysSnapshotEntryPB) GetEntries added in v2.11.2

func (x *SysSnapshotEntryPB) GetEntries() []*SysRowEntry

func (*SysSnapshotEntryPB) GetPreviousSnapshotHybridTime added in v2.11.2

func (x *SysSnapshotEntryPB) GetPreviousSnapshotHybridTime() uint64

func (*SysSnapshotEntryPB) GetScheduleId added in v2.11.2

func (x *SysSnapshotEntryPB) GetScheduleId() []byte

func (*SysSnapshotEntryPB) GetSnapshotHybridTime added in v2.11.2

func (x *SysSnapshotEntryPB) GetSnapshotHybridTime() uint64

func (*SysSnapshotEntryPB) GetState added in v2.11.2

func (*SysSnapshotEntryPB) GetTabletSnapshots added in v2.11.2

func (x *SysSnapshotEntryPB) GetTabletSnapshots() []*SysSnapshotEntryPB_TabletSnapshotPB

func (*SysSnapshotEntryPB) GetVersion added in v2.11.2

func (x *SysSnapshotEntryPB) GetVersion() int64

func (*SysSnapshotEntryPB) ProtoMessage added in v2.11.2

func (*SysSnapshotEntryPB) ProtoMessage()

func (*SysSnapshotEntryPB) ProtoReflect added in v2.11.2

func (x *SysSnapshotEntryPB) ProtoReflect() protoreflect.Message

func (*SysSnapshotEntryPB) Reset added in v2.11.2

func (x *SysSnapshotEntryPB) Reset()

func (*SysSnapshotEntryPB) String added in v2.11.2

func (x *SysSnapshotEntryPB) String() string

type SysSnapshotEntryPB_State added in v2.11.2

type SysSnapshotEntryPB_State int32
const (
	SysSnapshotEntryPB_UNKNOWN   SysSnapshotEntryPB_State = 0
	SysSnapshotEntryPB_CREATING  SysSnapshotEntryPB_State = 1
	SysSnapshotEntryPB_COMPLETE  SysSnapshotEntryPB_State = 2
	SysSnapshotEntryPB_DELETING  SysSnapshotEntryPB_State = 3
	SysSnapshotEntryPB_DELETED   SysSnapshotEntryPB_State = 4
	SysSnapshotEntryPB_FAILED    SysSnapshotEntryPB_State = 5
	SysSnapshotEntryPB_CANCELLED SysSnapshotEntryPB_State = 6
	SysSnapshotEntryPB_RESTORING SysSnapshotEntryPB_State = 7
	SysSnapshotEntryPB_RESTORED  SysSnapshotEntryPB_State = 8
)

func (SysSnapshotEntryPB_State) Descriptor added in v2.11.2

func (SysSnapshotEntryPB_State) Enum added in v2.11.2

func (SysSnapshotEntryPB_State) EnumDescriptor deprecated added in v2.11.2

func (SysSnapshotEntryPB_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysSnapshotEntryPB_State.Descriptor instead.

func (SysSnapshotEntryPB_State) Number added in v2.11.2

func (SysSnapshotEntryPB_State) String added in v2.11.2

func (x SysSnapshotEntryPB_State) String() string

func (SysSnapshotEntryPB_State) Type added in v2.11.2

func (*SysSnapshotEntryPB_State) UnmarshalJSON deprecated added in v2.11.2

func (x *SysSnapshotEntryPB_State) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysSnapshotEntryPB_TabletSnapshotPB added in v2.11.2

type SysSnapshotEntryPB_TabletSnapshotPB struct {
	Id    []byte                    `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	State *SysSnapshotEntryPB_State `protobuf:"varint,2,opt,name=state,enum=yb.master.SysSnapshotEntryPB_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*SysSnapshotEntryPB_TabletSnapshotPB) Descriptor deprecated added in v2.11.2

func (*SysSnapshotEntryPB_TabletSnapshotPB) Descriptor() ([]byte, []int)

Deprecated: Use SysSnapshotEntryPB_TabletSnapshotPB.ProtoReflect.Descriptor instead.

func (*SysSnapshotEntryPB_TabletSnapshotPB) GetId added in v2.11.2

func (*SysSnapshotEntryPB_TabletSnapshotPB) GetState added in v2.11.2

func (*SysSnapshotEntryPB_TabletSnapshotPB) ProtoMessage added in v2.11.2

func (*SysSnapshotEntryPB_TabletSnapshotPB) ProtoMessage()

func (*SysSnapshotEntryPB_TabletSnapshotPB) ProtoReflect added in v2.11.2

func (*SysSnapshotEntryPB_TabletSnapshotPB) Reset added in v2.11.2

func (*SysSnapshotEntryPB_TabletSnapshotPB) String added in v2.11.2

type SysTablesEntryPB

type SysTablesEntryPB struct {

	// Table name
	Name []byte `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	// Table type
	TableType *TableType `protobuf:"varint,10,opt,name=table_type,json=tableType,enum=yb.TableType,def=2" json:"table_type,omitempty"`
	// The table namespace ID.
	NamespaceId []byte `protobuf:"bytes,11,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	// The table namespace name.
	NamespaceName []byte `protobuf:"bytes,30,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	// sequence-id for the table metadata.
	// Used on tablet-report to avoid sending "alter-table" notifications.
	Version *uint32 `protobuf:"varint,2,req,name=version" json:"version,omitempty"`
	// Newest table schema (every TS will eventually have it).
	Schema *SchemaPB `protobuf:"bytes,3,req,name=schema" json:"schema,omitempty"`
	// Last table schema that is guaranteed to have reached every TS, though
	// not necessarily the newest schema.
	//
	// This is the schema provided to the user on client->GetSchema(tableName).
	FullyAppliedSchema *SchemaPB `protobuf:"bytes,4,opt,name=fully_applied_schema,json=fullyAppliedSchema" json:"fully_applied_schema,omitempty"`
	// The table's partitioning schema.
	PartitionSchema *PartitionSchemaPB `protobuf:"bytes,9,opt,name=partition_schema,json=partitionSchema" json:"partition_schema,omitempty"`
	// The table's partitions version. Incremented each time partitions change.
	PartitionListVersion *uint32 `protobuf:"varint,28,opt,name=partition_list_version,json=partitionListVersion" json:"partition_list_version,omitempty"`
	// The next column ID to assign to newly added columns in this table.
	// This prevents column ID reuse.
	NextColumnId *int32 `protobuf:"varint,8,opt,name=next_column_id,json=nextColumnId" json:"next_column_id,omitempty"`
	// Replication information for this tablet.
	ReplicationInfo *ReplicationInfoPB `protobuf:"bytes,5,opt,name=replication_info,json=replicationInfo" json:"replication_info,omitempty"`
	// Debug state for the table.
	State    *SysTablesEntryPB_State `protobuf:"varint,6,opt,name=state,enum=yb.master.SysTablesEntryPB_State,def=0" json:"state,omitempty"`
	StateMsg []byte                  `protobuf:"bytes,7,opt,name=state_msg,json=stateMsg" json:"state_msg,omitempty"`
	// TODO(neil) OLDER INDEXes will always have the deprecated fields. To remove the old format, we
	// first need to come up with a way to convert existing catalog content to new format.
	// Secondary indexes of the table.
	Indexes []*IndexInfoPB `protobuf:"bytes,12,rep,name=indexes" json:"indexes,omitempty"`
	// For index table: [to be deprecated and replaced by "index_info"]
	IndexedTableId []byte `protobuf:"bytes,13,opt,name=indexed_table_id,json=indexedTableId" json:"indexed_table_id,omitempty"`     // Indexed table id of this index.
	IsLocalIndex   *bool  `protobuf:"varint,14,opt,name=is_local_index,json=isLocalIndex,def=0" json:"is_local_index,omitempty"`    // Whether this is a local index.
	IsUniqueIndex  *bool  `protobuf:"varint,15,opt,name=is_unique_index,json=isUniqueIndex,def=0" json:"is_unique_index,omitempty"` // Whether this is a unique index.
	// For index table: information about this index.
	IndexInfo *IndexInfoPB `protobuf:"bytes,22,opt,name=index_info,json=indexInfo" json:"index_info,omitempty"`
	// For Postgres:
	IsPgSharedTable           *bool          `protobuf:"varint,16,opt,name=is_pg_shared_table,json=isPgSharedTable,def=0" json:"is_pg_shared_table,omitempty"` // Is this a shared table?
	WalRetentionSecs          *uint32        `protobuf:"varint,24,opt,name=wal_retention_secs,json=walRetentionSecs" json:"wal_retention_secs,omitempty"`
	Colocated                 *bool          `protobuf:"varint,25,opt,name=colocated,def=0" json:"colocated,omitempty"` // Is this a colocated table?
	FullyAppliedSchemaVersion *uint32        ``                                                                         /* 135-byte string literal not displayed */
	FullyAppliedIndexes       []*IndexInfoPB `protobuf:"bytes,26,rep,name=fully_applied_indexes,json=fullyAppliedIndexes" json:"fully_applied_indexes,omitempty"`
	FullyAppliedIndexInfo     *IndexInfoPB   `protobuf:"bytes,27,opt,name=fully_applied_index_info,json=fullyAppliedIndexInfo" json:"fully_applied_index_info,omitempty"`
	// Optional: Table dependent upon transaction success (abort removes table). Used by YSQL.
	Transaction *TransactionMetadataPB `protobuf:"bytes,29,opt,name=transaction" json:"transaction,omitempty"`
	// During an alter table, which involves no schema change but only updating
	// a permission, is it sometimes acceptable for a client's request (which is
	// prepared with the current schema) to be accepted by a tserver which is
	// still running the previous version.
	// This is typically set during alters that are caused due to index
	// permissions being changed, when the table is backfilled.
	UpdatesOnlyIndexPermissions *bool `` /* 147-byte string literal not displayed */
	// Keeps track of in-progress backfill jobs.
	// As of Apr 2021, we only have at most one outstanding backfill job, but
	// this restriction may be removed later on. Hence repeated.
	BackfillJobs []*BackfillJobPB            `protobuf:"bytes,32,rep,name=backfill_jobs,json=backfillJobs" json:"backfill_jobs,omitempty"`
	HideState    *SysTablesEntryPB_HideState `protobuf:"varint,33,opt,name=hide_state,json=hideState,enum=yb.master.SysTablesEntryPB_HideState" json:"hide_state,omitempty"`
	// Tablespace ID for use with transaction tables only. Normal YSQL tables do not set this field,
	// and tablespace information for such tables are instead fetched by scanning the pg catalog.
	TransactionTableTablespaceId []byte `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

The on-disk entry in the sys.catalog table ("metadata" column) for tables entries.

func (*SysTablesEntryPB) Descriptor deprecated

func (*SysTablesEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysTablesEntryPB.ProtoReflect.Descriptor instead.

func (*SysTablesEntryPB) GetBackfillJobs

func (x *SysTablesEntryPB) GetBackfillJobs() []*BackfillJobPB

func (*SysTablesEntryPB) GetColocated

func (x *SysTablesEntryPB) GetColocated() bool

func (*SysTablesEntryPB) GetFullyAppliedIndexInfo

func (x *SysTablesEntryPB) GetFullyAppliedIndexInfo() *IndexInfoPB

func (*SysTablesEntryPB) GetFullyAppliedIndexes

func (x *SysTablesEntryPB) GetFullyAppliedIndexes() []*IndexInfoPB

func (*SysTablesEntryPB) GetFullyAppliedSchema

func (x *SysTablesEntryPB) GetFullyAppliedSchema() *SchemaPB

func (*SysTablesEntryPB) GetFullyAppliedSchemaVersion

func (x *SysTablesEntryPB) GetFullyAppliedSchemaVersion() uint32

func (*SysTablesEntryPB) GetHideState

func (x *SysTablesEntryPB) GetHideState() SysTablesEntryPB_HideState

func (*SysTablesEntryPB) GetIndexInfo

func (x *SysTablesEntryPB) GetIndexInfo() *IndexInfoPB

func (*SysTablesEntryPB) GetIndexedTableId

func (x *SysTablesEntryPB) GetIndexedTableId() []byte

func (*SysTablesEntryPB) GetIndexes

func (x *SysTablesEntryPB) GetIndexes() []*IndexInfoPB

func (*SysTablesEntryPB) GetIsLocalIndex

func (x *SysTablesEntryPB) GetIsLocalIndex() bool

func (*SysTablesEntryPB) GetIsPgSharedTable

func (x *SysTablesEntryPB) GetIsPgSharedTable() bool

func (*SysTablesEntryPB) GetIsUniqueIndex

func (x *SysTablesEntryPB) GetIsUniqueIndex() bool

func (*SysTablesEntryPB) GetName

func (x *SysTablesEntryPB) GetName() []byte

func (*SysTablesEntryPB) GetNamespaceId

func (x *SysTablesEntryPB) GetNamespaceId() []byte

func (*SysTablesEntryPB) GetNamespaceName

func (x *SysTablesEntryPB) GetNamespaceName() []byte

func (*SysTablesEntryPB) GetNextColumnId

func (x *SysTablesEntryPB) GetNextColumnId() int32

func (*SysTablesEntryPB) GetPartitionListVersion

func (x *SysTablesEntryPB) GetPartitionListVersion() uint32

func (*SysTablesEntryPB) GetPartitionSchema

func (x *SysTablesEntryPB) GetPartitionSchema() *PartitionSchemaPB

func (*SysTablesEntryPB) GetReplicationInfo

func (x *SysTablesEntryPB) GetReplicationInfo() *ReplicationInfoPB

func (*SysTablesEntryPB) GetSchema

func (x *SysTablesEntryPB) GetSchema() *SchemaPB

func (*SysTablesEntryPB) GetState

func (*SysTablesEntryPB) GetStateMsg

func (x *SysTablesEntryPB) GetStateMsg() []byte

func (*SysTablesEntryPB) GetTableType

func (x *SysTablesEntryPB) GetTableType() TableType

func (*SysTablesEntryPB) GetTransaction

func (x *SysTablesEntryPB) GetTransaction() *TransactionMetadataPB

func (*SysTablesEntryPB) GetTransactionTableTablespaceId added in v2.13.0

func (x *SysTablesEntryPB) GetTransactionTableTablespaceId() []byte

func (*SysTablesEntryPB) GetUpdatesOnlyIndexPermissions

func (x *SysTablesEntryPB) GetUpdatesOnlyIndexPermissions() bool

func (*SysTablesEntryPB) GetVersion

func (x *SysTablesEntryPB) GetVersion() uint32

func (*SysTablesEntryPB) GetWalRetentionSecs

func (x *SysTablesEntryPB) GetWalRetentionSecs() uint32

func (*SysTablesEntryPB) ProtoMessage

func (*SysTablesEntryPB) ProtoMessage()

func (*SysTablesEntryPB) ProtoReflect

func (x *SysTablesEntryPB) ProtoReflect() protoreflect.Message

func (*SysTablesEntryPB) Reset

func (x *SysTablesEntryPB) Reset()

func (*SysTablesEntryPB) String

func (x *SysTablesEntryPB) String() string

type SysTablesEntryPB_HideState

type SysTablesEntryPB_HideState int32
const (
	SysTablesEntryPB_VISIBLE SysTablesEntryPB_HideState = 0
	SysTablesEntryPB_HIDING  SysTablesEntryPB_HideState = 1
	SysTablesEntryPB_HIDDEN  SysTablesEntryPB_HideState = 2
)

func (SysTablesEntryPB_HideState) Descriptor

func (SysTablesEntryPB_HideState) Enum

func (SysTablesEntryPB_HideState) EnumDescriptor deprecated

func (SysTablesEntryPB_HideState) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysTablesEntryPB_HideState.Descriptor instead.

func (SysTablesEntryPB_HideState) Number

func (SysTablesEntryPB_HideState) String

func (SysTablesEntryPB_HideState) Type

func (*SysTablesEntryPB_HideState) UnmarshalJSON deprecated

func (x *SysTablesEntryPB_HideState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysTablesEntryPB_State

type SysTablesEntryPB_State int32
const (
	SysTablesEntryPB_UNKNOWN   SysTablesEntryPB_State = 0
	SysTablesEntryPB_PREPARING SysTablesEntryPB_State = 1
	SysTablesEntryPB_RUNNING   SysTablesEntryPB_State = 2
	SysTablesEntryPB_ALTERING  SysTablesEntryPB_State = 3
	SysTablesEntryPB_DELETING  SysTablesEntryPB_State = 4
	SysTablesEntryPB_DELETED   SysTablesEntryPB_State = 5
)

func (SysTablesEntryPB_State) Descriptor

func (SysTablesEntryPB_State) Enum

func (SysTablesEntryPB_State) EnumDescriptor deprecated

func (SysTablesEntryPB_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysTablesEntryPB_State.Descriptor instead.

func (SysTablesEntryPB_State) Number

func (SysTablesEntryPB_State) String

func (x SysTablesEntryPB_State) String() string

func (SysTablesEntryPB_State) Type

func (*SysTablesEntryPB_State) UnmarshalJSON deprecated

func (x *SysTablesEntryPB_State) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysTabletsEntryPB

type SysTabletsEntryPB struct {

	// DEPRECATED. Replaced by 'partition'.
	OBSOLETEStartKey []byte `protobuf:"bytes,1,opt,name=OBSOLETE_start_key,json=OBSOLETEStartKey" json:"OBSOLETE_start_key,omitempty"`
	OBSOLETEEndKey   []byte `protobuf:"bytes,2,opt,name=OBSOLETE_end_key,json=OBSOLETEEndKey" json:"OBSOLETE_end_key,omitempty"`
	// Tablet partition.
	Partition *PartitionPB `protobuf:"bytes,7,opt,name=partition" json:"partition,omitempty"`
	// The latest committed consensus configuration reported to the Master.
	CommittedConsensusState *ConsensusStatePB `protobuf:"bytes,3,opt,name=committed_consensus_state,json=committedConsensusState" json:"committed_consensus_state,omitempty"`
	// Debug state for the tablet.
	State    *SysTabletsEntryPB_State `protobuf:"varint,4,opt,name=state,enum=yb.master.SysTabletsEntryPB_State,def=999" json:"state,omitempty"`
	StateMsg []byte                   `protobuf:"bytes,5,opt,name=state_msg,json=stateMsg" json:"state_msg,omitempty"`
	// The table id for the tablet.
	TableId []byte `protobuf:"bytes,6,req,name=table_id,json=tableId" json:"table_id,omitempty"`
	// Table ids for all the tables on this tablet.
	TableIds [][]byte `protobuf:"bytes,8,rep,name=table_ids,json=tableIds" json:"table_ids,omitempty"`
	// True if the tablet is colocated.
	Colocated *bool `protobuf:"varint,9,opt,name=colocated,def=0" json:"colocated,omitempty"`
	// Replaced by the map below.
	DEPRECATEDBackfilledUntil []byte `` /* 132-byte string literal not displayed */
	// For tablets that are results of splitting we set this to split parent split_depth + 1.
	SplitDepth          *uint64 `protobuf:"varint,11,opt,name=split_depth,json=splitDepth" json:"split_depth,omitempty"`
	SplitParentTabletId []byte  `protobuf:"bytes,13,opt,name=split_parent_tablet_id,json=splitParentTabletId" json:"split_parent_tablet_id,omitempty"`
	// If the tablet is in the backfilling state, this is used to keep track
	// of how far along backfill has completed.
	// Key corresponds to the table_id for the index table. Value is encoded as
	// the DocKey for the next row to be backfilled.
	BackfilledUntil map[string][]byte `` /* 174-byte string literal not displayed */
	// Tablet IDs for the children of this tablet after splitting, if they have been registered in
	// master.
	SplitTabletIds [][]byte `protobuf:"bytes,14,rep,name=split_tablet_ids,json=splitTabletIds" json:"split_tablet_ids,omitempty"`
	// Time when tablet was hidden.
	HideHybridTime *uint64 `protobuf:"fixed64,16,opt,name=hide_hybrid_time,json=hideHybridTime" json:"hide_hybrid_time,omitempty"`
	// If tablet was hidden instead of deleting, here we keep list of schedule ids that prevented
	// actual deletion.
	RetainedBySnapshotSchedules [][]byte `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

The on-disk entry in the sys.catalog table ("metadata" column) for tablets entries.

func (*SysTabletsEntryPB) Descriptor deprecated

func (*SysTabletsEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysTabletsEntryPB.ProtoReflect.Descriptor instead.

func (*SysTabletsEntryPB) GetBackfilledUntil

func (x *SysTabletsEntryPB) GetBackfilledUntil() map[string][]byte

func (*SysTabletsEntryPB) GetColocated

func (x *SysTabletsEntryPB) GetColocated() bool

func (*SysTabletsEntryPB) GetCommittedConsensusState

func (x *SysTabletsEntryPB) GetCommittedConsensusState() *ConsensusStatePB

func (*SysTabletsEntryPB) GetDEPRECATEDBackfilledUntil

func (x *SysTabletsEntryPB) GetDEPRECATEDBackfilledUntil() []byte

func (*SysTabletsEntryPB) GetHideHybridTime

func (x *SysTabletsEntryPB) GetHideHybridTime() uint64

func (*SysTabletsEntryPB) GetOBSOLETEEndKey

func (x *SysTabletsEntryPB) GetOBSOLETEEndKey() []byte

func (*SysTabletsEntryPB) GetOBSOLETEStartKey

func (x *SysTabletsEntryPB) GetOBSOLETEStartKey() []byte

func (*SysTabletsEntryPB) GetPartition

func (x *SysTabletsEntryPB) GetPartition() *PartitionPB

func (*SysTabletsEntryPB) GetRetainedBySnapshotSchedules

func (x *SysTabletsEntryPB) GetRetainedBySnapshotSchedules() [][]byte

func (*SysTabletsEntryPB) GetSplitDepth

func (x *SysTabletsEntryPB) GetSplitDepth() uint64

func (*SysTabletsEntryPB) GetSplitParentTabletId

func (x *SysTabletsEntryPB) GetSplitParentTabletId() []byte

func (*SysTabletsEntryPB) GetSplitTabletIds

func (x *SysTabletsEntryPB) GetSplitTabletIds() [][]byte

func (*SysTabletsEntryPB) GetState

func (*SysTabletsEntryPB) GetStateMsg

func (x *SysTabletsEntryPB) GetStateMsg() []byte

func (*SysTabletsEntryPB) GetTableId

func (x *SysTabletsEntryPB) GetTableId() []byte

func (*SysTabletsEntryPB) GetTableIds

func (x *SysTabletsEntryPB) GetTableIds() [][]byte

func (*SysTabletsEntryPB) ProtoMessage

func (*SysTabletsEntryPB) ProtoMessage()

func (*SysTabletsEntryPB) ProtoReflect

func (x *SysTabletsEntryPB) ProtoReflect() protoreflect.Message

func (*SysTabletsEntryPB) Reset

func (x *SysTabletsEntryPB) Reset()

func (*SysTabletsEntryPB) String

func (x *SysTabletsEntryPB) String() string

type SysTabletsEntryPB_State

type SysTabletsEntryPB_State int32
const (
	SysTabletsEntryPB_UNKNOWN   SysTabletsEntryPB_State = 999
	SysTabletsEntryPB_PREPARING SysTabletsEntryPB_State = 0
	SysTabletsEntryPB_CREATING  SysTabletsEntryPB_State = 1
	SysTabletsEntryPB_RUNNING   SysTabletsEntryPB_State = 2
	SysTabletsEntryPB_REPLACED  SysTabletsEntryPB_State = 3
	SysTabletsEntryPB_DELETED   SysTabletsEntryPB_State = 4
)

func (SysTabletsEntryPB_State) Descriptor

func (SysTabletsEntryPB_State) Enum

func (SysTabletsEntryPB_State) EnumDescriptor deprecated

func (SysTabletsEntryPB_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysTabletsEntryPB_State.Descriptor instead.

func (SysTabletsEntryPB_State) Number

func (SysTabletsEntryPB_State) String

func (x SysTabletsEntryPB_State) String() string

func (SysTabletsEntryPB_State) Type

func (*SysTabletsEntryPB_State) UnmarshalJSON deprecated

func (x *SysTabletsEntryPB_State) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysTransactionTablesConfigEntryPB added in v2.13.0

type SysTransactionTablesConfigEntryPB struct {

	// Transaction status tables version. Every time a transaction table is added or has its placement
	// changed, this version gets incremented.
	Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Metadata about the current state of transaction tables.

func (*SysTransactionTablesConfigEntryPB) Descriptor deprecated added in v2.13.0

func (*SysTransactionTablesConfigEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysTransactionTablesConfigEntryPB.ProtoReflect.Descriptor instead.

func (*SysTransactionTablesConfigEntryPB) GetVersion added in v2.13.0

func (x *SysTransactionTablesConfigEntryPB) GetVersion() uint64

func (*SysTransactionTablesConfigEntryPB) ProtoMessage added in v2.13.0

func (*SysTransactionTablesConfigEntryPB) ProtoMessage()

func (*SysTransactionTablesConfigEntryPB) ProtoReflect added in v2.13.0

func (*SysTransactionTablesConfigEntryPB) Reset added in v2.13.0

func (*SysTransactionTablesConfigEntryPB) String added in v2.13.0

type SysUDTypeEntryPB

type SysUDTypeEntryPB struct {
	NamespaceId *string     `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	Name        *string     `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	FieldNames  []string    `protobuf:"bytes,3,rep,name=field_names,json=fieldNames" json:"field_names,omitempty"`
	FieldTypes  []*QLTypePB `protobuf:"bytes,4,rep,name=field_types,json=fieldTypes" json:"field_types,omitempty"`
	// contains filtered or unexported fields
}

The data part of a SysRowEntry in the sys.catalog table for a User Defined Type.

func (*SysUDTypeEntryPB) Descriptor deprecated

func (*SysUDTypeEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysUDTypeEntryPB.ProtoReflect.Descriptor instead.

func (*SysUDTypeEntryPB) GetFieldNames

func (x *SysUDTypeEntryPB) GetFieldNames() []string

func (*SysUDTypeEntryPB) GetFieldTypes

func (x *SysUDTypeEntryPB) GetFieldTypes() []*QLTypePB

func (*SysUDTypeEntryPB) GetName

func (x *SysUDTypeEntryPB) GetName() string

func (*SysUDTypeEntryPB) GetNamespaceId

func (x *SysUDTypeEntryPB) GetNamespaceId() string

func (*SysUDTypeEntryPB) ProtoMessage

func (*SysUDTypeEntryPB) ProtoMessage()

func (*SysUDTypeEntryPB) ProtoReflect

func (x *SysUDTypeEntryPB) ProtoReflect() protoreflect.Message

func (*SysUDTypeEntryPB) Reset

func (x *SysUDTypeEntryPB) Reset()

func (*SysUDTypeEntryPB) String

func (x *SysUDTypeEntryPB) String() string

type SysUniverseReplicationEntryPB

type SysUniverseReplicationEntryPB struct {
	ProducerId              *string       `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	ProducerMasterAddresses []*HostPortPB `protobuf:"bytes,2,rep,name=producer_master_addresses,json=producerMasterAddresses" json:"producer_master_addresses,omitempty"`
	// producer table IDs.
	Tables []string                             `protobuf:"bytes,3,rep,name=tables" json:"tables,omitempty"`
	State  *SysUniverseReplicationEntryPB_State `protobuf:"varint,4,opt,name=state,enum=yb.master.SysUniverseReplicationEntryPB_State,def=0" json:"state,omitempty"`
	// producer table ID -> consumer table ID map.
	ValidatedTables map[string]string `` /* 173-byte string literal not displayed */
	// producer table ID -> producer CDC stream map.
	TableStreams map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

The data part of a SysRowEntry in the sys.catalog table for a universe replication record.

func (*SysUniverseReplicationEntryPB) Descriptor deprecated

func (*SysUniverseReplicationEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysUniverseReplicationEntryPB.ProtoReflect.Descriptor instead.

func (*SysUniverseReplicationEntryPB) GetProducerId

func (x *SysUniverseReplicationEntryPB) GetProducerId() string

func (*SysUniverseReplicationEntryPB) GetProducerMasterAddresses

func (x *SysUniverseReplicationEntryPB) GetProducerMasterAddresses() []*HostPortPB

func (*SysUniverseReplicationEntryPB) GetState

func (*SysUniverseReplicationEntryPB) GetTableStreams

func (x *SysUniverseReplicationEntryPB) GetTableStreams() map[string]string

func (*SysUniverseReplicationEntryPB) GetTables

func (x *SysUniverseReplicationEntryPB) GetTables() []string

func (*SysUniverseReplicationEntryPB) GetValidatedTables

func (x *SysUniverseReplicationEntryPB) GetValidatedTables() map[string]string

func (*SysUniverseReplicationEntryPB) ProtoMessage

func (*SysUniverseReplicationEntryPB) ProtoMessage()

func (*SysUniverseReplicationEntryPB) ProtoReflect

func (*SysUniverseReplicationEntryPB) Reset

func (x *SysUniverseReplicationEntryPB) Reset()

func (*SysUniverseReplicationEntryPB) String

type SysUniverseReplicationEntryPB_State

type SysUniverseReplicationEntryPB_State int32
const (
	// Setting up replication.
	SysUniverseReplicationEntryPB_INITIALIZING SysUniverseReplicationEntryPB_State = 0
	// Validated table schemas.
	SysUniverseReplicationEntryPB_VALIDATED SysUniverseReplicationEntryPB_State = 1
	// Active.
	SysUniverseReplicationEntryPB_ACTIVE SysUniverseReplicationEntryPB_State = 2
	// Failed.
	// Setting up universe replication consists of a sequence of steps like validating schemas,
	// creating CDC streams, starting subscribers. If any of these fail, we set the universe
	// replication state to FAILED.
	SysUniverseReplicationEntryPB_FAILED SysUniverseReplicationEntryPB_State = 3
	// Disabled.
	SysUniverseReplicationEntryPB_DISABLED SysUniverseReplicationEntryPB_State = 6
	// Deleted.
	SysUniverseReplicationEntryPB_DELETED SysUniverseReplicationEntryPB_State = 4
	// Error while cleaning up state of deleted entry. This indicates that universe replication has
	// been deleted but there is still some uncleaned up state - for example, there may be left over
	// CDC streams.
	SysUniverseReplicationEntryPB_DELETED_ERROR SysUniverseReplicationEntryPB_State = 5
)

func (SysUniverseReplicationEntryPB_State) Descriptor

func (SysUniverseReplicationEntryPB_State) Enum

func (SysUniverseReplicationEntryPB_State) EnumDescriptor deprecated

func (SysUniverseReplicationEntryPB_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use SysUniverseReplicationEntryPB_State.Descriptor instead.

func (SysUniverseReplicationEntryPB_State) Number

func (SysUniverseReplicationEntryPB_State) String

func (SysUniverseReplicationEntryPB_State) Type

func (*SysUniverseReplicationEntryPB_State) UnmarshalJSON deprecated

func (x *SysUniverseReplicationEntryPB_State) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SysYSQLCatalogConfigEntryPB

type SysYSQLCatalogConfigEntryPB struct {

	// YSQL catalog version. Every time the catalog tables are changed (i.e. by DDL statements)
	// this version gets incremented.
	Version *uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	// This is true if the master ran initdb and it finished, succesfully or not.
	InitdbDone *bool `protobuf:"varint,2,opt,name=initdb_done,json=initdbDone" json:"initdb_done,omitempty"`
	// If this is set, initdb has failed.
	InitdbError *string `protobuf:"bytes,5,opt,name=initdb_error,json=initdbError" json:"initdb_error,omitempty"`
	// true if transactional system catalogs have been enabled on this cluster. This means all
	// YSQL system catalog tables have been made transactional, both in their schema and in the tablet
	// metadata.
	TransactionalSysCatalogEnabled *bool `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata about the YSQL catalog (current only version).

func (*SysYSQLCatalogConfigEntryPB) Descriptor deprecated

func (*SysYSQLCatalogConfigEntryPB) Descriptor() ([]byte, []int)

Deprecated: Use SysYSQLCatalogConfigEntryPB.ProtoReflect.Descriptor instead.

func (*SysYSQLCatalogConfigEntryPB) GetInitdbDone

func (x *SysYSQLCatalogConfigEntryPB) GetInitdbDone() bool

func (*SysYSQLCatalogConfigEntryPB) GetInitdbError

func (x *SysYSQLCatalogConfigEntryPB) GetInitdbError() string

func (*SysYSQLCatalogConfigEntryPB) GetTransactionalSysCatalogEnabled

func (x *SysYSQLCatalogConfigEntryPB) GetTransactionalSysCatalogEnabled() bool

func (*SysYSQLCatalogConfigEntryPB) GetVersion

func (x *SysYSQLCatalogConfigEntryPB) GetVersion() uint64

func (*SysYSQLCatalogConfigEntryPB) ProtoMessage

func (*SysYSQLCatalogConfigEntryPB) ProtoMessage()

func (*SysYSQLCatalogConfigEntryPB) ProtoReflect

func (*SysYSQLCatalogConfigEntryPB) Reset

func (x *SysYSQLCatalogConfigEntryPB) Reset()

func (*SysYSQLCatalogConfigEntryPB) String

func (x *SysYSQLCatalogConfigEntryPB) String() string

type TSHeartbeatRequestPB

type TSHeartbeatRequestPB struct {
	Common *TSToMasterCommonPB `protobuf:"bytes,1,req,name=common" json:"common,omitempty"`
	// Sent upon start-up of the TS, or in response to 'needs_reregister' on a heartbeat
	// response.
	Registration *TSRegistrationPB `protobuf:"bytes,2,opt,name=registration" json:"registration,omitempty"`
	// Sent when the tablet information has changed, or in response to
	// 'needs_full_tablet_report'.
	TabletReport *TabletReportPB `protobuf:"bytes,3,opt,name=tablet_report,json=tabletReport" json:"tablet_report,omitempty"`
	// The number of tablets that are BOOTSTRAPPING or RUNNING.
	// Used by the master to determine load when creating new tablet replicas.
	NumLiveTablets *int32            `protobuf:"varint,4,opt,name=num_live_tablets,json=numLiveTablets" json:"num_live_tablets,omitempty"`
	ConfigIndex    *int64            `protobuf:"varint,5,opt,name=config_index,json=configIndex" json:"config_index,omitempty"`
	Metrics        *TServerMetricsPB `protobuf:"bytes,6,opt,name=metrics" json:"metrics,omitempty"`
	// Number of tablets for which this ts is a leader.
	LeaderCount          *int32 `protobuf:"varint,7,opt,name=leader_count,json=leaderCount" json:"leader_count,omitempty"`
	ClusterConfigVersion *int32 `protobuf:"varint,8,opt,name=cluster_config_version,json=clusterConfigVersion" json:"cluster_config_version,omitempty"`
	// List of candidate tablets for split based on tablet splitting strategy and settings.
	DEPRECATEDTabletsForSplit []*TabletForSplitPB `` /* 133-byte string literal not displayed */
	// Physical time on tablet server
	TsPhysicalTime *uint64 `protobuf:"fixed64,10,opt,name=ts_physical_time,json=tsPhysicalTime" json:"ts_physical_time,omitempty"`
	// Hybrid time on tablet server
	TsHybridTime *uint64 `protobuf:"fixed64,11,opt,name=ts_hybrid_time,json=tsHybridTime" json:"ts_hybrid_time,omitempty"`
	// Roundtrip time for previous heartbeat in microseconds.
	RttUs           *int64                          `protobuf:"varint,12,opt,name=rtt_us,json=rttUs" json:"rtt_us,omitempty"`
	StorageMetadata []*TabletDriveStorageMetadataPB `protobuf:"bytes,14,rep,name=storage_metadata,json=storageMetadata" json:"storage_metadata,omitempty"`
	// contains filtered or unexported fields
}

Heartbeat sent from the tablet-server to the master to establish liveness and report back any status changes.

func (*TSHeartbeatRequestPB) Descriptor deprecated

func (*TSHeartbeatRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use TSHeartbeatRequestPB.ProtoReflect.Descriptor instead.

func (*TSHeartbeatRequestPB) GetClusterConfigVersion

func (x *TSHeartbeatRequestPB) GetClusterConfigVersion() int32

func (*TSHeartbeatRequestPB) GetCommon

func (x *TSHeartbeatRequestPB) GetCommon() *TSToMasterCommonPB

func (*TSHeartbeatRequestPB) GetConfigIndex

func (x *TSHeartbeatRequestPB) GetConfigIndex() int64

func (*TSHeartbeatRequestPB) GetDEPRECATEDTabletsForSplit added in v2.11.0

func (x *TSHeartbeatRequestPB) GetDEPRECATEDTabletsForSplit() []*TabletForSplitPB

func (*TSHeartbeatRequestPB) GetLeaderCount

func (x *TSHeartbeatRequestPB) GetLeaderCount() int32

func (*TSHeartbeatRequestPB) GetMetrics

func (x *TSHeartbeatRequestPB) GetMetrics() *TServerMetricsPB

func (*TSHeartbeatRequestPB) GetNumLiveTablets

func (x *TSHeartbeatRequestPB) GetNumLiveTablets() int32

func (*TSHeartbeatRequestPB) GetRegistration

func (x *TSHeartbeatRequestPB) GetRegistration() *TSRegistrationPB

func (*TSHeartbeatRequestPB) GetRttUs

func (x *TSHeartbeatRequestPB) GetRttUs() int64

func (*TSHeartbeatRequestPB) GetStorageMetadata

func (x *TSHeartbeatRequestPB) GetStorageMetadata() []*TabletDriveStorageMetadataPB

func (*TSHeartbeatRequestPB) GetTabletReport

func (x *TSHeartbeatRequestPB) GetTabletReport() *TabletReportPB

func (*TSHeartbeatRequestPB) GetTsHybridTime

func (x *TSHeartbeatRequestPB) GetTsHybridTime() uint64

func (*TSHeartbeatRequestPB) GetTsPhysicalTime

func (x *TSHeartbeatRequestPB) GetTsPhysicalTime() uint64

func (*TSHeartbeatRequestPB) ProtoMessage

func (*TSHeartbeatRequestPB) ProtoMessage()

func (*TSHeartbeatRequestPB) ProtoReflect

func (x *TSHeartbeatRequestPB) ProtoReflect() protoreflect.Message

func (*TSHeartbeatRequestPB) Reset

func (x *TSHeartbeatRequestPB) Reset()

func (*TSHeartbeatRequestPB) String

func (x *TSHeartbeatRequestPB) String() string

type TSHeartbeatResponsePB

type TSHeartbeatResponsePB struct {
	Error          *MasterErrorPB  `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	MasterInstance *NodeInstancePB `protobuf:"bytes,2,opt,name=master_instance,json=masterInstance" json:"master_instance,omitempty"`
	// Indicates that the server which heartbeated needs to re-register
	// with the master -- i.e send a heartbeat with the 'registration'
	// filled in.
	NeedsReregister       *bool `protobuf:"varint,3,opt,name=needs_reregister,json=needsReregister,def=0" json:"needs_reregister,omitempty"`
	NeedsFullTabletReport *bool `` /* 128-byte string literal not displayed */
	// Sent when the master receives a TabletReport
	TabletReport *TabletReportUpdatesPB `protobuf:"bytes,5,opt,name=tablet_report,json=tabletReport" json:"tablet_report,omitempty"`
	// Specify whether or not the node is the leader master.
	LeaderMaster *bool `protobuf:"varint,6,opt,name=leader_master,json=leaderMaster" json:"leader_master,omitempty"`
	// Piggyback the current config as known to the master leader.
	MasterConfig *RaftConfigPB `protobuf:"bytes,7,opt,name=master_config,json=masterConfig" json:"master_config,omitempty"`
	// List of all live nodes that the master knows about.
	Tservers []*TSInformationPB `protobuf:"bytes,8,rep,name=tservers" json:"tservers,omitempty"`
	// Cluster UUID. Sent by the master only after registration.
	ClusterUuid *string `protobuf:"bytes,9,opt,name=cluster_uuid,json=clusterUuid" json:"cluster_uuid,omitempty"`
	// Current YSQL catalog schema version.
	// Used by tservers and postgres backends to decide if a cache refresh is needed.
	YsqlCatalogVersion                      *uint64                `protobuf:"varint,10,opt,name=ysql_catalog_version,json=ysqlCatalogVersion" json:"ysql_catalog_version,omitempty"`
	YsqlLastBreakingCatalogVersion          *uint64                `` /* 152-byte string literal not displayed */
	UniverseKeyRegistry                     *UniverseKeyRegistryPB `protobuf:"bytes,11,opt,name=universe_key_registry,json=universeKeyRegistry" json:"universe_key_registry,omitempty"`
	ConsumerRegistry                        *ConsumerRegistryPB    `protobuf:"bytes,12,opt,name=consumer_registry,json=consumerRegistry" json:"consumer_registry,omitempty"`
	ClusterConfigVersion                    *int32                 `protobuf:"varint,13,opt,name=cluster_config_version,json=clusterConfigVersion" json:"cluster_config_version,omitempty"`
	TabletReportLimit                       *int32                 `protobuf:"varint,16,opt,name=tablet_report_limit,json=tabletReportLimit" json:"tablet_report_limit,omitempty"`
	SnapshotsInfo                           *TSSnapshotsInfoPB     `protobuf:"bytes,17,opt,name=snapshots_info,json=snapshotsInfo" json:"snapshots_info,omitempty"`
	DEPRECATEDTabletSplitSizeThresholdBytes *int64                 `` /* 181-byte string literal not displayed */
	// Version of transaction tables and their placements, so that the TS knows when
	// to update the cached list of status tablet ids in the transaction manager.
	TransactionTablesVersion *uint64 `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TSHeartbeatResponsePB) Descriptor deprecated

func (*TSHeartbeatResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use TSHeartbeatResponsePB.ProtoReflect.Descriptor instead.

func (*TSHeartbeatResponsePB) GetClusterConfigVersion

func (x *TSHeartbeatResponsePB) GetClusterConfigVersion() int32

func (*TSHeartbeatResponsePB) GetClusterUuid

func (x *TSHeartbeatResponsePB) GetClusterUuid() string

func (*TSHeartbeatResponsePB) GetConsumerRegistry

func (x *TSHeartbeatResponsePB) GetConsumerRegistry() *ConsumerRegistryPB

func (*TSHeartbeatResponsePB) GetDEPRECATEDTabletSplitSizeThresholdBytes

func (x *TSHeartbeatResponsePB) GetDEPRECATEDTabletSplitSizeThresholdBytes() int64

func (*TSHeartbeatResponsePB) GetError

func (x *TSHeartbeatResponsePB) GetError() *MasterErrorPB

func (*TSHeartbeatResponsePB) GetLeaderMaster

func (x *TSHeartbeatResponsePB) GetLeaderMaster() bool

func (*TSHeartbeatResponsePB) GetMasterConfig

func (x *TSHeartbeatResponsePB) GetMasterConfig() *RaftConfigPB

func (*TSHeartbeatResponsePB) GetMasterInstance

func (x *TSHeartbeatResponsePB) GetMasterInstance() *NodeInstancePB

func (*TSHeartbeatResponsePB) GetNeedsFullTabletReport

func (x *TSHeartbeatResponsePB) GetNeedsFullTabletReport() bool

func (*TSHeartbeatResponsePB) GetNeedsReregister

func (x *TSHeartbeatResponsePB) GetNeedsReregister() bool

func (*TSHeartbeatResponsePB) GetSnapshotsInfo

func (x *TSHeartbeatResponsePB) GetSnapshotsInfo() *TSSnapshotsInfoPB

func (*TSHeartbeatResponsePB) GetTabletReport

func (x *TSHeartbeatResponsePB) GetTabletReport() *TabletReportUpdatesPB

func (*TSHeartbeatResponsePB) GetTabletReportLimit

func (x *TSHeartbeatResponsePB) GetTabletReportLimit() int32

func (*TSHeartbeatResponsePB) GetTransactionTablesVersion added in v2.13.0

func (x *TSHeartbeatResponsePB) GetTransactionTablesVersion() uint64

func (*TSHeartbeatResponsePB) GetTservers

func (x *TSHeartbeatResponsePB) GetTservers() []*TSInformationPB

func (*TSHeartbeatResponsePB) GetUniverseKeyRegistry

func (x *TSHeartbeatResponsePB) GetUniverseKeyRegistry() *UniverseKeyRegistryPB

func (*TSHeartbeatResponsePB) GetYsqlCatalogVersion

func (x *TSHeartbeatResponsePB) GetYsqlCatalogVersion() uint64

func (*TSHeartbeatResponsePB) GetYsqlLastBreakingCatalogVersion

func (x *TSHeartbeatResponsePB) GetYsqlLastBreakingCatalogVersion() uint64

func (*TSHeartbeatResponsePB) ProtoMessage

func (*TSHeartbeatResponsePB) ProtoMessage()

func (*TSHeartbeatResponsePB) ProtoReflect

func (x *TSHeartbeatResponsePB) ProtoReflect() protoreflect.Message

func (*TSHeartbeatResponsePB) Reset

func (x *TSHeartbeatResponsePB) Reset()

func (*TSHeartbeatResponsePB) String

func (x *TSHeartbeatResponsePB) String() string

type TSInfoPB

type TSInfoPB struct {
	PermanentUuid       []byte        `protobuf:"bytes,1,req,name=permanent_uuid,json=permanentUuid" json:"permanent_uuid,omitempty"`
	PrivateRpcAddresses []*HostPortPB `protobuf:"bytes,2,rep,name=private_rpc_addresses,json=privateRpcAddresses" json:"private_rpc_addresses,omitempty"`
	BroadcastAddresses  []*HostPortPB `protobuf:"bytes,5,rep,name=broadcast_addresses,json=broadcastAddresses" json:"broadcast_addresses,omitempty"`
	CloudInfo           *CloudInfoPB  `protobuf:"bytes,3,opt,name=cloud_info,json=cloudInfo" json:"cloud_info,omitempty"`
	PlacementUuid       []byte        `protobuf:"bytes,4,opt,name=placement_uuid,json=placementUuid" json:"placement_uuid,omitempty"`
	// Capabilities of tablet server.
	Capabilities []uint32 `protobuf:"fixed32,6,rep,name=capabilities" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

Info about a single tablet server, returned to the client as part of the GetTabletLocations response. This can be used on the client to update the local cache of where each TS UUID is located. In the future we may also want to transmit software version info, load info, topology, etc.

func (*TSInfoPB) Descriptor deprecated

func (*TSInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use TSInfoPB.ProtoReflect.Descriptor instead.

func (*TSInfoPB) GetBroadcastAddresses

func (x *TSInfoPB) GetBroadcastAddresses() []*HostPortPB

func (*TSInfoPB) GetCapabilities

func (x *TSInfoPB) GetCapabilities() []uint32

func (*TSInfoPB) GetCloudInfo

func (x *TSInfoPB) GetCloudInfo() *CloudInfoPB

func (*TSInfoPB) GetPermanentUuid

func (x *TSInfoPB) GetPermanentUuid() []byte

func (*TSInfoPB) GetPlacementUuid

func (x *TSInfoPB) GetPlacementUuid() []byte

func (*TSInfoPB) GetPrivateRpcAddresses

func (x *TSInfoPB) GetPrivateRpcAddresses() []*HostPortPB

func (*TSInfoPB) ProtoMessage

func (*TSInfoPB) ProtoMessage()

func (*TSInfoPB) ProtoReflect

func (x *TSInfoPB) ProtoReflect() protoreflect.Message

func (*TSInfoPB) Reset

func (x *TSInfoPB) Reset()

func (*TSInfoPB) String

func (x *TSInfoPB) String() string

type TSInformationPB

type TSInformationPB struct {
	Registration    *TSRegistrationPB `protobuf:"bytes,1,req,name=registration" json:"registration,omitempty"`
	TserverInstance *NodeInstancePB   `protobuf:"bytes,2,req,name=tserver_instance,json=tserverInstance" json:"tserver_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*TSInformationPB) Descriptor deprecated

func (*TSInformationPB) Descriptor() ([]byte, []int)

Deprecated: Use TSInformationPB.ProtoReflect.Descriptor instead.

func (*TSInformationPB) GetRegistration

func (x *TSInformationPB) GetRegistration() *TSRegistrationPB

func (*TSInformationPB) GetTserverInstance

func (x *TSInformationPB) GetTserverInstance() *NodeInstancePB

func (*TSInformationPB) ProtoMessage

func (*TSInformationPB) ProtoMessage()

func (*TSInformationPB) ProtoReflect

func (x *TSInformationPB) ProtoReflect() protoreflect.Message

func (*TSInformationPB) Reset

func (x *TSInformationPB) Reset()

func (*TSInformationPB) String

func (x *TSInformationPB) String() string

type TSRegistrationPB

type TSRegistrationPB struct {
	Common *ServerRegistrationPB `protobuf:"bytes,1,opt,name=common" json:"common,omitempty"`
	// Capabilities supported byt this TS.
	Capabilities []uint32 `protobuf:"fixed32,2,rep,name=capabilities" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

Sent by the TS when it first heartbeats with a master. This sends the master all of the necessary information about the current instance of the TS.

func (*TSRegistrationPB) Descriptor deprecated

func (*TSRegistrationPB) Descriptor() ([]byte, []int)

Deprecated: Use TSRegistrationPB.ProtoReflect.Descriptor instead.

func (*TSRegistrationPB) GetCapabilities

func (x *TSRegistrationPB) GetCapabilities() []uint32

func (*TSRegistrationPB) GetCommon

func (x *TSRegistrationPB) GetCommon() *ServerRegistrationPB

func (*TSRegistrationPB) ProtoMessage

func (*TSRegistrationPB) ProtoMessage()

func (*TSRegistrationPB) ProtoReflect

func (x *TSRegistrationPB) ProtoReflect() protoreflect.Message

func (*TSRegistrationPB) Reset

func (x *TSRegistrationPB) Reset()

func (*TSRegistrationPB) String

func (x *TSRegistrationPB) String() string

type TSSnapshotRestorationInfoPB

type TSSnapshotRestorationInfoPB struct {

	// 16 bytes for UUID.
	Id             []byte  `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	CompleteTimeHt *uint64 `protobuf:"fixed64,2,opt,name=complete_time_ht,json=completeTimeHt" json:"complete_time_ht,omitempty"`
	// contains filtered or unexported fields
}

func (*TSSnapshotRestorationInfoPB) Descriptor deprecated

func (*TSSnapshotRestorationInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use TSSnapshotRestorationInfoPB.ProtoReflect.Descriptor instead.

func (*TSSnapshotRestorationInfoPB) GetCompleteTimeHt

func (x *TSSnapshotRestorationInfoPB) GetCompleteTimeHt() uint64

func (*TSSnapshotRestorationInfoPB) GetId

func (x *TSSnapshotRestorationInfoPB) GetId() []byte

func (*TSSnapshotRestorationInfoPB) ProtoMessage

func (*TSSnapshotRestorationInfoPB) ProtoMessage()

func (*TSSnapshotRestorationInfoPB) ProtoReflect

func (*TSSnapshotRestorationInfoPB) Reset

func (x *TSSnapshotRestorationInfoPB) Reset()

func (*TSSnapshotRestorationInfoPB) String

func (x *TSSnapshotRestorationInfoPB) String() string

type TSSnapshotScheduleInfoPB

type TSSnapshotScheduleInfoPB struct {
	Id                     []byte  `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	LastSnapshotHybridTime *uint64 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TSSnapshotScheduleInfoPB) Descriptor deprecated

func (*TSSnapshotScheduleInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use TSSnapshotScheduleInfoPB.ProtoReflect.Descriptor instead.

func (*TSSnapshotScheduleInfoPB) GetId

func (x *TSSnapshotScheduleInfoPB) GetId() []byte

func (*TSSnapshotScheduleInfoPB) GetLastSnapshotHybridTime

func (x *TSSnapshotScheduleInfoPB) GetLastSnapshotHybridTime() uint64

func (*TSSnapshotScheduleInfoPB) ProtoMessage

func (*TSSnapshotScheduleInfoPB) ProtoMessage()

func (*TSSnapshotScheduleInfoPB) ProtoReflect

func (x *TSSnapshotScheduleInfoPB) ProtoReflect() protoreflect.Message

func (*TSSnapshotScheduleInfoPB) Reset

func (x *TSSnapshotScheduleInfoPB) Reset()

func (*TSSnapshotScheduleInfoPB) String

func (x *TSSnapshotScheduleInfoPB) String() string

type TSSnapshotsInfoPB

type TSSnapshotsInfoPB struct {
	Schedules []*TSSnapshotScheduleInfoPB `protobuf:"bytes,1,rep,name=schedules" json:"schedules,omitempty"`
	// Last restorations update hybrid time.
	LastRestorationsUpdateHt *uint64 `` /* 132-byte string literal not displayed */
	// Restorations info.
	Restorations []*TSSnapshotRestorationInfoPB `protobuf:"bytes,3,rep,name=restorations" json:"restorations,omitempty"`
	// contains filtered or unexported fields
}

func (*TSSnapshotsInfoPB) Descriptor deprecated

func (*TSSnapshotsInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use TSSnapshotsInfoPB.ProtoReflect.Descriptor instead.

func (*TSSnapshotsInfoPB) GetLastRestorationsUpdateHt

func (x *TSSnapshotsInfoPB) GetLastRestorationsUpdateHt() uint64

func (*TSSnapshotsInfoPB) GetRestorations

func (x *TSSnapshotsInfoPB) GetRestorations() []*TSSnapshotRestorationInfoPB

func (*TSSnapshotsInfoPB) GetSchedules

func (x *TSSnapshotsInfoPB) GetSchedules() []*TSSnapshotScheduleInfoPB

func (*TSSnapshotsInfoPB) ProtoMessage

func (*TSSnapshotsInfoPB) ProtoMessage()

func (*TSSnapshotsInfoPB) ProtoReflect

func (x *TSSnapshotsInfoPB) ProtoReflect() protoreflect.Message

func (*TSSnapshotsInfoPB) Reset

func (x *TSSnapshotsInfoPB) Reset()

func (*TSSnapshotsInfoPB) String

func (x *TSSnapshotsInfoPB) String() string

type TSTabletManagerStatePB

type TSTabletManagerStatePB int32

Enum of the server's Tablet Manager state: currently this is only used for assertions, but this can also be sent to the master.

const (
	TSTabletManagerStatePB_UNKNOWN TSTabletManagerStatePB = 999
	// Indicates that Tablet Manager is initializing.
	TSTabletManagerStatePB_MANAGER_INITIALIZING TSTabletManagerStatePB = 0
	// Indicates that Tablet Manager is running and can create new
	// tablets.
	TSTabletManagerStatePB_MANAGER_RUNNING TSTabletManagerStatePB = 1
	// Indicates that tablet manager is shutting down and no new tablets
	// can be created.
	TSTabletManagerStatePB_MANAGER_QUIESCING TSTabletManagerStatePB = 2
	// Tablet Manager has shutdown.
	TSTabletManagerStatePB_MANAGER_SHUTDOWN TSTabletManagerStatePB = 3
)

func (TSTabletManagerStatePB) Descriptor

func (TSTabletManagerStatePB) Enum

func (TSTabletManagerStatePB) EnumDescriptor deprecated

func (TSTabletManagerStatePB) EnumDescriptor() ([]byte, []int)

Deprecated: Use TSTabletManagerStatePB.Descriptor instead.

func (TSTabletManagerStatePB) Number

func (TSTabletManagerStatePB) String

func (x TSTabletManagerStatePB) String() string

func (TSTabletManagerStatePB) Type

func (*TSTabletManagerStatePB) UnmarshalJSON deprecated

func (x *TSTabletManagerStatePB) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TSToMasterCommonPB

type TSToMasterCommonPB struct {

	// The instance of the tablet server sending the heartbeat.
	TsInstance *NodeInstancePB `protobuf:"bytes,1,req,name=ts_instance,json=tsInstance" json:"ts_instance,omitempty"`
	// contains filtered or unexported fields
}

Common information sent with every request from the tablet server to the master.

func (*TSToMasterCommonPB) Descriptor deprecated

func (*TSToMasterCommonPB) Descriptor() ([]byte, []int)

Deprecated: Use TSToMasterCommonPB.ProtoReflect.Descriptor instead.

func (*TSToMasterCommonPB) GetTsInstance

func (x *TSToMasterCommonPB) GetTsInstance() *NodeInstancePB

func (*TSToMasterCommonPB) ProtoMessage

func (*TSToMasterCommonPB) ProtoMessage()

func (*TSToMasterCommonPB) ProtoReflect

func (x *TSToMasterCommonPB) ProtoReflect() protoreflect.Message

func (*TSToMasterCommonPB) Reset

func (x *TSToMasterCommonPB) Reset()

func (*TSToMasterCommonPB) String

func (x *TSToMasterCommonPB) String() string

type TServerMetricsPB

type TServerMetricsPB struct {
	TotalSstFileSize        *int64                          `protobuf:"varint,1,opt,name=total_sst_file_size,json=totalSstFileSize" json:"total_sst_file_size,omitempty"`
	TotalRamUsage           *int64                          `protobuf:"varint,2,opt,name=total_ram_usage,json=totalRamUsage" json:"total_ram_usage,omitempty"`
	ReadOpsPerSec           *float64                        `protobuf:"fixed64,3,opt,name=read_ops_per_sec,json=readOpsPerSec" json:"read_ops_per_sec,omitempty"`
	WriteOpsPerSec          *float64                        `protobuf:"fixed64,4,opt,name=write_ops_per_sec,json=writeOpsPerSec" json:"write_ops_per_sec,omitempty"`
	UncompressedSstFileSize *int64                          `` /* 128-byte string literal not displayed */
	UptimeSeconds           *uint64                         `protobuf:"varint,6,opt,name=uptime_seconds,json=uptimeSeconds" json:"uptime_seconds,omitempty"`
	NumSstFiles             *uint64                         `protobuf:"varint,7,opt,name=num_sst_files,json=numSstFiles" json:"num_sst_files,omitempty"`
	PathMetrics             []*TServerMetricsPB_PathMetrics `protobuf:"bytes,8,rep,name=path_metrics,json=pathMetrics" json:"path_metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*TServerMetricsPB) Descriptor deprecated

func (*TServerMetricsPB) Descriptor() ([]byte, []int)

Deprecated: Use TServerMetricsPB.ProtoReflect.Descriptor instead.

func (*TServerMetricsPB) GetNumSstFiles

func (x *TServerMetricsPB) GetNumSstFiles() uint64

func (*TServerMetricsPB) GetPathMetrics

func (x *TServerMetricsPB) GetPathMetrics() []*TServerMetricsPB_PathMetrics

func (*TServerMetricsPB) GetReadOpsPerSec

func (x *TServerMetricsPB) GetReadOpsPerSec() float64

func (*TServerMetricsPB) GetTotalRamUsage

func (x *TServerMetricsPB) GetTotalRamUsage() int64

func (*TServerMetricsPB) GetTotalSstFileSize

func (x *TServerMetricsPB) GetTotalSstFileSize() int64

func (*TServerMetricsPB) GetUncompressedSstFileSize

func (x *TServerMetricsPB) GetUncompressedSstFileSize() int64

func (*TServerMetricsPB) GetUptimeSeconds

func (x *TServerMetricsPB) GetUptimeSeconds() uint64

func (*TServerMetricsPB) GetWriteOpsPerSec

func (x *TServerMetricsPB) GetWriteOpsPerSec() float64

func (*TServerMetricsPB) ProtoMessage

func (*TServerMetricsPB) ProtoMessage()

func (*TServerMetricsPB) ProtoReflect

func (x *TServerMetricsPB) ProtoReflect() protoreflect.Message

func (*TServerMetricsPB) Reset

func (x *TServerMetricsPB) Reset()

func (*TServerMetricsPB) String

func (x *TServerMetricsPB) String() string

type TServerMetricsPB_PathMetrics

type TServerMetricsPB_PathMetrics struct {

	// Device path provided by user in --fs_data_dirs
	PathId     []byte  `protobuf:"bytes,1,req,name=path_id,json=pathId" json:"path_id,omitempty"`
	UsedSpace  *uint64 `protobuf:"varint,2,opt,name=used_space,json=usedSpace" json:"used_space,omitempty"`
	TotalSpace *uint64 `protobuf:"varint,3,opt,name=total_space,json=totalSpace" json:"total_space,omitempty"`
	// contains filtered or unexported fields
}

func (*TServerMetricsPB_PathMetrics) Descriptor deprecated

func (*TServerMetricsPB_PathMetrics) Descriptor() ([]byte, []int)

Deprecated: Use TServerMetricsPB_PathMetrics.ProtoReflect.Descriptor instead.

func (*TServerMetricsPB_PathMetrics) GetPathId

func (x *TServerMetricsPB_PathMetrics) GetPathId() []byte

func (*TServerMetricsPB_PathMetrics) GetTotalSpace

func (x *TServerMetricsPB_PathMetrics) GetTotalSpace() uint64

func (*TServerMetricsPB_PathMetrics) GetUsedSpace

func (x *TServerMetricsPB_PathMetrics) GetUsedSpace() uint64

func (*TServerMetricsPB_PathMetrics) ProtoMessage

func (*TServerMetricsPB_PathMetrics) ProtoMessage()

func (*TServerMetricsPB_PathMetrics) ProtoReflect

func (*TServerMetricsPB_PathMetrics) Reset

func (x *TServerMetricsPB_PathMetrics) Reset()

func (*TServerMetricsPB_PathMetrics) String

type TableIdentifierPB

type TableIdentifierPB struct {

	// The table ID to fetch info.
	TableId []byte `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// The table name to fetch info.
	TableName *string `protobuf:"bytes,2,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// The table namespace (if empty - using default namespace).
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*TableIdentifierPB) Descriptor deprecated

func (*TableIdentifierPB) Descriptor() ([]byte, []int)

Deprecated: Use TableIdentifierPB.ProtoReflect.Descriptor instead.

func (*TableIdentifierPB) GetNamespace

func (x *TableIdentifierPB) GetNamespace() *NamespaceIdentifierPB

func (*TableIdentifierPB) GetTableId

func (x *TableIdentifierPB) GetTableId() []byte

func (*TableIdentifierPB) GetTableName

func (x *TableIdentifierPB) GetTableName() string

func (*TableIdentifierPB) ProtoMessage

func (*TableIdentifierPB) ProtoMessage()

func (*TableIdentifierPB) ProtoReflect

func (x *TableIdentifierPB) ProtoReflect() protoreflect.Message

func (*TableIdentifierPB) Reset

func (x *TableIdentifierPB) Reset()

func (*TableIdentifierPB) String

func (x *TableIdentifierPB) String() string

type TableIdentifiersPB added in v2.11.2

type TableIdentifiersPB struct {
	Tables []*TableIdentifierPB `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"`
	// contains filtered or unexported fields
}

func (*TableIdentifiersPB) Descriptor deprecated added in v2.11.2

func (*TableIdentifiersPB) Descriptor() ([]byte, []int)

Deprecated: Use TableIdentifiersPB.ProtoReflect.Descriptor instead.

func (*TableIdentifiersPB) GetTables added in v2.11.2

func (x *TableIdentifiersPB) GetTables() []*TableIdentifierPB

func (*TableIdentifiersPB) ProtoMessage added in v2.11.2

func (*TableIdentifiersPB) ProtoMessage()

func (*TableIdentifiersPB) ProtoReflect added in v2.11.2

func (x *TableIdentifiersPB) ProtoReflect() protoreflect.Message

func (*TableIdentifiersPB) Reset added in v2.11.2

func (x *TableIdentifiersPB) Reset()

func (*TableIdentifiersPB) String added in v2.11.2

func (x *TableIdentifiersPB) String() string

type TableInfo added in v2.13.0

type TableInfo struct {
	StreamId []byte `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	TableId  []byte `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TableInfo) Descriptor deprecated added in v2.13.0

func (*TableInfo) Descriptor() ([]byte, []int)

Deprecated: Use TableInfo.ProtoReflect.Descriptor instead.

func (*TableInfo) GetStreamId added in v2.13.0

func (x *TableInfo) GetStreamId() []byte

func (*TableInfo) GetTableId added in v2.13.0

func (x *TableInfo) GetTableId() []byte

func (*TableInfo) ProtoMessage added in v2.13.0

func (*TableInfo) ProtoMessage()

func (*TableInfo) ProtoReflect added in v2.13.0

func (x *TableInfo) ProtoReflect() protoreflect.Message

func (*TableInfo) Reset added in v2.13.0

func (x *TableInfo) Reset()

func (*TableInfo) String added in v2.13.0

func (x *TableInfo) String() string

type TableInfoPB

type TableInfoPB struct {

	// Table id, name, and type.
	TableId       []byte     `protobuf:"bytes,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	NamespaceName *string    `protobuf:"bytes,10,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	TableName     *string    `protobuf:"bytes,2,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	TableType     *TableType `protobuf:"varint,3,opt,name=table_type,json=tableType,enum=yb.TableType,def=2" json:"table_type,omitempty"`
	// Table schema and version.
	Schema        *SchemaPB `protobuf:"bytes,4,opt,name=schema" json:"schema,omitempty"`
	SchemaVersion *uint32   `protobuf:"varint,5,opt,name=schema_version,json=schemaVersion" json:"schema_version,omitempty"`
	// Table's partitioning schema.
	PartitionSchema *PartitionSchemaPB `protobuf:"bytes,6,opt,name=partition_schema,json=partitionSchema" json:"partition_schema,omitempty"`
	// Secondary indexes of the table.
	Indexes []*IndexInfoPB `protobuf:"bytes,7,rep,name=indexes" json:"indexes,omitempty"`
	// For index table: information about this index.
	IndexInfo *IndexInfoPB `protobuf:"bytes,8,opt,name=index_info,json=indexInfo" json:"index_info,omitempty"`
	// Deleted column IDs with timestamps so that memory can be cleaned up.
	DeletedCols []*DeletedColumnPB `protobuf:"bytes,9,rep,name=deleted_cols,json=deletedCols" json:"deleted_cols,omitempty"`
	// contains filtered or unexported fields
}

Table information.

func (*TableInfoPB) Descriptor deprecated

func (*TableInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use TableInfoPB.ProtoReflect.Descriptor instead.

func (*TableInfoPB) GetDeletedCols

func (x *TableInfoPB) GetDeletedCols() []*DeletedColumnPB

func (*TableInfoPB) GetIndexInfo

func (x *TableInfoPB) GetIndexInfo() *IndexInfoPB

func (*TableInfoPB) GetIndexes

func (x *TableInfoPB) GetIndexes() []*IndexInfoPB

func (*TableInfoPB) GetNamespaceName

func (x *TableInfoPB) GetNamespaceName() string

func (*TableInfoPB) GetPartitionSchema

func (x *TableInfoPB) GetPartitionSchema() *PartitionSchemaPB

func (*TableInfoPB) GetSchema

func (x *TableInfoPB) GetSchema() *SchemaPB

func (*TableInfoPB) GetSchemaVersion

func (x *TableInfoPB) GetSchemaVersion() uint32

func (*TableInfoPB) GetTableId

func (x *TableInfoPB) GetTableId() []byte

func (*TableInfoPB) GetTableName

func (x *TableInfoPB) GetTableName() string

func (*TableInfoPB) GetTableType

func (x *TableInfoPB) GetTableType() TableType

func (*TableInfoPB) ProtoMessage

func (*TableInfoPB) ProtoMessage()

func (*TableInfoPB) ProtoReflect

func (x *TableInfoPB) ProtoReflect() protoreflect.Message

func (*TableInfoPB) Reset

func (x *TableInfoPB) Reset()

func (*TableInfoPB) String

func (x *TableInfoPB) String() string

type TablePropertiesPB

type TablePropertiesPB struct {
	DefaultTimeToLive *uint64 `protobuf:"varint,1,opt,name=default_time_to_live,json=defaultTimeToLive" json:"default_time_to_live,omitempty"`
	ContainCounters   *bool   `protobuf:"varint,2,opt,name=contain_counters,json=containCounters" json:"contain_counters,omitempty"`
	IsTransactional   *bool   `protobuf:"varint,3,opt,name=is_transactional,json=isTransactional,def=0" json:"is_transactional,omitempty"`
	// The table id of the table that this table is co-partitioned with.
	CopartitionTableId []byte `protobuf:"bytes,4,opt,name=copartition_table_id,json=copartitionTableId" json:"copartition_table_id,omitempty"`
	// For index table only: consistency with respect to the indexed table.
	ConsistencyLevel     *YBConsistencyLevel `` /* 136-byte string literal not displayed */
	UseMangledColumnName *bool               `protobuf:"varint,6,opt,name=use_mangled_column_name,json=useMangledColumnName,def=0" json:"use_mangled_column_name,omitempty"`
	// Save this number of tablets in table schema stored in master SysCatalog. It might not be
	// the true number of tablets in the table at runtime due to tablet splitting. It is just
	// the number of tablets stored in the schema (for example, when user creates the table).
	// Note: If CreateTableRequestPB::num_tablets is not specified, but this field is specified in
	// the field CreateTableRequestPB::schema, CatalogManager::CreateTable() will create a table
	// with number of tablets in this field.
	NumTablets           *int32  `protobuf:"varint,7,opt,name=num_tablets,json=numTablets,def=0" json:"num_tablets,omitempty"`
	IsYsqlCatalogTable   *bool   `protobuf:"varint,8,opt,name=is_ysql_catalog_table,json=isYsqlCatalogTable,def=0" json:"is_ysql_catalog_table,omitempty"`
	RetainDeleteMarkers  *bool   `protobuf:"varint,9,opt,name=retain_delete_markers,json=retainDeleteMarkers,def=0" json:"retain_delete_markers,omitempty"`
	BackfillingTimestamp *uint64 `protobuf:"varint,10,opt,name=backfilling_timestamp,json=backfillingTimestamp" json:"backfilling_timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*TablePropertiesPB) Descriptor deprecated

func (*TablePropertiesPB) Descriptor() ([]byte, []int)

Deprecated: Use TablePropertiesPB.ProtoReflect.Descriptor instead.

func (*TablePropertiesPB) GetBackfillingTimestamp

func (x *TablePropertiesPB) GetBackfillingTimestamp() uint64

func (*TablePropertiesPB) GetConsistencyLevel

func (x *TablePropertiesPB) GetConsistencyLevel() YBConsistencyLevel

func (*TablePropertiesPB) GetContainCounters

func (x *TablePropertiesPB) GetContainCounters() bool

func (*TablePropertiesPB) GetCopartitionTableId

func (x *TablePropertiesPB) GetCopartitionTableId() []byte

func (*TablePropertiesPB) GetDefaultTimeToLive

func (x *TablePropertiesPB) GetDefaultTimeToLive() uint64

func (*TablePropertiesPB) GetIsTransactional

func (x *TablePropertiesPB) GetIsTransactional() bool

func (*TablePropertiesPB) GetIsYsqlCatalogTable

func (x *TablePropertiesPB) GetIsYsqlCatalogTable() bool

func (*TablePropertiesPB) GetNumTablets

func (x *TablePropertiesPB) GetNumTablets() int32

func (*TablePropertiesPB) GetRetainDeleteMarkers

func (x *TablePropertiesPB) GetRetainDeleteMarkers() bool

func (*TablePropertiesPB) GetUseMangledColumnName

func (x *TablePropertiesPB) GetUseMangledColumnName() bool

func (*TablePropertiesPB) ProtoMessage

func (*TablePropertiesPB) ProtoMessage()

func (*TablePropertiesPB) ProtoReflect

func (x *TablePropertiesPB) ProtoReflect() protoreflect.Message

func (*TablePropertiesPB) Reset

func (x *TablePropertiesPB) Reset()

func (*TablePropertiesPB) String

func (x *TablePropertiesPB) String() string

type TableType

type TableType int32

This must exactly match YBTableType in client.h. We have static_assert's in tablet-test.cc to verify this.

const (
	TableType_YQL_TABLE_TYPE                TableType = 2
	TableType_REDIS_TABLE_TYPE              TableType = 3
	TableType_PGSQL_TABLE_TYPE              TableType = 4
	TableType_TRANSACTION_STATUS_TABLE_TYPE TableType = 5
	TableType_DEFAULT_TABLE_TYPE            TableType = 2
)

func (TableType) Descriptor

func (TableType) Descriptor() protoreflect.EnumDescriptor

func (TableType) Enum

func (x TableType) Enum() *TableType

func (TableType) EnumDescriptor deprecated

func (TableType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TableType.Descriptor instead.

func (TableType) Number

func (x TableType) Number() protoreflect.EnumNumber

func (TableType) String

func (x TableType) String() string

func (TableType) Type

func (*TableType) UnmarshalJSON deprecated

func (x *TableType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TablegroupIdentifierPB

type TablegroupIdentifierPB struct {

	// The tablegroup ID to fetch info.
	Id []byte `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The tablegroup name to fetch info.
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The namespace that the tablegroup is in
	NamespaceId []byte `protobuf:"bytes,3,opt,name=namespace_id,json=namespaceId" json:"namespace_id,omitempty"`
	// contains filtered or unexported fields
}

func (*TablegroupIdentifierPB) Descriptor deprecated

func (*TablegroupIdentifierPB) Descriptor() ([]byte, []int)

Deprecated: Use TablegroupIdentifierPB.ProtoReflect.Descriptor instead.

func (*TablegroupIdentifierPB) GetId

func (x *TablegroupIdentifierPB) GetId() []byte

func (*TablegroupIdentifierPB) GetName

func (x *TablegroupIdentifierPB) GetName() string

func (*TablegroupIdentifierPB) GetNamespaceId

func (x *TablegroupIdentifierPB) GetNamespaceId() []byte

func (*TablegroupIdentifierPB) ProtoMessage

func (*TablegroupIdentifierPB) ProtoMessage()

func (*TablegroupIdentifierPB) ProtoReflect

func (x *TablegroupIdentifierPB) ProtoReflect() protoreflect.Message

func (*TablegroupIdentifierPB) Reset

func (x *TablegroupIdentifierPB) Reset()

func (*TablegroupIdentifierPB) String

func (x *TablegroupIdentifierPB) String() string

type TabletDataState

type TabletDataState int32

State flags indicating whether the tablet is in the middle of being copied and is therefore not possible to bring up, whether it has been deleted, or whether the data is in a usable state.

const (
	TabletDataState_TABLET_DATA_UNKNOWN TabletDataState = 999
	// The tablet is set to TABLET_DATA_COPYING state when in the middle of
	// remote bootstrap while copying data files from a remote peer. If a tablet
	// server crashes with a tablet in this state, the tablet must be deleted and
	// the remote bootstrap process must be restarted for that tablet.
	TabletDataState_TABLET_DATA_COPYING TabletDataState = 0
	// Fresh empty tablets and successfully copied tablets are set to the
	// TABLET_DATA_READY state.
	TabletDataState_TABLET_DATA_READY TabletDataState = 1
	// This tablet is in the process of being deleted.
	// The tablet server should "roll forward" the deletion during boot,
	// rather than trying to load the tablet.
	TabletDataState_TABLET_DATA_DELETED TabletDataState = 2
	// The tablet has been deleted, and now just consists of a "tombstone".
	TabletDataState_TABLET_DATA_TOMBSTONED TabletDataState = 3
	// This tablet split has been completed. In this state tablet could only be used as a remote
	// bootstrap source for some time (follower_unavailable_considered_failed_sec) and then will be
	// shutdown.
	// TODO(tsplit): After https://github.com/yugabyte/yugabyte-db/issues/1461:
	// - implement deleting tablet in state TABLET_DATA_SPLIT_COMPLETED after
	//   follower_unavailable_considered_failed_sec.
	// - add integration test for remote bootstrap from source split tablet before/after
	// follower_unavailable_considered_failed_sec.
	TabletDataState_TABLET_DATA_SPLIT_COMPLETED TabletDataState = 4
	// This tablet has been initialized as a subtablet of another tablet undergoing a split. Once this
	// tablet is ready to assume responsibility for it's portion of the split keyspace, it will be
	// moved to the TABLET_DATA_READY state.
	TabletDataState_TABLET_DATA_INIT_STARTED TabletDataState = 5
)

func (TabletDataState) Descriptor

func (TabletDataState) Enum

func (x TabletDataState) Enum() *TabletDataState

func (TabletDataState) EnumDescriptor deprecated

func (TabletDataState) EnumDescriptor() ([]byte, []int)

Deprecated: Use TabletDataState.Descriptor instead.

func (TabletDataState) Number

func (TabletDataState) String

func (x TabletDataState) String() string

func (TabletDataState) Type

func (*TabletDataState) UnmarshalJSON deprecated

func (x *TabletDataState) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TabletDriveStorageMetadataPB

type TabletDriveStorageMetadataPB struct {
	TabletId                     []byte  `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	SstFileSize                  *uint64 `protobuf:"varint,2,opt,name=sst_file_size,json=sstFileSize" json:"sst_file_size,omitempty"`
	WalFileSize                  *uint64 `protobuf:"varint,3,opt,name=wal_file_size,json=walFileSize" json:"wal_file_size,omitempty"`
	UncompressedSstFileSize      *uint64 `` /* 128-byte string literal not displayed */
	MayHaveOrphanedPostSplitData *bool   `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TabletDriveStorageMetadataPB) Descriptor deprecated

func (*TabletDriveStorageMetadataPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletDriveStorageMetadataPB.ProtoReflect.Descriptor instead.

func (*TabletDriveStorageMetadataPB) GetMayHaveOrphanedPostSplitData

func (x *TabletDriveStorageMetadataPB) GetMayHaveOrphanedPostSplitData() bool

func (*TabletDriveStorageMetadataPB) GetSstFileSize

func (x *TabletDriveStorageMetadataPB) GetSstFileSize() uint64

func (*TabletDriveStorageMetadataPB) GetTabletId

func (x *TabletDriveStorageMetadataPB) GetTabletId() []byte

func (*TabletDriveStorageMetadataPB) GetUncompressedSstFileSize

func (x *TabletDriveStorageMetadataPB) GetUncompressedSstFileSize() uint64

func (*TabletDriveStorageMetadataPB) GetWalFileSize

func (x *TabletDriveStorageMetadataPB) GetWalFileSize() uint64

func (*TabletDriveStorageMetadataPB) ProtoMessage

func (*TabletDriveStorageMetadataPB) ProtoMessage()

func (*TabletDriveStorageMetadataPB) ProtoReflect

func (*TabletDriveStorageMetadataPB) Reset

func (x *TabletDriveStorageMetadataPB) Reset()

func (*TabletDriveStorageMetadataPB) String

type TabletForSplitPB

type TabletForSplitPB struct {
	TabletId                  []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	OBSOLETESplitPartitionKey []byte `` /* 133-byte string literal not displayed */
	OBSOLETESplitEncodedKey   []byte `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TabletForSplitPB) Descriptor deprecated

func (*TabletForSplitPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletForSplitPB.ProtoReflect.Descriptor instead.

func (*TabletForSplitPB) GetOBSOLETESplitEncodedKey

func (x *TabletForSplitPB) GetOBSOLETESplitEncodedKey() []byte

func (*TabletForSplitPB) GetOBSOLETESplitPartitionKey

func (x *TabletForSplitPB) GetOBSOLETESplitPartitionKey() []byte

func (*TabletForSplitPB) GetTabletId

func (x *TabletForSplitPB) GetTabletId() []byte

func (*TabletForSplitPB) ProtoMessage

func (*TabletForSplitPB) ProtoMessage()

func (*TabletForSplitPB) ProtoReflect

func (x *TabletForSplitPB) ProtoReflect() protoreflect.Message

func (*TabletForSplitPB) Reset

func (x *TabletForSplitPB) Reset()

func (*TabletForSplitPB) String

func (x *TabletForSplitPB) String() string

type TabletLocationsPB

type TabletLocationsPB struct {
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// DEPRECATED.
	StartKey  []byte                         `protobuf:"bytes,2,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
	EndKey    []byte                         `protobuf:"bytes,3,opt,name=end_key,json=endKey" json:"end_key,omitempty"`
	Partition *PartitionPB                   `protobuf:"bytes,6,opt,name=partition" json:"partition,omitempty"`
	Replicas  []*TabletLocationsPB_ReplicaPB `protobuf:"bytes,4,rep,name=replicas" json:"replicas,omitempty"`
	// true if the tablet was running but no tablet server has reported it yet.
	// The set of replicas will be the last one that was hosting the tablet.
	// This should happen on Master restart when the request is issued before
	// the TS has the time to notify the Master about the tablets that is hosting.
	Stale   *bool  `protobuf:"varint,5,req,name=stale" json:"stale,omitempty"`
	TableId []byte `protobuf:"bytes,7,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	// Table ids for all the tables on this tablet.
	TableIds [][]byte `protobuf:"bytes,8,rep,name=table_ids,json=tableIds" json:"table_ids,omitempty"`
	// See SysTabletsEntryPB for fields with the same name.
	SplitDepth          *uint64  `protobuf:"varint,9,opt,name=split_depth,json=splitDepth" json:"split_depth,omitempty"`
	SplitParentTabletId []byte   `protobuf:"bytes,12,opt,name=split_parent_tablet_id,json=splitParentTabletId" json:"split_parent_tablet_id,omitempty"`
	SplitTabletIds      [][]byte `protobuf:"bytes,13,rep,name=split_tablet_ids,json=splitTabletIds" json:"split_tablet_ids,omitempty"`
	// Number of expected live replicas.
	ExpectedLiveReplicas *int32 `protobuf:"varint,10,opt,name=expected_live_replicas,json=expectedLiveReplicas" json:"expected_live_replicas,omitempty"`
	// Number of expected read replicas.
	ExpectedReadReplicas *int32 `protobuf:"varint,11,opt,name=expected_read_replicas,json=expectedReadReplicas" json:"expected_read_replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*TabletLocationsPB) Descriptor deprecated

func (*TabletLocationsPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletLocationsPB.ProtoReflect.Descriptor instead.

func (*TabletLocationsPB) GetEndKey

func (x *TabletLocationsPB) GetEndKey() []byte

func (*TabletLocationsPB) GetExpectedLiveReplicas

func (x *TabletLocationsPB) GetExpectedLiveReplicas() int32

func (*TabletLocationsPB) GetExpectedReadReplicas

func (x *TabletLocationsPB) GetExpectedReadReplicas() int32

func (*TabletLocationsPB) GetPartition

func (x *TabletLocationsPB) GetPartition() *PartitionPB

func (*TabletLocationsPB) GetReplicas

func (x *TabletLocationsPB) GetReplicas() []*TabletLocationsPB_ReplicaPB

func (*TabletLocationsPB) GetSplitDepth

func (x *TabletLocationsPB) GetSplitDepth() uint64

func (*TabletLocationsPB) GetSplitParentTabletId

func (x *TabletLocationsPB) GetSplitParentTabletId() []byte

func (*TabletLocationsPB) GetSplitTabletIds

func (x *TabletLocationsPB) GetSplitTabletIds() [][]byte

func (*TabletLocationsPB) GetStale

func (x *TabletLocationsPB) GetStale() bool

func (*TabletLocationsPB) GetStartKey

func (x *TabletLocationsPB) GetStartKey() []byte

func (*TabletLocationsPB) GetTableId

func (x *TabletLocationsPB) GetTableId() []byte

func (*TabletLocationsPB) GetTableIds

func (x *TabletLocationsPB) GetTableIds() [][]byte

func (*TabletLocationsPB) GetTabletId

func (x *TabletLocationsPB) GetTabletId() []byte

func (*TabletLocationsPB) ProtoMessage

func (*TabletLocationsPB) ProtoMessage()

func (*TabletLocationsPB) ProtoReflect

func (x *TabletLocationsPB) ProtoReflect() protoreflect.Message

func (*TabletLocationsPB) Reset

func (x *TabletLocationsPB) Reset()

func (*TabletLocationsPB) String

func (x *TabletLocationsPB) String() string

type TabletLocationsPB_ReplicaPB

type TabletLocationsPB_ReplicaPB struct {
	TsInfo     *TSInfoPB       `protobuf:"bytes,1,req,name=ts_info,json=tsInfo" json:"ts_info,omitempty"`
	Role       *PeerRole       `protobuf:"varint,2,req,name=role,enum=yb.PeerRole" json:"role,omitempty"`
	MemberType *PeerMemberType `protobuf:"varint,3,opt,name=member_type,json=memberType,enum=yb.consensus.PeerMemberType" json:"member_type,omitempty"`
	// contains filtered or unexported fields
}

func (*TabletLocationsPB_ReplicaPB) Descriptor deprecated

func (*TabletLocationsPB_ReplicaPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletLocationsPB_ReplicaPB.ProtoReflect.Descriptor instead.

func (*TabletLocationsPB_ReplicaPB) GetMemberType

func (x *TabletLocationsPB_ReplicaPB) GetMemberType() PeerMemberType

func (*TabletLocationsPB_ReplicaPB) GetRole

func (*TabletLocationsPB_ReplicaPB) GetTsInfo

func (x *TabletLocationsPB_ReplicaPB) GetTsInfo() *TSInfoPB

func (*TabletLocationsPB_ReplicaPB) ProtoMessage

func (*TabletLocationsPB_ReplicaPB) ProtoMessage()

func (*TabletLocationsPB_ReplicaPB) ProtoReflect

func (*TabletLocationsPB_ReplicaPB) Reset

func (x *TabletLocationsPB_ReplicaPB) Reset()

func (*TabletLocationsPB_ReplicaPB) String

func (x *TabletLocationsPB_ReplicaPB) String() string

type TabletReportPB

type TabletReportPB struct {

	// If false, then this is a full report, and any prior information about
	// tablets hosted by this server should be dropped.
	IsIncremental *bool `protobuf:"varint,1,req,name=is_incremental,json=isIncremental" json:"is_incremental,omitempty"`
	// Tablets for which to update information. If 'is_incremental' is false,
	// then this is the full set of tablets on the server, and any tablets
	// which the master is aware of but not listed in this protobuf should
	// be assumed to have been removed from this server.
	UpdatedTablets []*ReportedTabletPB `protobuf:"bytes,2,rep,name=updated_tablets,json=updatedTablets" json:"updated_tablets,omitempty"`
	// Tablet IDs which the tablet server has removed and should no longer be
	// considered hosted here. This will always be empty in a non-incremental
	// report.
	RemovedTabletIds [][]byte `protobuf:"bytes,3,rep,name=removed_tablet_ids,json=removedTabletIds" json:"removed_tablet_ids,omitempty"`
	// Every time the TS generates a tablet report, it creates a sequence
	// number. This can be useful in debugging, and also determining which
	// changes have not yet been reported to the master.
	// The first tablet report (non-incremental) is sequence number 0.
	SequenceNumber *int32 `protobuf:"varint,4,req,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
	// Number of tablets that could not be included in this heartbeat.
	// If 0, then all tablets have been reported to the master.
	RemainingTabletCount *int32 `protobuf:"varint,5,opt,name=remaining_tablet_count,json=remainingTabletCount" json:"remaining_tablet_count,omitempty"`
	// contains filtered or unexported fields
}

Sent by the tablet server to report the set of tablets hosted by that TS.

func (*TabletReportPB) Descriptor deprecated

func (*TabletReportPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletReportPB.ProtoReflect.Descriptor instead.

func (*TabletReportPB) GetIsIncremental

func (x *TabletReportPB) GetIsIncremental() bool

func (*TabletReportPB) GetRemainingTabletCount

func (x *TabletReportPB) GetRemainingTabletCount() int32

func (*TabletReportPB) GetRemovedTabletIds

func (x *TabletReportPB) GetRemovedTabletIds() [][]byte

func (*TabletReportPB) GetSequenceNumber

func (x *TabletReportPB) GetSequenceNumber() int32

func (*TabletReportPB) GetUpdatedTablets

func (x *TabletReportPB) GetUpdatedTablets() []*ReportedTabletPB

func (*TabletReportPB) ProtoMessage

func (*TabletReportPB) ProtoMessage()

func (*TabletReportPB) ProtoReflect

func (x *TabletReportPB) ProtoReflect() protoreflect.Message

func (*TabletReportPB) Reset

func (x *TabletReportPB) Reset()

func (*TabletReportPB) String

func (x *TabletReportPB) String() string

type TabletReportUpdatesPB

type TabletReportUpdatesPB struct {
	Tablets []*ReportedTabletUpdatesPB `protobuf:"bytes,1,rep,name=tablets" json:"tablets,omitempty"`
	// Returns true if the tablet report had to be truncated because master ran out of time.
	ProcessingTruncated *bool `protobuf:"varint,2,opt,name=processing_truncated,json=processingTruncated,def=0" json:"processing_truncated,omitempty"`
	// contains filtered or unexported fields
}

Sent by the Master in response to the TS tablet report (part of the heartbeats)

func (*TabletReportUpdatesPB) Descriptor deprecated

func (*TabletReportUpdatesPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletReportUpdatesPB.ProtoReflect.Descriptor instead.

func (*TabletReportUpdatesPB) GetProcessingTruncated

func (x *TabletReportUpdatesPB) GetProcessingTruncated() bool

func (*TabletReportUpdatesPB) GetTablets

func (*TabletReportUpdatesPB) ProtoMessage

func (*TabletReportUpdatesPB) ProtoMessage()

func (*TabletReportUpdatesPB) ProtoReflect

func (x *TabletReportUpdatesPB) ProtoReflect() protoreflect.Message

func (*TabletReportUpdatesPB) Reset

func (x *TabletReportUpdatesPB) Reset()

func (*TabletReportUpdatesPB) String

func (x *TabletReportUpdatesPB) String() string

type TabletRestorationPB added in v2.11.2

type TabletRestorationPB struct {
	Id    []byte                    `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	State *SysSnapshotEntryPB_State `protobuf:"varint,2,opt,name=state,enum=yb.master.SysSnapshotEntryPB_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*TabletRestorationPB) Descriptor deprecated added in v2.11.2

func (*TabletRestorationPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletRestorationPB.ProtoReflect.Descriptor instead.

func (*TabletRestorationPB) GetId added in v2.11.2

func (x *TabletRestorationPB) GetId() []byte

func (*TabletRestorationPB) GetState added in v2.11.2

func (*TabletRestorationPB) ProtoMessage added in v2.11.2

func (*TabletRestorationPB) ProtoMessage()

func (*TabletRestorationPB) ProtoReflect added in v2.11.2

func (x *TabletRestorationPB) ProtoReflect() protoreflect.Message

func (*TabletRestorationPB) Reset added in v2.11.2

func (x *TabletRestorationPB) Reset()

func (*TabletRestorationPB) String added in v2.11.2

func (x *TabletRestorationPB) String() string

type TabletServerAdminServiceClient

type TabletServerAdminServiceClient interface {
	// Create a new, empty tablet with the specified parameters. Only used for
	// brand-new tablets, not for "moves".
	CreateTablet(ctx context.Context, in *CreateTabletRequestPB, opts ...grpc.CallOption) (*CreateTabletResponsePB, error)
	// Delete a tablet replica.
	DeleteTablet(ctx context.Context, in *DeleteTabletRequestPB, opts ...grpc.CallOption) (*DeleteTabletResponsePB, error)
	// Alter a tablet's schema.
	AlterSchema(ctx context.Context, in *ChangeMetadataRequestPB, opts ...grpc.CallOption) (*ChangeMetadataResponsePB, error)
	// GetSafeTime API to get the current safe time.
	GetSafeTime(ctx context.Context, in *GetSafeTimeRequestPB, opts ...grpc.CallOption) (*GetSafeTimeResponsePB, error)
	// Backfill the index for the specified index tables. Addressed to the indexed
	// table.
	BackfillIndex(ctx context.Context, in *BackfillIndexRequestPB, opts ...grpc.CallOption) (*BackfillIndexResponsePB, error)
	// Marks an index table as having completed backfilling.
	BackfillDone(ctx context.Context, in *ChangeMetadataRequestPB, opts ...grpc.CallOption) (*ChangeMetadataResponsePB, error)
	// Create a co-partitioned table in an existing tablet
	CopartitionTable(ctx context.Context, in *CopartitionTableRequestPB, opts ...grpc.CallOption) (*CopartitionTableResponsePB, error)
	FlushTablets(ctx context.Context, in *FlushTabletsRequestPB, opts ...grpc.CallOption) (*FlushTabletsResponsePB, error)
	CountIntents(ctx context.Context, in *CountIntentsRequestPB, opts ...grpc.CallOption) (*CountIntentsResponsePB, error)
	AddTableToTablet(ctx context.Context, in *AddTableToTabletRequestPB, opts ...grpc.CallOption) (*AddTableToTabletResponsePB, error)
	RemoveTableFromTablet(ctx context.Context, in *RemoveTableFromTabletRequestPB, opts ...grpc.CallOption) (*RemoveTableFromTabletResponsePB, error)
	SplitTablet(ctx context.Context, in *SplitTabletRequestPB, opts ...grpc.CallOption) (*SplitTabletResponsePB, error)
	UpgradeYsql(ctx context.Context, in *UpgradeYsqlRequestPB, opts ...grpc.CallOption) (*UpgradeYsqlResponsePB, error)
}

TabletServerAdminServiceClient is the client API for TabletServerAdminService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TabletServerAdminServiceServer

type TabletServerAdminServiceServer interface {
	// Create a new, empty tablet with the specified parameters. Only used for
	// brand-new tablets, not for "moves".
	CreateTablet(context.Context, *CreateTabletRequestPB) (*CreateTabletResponsePB, error)
	// Delete a tablet replica.
	DeleteTablet(context.Context, *DeleteTabletRequestPB) (*DeleteTabletResponsePB, error)
	// Alter a tablet's schema.
	AlterSchema(context.Context, *ChangeMetadataRequestPB) (*ChangeMetadataResponsePB, error)
	// GetSafeTime API to get the current safe time.
	GetSafeTime(context.Context, *GetSafeTimeRequestPB) (*GetSafeTimeResponsePB, error)
	// Backfill the index for the specified index tables. Addressed to the indexed
	// table.
	BackfillIndex(context.Context, *BackfillIndexRequestPB) (*BackfillIndexResponsePB, error)
	// Marks an index table as having completed backfilling.
	BackfillDone(context.Context, *ChangeMetadataRequestPB) (*ChangeMetadataResponsePB, error)
	// Create a co-partitioned table in an existing tablet
	CopartitionTable(context.Context, *CopartitionTableRequestPB) (*CopartitionTableResponsePB, error)
	FlushTablets(context.Context, *FlushTabletsRequestPB) (*FlushTabletsResponsePB, error)
	CountIntents(context.Context, *CountIntentsRequestPB) (*CountIntentsResponsePB, error)
	AddTableToTablet(context.Context, *AddTableToTabletRequestPB) (*AddTableToTabletResponsePB, error)
	RemoveTableFromTablet(context.Context, *RemoveTableFromTabletRequestPB) (*RemoveTableFromTabletResponsePB, error)
	SplitTablet(context.Context, *SplitTabletRequestPB) (*SplitTabletResponsePB, error)
	UpgradeYsql(context.Context, *UpgradeYsqlRequestPB) (*UpgradeYsqlResponsePB, error)
}

TabletServerAdminServiceServer is the server API for TabletServerAdminService service. All implementations should embed UnimplementedTabletServerAdminServiceServer for forward compatibility

type TabletServerBackupServiceClient

type TabletServerBackupServiceClient interface {
	TabletSnapshotOp(ctx context.Context, in *TabletSnapshotOpRequestPB, opts ...grpc.CallOption) (*TabletSnapshotOpResponsePB, error)
}

TabletServerBackupServiceClient is the client API for TabletServerBackupService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TabletServerBackupServiceServer

type TabletServerBackupServiceServer interface {
	TabletSnapshotOp(context.Context, *TabletSnapshotOpRequestPB) (*TabletSnapshotOpResponsePB, error)
}

TabletServerBackupServiceServer is the server API for TabletServerBackupService service. All implementations should embed UnimplementedTabletServerBackupServiceServer for forward compatibility

type TabletServerErrorPB

type TabletServerErrorPB struct {

	// The error code.
	Code *TabletServerErrorPB_Code `protobuf:"varint,1,req,name=code,enum=yb.tserver.TabletServerErrorPB_Code,def=1" json:"code,omitempty"`
	// The Status object for the error. This will include a textual
	// message that may be more useful to present in log messages, etc,
	// though its error code is less specific.
	Status *AppStatusPB `protobuf:"bytes,2,req,name=status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Tablet-server specific errors use this protobuf.

func (*TabletServerErrorPB) Descriptor deprecated

func (*TabletServerErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletServerErrorPB.ProtoReflect.Descriptor instead.

func (*TabletServerErrorPB) GetCode

func (*TabletServerErrorPB) GetStatus

func (x *TabletServerErrorPB) GetStatus() *AppStatusPB

func (*TabletServerErrorPB) ProtoMessage

func (*TabletServerErrorPB) ProtoMessage()

func (*TabletServerErrorPB) ProtoReflect

func (x *TabletServerErrorPB) ProtoReflect() protoreflect.Message

func (*TabletServerErrorPB) Reset

func (x *TabletServerErrorPB) Reset()

func (*TabletServerErrorPB) String

func (x *TabletServerErrorPB) String() string

type TabletServerErrorPB_Code

type TabletServerErrorPB_Code int32
const (
	// An error which has no more specific error code.
	// The code and message in 'status' may reveal more details.
	//
	// RPCs should avoid returning this, since callers will not be
	// able to easily parse the error.
	TabletServerErrorPB_UNKNOWN_ERROR TabletServerErrorPB_Code = 1
	// The schema provided for a request was not well-formed.
	TabletServerErrorPB_INVALID_SCHEMA TabletServerErrorPB_Code = 2
	// The row data provided for a request was not well-formed.
	TabletServerErrorPB_INVALID_ROW_BLOCK TabletServerErrorPB_Code = 3
	// The mutations or mutation keys provided for a request were
	// not well formed.
	TabletServerErrorPB_INVALID_MUTATION TabletServerErrorPB_Code = 4
	// The schema provided for a request didn't match the actual
	// schema of the tablet.
	TabletServerErrorPB_MISMATCHED_SCHEMA TabletServerErrorPB_Code = 5
	// The requested tablet_id is not currently hosted on this server.
	TabletServerErrorPB_TABLET_NOT_FOUND TabletServerErrorPB_Code = 6
	// A request was made against a scanner ID that was either never
	// created or has expired.
	TabletServerErrorPB_SCANNER_EXPIRED TabletServerErrorPB_Code = 7
	// An invalid scan was specified -- e.g the values passed for
	// predicates were incorrect sizes.
	TabletServerErrorPB_INVALID_SCAN_SPEC TabletServerErrorPB_Code = 8
	// The provided configuration was not well-formed and/or
	// had a sequence number that was below the current config.
	TabletServerErrorPB_INVALID_CONFIG TabletServerErrorPB_Code = 9
	// On a create tablet request, signals that the tablet already exists.
	TabletServerErrorPB_TABLET_ALREADY_EXISTS TabletServerErrorPB_Code = 10
	// If the tablet has a newer schema than the requested one the "alter"
	// request will be rejected with this error.
	TabletServerErrorPB_TABLET_HAS_A_NEWER_SCHEMA TabletServerErrorPB_Code = 11
	// The tablet is hosted on this server, but not in RUNNING state.
	TabletServerErrorPB_TABLET_NOT_RUNNING TabletServerErrorPB_Code = 12
	// Client requested a snapshot read but the snapshot was invalid.
	TabletServerErrorPB_INVALID_SNAPSHOT TabletServerErrorPB_Code = 13
	// An invalid scan call sequence ID was specified.
	TabletServerErrorPB_INVALID_SCAN_CALL_SEQ_ID TabletServerErrorPB_Code = 14
	// This tserver is not the leader of the consensus configuration.
	TabletServerErrorPB_NOT_THE_LEADER TabletServerErrorPB_Code = 15
	// The destination UUID in the request does not match this server.
	TabletServerErrorPB_WRONG_SERVER_UUID TabletServerErrorPB_Code = 16
	// The compare-and-swap specified by an atomic RPC operation failed.
	TabletServerErrorPB_CAS_FAILED TabletServerErrorPB_Code = 17
	// This server leader is not ready for the change configuration operation.
	TabletServerErrorPB_LEADER_NOT_READY_CHANGE_CONFIG TabletServerErrorPB_Code = 18
	// This server leader is not ready to step down.
	TabletServerErrorPB_LEADER_NOT_READY_TO_STEP_DOWN TabletServerErrorPB_Code = 19
	// Adding a peer which is already present in the current raft config.
	TabletServerErrorPB_ADD_CHANGE_CONFIG_ALREADY_PRESENT TabletServerErrorPB_Code = 20
	// Removing a peer which is not present in the current raft config.
	TabletServerErrorPB_REMOVE_CHANGE_CONFIG_NOT_PRESENT TabletServerErrorPB_Code = 21
	// Leader needs to be stepped down before calling change config. This happens
	// if the server we are trying to remove from the config is currently the leader.
	TabletServerErrorPB_LEADER_NEEDS_STEP_DOWN TabletServerErrorPB_Code = 22
	// The operation is not supported.
	TabletServerErrorPB_OPERATION_NOT_SUPPORTED TabletServerErrorPB_Code = 23
	// This tserver is the leader of the consensus configuration, but it's not ready to serve
	// requests. (That means in fact that the elected leader has not yet commited NoOp request.
	// The client must wait a bit for the end of this replica-operation.)
	TabletServerErrorPB_LEADER_NOT_READY_TO_SERVE TabletServerErrorPB_Code = 24
	// This follower hasn't heard from the leader for a specified amount of time.
	TabletServerErrorPB_STALE_FOLLOWER TabletServerErrorPB_Code = 25
	// The operation is already in progress. Used for remote bootstrap requests for now.
	TabletServerErrorPB_ALREADY_IN_PROGRESS TabletServerErrorPB_Code = 26
	// Tablet server has some tablets pending local bootstraps.
	TabletServerErrorPB_PENDING_LOCAL_BOOTSTRAPS TabletServerErrorPB_Code = 27
	// Tablet splitting has been started (after split is completed - tablet stays in this state
	// until it is deleted).
	TabletServerErrorPB_TABLET_SPLIT TabletServerErrorPB_Code = 28
	// Tablet splitting has not been started on this peer yet.
	TabletServerErrorPB_TABLET_SPLIT_PARENT_STILL_LIVE TabletServerErrorPB_Code = 29
)

func (TabletServerErrorPB_Code) Descriptor

func (TabletServerErrorPB_Code) Enum

func (TabletServerErrorPB_Code) EnumDescriptor deprecated

func (TabletServerErrorPB_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use TabletServerErrorPB_Code.Descriptor instead.

func (TabletServerErrorPB_Code) Number

func (TabletServerErrorPB_Code) String

func (x TabletServerErrorPB_Code) String() string

func (TabletServerErrorPB_Code) Type

func (*TabletServerErrorPB_Code) UnmarshalJSON deprecated

func (x *TabletServerErrorPB_Code) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TabletServerForwardServiceClient

type TabletServerForwardServiceClient interface {
	Write(ctx context.Context, in *WriteRequestPB, opts ...grpc.CallOption) (*WriteResponsePB, error)
	Read(ctx context.Context, in *ReadRequestPB, opts ...grpc.CallOption) (*ReadResponsePB, error)
}

TabletServerForwardServiceClient is the client API for TabletServerForwardService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TabletServerForwardServiceServer

type TabletServerForwardServiceServer interface {
	Write(context.Context, *WriteRequestPB) (*WriteResponsePB, error)
	Read(context.Context, *ReadRequestPB) (*ReadResponsePB, error)
}

TabletServerForwardServiceServer is the server API for TabletServerForwardService service. All implementations should embed UnimplementedTabletServerForwardServiceServer for forward compatibility

type TabletServerServiceClient

type TabletServerServiceClient interface {
	Write(ctx context.Context, in *WriteRequestPB, opts ...grpc.CallOption) (*WriteResponsePB, error)
	Read(ctx context.Context, in *ReadRequestPB, opts ...grpc.CallOption) (*ReadResponsePB, error)
	VerifyTableRowRange(ctx context.Context, in *VerifyTableRowRangeRequestPB, opts ...grpc.CallOption) (*VerifyTableRowRangeResponsePB, error)
	NoOp(ctx context.Context, in *NoOpRequestPB, opts ...grpc.CallOption) (*NoOpResponsePB, error)
	ListTablets(ctx context.Context, in *ListTabletsRequestPB, opts ...grpc.CallOption) (*ListTabletsResponsePB, error)
	GetLogLocation(ctx context.Context, in *GetLogLocationRequestPB, opts ...grpc.CallOption) (*GetLogLocationResponsePB, error)
	// Run full-scan data checksum on a tablet to verify data integrity.
	//
	// TODO: Consider refactoring this as a scan that runs a checksum aggregation
	// function.
	Checksum(ctx context.Context, in *ChecksumRequestPB, opts ...grpc.CallOption) (*ChecksumResponsePB, error)
	ListTabletsForTabletServer(ctx context.Context, in *ListTabletsForTabletServerRequestPB, opts ...grpc.CallOption) (*ListTabletsForTabletServerResponsePB, error)
	ImportData(ctx context.Context, in *ImportDataRequestPB, opts ...grpc.CallOption) (*ImportDataResponsePB, error)
	UpdateTransaction(ctx context.Context, in *UpdateTransactionRequestPB, opts ...grpc.CallOption) (*UpdateTransactionResponsePB, error)
	// Returns transaction status at coordinator, i.e. PENDING, ABORTED, COMMITTED etc.
	GetTransactionStatus(ctx context.Context, in *GetTransactionStatusRequestPB, opts ...grpc.CallOption) (*GetTransactionStatusResponsePB, error)
	// Returns transaction status at participant, i.e. number of replicated batches or whether it was
	// aborted.
	GetTransactionStatusAtParticipant(ctx context.Context, in *GetTransactionStatusAtParticipantRequestPB, opts ...grpc.CallOption) (*GetTransactionStatusAtParticipantResponsePB, error)
	AbortTransaction(ctx context.Context, in *AbortTransactionRequestPB, opts ...grpc.CallOption) (*AbortTransactionResponsePB, error)
	Truncate(ctx context.Context, in *TruncateRequestPB, opts ...grpc.CallOption) (*TruncateResponsePB, error)
	GetTabletStatus(ctx context.Context, in *GetTabletStatusRequestPB, opts ...grpc.CallOption) (*GetTabletStatusResponsePB, error)
	GetMasterAddresses(ctx context.Context, in *GetMasterAddressesRequestPB, opts ...grpc.CallOption) (*GetMasterAddressesResponsePB, error)
	Publish(ctx context.Context, in *PublishRequestPB, opts ...grpc.CallOption) (*PublishResponsePB, error)
	IsTabletServerReady(ctx context.Context, in *IsTabletServerReadyRequestPB, opts ...grpc.CallOption) (*IsTabletServerReadyResponsePB, error)
	// Takes precreated transaction from this tserver.
	TakeTransaction(ctx context.Context, in *TakeTransactionRequestPB, opts ...grpc.CallOption) (*TakeTransactionResponsePB, error)
	GetSplitKey(ctx context.Context, in *GetSplitKeyRequestPB, opts ...grpc.CallOption) (*GetSplitKeyResponsePB, error)
	GetSharedData(ctx context.Context, in *GetSharedDataRequestPB, opts ...grpc.CallOption) (*GetSharedDataResponsePB, error)
}

TabletServerServiceClient is the client API for TabletServerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TabletServerServiceServer

type TabletServerServiceServer interface {
	Write(context.Context, *WriteRequestPB) (*WriteResponsePB, error)
	Read(context.Context, *ReadRequestPB) (*ReadResponsePB, error)
	VerifyTableRowRange(context.Context, *VerifyTableRowRangeRequestPB) (*VerifyTableRowRangeResponsePB, error)
	NoOp(context.Context, *NoOpRequestPB) (*NoOpResponsePB, error)
	ListTablets(context.Context, *ListTabletsRequestPB) (*ListTabletsResponsePB, error)
	GetLogLocation(context.Context, *GetLogLocationRequestPB) (*GetLogLocationResponsePB, error)
	// Run full-scan data checksum on a tablet to verify data integrity.
	//
	// TODO: Consider refactoring this as a scan that runs a checksum aggregation
	// function.
	Checksum(context.Context, *ChecksumRequestPB) (*ChecksumResponsePB, error)
	ListTabletsForTabletServer(context.Context, *ListTabletsForTabletServerRequestPB) (*ListTabletsForTabletServerResponsePB, error)
	ImportData(context.Context, *ImportDataRequestPB) (*ImportDataResponsePB, error)
	UpdateTransaction(context.Context, *UpdateTransactionRequestPB) (*UpdateTransactionResponsePB, error)
	// Returns transaction status at coordinator, i.e. PENDING, ABORTED, COMMITTED etc.
	GetTransactionStatus(context.Context, *GetTransactionStatusRequestPB) (*GetTransactionStatusResponsePB, error)
	// Returns transaction status at participant, i.e. number of replicated batches or whether it was
	// aborted.
	GetTransactionStatusAtParticipant(context.Context, *GetTransactionStatusAtParticipantRequestPB) (*GetTransactionStatusAtParticipantResponsePB, error)
	AbortTransaction(context.Context, *AbortTransactionRequestPB) (*AbortTransactionResponsePB, error)
	Truncate(context.Context, *TruncateRequestPB) (*TruncateResponsePB, error)
	GetTabletStatus(context.Context, *GetTabletStatusRequestPB) (*GetTabletStatusResponsePB, error)
	GetMasterAddresses(context.Context, *GetMasterAddressesRequestPB) (*GetMasterAddressesResponsePB, error)
	Publish(context.Context, *PublishRequestPB) (*PublishResponsePB, error)
	IsTabletServerReady(context.Context, *IsTabletServerReadyRequestPB) (*IsTabletServerReadyResponsePB, error)
	// Takes precreated transaction from this tserver.
	TakeTransaction(context.Context, *TakeTransactionRequestPB) (*TakeTransactionResponsePB, error)
	GetSplitKey(context.Context, *GetSplitKeyRequestPB) (*GetSplitKeyResponsePB, error)
	GetSharedData(context.Context, *GetSharedDataRequestPB) (*GetSharedDataResponsePB, error)
}

TabletServerServiceServer is the server API for TabletServerService service. All implementations should embed UnimplementedTabletServerServiceServer for forward compatibility

type TabletSnapshotOpRequestPB

type TabletSnapshotOpRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid  []byte                              `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid,proto3" json:"dest_uuid,omitempty"`
	Operation TabletSnapshotOpRequestPB_Operation `protobuf:"varint,2,opt,name=operation,proto3,enum=yb.tserver.TabletSnapshotOpRequestPB_Operation" json:"operation,omitempty"`
	// In case of transactional id it is binary representation of snapshot UUID, i.e. 16 bytes.
	// Otherwise it is hexadecimal representation of snapshot UUID, i.e. 32 bytes.
	SnapshotId []byte `protobuf:"bytes,3,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
	// Tablets to snapshot. In case of CREATE_ON_MASTER it contains UUIDs of all tablets of snapshot.
	// Otherwise it contains just one tablet.
	TabletId             [][]byte `protobuf:"bytes,4,rep,name=tablet_id,json=tabletId,proto3" json:"tablet_id,omitempty"`
	PropagatedHybridTime uint64   `protobuf:"fixed64,5,opt,name=propagated_hybrid_time,json=propagatedHybridTime,proto3" json:"propagated_hybrid_time,omitempty"`
	// Override the snapshot directory. Used in restoring sys catalog to avoid running initdb.
	SnapshotDirOverride   string `protobuf:"bytes,6,opt,name=snapshot_dir_override,json=snapshotDirOverride,proto3" json:"snapshot_dir_override,omitempty"`
	SnapshotHybridTime    uint64 `protobuf:"fixed64,7,opt,name=snapshot_hybrid_time,json=snapshotHybridTime,proto3" json:"snapshot_hybrid_time,omitempty"`
	RestorationHybridTime uint64 `` /* 129-byte string literal not displayed */
	// Extra data assigned for this snapshot request, so instance it could contain SysRowEntries.
	ExtraData                  *anypb.Any     `protobuf:"bytes,8,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"`
	Imported                   bool           `protobuf:"varint,9,opt,name=imported,proto3" json:"imported,omitempty"`
	ScheduleId                 []byte         `protobuf:"bytes,10,opt,name=schedule_id,json=scheduleId,proto3" json:"schedule_id,omitempty"`
	RestorationId              []byte         `protobuf:"bytes,11,opt,name=restoration_id,json=restorationId,proto3" json:"restoration_id,omitempty"`
	SchemaVersion              uint32         `protobuf:"varint,12,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
	Schema                     *SchemaPB      `protobuf:"bytes,13,opt,name=schema,proto3" json:"schema,omitempty"`
	Indexes                    []*IndexInfoPB `protobuf:"bytes,14,rep,name=indexes,proto3" json:"indexes,omitempty"`
	PreviousSnapshotHybridTime uint64         `` /* 146-byte string literal not displayed */
	Hide                       bool           `protobuf:"varint,16,opt,name=hide,proto3" json:"hide,omitempty"`
	// contains filtered or unexported fields
}

func (*TabletSnapshotOpRequestPB) Descriptor deprecated

func (*TabletSnapshotOpRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletSnapshotOpRequestPB.ProtoReflect.Descriptor instead.

func (*TabletSnapshotOpRequestPB) GetDestUuid

func (x *TabletSnapshotOpRequestPB) GetDestUuid() []byte

func (*TabletSnapshotOpRequestPB) GetExtraData

func (x *TabletSnapshotOpRequestPB) GetExtraData() *anypb.Any

func (*TabletSnapshotOpRequestPB) GetHide

func (x *TabletSnapshotOpRequestPB) GetHide() bool

func (*TabletSnapshotOpRequestPB) GetImported

func (x *TabletSnapshotOpRequestPB) GetImported() bool

func (*TabletSnapshotOpRequestPB) GetIndexes

func (x *TabletSnapshotOpRequestPB) GetIndexes() []*IndexInfoPB

func (*TabletSnapshotOpRequestPB) GetOperation

func (*TabletSnapshotOpRequestPB) GetPreviousSnapshotHybridTime

func (x *TabletSnapshotOpRequestPB) GetPreviousSnapshotHybridTime() uint64

func (*TabletSnapshotOpRequestPB) GetPropagatedHybridTime

func (x *TabletSnapshotOpRequestPB) GetPropagatedHybridTime() uint64

func (*TabletSnapshotOpRequestPB) GetRestorationHybridTime

func (x *TabletSnapshotOpRequestPB) GetRestorationHybridTime() uint64

func (*TabletSnapshotOpRequestPB) GetRestorationId

func (x *TabletSnapshotOpRequestPB) GetRestorationId() []byte

func (*TabletSnapshotOpRequestPB) GetScheduleId

func (x *TabletSnapshotOpRequestPB) GetScheduleId() []byte

func (*TabletSnapshotOpRequestPB) GetSchema

func (x *TabletSnapshotOpRequestPB) GetSchema() *SchemaPB

func (*TabletSnapshotOpRequestPB) GetSchemaVersion

func (x *TabletSnapshotOpRequestPB) GetSchemaVersion() uint32

func (*TabletSnapshotOpRequestPB) GetSnapshotDirOverride

func (x *TabletSnapshotOpRequestPB) GetSnapshotDirOverride() string

func (*TabletSnapshotOpRequestPB) GetSnapshotHybridTime

func (x *TabletSnapshotOpRequestPB) GetSnapshotHybridTime() uint64

func (*TabletSnapshotOpRequestPB) GetSnapshotId

func (x *TabletSnapshotOpRequestPB) GetSnapshotId() []byte

func (*TabletSnapshotOpRequestPB) GetTabletId

func (x *TabletSnapshotOpRequestPB) GetTabletId() [][]byte

func (*TabletSnapshotOpRequestPB) ProtoMessage

func (*TabletSnapshotOpRequestPB) ProtoMessage()

func (*TabletSnapshotOpRequestPB) ProtoReflect

func (*TabletSnapshotOpRequestPB) Reset

func (x *TabletSnapshotOpRequestPB) Reset()

func (*TabletSnapshotOpRequestPB) String

func (x *TabletSnapshotOpRequestPB) String() string

type TabletSnapshotOpRequestPB_Operation

type TabletSnapshotOpRequestPB_Operation int32
const (
	TabletSnapshotOpRequestPB_UNKNOWN             TabletSnapshotOpRequestPB_Operation = 0
	TabletSnapshotOpRequestPB_CREATE_ON_TABLET    TabletSnapshotOpRequestPB_Operation = 1 // Replicated at tserver, to create snapshot for a particular tablet.
	TabletSnapshotOpRequestPB_RESTORE_ON_TABLET   TabletSnapshotOpRequestPB_Operation = 2
	TabletSnapshotOpRequestPB_DELETE_ON_TABLET    TabletSnapshotOpRequestPB_Operation = 3
	TabletSnapshotOpRequestPB_CREATE_ON_MASTER    TabletSnapshotOpRequestPB_Operation = 4 // Replicated at master, while creating snapshot for multiple tablets.
	TabletSnapshotOpRequestPB_DELETE_ON_MASTER    TabletSnapshotOpRequestPB_Operation = 5
	TabletSnapshotOpRequestPB_RESTORE_SYS_CATALOG TabletSnapshotOpRequestPB_Operation = 6
	TabletSnapshotOpRequestPB_RESTORE_FINISHED    TabletSnapshotOpRequestPB_Operation = 7 // Whole restore operation is finished.
)

func (TabletSnapshotOpRequestPB_Operation) Descriptor

func (TabletSnapshotOpRequestPB_Operation) Enum

func (TabletSnapshotOpRequestPB_Operation) EnumDescriptor deprecated

func (TabletSnapshotOpRequestPB_Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use TabletSnapshotOpRequestPB_Operation.Descriptor instead.

func (TabletSnapshotOpRequestPB_Operation) Number

func (TabletSnapshotOpRequestPB_Operation) String

func (TabletSnapshotOpRequestPB_Operation) Type

type TabletSnapshotOpResponsePB

type TabletSnapshotOpResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	PropagatedHybridTime uint64               `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime,proto3" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*TabletSnapshotOpResponsePB) Descriptor deprecated

func (*TabletSnapshotOpResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use TabletSnapshotOpResponsePB.ProtoReflect.Descriptor instead.

func (*TabletSnapshotOpResponsePB) GetError

func (*TabletSnapshotOpResponsePB) GetPropagatedHybridTime

func (x *TabletSnapshotOpResponsePB) GetPropagatedHybridTime() uint64

func (*TabletSnapshotOpResponsePB) ProtoMessage

func (*TabletSnapshotOpResponsePB) ProtoMessage()

func (*TabletSnapshotOpResponsePB) ProtoReflect

func (*TabletSnapshotOpResponsePB) Reset

func (x *TabletSnapshotOpResponsePB) Reset()

func (*TabletSnapshotOpResponsePB) String

func (x *TabletSnapshotOpResponsePB) String() string

type TabletStatusPB

type TabletStatusPB struct {
	TabletId        *string           `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	NamespaceName   *string           `protobuf:"bytes,15,opt,name=namespace_name,json=namespaceName" json:"namespace_name,omitempty"`
	TableName       *string           `protobuf:"bytes,2,req,name=table_name,json=tableName" json:"table_name,omitempty"`
	TableId         *string           `protobuf:"bytes,10,req,name=table_id,json=tableId" json:"table_id,omitempty"`
	State           *RaftGroupStatePB `protobuf:"varint,3,opt,name=state,enum=yb.tablet.RaftGroupStatePB,def=999" json:"state,omitempty"`
	TabletDataState *TabletDataState  `` /* 141-byte string literal not displayed */
	LastStatus      *string           `protobuf:"bytes,4,req,name=last_status,json=lastStatus" json:"last_status,omitempty"`
	// DEPRECATED.
	StartKey []byte `protobuf:"bytes,5,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
	// DEPRECATED.
	EndKey                       []byte       `protobuf:"bytes,6,opt,name=end_key,json=endKey" json:"end_key,omitempty"`
	EstimatedOnDiskSize          *int64       `protobuf:"varint,7,opt,name=estimated_on_disk_size,json=estimatedOnDiskSize" json:"estimated_on_disk_size,omitempty"`
	ConsensusMetadataDiskSize    *int64       `` /* 135-byte string literal not displayed */
	WalFilesDiskSize             *int64       `protobuf:"varint,12,opt,name=wal_files_disk_size,json=walFilesDiskSize" json:"wal_files_disk_size,omitempty"`
	SstFilesDiskSize             *int64       `protobuf:"varint,13,opt,name=sst_files_disk_size,json=sstFilesDiskSize" json:"sst_files_disk_size,omitempty"`
	UncompressedSstFilesDiskSize *int64       `` /* 146-byte string literal not displayed */
	Partition                    *PartitionPB `protobuf:"bytes,9,opt,name=partition" json:"partition,omitempty"`
	TableType                    *TableType   `protobuf:"varint,16,opt,name=table_type,json=tableType,enum=yb.TableType" json:"table_type,omitempty"`
	// Is the tablet hidden.
	IsHidden *bool `protobuf:"varint,17,opt,name=is_hidden,json=isHidden" json:"is_hidden,omitempty"`
	// contains filtered or unexported fields
}

func (*TabletStatusPB) Descriptor deprecated

func (*TabletStatusPB) Descriptor() ([]byte, []int)

Deprecated: Use TabletStatusPB.ProtoReflect.Descriptor instead.

func (*TabletStatusPB) GetConsensusMetadataDiskSize

func (x *TabletStatusPB) GetConsensusMetadataDiskSize() int64

func (*TabletStatusPB) GetEndKey

func (x *TabletStatusPB) GetEndKey() []byte

func (*TabletStatusPB) GetEstimatedOnDiskSize

func (x *TabletStatusPB) GetEstimatedOnDiskSize() int64

func (*TabletStatusPB) GetIsHidden added in v2.11.0

func (x *TabletStatusPB) GetIsHidden() bool

func (*TabletStatusPB) GetLastStatus

func (x *TabletStatusPB) GetLastStatus() string

func (*TabletStatusPB) GetNamespaceName

func (x *TabletStatusPB) GetNamespaceName() string

func (*TabletStatusPB) GetPartition

func (x *TabletStatusPB) GetPartition() *PartitionPB

func (*TabletStatusPB) GetSstFilesDiskSize

func (x *TabletStatusPB) GetSstFilesDiskSize() int64

func (*TabletStatusPB) GetStartKey

func (x *TabletStatusPB) GetStartKey() []byte

func (*TabletStatusPB) GetState

func (x *TabletStatusPB) GetState() RaftGroupStatePB

func (*TabletStatusPB) GetTableId

func (x *TabletStatusPB) GetTableId() string

func (*TabletStatusPB) GetTableName

func (x *TabletStatusPB) GetTableName() string

func (*TabletStatusPB) GetTableType

func (x *TabletStatusPB) GetTableType() TableType

func (*TabletStatusPB) GetTabletDataState

func (x *TabletStatusPB) GetTabletDataState() TabletDataState

func (*TabletStatusPB) GetTabletId

func (x *TabletStatusPB) GetTabletId() string

func (*TabletStatusPB) GetUncompressedSstFilesDiskSize

func (x *TabletStatusPB) GetUncompressedSstFilesDiskSize() int64

func (*TabletStatusPB) GetWalFilesDiskSize

func (x *TabletStatusPB) GetWalFilesDiskSize() int64

func (*TabletStatusPB) ProtoMessage

func (*TabletStatusPB) ProtoMessage()

func (*TabletStatusPB) ProtoReflect

func (x *TabletStatusPB) ProtoReflect() protoreflect.Message

func (*TabletStatusPB) Reset

func (x *TabletStatusPB) Reset()

func (*TabletStatusPB) String

func (x *TabletStatusPB) String() string

type TakeTransactionRequestPB

type TakeTransactionRequestPB struct {
	IsGlobal *bool `protobuf:"varint,1,opt,name=is_global,json=isGlobal" json:"is_global,omitempty"`
	// contains filtered or unexported fields
}

func (*TakeTransactionRequestPB) Descriptor deprecated

func (*TakeTransactionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use TakeTransactionRequestPB.ProtoReflect.Descriptor instead.

func (*TakeTransactionRequestPB) GetIsGlobal added in v2.11.2

func (x *TakeTransactionRequestPB) GetIsGlobal() bool

func (*TakeTransactionRequestPB) ProtoMessage

func (*TakeTransactionRequestPB) ProtoMessage()

func (*TakeTransactionRequestPB) ProtoReflect

func (x *TakeTransactionRequestPB) ProtoReflect() protoreflect.Message

func (*TakeTransactionRequestPB) Reset

func (x *TakeTransactionRequestPB) Reset()

func (*TakeTransactionRequestPB) String

func (x *TakeTransactionRequestPB) String() string

type TakeTransactionResponsePB

type TakeTransactionResponsePB struct {
	Metadata *TransactionMetadataPB `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*TakeTransactionResponsePB) Descriptor deprecated

func (*TakeTransactionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use TakeTransactionResponsePB.ProtoReflect.Descriptor instead.

func (*TakeTransactionResponsePB) GetMetadata

func (*TakeTransactionResponsePB) ProtoMessage

func (*TakeTransactionResponsePB) ProtoMessage()

func (*TakeTransactionResponsePB) ProtoReflect

func (*TakeTransactionResponsePB) Reset

func (x *TakeTransactionResponsePB) Reset()

func (*TakeTransactionResponsePB) String

func (x *TakeTransactionResponsePB) String() string

type TestAllTypes

type TestAllTypes struct {

	// Singular
	OptionalInt32         *int32                      `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
	OptionalInt64         *int64                      `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
	OptionalUint32        *uint32                     `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
	OptionalUint64        *uint64                     `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
	OptionalSint32        *int32                      `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
	OptionalSint64        *int64                      `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
	OptionalFixed32       *uint32                     `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
	OptionalFixed64       *uint64                     `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
	OptionalSfixed32      *int32                      `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
	OptionalSfixed64      *int64                      `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
	OptionalFloat         *float32                    `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
	OptionalDouble        *float64                    `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
	OptionalBool          *bool                       `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
	OptionalString        *string                     `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
	OptionalBytes         []byte                      `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
	OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
	OptionalNestedEnum    *TestAllTypes_NestedEnum    `` /* 157-byte string literal not displayed */
	// Repeated
	RepeatedInt32         []int32                       `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
	RepeatedInt64         []int64                       `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
	RepeatedUint32        []uint32                      `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
	RepeatedUint64        []uint64                      `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
	RepeatedSint32        []int32                       `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
	RepeatedSint64        []int64                       `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
	RepeatedFixed32       []uint32                      `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
	RepeatedFixed64       []uint64                      `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
	RepeatedSfixed32      []int32                       `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
	RepeatedSfixed64      []int64                       `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
	RepeatedFloat         []float32                     `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
	RepeatedDouble        []float64                     `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
	RepeatedBool          []bool                        `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
	RepeatedString        []string                      `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
	RepeatedBytes         [][]byte                      `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
	RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`
	RepeatedNestedEnum    []TestAllTypes_NestedEnum     `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

This proto includes every type of field in both singular and repeated forms. This is mostly copied from 'unittest.proto' in the protobuf source (hence the odd field numbers which skip some).

func (*TestAllTypes) Descriptor deprecated

func (*TestAllTypes) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.

func (*TestAllTypes) GetOptionalBool

func (x *TestAllTypes) GetOptionalBool() bool

func (*TestAllTypes) GetOptionalBytes

func (x *TestAllTypes) GetOptionalBytes() []byte

func (*TestAllTypes) GetOptionalDouble

func (x *TestAllTypes) GetOptionalDouble() float64

func (*TestAllTypes) GetOptionalFixed32

func (x *TestAllTypes) GetOptionalFixed32() uint32

func (*TestAllTypes) GetOptionalFixed64

func (x *TestAllTypes) GetOptionalFixed64() uint64

func (*TestAllTypes) GetOptionalFloat

func (x *TestAllTypes) GetOptionalFloat() float32

func (*TestAllTypes) GetOptionalInt32

func (x *TestAllTypes) GetOptionalInt32() int32

func (*TestAllTypes) GetOptionalInt64

func (x *TestAllTypes) GetOptionalInt64() int64

func (*TestAllTypes) GetOptionalNestedEnum

func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetOptionalNestedMessage

func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes) GetOptionalSfixed32

func (x *TestAllTypes) GetOptionalSfixed32() int32

func (*TestAllTypes) GetOptionalSfixed64

func (x *TestAllTypes) GetOptionalSfixed64() int64

func (*TestAllTypes) GetOptionalSint32

func (x *TestAllTypes) GetOptionalSint32() int32

func (*TestAllTypes) GetOptionalSint64

func (x *TestAllTypes) GetOptionalSint64() int64

func (*TestAllTypes) GetOptionalString

func (x *TestAllTypes) GetOptionalString() string

func (*TestAllTypes) GetOptionalUint32

func (x *TestAllTypes) GetOptionalUint32() uint32

func (*TestAllTypes) GetOptionalUint64

func (x *TestAllTypes) GetOptionalUint64() uint64

func (*TestAllTypes) GetRepeatedBool

func (x *TestAllTypes) GetRepeatedBool() []bool

func (*TestAllTypes) GetRepeatedBytes

func (x *TestAllTypes) GetRepeatedBytes() [][]byte

func (*TestAllTypes) GetRepeatedDouble

func (x *TestAllTypes) GetRepeatedDouble() []float64

func (*TestAllTypes) GetRepeatedFixed32

func (x *TestAllTypes) GetRepeatedFixed32() []uint32

func (*TestAllTypes) GetRepeatedFixed64

func (x *TestAllTypes) GetRepeatedFixed64() []uint64

func (*TestAllTypes) GetRepeatedFloat

func (x *TestAllTypes) GetRepeatedFloat() []float32

func (*TestAllTypes) GetRepeatedInt32

func (x *TestAllTypes) GetRepeatedInt32() []int32

func (*TestAllTypes) GetRepeatedInt64

func (x *TestAllTypes) GetRepeatedInt64() []int64

func (*TestAllTypes) GetRepeatedNestedEnum

func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum

func (*TestAllTypes) GetRepeatedNestedMessage

func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage

func (*TestAllTypes) GetRepeatedSfixed32

func (x *TestAllTypes) GetRepeatedSfixed32() []int32

func (*TestAllTypes) GetRepeatedSfixed64

func (x *TestAllTypes) GetRepeatedSfixed64() []int64

func (*TestAllTypes) GetRepeatedSint32

func (x *TestAllTypes) GetRepeatedSint32() []int32

func (*TestAllTypes) GetRepeatedSint64

func (x *TestAllTypes) GetRepeatedSint64() []int64

func (*TestAllTypes) GetRepeatedString

func (x *TestAllTypes) GetRepeatedString() []string

func (*TestAllTypes) GetRepeatedUint32

func (x *TestAllTypes) GetRepeatedUint32() []uint32

func (*TestAllTypes) GetRepeatedUint64

func (x *TestAllTypes) GetRepeatedUint64() []uint64

func (*TestAllTypes) ProtoMessage

func (*TestAllTypes) ProtoMessage()

func (*TestAllTypes) ProtoReflect

func (x *TestAllTypes) ProtoReflect() protoreflect.Message

func (*TestAllTypes) Reset

func (x *TestAllTypes) Reset()

func (*TestAllTypes) String

func (x *TestAllTypes) String() string

type TestAllTypes_NestedEnum

type TestAllTypes_NestedEnum int32
const (
	TestAllTypes_FOO TestAllTypes_NestedEnum = 1
	TestAllTypes_BAR TestAllTypes_NestedEnum = 2
	TestAllTypes_BAZ TestAllTypes_NestedEnum = 3
)

func (TestAllTypes_NestedEnum) Descriptor

func (TestAllTypes_NestedEnum) Enum

func (TestAllTypes_NestedEnum) EnumDescriptor deprecated

func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.

func (TestAllTypes_NestedEnum) Number

func (TestAllTypes_NestedEnum) String

func (x TestAllTypes_NestedEnum) String() string

func (TestAllTypes_NestedEnum) Type

func (*TestAllTypes_NestedEnum) UnmarshalJSON deprecated

func (x *TestAllTypes_NestedEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestAllTypes_NestedMessage

type TestAllTypes_NestedMessage struct {
	IntField *int32 `protobuf:"varint,1,opt,name=int_field,json=intField" json:"int_field,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAllTypes_NestedMessage) Descriptor deprecated

func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllTypes_NestedMessage) GetIntField

func (x *TestAllTypes_NestedMessage) GetIntField() int32

func (*TestAllTypes_NestedMessage) ProtoMessage

func (*TestAllTypes_NestedMessage) ProtoMessage()

func (*TestAllTypes_NestedMessage) ProtoReflect

func (*TestAllTypes_NestedMessage) Reset

func (x *TestAllTypes_NestedMessage) Reset()

func (*TestAllTypes_NestedMessage) String

func (x *TestAllTypes_NestedMessage) String() string

type TestObjectRepeatedPB

type TestObjectRepeatedPB struct {
	String1 []string                `protobuf:"bytes,1,rep,name=string1" json:"string1,omitempty"`
	Record  []*TestStringRepeatedPB `protobuf:"bytes,2,rep,name=record" json:"record,omitempty"`
	String2 []string                `protobuf:"bytes,3,rep,name=string2" json:"string2,omitempty"`
	// contains filtered or unexported fields
}

func (*TestObjectRepeatedPB) Descriptor deprecated

func (*TestObjectRepeatedPB) Descriptor() ([]byte, []int)

Deprecated: Use TestObjectRepeatedPB.ProtoReflect.Descriptor instead.

func (*TestObjectRepeatedPB) GetRecord

func (x *TestObjectRepeatedPB) GetRecord() []*TestStringRepeatedPB

func (*TestObjectRepeatedPB) GetString1

func (x *TestObjectRepeatedPB) GetString1() []string

func (*TestObjectRepeatedPB) GetString2

func (x *TestObjectRepeatedPB) GetString2() []string

func (*TestObjectRepeatedPB) ProtoMessage

func (*TestObjectRepeatedPB) ProtoMessage()

func (*TestObjectRepeatedPB) ProtoReflect

func (x *TestObjectRepeatedPB) ProtoReflect() protoreflect.Message

func (*TestObjectRepeatedPB) Reset

func (x *TestObjectRepeatedPB) Reset()

func (*TestObjectRepeatedPB) String

func (x *TestObjectRepeatedPB) String() string

type TestObjectRequiredPB

type TestObjectRequiredPB struct {
	String1 *string               `protobuf:"bytes,1,req,name=string1" json:"string1,omitempty"`
	Record  *TestStringRequiredPB `protobuf:"bytes,2,req,name=record" json:"record,omitempty"`
	String2 *string               `protobuf:"bytes,3,req,name=string2" json:"string2,omitempty"`
	// contains filtered or unexported fields
}

func (*TestObjectRequiredPB) Descriptor deprecated

func (*TestObjectRequiredPB) Descriptor() ([]byte, []int)

Deprecated: Use TestObjectRequiredPB.ProtoReflect.Descriptor instead.

func (*TestObjectRequiredPB) GetRecord

func (*TestObjectRequiredPB) GetString1

func (x *TestObjectRequiredPB) GetString1() string

func (*TestObjectRequiredPB) GetString2

func (x *TestObjectRequiredPB) GetString2() string

func (*TestObjectRequiredPB) ProtoMessage

func (*TestObjectRequiredPB) ProtoMessage()

func (*TestObjectRequiredPB) ProtoReflect

func (x *TestObjectRequiredPB) ProtoReflect() protoreflect.Message

func (*TestObjectRequiredPB) Reset

func (x *TestObjectRequiredPB) Reset()

func (*TestObjectRequiredPB) String

func (x *TestObjectRequiredPB) String() string

type TestPBEnum

type TestPBEnum int32
const (
	TestPBEnum_FOO TestPBEnum = 1
	TestPBEnum_BAR TestPBEnum = 2
	TestPBEnum_BAZ TestPBEnum = 3
)

func (TestPBEnum) Descriptor

func (TestPBEnum) Descriptor() protoreflect.EnumDescriptor

func (TestPBEnum) Enum

func (x TestPBEnum) Enum() *TestPBEnum

func (TestPBEnum) EnumDescriptor deprecated

func (TestPBEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestPBEnum.Descriptor instead.

func (TestPBEnum) Number

func (x TestPBEnum) Number() protoreflect.EnumNumber

func (TestPBEnum) String

func (x TestPBEnum) String() string

func (TestPBEnum) Type

func (*TestPBEnum) UnmarshalJSON deprecated

func (x *TestPBEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestStringRepeatedPB

type TestStringRepeatedPB struct {
	Text []string `protobuf:"bytes,1,rep,name=text" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*TestStringRepeatedPB) Descriptor deprecated

func (*TestStringRepeatedPB) Descriptor() ([]byte, []int)

Deprecated: Use TestStringRepeatedPB.ProtoReflect.Descriptor instead.

func (*TestStringRepeatedPB) GetText

func (x *TestStringRepeatedPB) GetText() []string

func (*TestStringRepeatedPB) ProtoMessage

func (*TestStringRepeatedPB) ProtoMessage()

func (*TestStringRepeatedPB) ProtoReflect

func (x *TestStringRepeatedPB) ProtoReflect() protoreflect.Message

func (*TestStringRepeatedPB) Reset

func (x *TestStringRepeatedPB) Reset()

func (*TestStringRepeatedPB) String

func (x *TestStringRepeatedPB) String() string

type TestStringRequiredPB

type TestStringRequiredPB struct {
	Text *string `protobuf:"bytes,1,req,name=text" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*TestStringRequiredPB) Descriptor deprecated

func (*TestStringRequiredPB) Descriptor() ([]byte, []int)

Deprecated: Use TestStringRequiredPB.ProtoReflect.Descriptor instead.

func (*TestStringRequiredPB) GetText

func (x *TestStringRequiredPB) GetText() string

func (*TestStringRequiredPB) ProtoMessage

func (*TestStringRequiredPB) ProtoMessage()

func (*TestStringRequiredPB) ProtoReflect

func (x *TestStringRequiredPB) ProtoReflect() protoreflect.Message

func (*TestStringRequiredPB) Reset

func (x *TestStringRequiredPB) Reset()

func (*TestStringRequiredPB) String

func (x *TestStringRequiredPB) String() string

type TransactionInvolvedTabletPB

type TransactionInvolvedTabletPB struct {
	TabletId      []byte                       `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	MetadataState *InvolvedTabletMetadataState `` /* 130-byte string literal not displayed */
	// Number of batches written to this tablet during transaction.
	NumBatches *uint64 `protobuf:"varint,3,opt,name=num_batches,json=numBatches" json:"num_batches,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionInvolvedTabletPB) Descriptor deprecated

func (*TransactionInvolvedTabletPB) Descriptor() ([]byte, []int)

Deprecated: Use TransactionInvolvedTabletPB.ProtoReflect.Descriptor instead.

func (*TransactionInvolvedTabletPB) GetMetadataState

func (*TransactionInvolvedTabletPB) GetNumBatches

func (x *TransactionInvolvedTabletPB) GetNumBatches() uint64

func (*TransactionInvolvedTabletPB) GetTabletId

func (x *TransactionInvolvedTabletPB) GetTabletId() []byte

func (*TransactionInvolvedTabletPB) ProtoMessage

func (*TransactionInvolvedTabletPB) ProtoMessage()

func (*TransactionInvolvedTabletPB) ProtoReflect

func (*TransactionInvolvedTabletPB) Reset

func (x *TransactionInvolvedTabletPB) Reset()

func (*TransactionInvolvedTabletPB) String

func (x *TransactionInvolvedTabletPB) String() string

type TransactionLocality added in v2.11.2

type TransactionLocality int32
const (
	TransactionLocality_GLOBAL TransactionLocality = 1
	TransactionLocality_LOCAL  TransactionLocality = 2
)

func (TransactionLocality) Descriptor added in v2.11.2

func (TransactionLocality) Enum added in v2.11.2

func (TransactionLocality) EnumDescriptor deprecated added in v2.11.2

func (TransactionLocality) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionLocality.Descriptor instead.

func (TransactionLocality) Number added in v2.11.2

func (TransactionLocality) String added in v2.11.2

func (x TransactionLocality) String() string

func (TransactionLocality) Type added in v2.11.2

func (*TransactionLocality) UnmarshalJSON deprecated added in v2.11.2

func (x *TransactionLocality) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TransactionMetadataPB

type TransactionMetadataPB struct {
	TransactionId   []byte          `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"` // 16 byte uuid
	Isolation       *IsolationLevel `protobuf:"varint,2,opt,name=isolation,enum=yb.IsolationLevel,def=0" json:"isolation,omitempty"`
	StatusTablet    *string         `protobuf:"bytes,3,opt,name=status_tablet,json=statusTablet" json:"status_tablet,omitempty"`
	Priority        *uint64         `protobuf:"fixed64,4,opt,name=priority" json:"priority,omitempty"`
	StartHybridTime *uint64         `protobuf:"fixed64,5,opt,name=start_hybrid_time,json=startHybridTime" json:"start_hybrid_time,omitempty"`
	// Stores time when metadata was written to provisional records RocksDB on a
	// participating tablet. So it could be used for cleanup.
	MetadataWriteTime *uint64 `protobuf:"fixed64,6,opt,name=metadata_write_time,json=metadataWriteTime" json:"metadata_write_time,omitempty"`
	// Stores whether the transaction is local or global; treated as global if not present
	// for backwards compatability.
	Locality *TransactionLocality `protobuf:"varint,7,opt,name=locality,enum=yb.TransactionLocality" json:"locality,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionMetadataPB) Descriptor deprecated

func (*TransactionMetadataPB) Descriptor() ([]byte, []int)

Deprecated: Use TransactionMetadataPB.ProtoReflect.Descriptor instead.

func (*TransactionMetadataPB) GetIsolation

func (x *TransactionMetadataPB) GetIsolation() IsolationLevel

func (*TransactionMetadataPB) GetLocality added in v2.11.2

func (x *TransactionMetadataPB) GetLocality() TransactionLocality

func (*TransactionMetadataPB) GetMetadataWriteTime

func (x *TransactionMetadataPB) GetMetadataWriteTime() uint64

func (*TransactionMetadataPB) GetPriority

func (x *TransactionMetadataPB) GetPriority() uint64

func (*TransactionMetadataPB) GetStartHybridTime

func (x *TransactionMetadataPB) GetStartHybridTime() uint64

func (*TransactionMetadataPB) GetStatusTablet

func (x *TransactionMetadataPB) GetStatusTablet() string

func (*TransactionMetadataPB) GetTransactionId

func (x *TransactionMetadataPB) GetTransactionId() []byte

func (*TransactionMetadataPB) ProtoMessage

func (*TransactionMetadataPB) ProtoMessage()

func (*TransactionMetadataPB) ProtoReflect

func (x *TransactionMetadataPB) ProtoReflect() protoreflect.Message

func (*TransactionMetadataPB) Reset

func (x *TransactionMetadataPB) Reset()

func (*TransactionMetadataPB) String

func (x *TransactionMetadataPB) String() string

type TransactionStatePB

type TransactionStatePB struct {
	TransactionId []byte             `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id,omitempty"`
	Status        *TransactionStatus `protobuf:"varint,2,opt,name=status,enum=yb.TransactionStatus" json:"status,omitempty"`
	// tablets has different meaning, depending on status:
	// COMMITTED - list of involved tablets
	// APPLYING - single entry, status tablet of this transaction
	// APPLIED - single entry, tablet that applied this transaction
	// Not used is other cases.
	Tablets [][]byte `protobuf:"bytes,3,rep,name=tablets" json:"tablets,omitempty"`
	// Relevant only in SEALED state.
	// Number of batches that should be replicated at appropriate tablet to interpret transaction as
	// committed.
	TabletBatches []int64 `protobuf:"varint,5,rep,name=tablet_batches,json=tabletBatches" json:"tablet_batches,omitempty"`
	// Relevant only in APPLYING state.
	CommitHybridTime *uint64 `protobuf:"fixed64,4,opt,name=commit_hybrid_time,json=commitHybridTime" json:"commit_hybrid_time,omitempty"`
	// Relevant only in CLEANUP and APPLYING status, true when we perform request
	// for a transaction that was previously sealed.
	Sealed *bool `protobuf:"varint,6,opt,name=sealed" json:"sealed,omitempty"`
	// Set of subtransaction IDs which are aborted.
	Aborted *AbortedSubTransactionSetPB `protobuf:"bytes,7,opt,name=aborted" json:"aborted,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionStatePB) Descriptor deprecated

func (*TransactionStatePB) Descriptor() ([]byte, []int)

Deprecated: Use TransactionStatePB.ProtoReflect.Descriptor instead.

func (*TransactionStatePB) GetAborted

func (*TransactionStatePB) GetCommitHybridTime

func (x *TransactionStatePB) GetCommitHybridTime() uint64

func (*TransactionStatePB) GetSealed

func (x *TransactionStatePB) GetSealed() bool

func (*TransactionStatePB) GetStatus

func (x *TransactionStatePB) GetStatus() TransactionStatus

func (*TransactionStatePB) GetTabletBatches

func (x *TransactionStatePB) GetTabletBatches() []int64

func (*TransactionStatePB) GetTablets

func (x *TransactionStatePB) GetTablets() [][]byte

func (*TransactionStatePB) GetTransactionId

func (x *TransactionStatePB) GetTransactionId() []byte

func (*TransactionStatePB) ProtoMessage

func (*TransactionStatePB) ProtoMessage()

func (*TransactionStatePB) ProtoReflect

func (x *TransactionStatePB) ProtoReflect() protoreflect.Message

func (*TransactionStatePB) Reset

func (x *TransactionStatePB) Reset()

func (*TransactionStatePB) String

func (x *TransactionStatePB) String() string

type TransactionStatus

type TransactionStatus int32
const (
	TransactionStatus_CREATED                         TransactionStatus = 1
	TransactionStatus_PENDING                         TransactionStatus = 2
	TransactionStatus_COMMITTED                       TransactionStatus = 4
	TransactionStatus_SEALED                          TransactionStatus = 5
	TransactionStatus_APPLIED_IN_ALL_INVOLVED_TABLETS TransactionStatus = 7
	TransactionStatus_ABORTED                         TransactionStatus = 8
	// All following entries are not used in RAFT, but as events between status tablet and involved
	// tablets:
	TransactionStatus_APPLYING                           TransactionStatus = 20
	TransactionStatus_APPLIED_IN_ONE_OF_INVOLVED_TABLETS TransactionStatus = 21
	TransactionStatus_IMMEDIATE_CLEANUP                  TransactionStatus = 22
	TransactionStatus_GRACEFUL_CLEANUP                   TransactionStatus = 23
)

func (TransactionStatus) Descriptor

func (TransactionStatus) Enum

func (TransactionStatus) EnumDescriptor deprecated

func (TransactionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionStatus.Descriptor instead.

func (TransactionStatus) Number

func (TransactionStatus) String

func (x TransactionStatus) String() string

func (TransactionStatus) Type

func (*TransactionStatus) UnmarshalJSON deprecated

func (x *TransactionStatus) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TrivialErrorPB added in v2.13.0

type TrivialErrorPB struct {
	Code *int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*TrivialErrorPB) Descriptor deprecated added in v2.13.0

func (*TrivialErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use TrivialErrorPB.ProtoReflect.Descriptor instead.

func (*TrivialErrorPB) GetCode added in v2.13.0

func (x *TrivialErrorPB) GetCode() int32

func (*TrivialErrorPB) ProtoMessage added in v2.13.0

func (*TrivialErrorPB) ProtoMessage()

func (*TrivialErrorPB) ProtoReflect added in v2.13.0

func (x *TrivialErrorPB) ProtoReflect() protoreflect.Message

func (*TrivialErrorPB) Reset added in v2.13.0

func (x *TrivialErrorPB) Reset()

func (*TrivialErrorPB) String added in v2.13.0

func (x *TrivialErrorPB) String() string

type TrivialRequestPB added in v2.13.0

type TrivialRequestPB struct {
	Value *int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TrivialRequestPB) Descriptor deprecated added in v2.13.0

func (*TrivialRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use TrivialRequestPB.ProtoReflect.Descriptor instead.

func (*TrivialRequestPB) GetValue added in v2.13.0

func (x *TrivialRequestPB) GetValue() int32

func (*TrivialRequestPB) ProtoMessage added in v2.13.0

func (*TrivialRequestPB) ProtoMessage()

func (*TrivialRequestPB) ProtoReflect added in v2.13.0

func (x *TrivialRequestPB) ProtoReflect() protoreflect.Message

func (*TrivialRequestPB) Reset added in v2.13.0

func (x *TrivialRequestPB) Reset()

func (*TrivialRequestPB) String added in v2.13.0

func (x *TrivialRequestPB) String() string

type TrivialResponsePB added in v2.13.0

type TrivialResponsePB struct {
	Error *TrivialErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	Value *int32          `protobuf:"varint,2,opt,name=value" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*TrivialResponsePB) Descriptor deprecated added in v2.13.0

func (*TrivialResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use TrivialResponsePB.ProtoReflect.Descriptor instead.

func (*TrivialResponsePB) GetError added in v2.13.0

func (x *TrivialResponsePB) GetError() *TrivialErrorPB

func (*TrivialResponsePB) GetValue added in v2.13.0

func (x *TrivialResponsePB) GetValue() int32

func (*TrivialResponsePB) ProtoMessage added in v2.13.0

func (*TrivialResponsePB) ProtoMessage()

func (*TrivialResponsePB) ProtoReflect added in v2.13.0

func (x *TrivialResponsePB) ProtoReflect() protoreflect.Message

func (*TrivialResponsePB) Reset added in v2.13.0

func (x *TrivialResponsePB) Reset()

func (*TrivialResponsePB) String added in v2.13.0

func (x *TrivialResponsePB) String() string

type TruncatePB added in v2.11.2

type TruncatePB struct {
	// contains filtered or unexported fields
}

func (*TruncatePB) Descriptor deprecated added in v2.11.2

func (*TruncatePB) Descriptor() ([]byte, []int)

Deprecated: Use TruncatePB.ProtoReflect.Descriptor instead.

func (*TruncatePB) ProtoMessage added in v2.11.2

func (*TruncatePB) ProtoMessage()

func (*TruncatePB) ProtoReflect added in v2.11.2

func (x *TruncatePB) ProtoReflect() protoreflect.Message

func (*TruncatePB) Reset added in v2.11.2

func (x *TruncatePB) Reset()

func (*TruncatePB) String added in v2.11.2

func (x *TruncatePB) String() string

type TruncateRequestPB

type TruncateRequestPB struct {
	TabletId             []byte      `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	PropagatedHybridTime *uint64     `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	Truncate             *TruncatePB `protobuf:"bytes,3,opt,name=truncate" json:"truncate,omitempty"`
	// contains filtered or unexported fields
}

Truncate tablet request.

func (*TruncateRequestPB) Descriptor deprecated

func (*TruncateRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use TruncateRequestPB.ProtoReflect.Descriptor instead.

func (*TruncateRequestPB) GetPropagatedHybridTime

func (x *TruncateRequestPB) GetPropagatedHybridTime() uint64

func (*TruncateRequestPB) GetTabletId

func (x *TruncateRequestPB) GetTabletId() []byte

func (*TruncateRequestPB) GetTruncate added in v2.11.2

func (x *TruncateRequestPB) GetTruncate() *TruncatePB

func (*TruncateRequestPB) ProtoMessage

func (*TruncateRequestPB) ProtoMessage()

func (*TruncateRequestPB) ProtoReflect

func (x *TruncateRequestPB) ProtoReflect() protoreflect.Message

func (*TruncateRequestPB) Reset

func (x *TruncateRequestPB) Reset()

func (*TruncateRequestPB) String

func (x *TruncateRequestPB) String() string

type TruncateResponsePB

type TruncateResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

Truncate tablet response.

func (*TruncateResponsePB) Descriptor deprecated

func (*TruncateResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use TruncateResponsePB.ProtoReflect.Descriptor instead.

func (*TruncateResponsePB) GetError

func (x *TruncateResponsePB) GetError() *TabletServerErrorPB

func (*TruncateResponsePB) GetPropagatedHybridTime

func (x *TruncateResponsePB) GetPropagatedHybridTime() uint64

func (*TruncateResponsePB) ProtoMessage

func (*TruncateResponsePB) ProtoMessage()

func (*TruncateResponsePB) ProtoReflect

func (x *TruncateResponsePB) ProtoReflect() protoreflect.Message

func (*TruncateResponsePB) Reset

func (x *TruncateResponsePB) Reset()

func (*TruncateResponsePB) String

func (x *TruncateResponsePB) String() string

type TruncateTableRequestPB

type TruncateTableRequestPB struct {
	TableIds [][]byte `protobuf:"bytes,1,rep,name=table_ids,json=tableIds" json:"table_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*TruncateTableRequestPB) Descriptor deprecated

func (*TruncateTableRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use TruncateTableRequestPB.ProtoReflect.Descriptor instead.

func (*TruncateTableRequestPB) GetTableIds

func (x *TruncateTableRequestPB) GetTableIds() [][]byte

func (*TruncateTableRequestPB) ProtoMessage

func (*TruncateTableRequestPB) ProtoMessage()

func (*TruncateTableRequestPB) ProtoReflect

func (x *TruncateTableRequestPB) ProtoReflect() protoreflect.Message

func (*TruncateTableRequestPB) Reset

func (x *TruncateTableRequestPB) Reset()

func (*TruncateTableRequestPB) String

func (x *TruncateTableRequestPB) String() string

type TruncateTableResponsePB

type TruncateTableResponsePB struct {

	// The error, if an error occurred with this request.
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*TruncateTableResponsePB) Descriptor deprecated

func (*TruncateTableResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use TruncateTableResponsePB.ProtoReflect.Descriptor instead.

func (*TruncateTableResponsePB) GetError

func (x *TruncateTableResponsePB) GetError() *MasterErrorPB

func (*TruncateTableResponsePB) ProtoMessage

func (*TruncateTableResponsePB) ProtoMessage()

func (*TruncateTableResponsePB) ProtoReflect

func (x *TruncateTableResponsePB) ProtoReflect() protoreflect.Message

func (*TruncateTableResponsePB) Reset

func (x *TruncateTableResponsePB) Reset()

func (*TruncateTableResponsePB) String

func (x *TruncateTableResponsePB) String() string

type TypeInfo added in v2.13.0

type TypeInfo struct {
	Modifier      *string `protobuf:"bytes,1,opt,name=modifier" json:"modifier,omitempty"`
	ValueOptional *bool   `protobuf:"varint,2,opt,name=value_optional,json=valueOptional" json:"value_optional,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeInfo) Descriptor deprecated added in v2.13.0

func (*TypeInfo) Descriptor() ([]byte, []int)

Deprecated: Use TypeInfo.ProtoReflect.Descriptor instead.

func (*TypeInfo) GetModifier added in v2.13.0

func (x *TypeInfo) GetModifier() string

func (*TypeInfo) GetValueOptional added in v2.13.0

func (x *TypeInfo) GetValueOptional() bool

func (*TypeInfo) ProtoMessage added in v2.13.0

func (*TypeInfo) ProtoMessage()

func (*TypeInfo) ProtoReflect added in v2.13.0

func (x *TypeInfo) ProtoReflect() protoreflect.Message

func (*TypeInfo) Reset added in v2.13.0

func (x *TypeInfo) Reset()

func (*TypeInfo) String added in v2.13.0

func (x *TypeInfo) String() string

type UDTypeIdentifierPB

type UDTypeIdentifierPB struct {

	// The table ID to fetch info.
	TypeId []byte `protobuf:"bytes,1,opt,name=type_id,json=typeId" json:"type_id,omitempty"`
	// The table name to fetch info.
	TypeName *string `protobuf:"bytes,2,opt,name=type_name,json=typeName" json:"type_name,omitempty"`
	// The table namespace (if empty - using default namespace).
	Namespace *NamespaceIdentifierPB `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*UDTypeIdentifierPB) Descriptor deprecated

func (*UDTypeIdentifierPB) Descriptor() ([]byte, []int)

Deprecated: Use UDTypeIdentifierPB.ProtoReflect.Descriptor instead.

func (*UDTypeIdentifierPB) GetNamespace

func (x *UDTypeIdentifierPB) GetNamespace() *NamespaceIdentifierPB

func (*UDTypeIdentifierPB) GetTypeId

func (x *UDTypeIdentifierPB) GetTypeId() []byte

func (*UDTypeIdentifierPB) GetTypeName

func (x *UDTypeIdentifierPB) GetTypeName() string

func (*UDTypeIdentifierPB) ProtoMessage

func (*UDTypeIdentifierPB) ProtoMessage()

func (*UDTypeIdentifierPB) ProtoReflect

func (x *UDTypeIdentifierPB) ProtoReflect() protoreflect.Message

func (*UDTypeIdentifierPB) Reset

func (x *UDTypeIdentifierPB) Reset()

func (*UDTypeIdentifierPB) String

func (x *UDTypeIdentifierPB) String() string

type UDTypeInfoPB

type UDTypeInfoPB struct {
	Id         []byte                 `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Name       *string                `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	FieldNames []string               `protobuf:"bytes,3,rep,name=field_names,json=fieldNames" json:"field_names,omitempty"`
	FieldTypes []*QLTypePB            `protobuf:"bytes,4,rep,name=field_types,json=fieldTypes" json:"field_types,omitempty"`
	Namespace  *NamespaceIdentifierPB `protobuf:"bytes,5,opt,name=namespace" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*UDTypeInfoPB) Descriptor deprecated

func (*UDTypeInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use UDTypeInfoPB.ProtoReflect.Descriptor instead.

func (*UDTypeInfoPB) GetFieldNames

func (x *UDTypeInfoPB) GetFieldNames() []string

func (*UDTypeInfoPB) GetFieldTypes

func (x *UDTypeInfoPB) GetFieldTypes() []*QLTypePB

func (*UDTypeInfoPB) GetId

func (x *UDTypeInfoPB) GetId() []byte

func (*UDTypeInfoPB) GetName

func (x *UDTypeInfoPB) GetName() string

func (*UDTypeInfoPB) GetNamespace

func (x *UDTypeInfoPB) GetNamespace() *NamespaceIdentifierPB

func (*UDTypeInfoPB) ProtoMessage

func (*UDTypeInfoPB) ProtoMessage()

func (*UDTypeInfoPB) ProtoReflect

func (x *UDTypeInfoPB) ProtoReflect() protoreflect.Message

func (*UDTypeInfoPB) Reset

func (x *UDTypeInfoPB) Reset()

func (*UDTypeInfoPB) String

func (x *UDTypeInfoPB) String() string

type UnimplementedAbacusServiceServer added in v2.11.2

type UnimplementedAbacusServiceServer struct {
}

UnimplementedAbacusServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAbacusServiceServer) Concat added in v2.11.2

type UnimplementedCDCServiceServer

type UnimplementedCDCServiceServer struct {
}

UnimplementedCDCServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCDCServiceServer) CreateCDCStream

func (UnimplementedCDCServiceServer) DeleteCDCStream

func (UnimplementedCDCServiceServer) GetCDCDBStreamInfo added in v2.13.0

func (UnimplementedCDCServiceServer) GetChanges

func (UnimplementedCDCServiceServer) GetCheckpoint

func (UnimplementedCDCServiceServer) ListTablets

func (UnimplementedCDCServiceServer) SetCDCCheckpoint added in v2.13.0

type UnimplementedCalculatorServiceServer

type UnimplementedCalculatorServiceServer struct {
}

UnimplementedCalculatorServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedCalculatorServiceServer) Add

func (UnimplementedCalculatorServiceServer) Disconnect

func (UnimplementedCalculatorServiceServer) Echo

func (UnimplementedCalculatorServiceServer) Forward

func (UnimplementedCalculatorServiceServer) Lightweight added in v2.11.2

func (UnimplementedCalculatorServiceServer) Panic

func (UnimplementedCalculatorServiceServer) Ping

func (UnimplementedCalculatorServiceServer) Sleep

func (UnimplementedCalculatorServiceServer) TestArgumentsInDiffPackage

func (UnimplementedCalculatorServiceServer) Trivial added in v2.13.0

func (UnimplementedCalculatorServiceServer) WhoAmI

type UnimplementedConsensusServiceServer

type UnimplementedConsensusServiceServer struct {
}

UnimplementedConsensusServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedConsensusServiceServer) ChangeConfig

func (UnimplementedConsensusServiceServer) GetConsensusState

func (UnimplementedConsensusServiceServer) GetLastOpId

func (UnimplementedConsensusServiceServer) GetNodeInstance

func (UnimplementedConsensusServiceServer) LeaderStepDown

func (UnimplementedConsensusServiceServer) MultiRaftUpdateConsensus added in v2.11.2

func (UnimplementedConsensusServiceServer) RequestConsensusVote

func (UnimplementedConsensusServiceServer) RunLeaderElection

func (UnimplementedConsensusServiceServer) UnsafeChangeConfig added in v2.13.0

func (UnimplementedConsensusServiceServer) UpdateConsensus

type UnimplementedGenericServiceServer

type UnimplementedGenericServiceServer struct {
}

UnimplementedGenericServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedGenericServiceServer) FlushCoverage

func (UnimplementedGenericServiceServer) GetFlag

func (UnimplementedGenericServiceServer) GetStatus

func (UnimplementedGenericServiceServer) Ping

func (UnimplementedGenericServiceServer) RefreshFlags

func (UnimplementedGenericServiceServer) ServerClock

func (UnimplementedGenericServiceServer) SetFlag

type UnimplementedMasterAdminServer added in v2.11.2

type UnimplementedMasterAdminServer struct {
}

UnimplementedMasterAdminServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterAdminServer) CompactSysCatalog added in v2.11.2

func (UnimplementedMasterAdminServer) CreateTransactionStatusTable added in v2.11.2

func (UnimplementedMasterAdminServer) DdlLog added in v2.11.2

func (UnimplementedMasterAdminServer) DeleteNotServingTablet added in v2.11.2

func (UnimplementedMasterAdminServer) FlushSysCatalog added in v2.11.2

func (UnimplementedMasterAdminServer) FlushTables added in v2.11.2

func (UnimplementedMasterAdminServer) IsFlushTablesDone added in v2.11.2

func (UnimplementedMasterAdminServer) IsInitDbDone added in v2.11.2

func (UnimplementedMasterAdminServer) SplitTablet added in v2.11.2

type UnimplementedMasterBackupServer added in v2.11.2

type UnimplementedMasterBackupServer struct {
}

UnimplementedMasterBackupServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterBackupServer) CreateSnapshot added in v2.11.2

func (UnimplementedMasterBackupServer) CreateSnapshotSchedule added in v2.11.2

func (UnimplementedMasterBackupServer) DeleteSnapshot added in v2.11.2

func (UnimplementedMasterBackupServer) DeleteSnapshotSchedule added in v2.11.2

func (UnimplementedMasterBackupServer) ImportSnapshotMeta added in v2.11.2

func (UnimplementedMasterBackupServer) ListSnapshotRestorations added in v2.11.2

func (UnimplementedMasterBackupServer) ListSnapshotSchedules added in v2.11.2

func (UnimplementedMasterBackupServer) ListSnapshots added in v2.11.2

func (UnimplementedMasterBackupServer) RestoreSnapshot added in v2.11.2

type UnimplementedMasterClientServer added in v2.11.2

type UnimplementedMasterClientServer struct {
}

UnimplementedMasterClientServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterClientServer) GetTableLocations added in v2.11.2

func (UnimplementedMasterClientServer) GetTabletLocations added in v2.11.2

func (UnimplementedMasterClientServer) GetTransactionStatusTablets added in v2.13.0

func (UnimplementedMasterClientServer) GetYsqlCatalogConfig added in v2.11.2

func (UnimplementedMasterClientServer) RedisConfigGet added in v2.11.2

func (UnimplementedMasterClientServer) RedisConfigSet added in v2.11.2

func (UnimplementedMasterClientServer) ReservePgsqlOids added in v2.11.2

type UnimplementedMasterClusterServer added in v2.11.2

type UnimplementedMasterClusterServer struct {
}

UnimplementedMasterClusterServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterClusterServer) AreLeadersOnPreferredOnly added in v2.11.2

func (UnimplementedMasterClusterServer) ChangeLoadBalancerState added in v2.11.2

func (UnimplementedMasterClusterServer) ChangeMasterClusterConfig added in v2.11.2

func (UnimplementedMasterClusterServer) DumpState added in v2.11.2

func (UnimplementedMasterClusterServer) GetLeaderBlacklistCompletion added in v2.11.2

func (UnimplementedMasterClusterServer) GetLoadBalancerState added in v2.11.2

func (UnimplementedMasterClusterServer) GetLoadMoveCompletion added in v2.11.2

func (UnimplementedMasterClusterServer) GetMasterClusterConfig added in v2.11.2

func (UnimplementedMasterClusterServer) GetMasterRegistration added in v2.11.2

func (UnimplementedMasterClusterServer) IsLoadBalanced added in v2.11.2

func (UnimplementedMasterClusterServer) IsLoadBalancerIdle added in v2.11.2

func (UnimplementedMasterClusterServer) IsMasterLeaderServiceReady added in v2.11.2

func (UnimplementedMasterClusterServer) ListLiveTabletServers added in v2.11.2

func (UnimplementedMasterClusterServer) ListMasterRaftPeers added in v2.11.2

func (UnimplementedMasterClusterServer) ListMasters added in v2.11.2

func (UnimplementedMasterClusterServer) ListTabletServers added in v2.11.2

func (UnimplementedMasterClusterServer) RemovedMasterUpdate added in v2.11.2

func (UnimplementedMasterClusterServer) SetPreferredZones added in v2.11.2

type UnimplementedMasterDclServer added in v2.11.2

type UnimplementedMasterDclServer struct {
}

UnimplementedMasterDclServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterDclServer) AlterRole added in v2.11.2

func (UnimplementedMasterDclServer) CreateRole added in v2.11.2

func (UnimplementedMasterDclServer) DeleteRole added in v2.11.2

func (UnimplementedMasterDclServer) GetPermissions added in v2.11.2

func (UnimplementedMasterDclServer) GrantRevokePermission added in v2.11.2

func (UnimplementedMasterDclServer) GrantRevokeRole added in v2.11.2

type UnimplementedMasterDdlServer added in v2.11.2

type UnimplementedMasterDdlServer struct {
}

UnimplementedMasterDdlServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterDdlServer) AlterNamespace added in v2.11.2

func (UnimplementedMasterDdlServer) AlterTable added in v2.11.2

func (UnimplementedMasterDdlServer) BackfillIndex added in v2.11.2

func (UnimplementedMasterDdlServer) CreateNamespace added in v2.11.2

func (UnimplementedMasterDdlServer) CreateTable added in v2.11.2

func (UnimplementedMasterDdlServer) CreateTablegroup added in v2.11.2

func (UnimplementedMasterDdlServer) CreateUDType added in v2.11.2

func (UnimplementedMasterDdlServer) DeleteNamespace added in v2.11.2

func (UnimplementedMasterDdlServer) DeleteTable added in v2.11.2

func (UnimplementedMasterDdlServer) DeleteTablegroup added in v2.11.2

func (UnimplementedMasterDdlServer) DeleteUDType added in v2.11.2

func (UnimplementedMasterDdlServer) GetBackfillJobs added in v2.11.2

func (UnimplementedMasterDdlServer) GetColocatedTabletSchema added in v2.11.2

func (UnimplementedMasterDdlServer) GetNamespaceInfo added in v2.11.2

func (UnimplementedMasterDdlServer) GetTableSchema added in v2.11.2

func (UnimplementedMasterDdlServer) GetTablegroupSchema added in v2.13.0

func (UnimplementedMasterDdlServer) GetUDTypeInfo added in v2.11.2

func (UnimplementedMasterDdlServer) IsAlterTableDone added in v2.11.2

func (UnimplementedMasterDdlServer) IsCreateNamespaceDone added in v2.11.2

func (UnimplementedMasterDdlServer) IsCreateTableDone added in v2.11.2

func (UnimplementedMasterDdlServer) IsDeleteNamespaceDone added in v2.11.2

func (UnimplementedMasterDdlServer) IsDeleteTableDone added in v2.11.2

func (UnimplementedMasterDdlServer) IsTruncateTableDone added in v2.11.2

func (UnimplementedMasterDdlServer) LaunchBackfillIndexForTable added in v2.11.2

func (UnimplementedMasterDdlServer) ListNamespaces added in v2.11.2

func (UnimplementedMasterDdlServer) ListTablegroups added in v2.11.2

func (UnimplementedMasterDdlServer) ListTables added in v2.11.2

func (UnimplementedMasterDdlServer) ListUDTypes added in v2.11.2

func (UnimplementedMasterDdlServer) TruncateTable added in v2.11.2

type UnimplementedMasterEncryptionServer added in v2.11.2

type UnimplementedMasterEncryptionServer struct {
}

UnimplementedMasterEncryptionServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterEncryptionServer) AddUniverseKeys added in v2.11.2

func (UnimplementedMasterEncryptionServer) ChangeEncryptionInfo added in v2.11.2

func (UnimplementedMasterEncryptionServer) GetUniverseKeyRegistry added in v2.11.2

func (UnimplementedMasterEncryptionServer) HasUniverseKeyInMemory added in v2.11.2

func (UnimplementedMasterEncryptionServer) IsEncryptionEnabled added in v2.11.2

type UnimplementedMasterHeartbeatServer added in v2.11.2

type UnimplementedMasterHeartbeatServer struct {
}

UnimplementedMasterHeartbeatServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterHeartbeatServer) TSHeartbeat added in v2.11.2

type UnimplementedMasterReplicationServer added in v2.11.2

type UnimplementedMasterReplicationServer struct {
}

UnimplementedMasterReplicationServer should be embedded to have forward compatible implementations.

func (UnimplementedMasterReplicationServer) AlterUniverseReplication added in v2.11.2

func (UnimplementedMasterReplicationServer) CreateCDCStream added in v2.11.2

func (UnimplementedMasterReplicationServer) DeleteCDCStream added in v2.11.2

func (UnimplementedMasterReplicationServer) DeleteUniverseReplication added in v2.11.2

func (UnimplementedMasterReplicationServer) GetCDCDBStreamInfo added in v2.13.0

func (UnimplementedMasterReplicationServer) GetCDCStream added in v2.11.2

func (UnimplementedMasterReplicationServer) GetUniverseReplication added in v2.11.2

func (UnimplementedMasterReplicationServer) IsSetupUniverseReplicationDone added in v2.11.2

func (UnimplementedMasterReplicationServer) ListCDCStreams added in v2.11.2

func (UnimplementedMasterReplicationServer) SetUniverseReplicationEnabled added in v2.11.2

func (UnimplementedMasterReplicationServer) SetupUniverseReplication added in v2.11.2

func (UnimplementedMasterReplicationServer) UpdateCDCStream added in v2.11.2

func (UnimplementedMasterReplicationServer) UpdateConsumerOnProducerSplit added in v2.13.0

func (UnimplementedMasterReplicationServer) ValidateReplicationInfo added in v2.11.2

type UnimplementedPgClientServiceServer

type UnimplementedPgClientServiceServer struct {
}

UnimplementedPgClientServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPgClientServiceServer) AlterDatabase

func (UnimplementedPgClientServiceServer) AlterTable

func (UnimplementedPgClientServiceServer) BackfillIndex

func (UnimplementedPgClientServiceServer) CreateDatabase

func (UnimplementedPgClientServiceServer) CreateTable

func (UnimplementedPgClientServiceServer) DropDatabase

func (UnimplementedPgClientServiceServer) DropTable

func (UnimplementedPgClientServiceServer) DropTablegroup

func (UnimplementedPgClientServiceServer) Heartbeat

func (UnimplementedPgClientServiceServer) IsInitDbDone

func (UnimplementedPgClientServiceServer) OpenTable

func (UnimplementedPgClientServiceServer) ReserveOids

func (UnimplementedPgClientServiceServer) TruncateTable

func (UnimplementedPgClientServiceServer) ValidatePlacement added in v2.11.2

type UnimplementedRemoteBootstrapServiceServer

type UnimplementedRemoteBootstrapServiceServer struct {
}

UnimplementedRemoteBootstrapServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedRemoteBootstrapServiceServer) FetchData

func (UnimplementedRemoteBootstrapServiceServer) RemoveSession

type UnimplementedTabletServerAdminServiceServer

type UnimplementedTabletServerAdminServiceServer struct {
}

UnimplementedTabletServerAdminServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTabletServerAdminServiceServer) AddTableToTablet

func (UnimplementedTabletServerAdminServiceServer) AlterSchema

func (UnimplementedTabletServerAdminServiceServer) BackfillDone

func (UnimplementedTabletServerAdminServiceServer) BackfillIndex

func (UnimplementedTabletServerAdminServiceServer) CopartitionTable

func (UnimplementedTabletServerAdminServiceServer) CountIntents

func (UnimplementedTabletServerAdminServiceServer) CreateTablet

func (UnimplementedTabletServerAdminServiceServer) DeleteTablet

func (UnimplementedTabletServerAdminServiceServer) FlushTablets

func (UnimplementedTabletServerAdminServiceServer) GetSafeTime

func (UnimplementedTabletServerAdminServiceServer) SplitTablet

func (UnimplementedTabletServerAdminServiceServer) UpgradeYsql added in v2.11.0

type UnimplementedTabletServerBackupServiceServer

type UnimplementedTabletServerBackupServiceServer struct {
}

UnimplementedTabletServerBackupServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTabletServerBackupServiceServer) TabletSnapshotOp

type UnimplementedTabletServerForwardServiceServer

type UnimplementedTabletServerForwardServiceServer struct {
}

UnimplementedTabletServerForwardServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTabletServerForwardServiceServer) Read

func (UnimplementedTabletServerForwardServiceServer) Write

type UnimplementedTabletServerServiceServer

type UnimplementedTabletServerServiceServer struct {
}

UnimplementedTabletServerServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedTabletServerServiceServer) AbortTransaction

func (UnimplementedTabletServerServiceServer) Checksum

func (UnimplementedTabletServerServiceServer) GetLogLocation

func (UnimplementedTabletServerServiceServer) GetMasterAddresses

func (UnimplementedTabletServerServiceServer) GetSharedData

func (UnimplementedTabletServerServiceServer) GetSplitKey

func (UnimplementedTabletServerServiceServer) GetTabletStatus

func (UnimplementedTabletServerServiceServer) ImportData

func (UnimplementedTabletServerServiceServer) ListTablets

func (UnimplementedTabletServerServiceServer) NoOp

func (UnimplementedTabletServerServiceServer) Publish

func (UnimplementedTabletServerServiceServer) Read

func (UnimplementedTabletServerServiceServer) TakeTransaction

func (UnimplementedTabletServerServiceServer) Truncate

func (UnimplementedTabletServerServiceServer) UpdateTransaction

func (UnimplementedTabletServerServiceServer) Write

type UniverseKeyRegistryPB

type UniverseKeyRegistryPB struct {
	EncryptionEnabled bool                           `protobuf:"varint,1,opt,name=encryption_enabled,json=encryptionEnabled,proto3" json:"encryption_enabled,omitempty"`
	UniverseKeys      map[string]*EncryptionParamsPB `` /* 185-byte string literal not displayed */
	LatestVersionId   string                         `protobuf:"bytes,3,opt,name=latest_version_id,json=latestVersionId,proto3" json:"latest_version_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UniverseKeyRegistryPB) Descriptor deprecated

func (*UniverseKeyRegistryPB) Descriptor() ([]byte, []int)

Deprecated: Use UniverseKeyRegistryPB.ProtoReflect.Descriptor instead.

func (*UniverseKeyRegistryPB) GetEncryptionEnabled

func (x *UniverseKeyRegistryPB) GetEncryptionEnabled() bool

func (*UniverseKeyRegistryPB) GetLatestVersionId

func (x *UniverseKeyRegistryPB) GetLatestVersionId() string

func (*UniverseKeyRegistryPB) GetUniverseKeys

func (x *UniverseKeyRegistryPB) GetUniverseKeys() map[string]*EncryptionParamsPB

func (*UniverseKeyRegistryPB) ProtoMessage

func (*UniverseKeyRegistryPB) ProtoMessage()

func (*UniverseKeyRegistryPB) ProtoReflect

func (x *UniverseKeyRegistryPB) ProtoReflect() protoreflect.Message

func (*UniverseKeyRegistryPB) Reset

func (x *UniverseKeyRegistryPB) Reset()

func (*UniverseKeyRegistryPB) String

func (x *UniverseKeyRegistryPB) String() string

type UniverseKeysPB

type UniverseKeysPB struct {
	Map map[string][]byte `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UniverseKeysPB) Descriptor deprecated

func (*UniverseKeysPB) Descriptor() ([]byte, []int)

Deprecated: Use UniverseKeysPB.ProtoReflect.Descriptor instead.

func (*UniverseKeysPB) GetMap

func (x *UniverseKeysPB) GetMap() map[string][]byte

func (*UniverseKeysPB) ProtoMessage

func (*UniverseKeysPB) ProtoMessage()

func (*UniverseKeysPB) ProtoReflect

func (x *UniverseKeysPB) ProtoReflect() protoreflect.Message

func (*UniverseKeysPB) Reset

func (x *UniverseKeysPB) Reset()

func (*UniverseKeysPB) String

func (x *UniverseKeysPB) String() string

type UnsafeAbacusServiceServer added in v2.11.2

type UnsafeAbacusServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAbacusServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AbacusServiceServer will result in compilation errors.

type UnsafeCDCServiceServer

type UnsafeCDCServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCDCServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CDCServiceServer will result in compilation errors.

type UnsafeCalculatorServiceServer

type UnsafeCalculatorServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCalculatorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CalculatorServiceServer will result in compilation errors.

type UnsafeChangeConfigRequestPB added in v2.13.0

type UnsafeChangeConfigRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,1,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	TabletId []byte `protobuf:"bytes,2,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Sender identification, it could be a static string as well.
	CallerId []byte `protobuf:"bytes,3,req,name=caller_id,json=callerId" json:"caller_id,omitempty"`
	// The raft config sent to destination server.
	// Only the 'permanent_uuid' of each peer in the config is
	// required (address-related information is ignored by the server).
	// The peers specified in the 'new_config' are required to be a
	// subset of (or equal to) the peers in the committed config on the
	// destination replica.
	NewConfig *RaftConfigPB `protobuf:"bytes,4,req,name=new_config,json=newConfig" json:"new_config,omitempty"`
	// contains filtered or unexported fields
}

An unsafe change configuration request for the tablet with 'tablet_id'.

func (*UnsafeChangeConfigRequestPB) Descriptor deprecated added in v2.13.0

func (*UnsafeChangeConfigRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use UnsafeChangeConfigRequestPB.ProtoReflect.Descriptor instead.

func (*UnsafeChangeConfigRequestPB) GetCallerId added in v2.13.0

func (x *UnsafeChangeConfigRequestPB) GetCallerId() []byte

func (*UnsafeChangeConfigRequestPB) GetDestUuid added in v2.13.0

func (x *UnsafeChangeConfigRequestPB) GetDestUuid() []byte

func (*UnsafeChangeConfigRequestPB) GetNewConfig added in v2.13.0

func (x *UnsafeChangeConfigRequestPB) GetNewConfig() *RaftConfigPB

func (*UnsafeChangeConfigRequestPB) GetTabletId added in v2.13.0

func (x *UnsafeChangeConfigRequestPB) GetTabletId() []byte

func (*UnsafeChangeConfigRequestPB) ProtoMessage added in v2.13.0

func (*UnsafeChangeConfigRequestPB) ProtoMessage()

func (*UnsafeChangeConfigRequestPB) ProtoReflect added in v2.13.0

func (*UnsafeChangeConfigRequestPB) Reset added in v2.13.0

func (x *UnsafeChangeConfigRequestPB) Reset()

func (*UnsafeChangeConfigRequestPB) String added in v2.13.0

func (x *UnsafeChangeConfigRequestPB) String() string

type UnsafeChangeConfigResponsePB added in v2.13.0

type UnsafeChangeConfigResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

The unsafe change configuration response. 'error' field is set if operation failed.

func (*UnsafeChangeConfigResponsePB) Descriptor deprecated added in v2.13.0

func (*UnsafeChangeConfigResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use UnsafeChangeConfigResponsePB.ProtoReflect.Descriptor instead.

func (*UnsafeChangeConfigResponsePB) GetError added in v2.13.0

func (*UnsafeChangeConfigResponsePB) ProtoMessage added in v2.13.0

func (*UnsafeChangeConfigResponsePB) ProtoMessage()

func (*UnsafeChangeConfigResponsePB) ProtoReflect added in v2.13.0

func (*UnsafeChangeConfigResponsePB) Reset added in v2.13.0

func (x *UnsafeChangeConfigResponsePB) Reset()

func (*UnsafeChangeConfigResponsePB) String added in v2.13.0

type UnsafeConsensusServiceServer

type UnsafeConsensusServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeConsensusServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConsensusServiceServer will result in compilation errors.

type UnsafeGenericServiceServer

type UnsafeGenericServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeGenericServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GenericServiceServer will result in compilation errors.

type UnsafeMasterAdminServer added in v2.11.2

type UnsafeMasterAdminServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterAdminServer will result in compilation errors.

type UnsafeMasterBackupServer added in v2.11.2

type UnsafeMasterBackupServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterBackupServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterBackupServer will result in compilation errors.

type UnsafeMasterClientServer added in v2.11.2

type UnsafeMasterClientServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterClientServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterClientServer will result in compilation errors.

type UnsafeMasterClusterServer added in v2.11.2

type UnsafeMasterClusterServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterClusterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterClusterServer will result in compilation errors.

type UnsafeMasterDclServer added in v2.11.2

type UnsafeMasterDclServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterDclServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterDclServer will result in compilation errors.

type UnsafeMasterDdlServer added in v2.11.2

type UnsafeMasterDdlServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterDdlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterDdlServer will result in compilation errors.

type UnsafeMasterEncryptionServer added in v2.11.2

type UnsafeMasterEncryptionServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterEncryptionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterEncryptionServer will result in compilation errors.

type UnsafeMasterHeartbeatServer added in v2.11.2

type UnsafeMasterHeartbeatServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterHeartbeatServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterHeartbeatServer will result in compilation errors.

type UnsafeMasterReplicationServer added in v2.11.2

type UnsafeMasterReplicationServer interface {
	// contains filtered or unexported methods
}

UnsafeMasterReplicationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MasterReplicationServer will result in compilation errors.

type UnsafePgClientServiceServer

type UnsafePgClientServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePgClientServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PgClientServiceServer will result in compilation errors.

type UnsafeRemoteBootstrapServiceServer

type UnsafeRemoteBootstrapServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRemoteBootstrapServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RemoteBootstrapServiceServer will result in compilation errors.

type UnsafeTabletServerAdminServiceServer

type UnsafeTabletServerAdminServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTabletServerAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TabletServerAdminServiceServer will result in compilation errors.

type UnsafeTabletServerBackupServiceServer

type UnsafeTabletServerBackupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTabletServerBackupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TabletServerBackupServiceServer will result in compilation errors.

type UnsafeTabletServerForwardServiceServer

type UnsafeTabletServerForwardServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTabletServerForwardServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TabletServerForwardServiceServer will result in compilation errors.

type UnsafeTabletServerServiceServer

type UnsafeTabletServerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTabletServerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TabletServerServiceServer will result in compilation errors.

type UnsignedIntSetTestPB

type UnsignedIntSetTestPB struct {
	Set []uint32 `protobuf:"varint,1,rep,name=set" json:"set,omitempty"`
	// contains filtered or unexported fields
}

func (*UnsignedIntSetTestPB) Descriptor deprecated

func (*UnsignedIntSetTestPB) Descriptor() ([]byte, []int)

Deprecated: Use UnsignedIntSetTestPB.ProtoReflect.Descriptor instead.

func (*UnsignedIntSetTestPB) GetSet

func (x *UnsignedIntSetTestPB) GetSet() []uint32

func (*UnsignedIntSetTestPB) ProtoMessage

func (*UnsignedIntSetTestPB) ProtoMessage()

func (*UnsignedIntSetTestPB) ProtoReflect

func (x *UnsignedIntSetTestPB) ProtoReflect() protoreflect.Message

func (*UnsignedIntSetTestPB) Reset

func (x *UnsignedIntSetTestPB) Reset()

func (*UnsignedIntSetTestPB) String

func (x *UnsignedIntSetTestPB) String() string

type UpdateCDCStreamRequestPB

type UpdateCDCStreamRequestPB struct {
	StreamId []byte               `protobuf:"bytes,1,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	Entry    *SysCDCStreamEntryPB `protobuf:"bytes,2,opt,name=entry" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCDCStreamRequestPB) Descriptor deprecated

func (*UpdateCDCStreamRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCDCStreamRequestPB.ProtoReflect.Descriptor instead.

func (*UpdateCDCStreamRequestPB) GetEntry

func (*UpdateCDCStreamRequestPB) GetStreamId

func (x *UpdateCDCStreamRequestPB) GetStreamId() []byte

func (*UpdateCDCStreamRequestPB) ProtoMessage

func (*UpdateCDCStreamRequestPB) ProtoMessage()

func (*UpdateCDCStreamRequestPB) ProtoReflect

func (x *UpdateCDCStreamRequestPB) ProtoReflect() protoreflect.Message

func (*UpdateCDCStreamRequestPB) Reset

func (x *UpdateCDCStreamRequestPB) Reset()

func (*UpdateCDCStreamRequestPB) String

func (x *UpdateCDCStreamRequestPB) String() string

type UpdateCDCStreamResponsePB

type UpdateCDCStreamResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCDCStreamResponsePB) Descriptor deprecated

func (*UpdateCDCStreamResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCDCStreamResponsePB.ProtoReflect.Descriptor instead.

func (*UpdateCDCStreamResponsePB) GetError

func (*UpdateCDCStreamResponsePB) ProtoMessage

func (*UpdateCDCStreamResponsePB) ProtoMessage()

func (*UpdateCDCStreamResponsePB) ProtoReflect

func (*UpdateCDCStreamResponsePB) Reset

func (x *UpdateCDCStreamResponsePB) Reset()

func (*UpdateCDCStreamResponsePB) String

func (x *UpdateCDCStreamResponsePB) String() string

type UpdateCdcReplicatedIndexRequestPB

type UpdateCdcReplicatedIndexRequestPB struct {

	// Tablet being updated.
	TabletId []byte `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// Minimum replicated index across all the streams for this tablet.
	ReplicatedIndex *int64 `protobuf:"varint,2,opt,name=replicated_index,json=replicatedIndex" json:"replicated_index,omitempty"`
	ReplicatedTerm  *int64 `protobuf:"varint,3,opt,name=replicated_term,json=replicatedTerm" json:"replicated_term,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCdcReplicatedIndexRequestPB) Descriptor deprecated

func (*UpdateCdcReplicatedIndexRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCdcReplicatedIndexRequestPB.ProtoReflect.Descriptor instead.

func (*UpdateCdcReplicatedIndexRequestPB) GetReplicatedIndex

func (x *UpdateCdcReplicatedIndexRequestPB) GetReplicatedIndex() int64

func (*UpdateCdcReplicatedIndexRequestPB) GetReplicatedTerm added in v2.13.0

func (x *UpdateCdcReplicatedIndexRequestPB) GetReplicatedTerm() int64

func (*UpdateCdcReplicatedIndexRequestPB) GetTabletId

func (x *UpdateCdcReplicatedIndexRequestPB) GetTabletId() []byte

func (*UpdateCdcReplicatedIndexRequestPB) ProtoMessage

func (*UpdateCdcReplicatedIndexRequestPB) ProtoMessage()

func (*UpdateCdcReplicatedIndexRequestPB) ProtoReflect

func (*UpdateCdcReplicatedIndexRequestPB) Reset

func (*UpdateCdcReplicatedIndexRequestPB) String

type UpdateCdcReplicatedIndexResponsePB

type UpdateCdcReplicatedIndexResponsePB struct {
	Error *CDCErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCdcReplicatedIndexResponsePB) Descriptor deprecated

func (*UpdateCdcReplicatedIndexResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCdcReplicatedIndexResponsePB.ProtoReflect.Descriptor instead.

func (*UpdateCdcReplicatedIndexResponsePB) GetError

func (*UpdateCdcReplicatedIndexResponsePB) ProtoMessage

func (*UpdateCdcReplicatedIndexResponsePB) ProtoMessage()

func (*UpdateCdcReplicatedIndexResponsePB) ProtoReflect

func (*UpdateCdcReplicatedIndexResponsePB) Reset

func (*UpdateCdcReplicatedIndexResponsePB) String

type UpdateConsumerOnProducerSplitRequestPB added in v2.13.0

type UpdateConsumerOnProducerSplitRequestPB struct {
	ProducerId              *string                    `protobuf:"bytes,1,opt,name=producer_id,json=producerId" json:"producer_id,omitempty"`
	StreamId                *string                    `protobuf:"bytes,2,opt,name=stream_id,json=streamId" json:"stream_id,omitempty"`
	ProducerSplitTabletInfo *ProducerSplitTabletInfoPB `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateConsumerOnProducerSplitRequestPB) Descriptor deprecated added in v2.13.0

func (*UpdateConsumerOnProducerSplitRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateConsumerOnProducerSplitRequestPB.ProtoReflect.Descriptor instead.

func (*UpdateConsumerOnProducerSplitRequestPB) GetProducerId added in v2.13.0

func (*UpdateConsumerOnProducerSplitRequestPB) GetProducerSplitTabletInfo added in v2.13.0

func (x *UpdateConsumerOnProducerSplitRequestPB) GetProducerSplitTabletInfo() *ProducerSplitTabletInfoPB

func (*UpdateConsumerOnProducerSplitRequestPB) GetStreamId added in v2.13.0

func (*UpdateConsumerOnProducerSplitRequestPB) ProtoMessage added in v2.13.0

func (*UpdateConsumerOnProducerSplitRequestPB) ProtoReflect added in v2.13.0

func (*UpdateConsumerOnProducerSplitRequestPB) Reset added in v2.13.0

func (*UpdateConsumerOnProducerSplitRequestPB) String added in v2.13.0

type UpdateConsumerOnProducerSplitResponsePB added in v2.13.0

type UpdateConsumerOnProducerSplitResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConsumerOnProducerSplitResponsePB) Descriptor deprecated added in v2.13.0

func (*UpdateConsumerOnProducerSplitResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateConsumerOnProducerSplitResponsePB.ProtoReflect.Descriptor instead.

func (*UpdateConsumerOnProducerSplitResponsePB) GetError added in v2.13.0

func (*UpdateConsumerOnProducerSplitResponsePB) ProtoMessage added in v2.13.0

func (*UpdateConsumerOnProducerSplitResponsePB) ProtoReflect added in v2.13.0

func (*UpdateConsumerOnProducerSplitResponsePB) Reset added in v2.13.0

func (*UpdateConsumerOnProducerSplitResponsePB) String added in v2.13.0

type UpdatePlanPB

type UpdatePlanPB struct {
	UpdateType *string `protobuf:"bytes,1,opt,name=update_type,json=updateType" json:"update_type,omitempty"`
	// For update, scan_type is currently only primary key lookup.
	ScanType      *string `protobuf:"bytes,2,opt,name=scan_type,json=scanType" json:"scan_type,omitempty"`
	KeyConditions *string `protobuf:"bytes,3,opt,name=key_conditions,json=keyConditions" json:"key_conditions,omitempty"`
	OutputWidth   *int32  `protobuf:"varint,4,opt,name=output_width,json=outputWidth" json:"output_width,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePlanPB) Descriptor deprecated

func (*UpdatePlanPB) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePlanPB.ProtoReflect.Descriptor instead.

func (*UpdatePlanPB) GetKeyConditions

func (x *UpdatePlanPB) GetKeyConditions() string

func (*UpdatePlanPB) GetOutputWidth

func (x *UpdatePlanPB) GetOutputWidth() int32

func (*UpdatePlanPB) GetScanType

func (x *UpdatePlanPB) GetScanType() string

func (*UpdatePlanPB) GetUpdateType

func (x *UpdatePlanPB) GetUpdateType() string

func (*UpdatePlanPB) ProtoMessage

func (*UpdatePlanPB) ProtoMessage()

func (*UpdatePlanPB) ProtoReflect

func (x *UpdatePlanPB) ProtoReflect() protoreflect.Message

func (*UpdatePlanPB) Reset

func (x *UpdatePlanPB) Reset()

func (*UpdatePlanPB) String

func (x *UpdatePlanPB) String() string

type UpdateTransactionRequestPB

type UpdateTransactionRequestPB struct {
	TabletId             []byte              `protobuf:"bytes,1,opt,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	State                *TransactionStatePB `protobuf:"bytes,2,opt,name=state" json:"state,omitempty"`
	PropagatedHybridTime *uint64             `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTransactionRequestPB) Descriptor deprecated

func (*UpdateTransactionRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTransactionRequestPB.ProtoReflect.Descriptor instead.

func (*UpdateTransactionRequestPB) GetPropagatedHybridTime

func (x *UpdateTransactionRequestPB) GetPropagatedHybridTime() uint64

func (*UpdateTransactionRequestPB) GetState

func (*UpdateTransactionRequestPB) GetTabletId

func (x *UpdateTransactionRequestPB) GetTabletId() []byte

func (*UpdateTransactionRequestPB) ProtoMessage

func (*UpdateTransactionRequestPB) ProtoMessage()

func (*UpdateTransactionRequestPB) ProtoReflect

func (*UpdateTransactionRequestPB) Reset

func (x *UpdateTransactionRequestPB) Reset()

func (*UpdateTransactionRequestPB) String

func (x *UpdateTransactionRequestPB) String() string

type UpdateTransactionResponsePB

type UpdateTransactionResponsePB struct {

	// Error message, if any.
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,2,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTransactionResponsePB) Descriptor deprecated

func (*UpdateTransactionResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTransactionResponsePB.ProtoReflect.Descriptor instead.

func (*UpdateTransactionResponsePB) GetError

func (*UpdateTransactionResponsePB) GetPropagatedHybridTime

func (x *UpdateTransactionResponsePB) GetPropagatedHybridTime() uint64

func (*UpdateTransactionResponsePB) ProtoMessage

func (*UpdateTransactionResponsePB) ProtoMessage()

func (*UpdateTransactionResponsePB) ProtoReflect

func (*UpdateTransactionResponsePB) Reset

func (x *UpdateTransactionResponsePB) Reset()

func (*UpdateTransactionResponsePB) String

func (x *UpdateTransactionResponsePB) String() string

type UpgradeYsqlRequestPB added in v2.11.0

type UpgradeYsqlRequestPB struct {
	// contains filtered or unexported fields
}

func (*UpgradeYsqlRequestPB) Descriptor deprecated added in v2.11.0

func (*UpgradeYsqlRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeYsqlRequestPB.ProtoReflect.Descriptor instead.

func (*UpgradeYsqlRequestPB) ProtoMessage added in v2.11.0

func (*UpgradeYsqlRequestPB) ProtoMessage()

func (*UpgradeYsqlRequestPB) ProtoReflect added in v2.11.0

func (x *UpgradeYsqlRequestPB) ProtoReflect() protoreflect.Message

func (*UpgradeYsqlRequestPB) Reset added in v2.11.0

func (x *UpgradeYsqlRequestPB) Reset()

func (*UpgradeYsqlRequestPB) String added in v2.11.0

func (x *UpgradeYsqlRequestPB) String() string

type UpgradeYsqlResponsePB added in v2.11.0

type UpgradeYsqlResponsePB struct {
	Error *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeYsqlResponsePB) Descriptor deprecated added in v2.11.0

func (*UpgradeYsqlResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeYsqlResponsePB.ProtoReflect.Descriptor instead.

func (*UpgradeYsqlResponsePB) GetError added in v2.11.0

func (*UpgradeYsqlResponsePB) ProtoMessage added in v2.11.0

func (*UpgradeYsqlResponsePB) ProtoMessage()

func (*UpgradeYsqlResponsePB) ProtoReflect added in v2.11.0

func (x *UpgradeYsqlResponsePB) ProtoReflect() protoreflect.Message

func (*UpgradeYsqlResponsePB) Reset added in v2.11.0

func (x *UpgradeYsqlResponsePB) Reset()

func (*UpgradeYsqlResponsePB) String added in v2.11.0

func (x *UpgradeYsqlResponsePB) String() string

type UserBoundaryValuePB

type UserBoundaryValuePB struct {

	// When we merge boundary values from different sources tag is used to find corresponding values.
	// After that we compare those values and preserve smallest/largest of them.
	Tag  *uint32 `protobuf:"varint,1,opt,name=tag" json:"tag,omitempty"`
	Data []byte  `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBoundaryValuePB) Descriptor deprecated

func (*UserBoundaryValuePB) Descriptor() ([]byte, []int)

Deprecated: Use UserBoundaryValuePB.ProtoReflect.Descriptor instead.

func (*UserBoundaryValuePB) GetData

func (x *UserBoundaryValuePB) GetData() []byte

func (*UserBoundaryValuePB) GetTag

func (x *UserBoundaryValuePB) GetTag() uint32

func (*UserBoundaryValuePB) ProtoMessage

func (*UserBoundaryValuePB) ProtoMessage()

func (*UserBoundaryValuePB) ProtoReflect

func (x *UserBoundaryValuePB) ProtoReflect() protoreflect.Message

func (*UserBoundaryValuePB) Reset

func (x *UserBoundaryValuePB) Reset()

func (*UserBoundaryValuePB) String

func (x *UserBoundaryValuePB) String() string

type ValidateReplicationInfoRequestPB added in v2.11.2

type ValidateReplicationInfoRequestPB struct {
	ReplicationInfo *ReplicationInfoPB `protobuf:"bytes,1,opt,name=replication_info,json=replicationInfo" json:"replication_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateReplicationInfoRequestPB) Descriptor deprecated added in v2.11.2

func (*ValidateReplicationInfoRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use ValidateReplicationInfoRequestPB.ProtoReflect.Descriptor instead.

func (*ValidateReplicationInfoRequestPB) GetReplicationInfo added in v2.11.2

func (x *ValidateReplicationInfoRequestPB) GetReplicationInfo() *ReplicationInfoPB

func (*ValidateReplicationInfoRequestPB) ProtoMessage added in v2.11.2

func (*ValidateReplicationInfoRequestPB) ProtoMessage()

func (*ValidateReplicationInfoRequestPB) ProtoReflect added in v2.11.2

func (*ValidateReplicationInfoRequestPB) Reset added in v2.11.2

func (*ValidateReplicationInfoRequestPB) String added in v2.11.2

type ValidateReplicationInfoResponsePB added in v2.11.2

type ValidateReplicationInfoResponsePB struct {
	Error *MasterErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateReplicationInfoResponsePB) Descriptor deprecated added in v2.11.2

func (*ValidateReplicationInfoResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use ValidateReplicationInfoResponsePB.ProtoReflect.Descriptor instead.

func (*ValidateReplicationInfoResponsePB) GetError added in v2.11.2

func (*ValidateReplicationInfoResponsePB) ProtoMessage added in v2.11.2

func (*ValidateReplicationInfoResponsePB) ProtoMessage()

func (*ValidateReplicationInfoResponsePB) ProtoReflect added in v2.11.2

func (*ValidateReplicationInfoResponsePB) Reset added in v2.11.2

func (*ValidateReplicationInfoResponsePB) String added in v2.11.2

type VerifyTableRowRangeRequestPB

type VerifyTableRowRangeRequestPB struct {
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// If indexes is empty, we will check all indexes
	// If it contains entries, then we will check only the ones provided.
	IndexIds [][]byte `protobuf:"bytes,2,rep,name=index_ids,json=indexIds" json:"index_ids,omitempty"`
	StartKey []byte   `protobuf:"bytes,3,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
	NumRows  *uint32  `protobuf:"varint,4,opt,name=num_rows,json=numRows" json:"num_rows,omitempty"`
	// Read time if left empty will be replaced by the earliest safe time to read
	ReadTime             *uint64 `protobuf:"fixed64,5,opt,name=read_time,json=readTime" json:"read_time,omitempty"`
	PropagatedHybridTime *uint64 `protobuf:"fixed64,6,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

A verification request to check if a range of rows in main table is consistent with index table content. We will verify index table rows using the primary table.

func (*VerifyTableRowRangeRequestPB) Descriptor deprecated

func (*VerifyTableRowRangeRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use VerifyTableRowRangeRequestPB.ProtoReflect.Descriptor instead.

func (*VerifyTableRowRangeRequestPB) GetIndexIds

func (x *VerifyTableRowRangeRequestPB) GetIndexIds() [][]byte

func (*VerifyTableRowRangeRequestPB) GetNumRows

func (x *VerifyTableRowRangeRequestPB) GetNumRows() uint32

func (*VerifyTableRowRangeRequestPB) GetPropagatedHybridTime

func (x *VerifyTableRowRangeRequestPB) GetPropagatedHybridTime() uint64

func (*VerifyTableRowRangeRequestPB) GetReadTime

func (x *VerifyTableRowRangeRequestPB) GetReadTime() uint64

func (*VerifyTableRowRangeRequestPB) GetStartKey

func (x *VerifyTableRowRangeRequestPB) GetStartKey() []byte

func (*VerifyTableRowRangeRequestPB) GetTabletId

func (x *VerifyTableRowRangeRequestPB) GetTabletId() []byte

func (*VerifyTableRowRangeRequestPB) ProtoMessage

func (*VerifyTableRowRangeRequestPB) ProtoMessage()

func (*VerifyTableRowRangeRequestPB) ProtoReflect

func (*VerifyTableRowRangeRequestPB) Reset

func (x *VerifyTableRowRangeRequestPB) Reset()

func (*VerifyTableRowRangeRequestPB) String

type VerifyTableRowRangeResponsePB

type VerifyTableRowRangeResponsePB struct {
	Error                *TabletServerErrorPB `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	ConsistencyStats     map[string]uint64    `` /* 177-byte string literal not displayed */
	VerifiedUntil        []byte               `protobuf:"bytes,3,opt,name=verified_until,json=verifiedUntil" json:"verified_until,omitempty"`
	PropagatedHybridTime *uint64              `protobuf:"fixed64,4,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTableRowRangeResponsePB) Descriptor deprecated

func (*VerifyTableRowRangeResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use VerifyTableRowRangeResponsePB.ProtoReflect.Descriptor instead.

func (*VerifyTableRowRangeResponsePB) GetConsistencyStats

func (x *VerifyTableRowRangeResponsePB) GetConsistencyStats() map[string]uint64

func (*VerifyTableRowRangeResponsePB) GetError

func (*VerifyTableRowRangeResponsePB) GetPropagatedHybridTime

func (x *VerifyTableRowRangeResponsePB) GetPropagatedHybridTime() uint64

func (*VerifyTableRowRangeResponsePB) GetVerifiedUntil

func (x *VerifyTableRowRangeResponsePB) GetVerifiedUntil() []byte

func (*VerifyTableRowRangeResponsePB) ProtoMessage

func (*VerifyTableRowRangeResponsePB) ProtoMessage()

func (*VerifyTableRowRangeResponsePB) ProtoReflect

func (*VerifyTableRowRangeResponsePB) Reset

func (x *VerifyTableRowRangeResponsePB) Reset()

func (*VerifyTableRowRangeResponsePB) String

type VersionEditPB

type VersionEditPB struct {
	Comparator      *string          `protobuf:"bytes,1,opt,name=comparator" json:"comparator,omitempty"`
	LogNumber       *uint64          `protobuf:"varint,2,opt,name=log_number,json=logNumber" json:"log_number,omitempty"`
	PrevLogNumber   *uint64          `protobuf:"varint,3,opt,name=prev_log_number,json=prevLogNumber" json:"prev_log_number,omitempty"`
	NextFileNumber  *uint64          `protobuf:"varint,4,opt,name=next_file_number,json=nextFileNumber" json:"next_file_number,omitempty"`
	MaxColumnFamily *uint32          `protobuf:"varint,5,opt,name=max_column_family,json=maxColumnFamily" json:"max_column_family,omitempty"`
	LastSequence    *uint64          `protobuf:"varint,6,opt,name=last_sequence,json=lastSequence" json:"last_sequence,omitempty"`
	DeletedFiles    []*DeletedFilePB `protobuf:"bytes,7,rep,name=deleted_files,json=deletedFiles" json:"deleted_files,omitempty"`
	NewFiles        []*NewFilePB     `protobuf:"bytes,8,rep,name=new_files,json=newFiles" json:"new_files,omitempty"`
	// Each version edit record should have column_family_id set
	// If it's not set, it is default (0)
	ColumnFamily *uint32 `protobuf:"varint,9,opt,name=column_family,json=columnFamily" json:"column_family,omitempty"`
	// a version edit can be either column_family add or
	// column_family drop. If it's column family add,
	// it includes column family name.
	ColumnFamilyName   *string    `protobuf:"bytes,10,opt,name=column_family_name,json=columnFamilyName" json:"column_family_name,omitempty"`
	IsColumnFamilyDrop *bool      `protobuf:"varint,11,opt,name=is_column_family_drop,json=isColumnFamilyDrop" json:"is_column_family_drop,omitempty"`
	ObsoleteLastOpId   *OpIdPB    `protobuf:"bytes,12,opt,name=obsolete_last_op_id,json=obsoleteLastOpId" json:"obsolete_last_op_id,omitempty"`
	FlushedFrontier    *anypb.Any `protobuf:"bytes,13,opt,name=flushed_frontier,json=flushedFrontier" json:"flushed_frontier,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionEditPB) Descriptor deprecated

func (*VersionEditPB) Descriptor() ([]byte, []int)

Deprecated: Use VersionEditPB.ProtoReflect.Descriptor instead.

func (*VersionEditPB) GetColumnFamily

func (x *VersionEditPB) GetColumnFamily() uint32

func (*VersionEditPB) GetColumnFamilyName

func (x *VersionEditPB) GetColumnFamilyName() string

func (*VersionEditPB) GetComparator

func (x *VersionEditPB) GetComparator() string

func (*VersionEditPB) GetDeletedFiles

func (x *VersionEditPB) GetDeletedFiles() []*DeletedFilePB

func (*VersionEditPB) GetFlushedFrontier

func (x *VersionEditPB) GetFlushedFrontier() *anypb.Any

func (*VersionEditPB) GetIsColumnFamilyDrop

func (x *VersionEditPB) GetIsColumnFamilyDrop() bool

func (*VersionEditPB) GetLastSequence

func (x *VersionEditPB) GetLastSequence() uint64

func (*VersionEditPB) GetLogNumber

func (x *VersionEditPB) GetLogNumber() uint64

func (*VersionEditPB) GetMaxColumnFamily

func (x *VersionEditPB) GetMaxColumnFamily() uint32

func (*VersionEditPB) GetNewFiles

func (x *VersionEditPB) GetNewFiles() []*NewFilePB

func (*VersionEditPB) GetNextFileNumber

func (x *VersionEditPB) GetNextFileNumber() uint64

func (*VersionEditPB) GetObsoleteLastOpId

func (x *VersionEditPB) GetObsoleteLastOpId() *OpIdPB

func (*VersionEditPB) GetPrevLogNumber

func (x *VersionEditPB) GetPrevLogNumber() uint64

func (*VersionEditPB) ProtoMessage

func (*VersionEditPB) ProtoMessage()

func (*VersionEditPB) ProtoReflect

func (x *VersionEditPB) ProtoReflect() protoreflect.Message

func (*VersionEditPB) Reset

func (x *VersionEditPB) Reset()

func (*VersionEditPB) String

func (x *VersionEditPB) String() string

type VersionInfoPB

type VersionInfoPB struct {
	GitHash        *string `protobuf:"bytes,1,opt,name=git_hash,json=gitHash" json:"git_hash,omitempty"`
	BuildHostname  *string `protobuf:"bytes,2,opt,name=build_hostname,json=buildHostname" json:"build_hostname,omitempty"`
	BuildTimestamp *string `protobuf:"bytes,3,opt,name=build_timestamp,json=buildTimestamp" json:"build_timestamp,omitempty"`
	BuildUsername  *string `protobuf:"bytes,4,opt,name=build_username,json=buildUsername" json:"build_username,omitempty"`
	BuildCleanRepo *bool   `protobuf:"varint,5,opt,name=build_clean_repo,json=buildCleanRepo" json:"build_clean_repo,omitempty"`
	BuildId        *string `protobuf:"bytes,6,opt,name=build_id,json=buildId" json:"build_id,omitempty"`
	BuildType      *string `protobuf:"bytes,7,opt,name=build_type,json=buildType" json:"build_type,omitempty"`
	VersionNumber  *string `protobuf:"bytes,9,opt,name=version_number,json=versionNumber" json:"version_number,omitempty"`
	BuildNumber    *string `protobuf:"bytes,10,opt,name=build_number,json=buildNumber" json:"build_number,omitempty"`
	// contains filtered or unexported fields
}

Information about the build environment, configuration, etc.

func (*VersionInfoPB) Descriptor deprecated

func (*VersionInfoPB) Descriptor() ([]byte, []int)

Deprecated: Use VersionInfoPB.ProtoReflect.Descriptor instead.

func (*VersionInfoPB) GetBuildCleanRepo

func (x *VersionInfoPB) GetBuildCleanRepo() bool

func (*VersionInfoPB) GetBuildHostname

func (x *VersionInfoPB) GetBuildHostname() string

func (*VersionInfoPB) GetBuildId

func (x *VersionInfoPB) GetBuildId() string

func (*VersionInfoPB) GetBuildNumber

func (x *VersionInfoPB) GetBuildNumber() string

func (*VersionInfoPB) GetBuildTimestamp

func (x *VersionInfoPB) GetBuildTimestamp() string

func (*VersionInfoPB) GetBuildType

func (x *VersionInfoPB) GetBuildType() string

func (*VersionInfoPB) GetBuildUsername

func (x *VersionInfoPB) GetBuildUsername() string

func (*VersionInfoPB) GetGitHash

func (x *VersionInfoPB) GetGitHash() string

func (*VersionInfoPB) GetVersionNumber

func (x *VersionInfoPB) GetVersionNumber() string

func (*VersionInfoPB) ProtoMessage

func (*VersionInfoPB) ProtoMessage()

func (*VersionInfoPB) ProtoReflect

func (x *VersionInfoPB) ProtoReflect() protoreflect.Message

func (*VersionInfoPB) Reset

func (x *VersionInfoPB) Reset()

func (*VersionInfoPB) String

func (x *VersionInfoPB) String() string

type VoteRequestPB

type VoteRequestPB struct {

	// UUID of server this request is addressed to.
	DestUuid []byte `protobuf:"bytes,6,opt,name=dest_uuid,json=destUuid" json:"dest_uuid,omitempty"`
	// Identifies the tablet configuration a the vote is being requested for.
	TabletId *string `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// The uuid of the sending peer.
	CandidateUuid []byte `protobuf:"bytes,2,req,name=candidate_uuid,json=candidateUuid" json:"candidate_uuid,omitempty"`
	// The term we are requesting a vote for.
	// If this term is higher than the callee's term, the callee will update its
	// own term to match, and if it is the current leader it will step down.
	CandidateTerm *int64 `protobuf:"varint,3,req,name=candidate_term,json=candidateTerm" json:"candidate_term,omitempty"`
	// The candidate node status so that the voter node can
	// decide whether to vote for it as LEADER.
	//
	// In particular, this includes the last OpId persisted in the candidate's
	// log, which corresponds to the lastLogIndex and lastLogTerm fields in Raft.
	// A replica must vote no for a candidate that has an OpId lower than them.
	CandidateStatus *ConsensusStatusPB `protobuf:"bytes,4,req,name=candidate_status,json=candidateStatus" json:"candidate_status,omitempty"`
	// Normally, replicas will deny a vote with a LEADER_IS_ALIVE error if
	// they are a leader or recently heard from a leader. This is to prevent
	// partitioned nodes from disturbing liveness. If this flag is true,
	// peers will vote even if they think a leader is alive. This can be used
	// for example to force a faster leader hand-off rather than waiting for
	// the election timer to expire.
	IgnoreLiveLeader *bool `protobuf:"varint,5,opt,name=ignore_live_leader,json=ignoreLiveLeader,def=0" json:"ignore_live_leader,omitempty"`
	// true if it is pre-election request and state of voter should not be changed.
	Preelection *bool `protobuf:"varint,7,opt,name=preelection" json:"preelection,omitempty"`
	// contains filtered or unexported fields
}

A request from a candidate peer that wishes to become leader of the configuration serving tablet with 'tablet_id'. See RAFT sec. 5.2.

func (*VoteRequestPB) Descriptor deprecated

func (*VoteRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use VoteRequestPB.ProtoReflect.Descriptor instead.

func (*VoteRequestPB) GetCandidateStatus

func (x *VoteRequestPB) GetCandidateStatus() *ConsensusStatusPB

func (*VoteRequestPB) GetCandidateTerm

func (x *VoteRequestPB) GetCandidateTerm() int64

func (*VoteRequestPB) GetCandidateUuid

func (x *VoteRequestPB) GetCandidateUuid() []byte

func (*VoteRequestPB) GetDestUuid

func (x *VoteRequestPB) GetDestUuid() []byte

func (*VoteRequestPB) GetIgnoreLiveLeader

func (x *VoteRequestPB) GetIgnoreLiveLeader() bool

func (*VoteRequestPB) GetPreelection

func (x *VoteRequestPB) GetPreelection() bool

func (*VoteRequestPB) GetTabletId

func (x *VoteRequestPB) GetTabletId() string

func (*VoteRequestPB) ProtoMessage

func (*VoteRequestPB) ProtoMessage()

func (*VoteRequestPB) ProtoReflect

func (x *VoteRequestPB) ProtoReflect() protoreflect.Message

func (*VoteRequestPB) Reset

func (x *VoteRequestPB) Reset()

func (*VoteRequestPB) String

func (x *VoteRequestPB) String() string

type VoteResponsePB

type VoteResponsePB struct {

	// The uuid of the node sending the reply.
	ResponderUuid []byte `protobuf:"bytes,1,opt,name=responder_uuid,json=responderUuid" json:"responder_uuid,omitempty"`
	// The term of the node sending the reply.
	// Allows the candidate to update itself if it is behind.
	ResponderTerm *int64 `protobuf:"varint,2,opt,name=responder_term,json=responderTerm" json:"responder_term,omitempty"`
	// True if this peer voted for the caller, false otherwise.
	VoteGranted *bool `protobuf:"varint,3,opt,name=vote_granted,json=voteGranted" json:"vote_granted,omitempty"`
	// An upper bound on the remainder of the old leader's lease that the new leader has to wait out
	// before it can start serving read and write requests.
	RemainingLeaderLeaseDurationMs *int32 `` /* 151-byte string literal not displayed */
	// UUID of node that has lease.
	LeaderLeaseUuid []byte `protobuf:"bytes,7,opt,name=leader_lease_uuid,json=leaderLeaseUuid" json:"leader_lease_uuid,omitempty"`
	// An upper bound on the deadline of the old hybrid time leader's lease that the new leader has
	// to wait out before it can start serving read and write requests.
	// Contains only physical part of hybrid time.
	LeaderHtLeaseExpiration *uint64 `` /* 129-byte string literal not displayed */
	// UUID of node that has ht lease.
	LeaderHtLeaseUuid []byte `protobuf:"bytes,8,opt,name=leader_ht_lease_uuid,json=leaderHtLeaseUuid" json:"leader_ht_lease_uuid,omitempty"`
	// true if it is response to pre-election request.
	Preelection *bool `protobuf:"varint,6,opt,name=preelection" json:"preelection,omitempty"`
	// TODO: Migrate ConsensusService to the AppStatusPB RPC style and merge these errors.
	// Error message from the consensus implementation.
	ConsensusError *ConsensusErrorPB `protobuf:"bytes,998,opt,name=consensus_error,json=consensusError" json:"consensus_error,omitempty"`
	// A generic error message (such as tablet not found).
	Error *TabletServerErrorPB `protobuf:"bytes,999,opt,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

A response from a replica to a leader election request.

func (*VoteResponsePB) Descriptor deprecated

func (*VoteResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use VoteResponsePB.ProtoReflect.Descriptor instead.

func (*VoteResponsePB) GetConsensusError

func (x *VoteResponsePB) GetConsensusError() *ConsensusErrorPB

func (*VoteResponsePB) GetError

func (x *VoteResponsePB) GetError() *TabletServerErrorPB

func (*VoteResponsePB) GetLeaderHtLeaseExpiration

func (x *VoteResponsePB) GetLeaderHtLeaseExpiration() uint64

func (*VoteResponsePB) GetLeaderHtLeaseUuid

func (x *VoteResponsePB) GetLeaderHtLeaseUuid() []byte

func (*VoteResponsePB) GetLeaderLeaseUuid

func (x *VoteResponsePB) GetLeaderLeaseUuid() []byte

func (*VoteResponsePB) GetPreelection

func (x *VoteResponsePB) GetPreelection() bool

func (*VoteResponsePB) GetRemainingLeaderLeaseDurationMs

func (x *VoteResponsePB) GetRemainingLeaderLeaseDurationMs() int32

func (*VoteResponsePB) GetResponderTerm

func (x *VoteResponsePB) GetResponderTerm() int64

func (*VoteResponsePB) GetResponderUuid

func (x *VoteResponsePB) GetResponderUuid() []byte

func (*VoteResponsePB) GetVoteGranted

func (x *VoteResponsePB) GetVoteGranted() bool

func (*VoteResponsePB) ProtoMessage

func (*VoteResponsePB) ProtoMessage()

func (*VoteResponsePB) ProtoReflect

func (x *VoteResponsePB) ProtoReflect() protoreflect.Message

func (*VoteResponsePB) Reset

func (x *VoteResponsePB) Reset()

func (*VoteResponsePB) String

func (x *VoteResponsePB) String() string

type WaitPolicy added in v2.11.2

type WaitPolicy int32

This enum matches enum LockWaitPolicy defined in src/include/nodes/lockoptions.h. The "Lock" prefix is removed to keep this generic for any intent in conflict_resolution.cc (not just those written for Pg's explicit row locks).

const (
	// Wait for the intent to become available (default behavior)
	WaitPolicy_WAIT_BLOCK WaitPolicy = 0
	// Skip operation if intents can't be locked (SKIP LOCKED)
	WaitPolicy_WAIT_SKIP WaitPolicy = 1
	// Raise an error if a intent cannot be locked (NOWAIT)
	// Abort self if conflicting with a higher priority txn. Else abort the other txn. This is
	// default behaviour as of date.
	WaitPolicy_WAIT_ERROR WaitPolicy = 2
)

func (WaitPolicy) Descriptor added in v2.11.2

func (WaitPolicy) Descriptor() protoreflect.EnumDescriptor

func (WaitPolicy) Enum added in v2.11.2

func (x WaitPolicy) Enum() *WaitPolicy

func (WaitPolicy) EnumDescriptor deprecated added in v2.11.2

func (WaitPolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use WaitPolicy.Descriptor instead.

func (WaitPolicy) Number added in v2.11.2

func (x WaitPolicy) Number() protoreflect.EnumNumber

func (WaitPolicy) String added in v2.11.2

func (x WaitPolicy) String() string

func (WaitPolicy) Type added in v2.11.2

func (*WaitPolicy) UnmarshalJSON deprecated added in v2.11.2

func (x *WaitPolicy) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type WhoAmIRequestPB

type WhoAmIRequestPB struct {
	// contains filtered or unexported fields
}

func (*WhoAmIRequestPB) Descriptor deprecated

func (*WhoAmIRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use WhoAmIRequestPB.ProtoReflect.Descriptor instead.

func (*WhoAmIRequestPB) ProtoMessage

func (*WhoAmIRequestPB) ProtoMessage()

func (*WhoAmIRequestPB) ProtoReflect

func (x *WhoAmIRequestPB) ProtoReflect() protoreflect.Message

func (*WhoAmIRequestPB) Reset

func (x *WhoAmIRequestPB) Reset()

func (*WhoAmIRequestPB) String

func (x *WhoAmIRequestPB) String() string

type WhoAmIResponsePB

type WhoAmIResponsePB struct {
	Address *string `protobuf:"bytes,2,req,name=address" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*WhoAmIResponsePB) Descriptor deprecated

func (*WhoAmIResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use WhoAmIResponsePB.ProtoReflect.Descriptor instead.

func (*WhoAmIResponsePB) GetAddress

func (x *WhoAmIResponsePB) GetAddress() string

func (*WhoAmIResponsePB) ProtoMessage

func (*WhoAmIResponsePB) ProtoMessage()

func (*WhoAmIResponsePB) ProtoReflect

func (x *WhoAmIResponsePB) ProtoReflect() protoreflect.Message

func (*WhoAmIResponsePB) Reset

func (x *WhoAmIResponsePB) Reset()

func (*WhoAmIResponsePB) String

func (x *WhoAmIResponsePB) String() string

type WritePB added in v2.11.2

type WritePB struct {
	UnusedTabletId []byte                `protobuf:"bytes,1,opt,name=unused_tablet_id,json=unusedTabletId" json:"unused_tablet_id,omitempty"`
	WriteBatch     *KeyValueWriteBatchPB `protobuf:"bytes,7,opt,name=write_batch,json=writeBatch" json:"write_batch,omitempty"`
	// Use 2 int64 to represent UUID.
	ClientId1           *uint64 `protobuf:"fixed64,14,opt,name=client_id1,json=clientId1" json:"client_id1,omitempty"`
	ClientId2           *uint64 `protobuf:"fixed64,15,opt,name=client_id2,json=clientId2" json:"client_id2,omitempty"`
	RequestId           *int64  `protobuf:"varint,16,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	MinRunningRequestId *int64  `protobuf:"varint,17,opt,name=min_running_request_id,json=minRunningRequestId" json:"min_running_request_id,omitempty"`
	ExternalHybridTime  *uint64 `protobuf:"fixed64,19,opt,name=external_hybrid_time,json=externalHybridTime" json:"external_hybrid_time,omitempty"`
	BatchIdx            *uint64 `protobuf:"varint,20,opt,name=batch_idx,json=batchIdx" json:"batch_idx,omitempty"`
	// contains filtered or unexported fields
}

func (*WritePB) Descriptor deprecated added in v2.11.2

func (*WritePB) Descriptor() ([]byte, []int)

Deprecated: Use WritePB.ProtoReflect.Descriptor instead.

func (*WritePB) GetBatchIdx added in v2.11.2

func (x *WritePB) GetBatchIdx() uint64

func (*WritePB) GetClientId1 added in v2.11.2

func (x *WritePB) GetClientId1() uint64

func (*WritePB) GetClientId2 added in v2.11.2

func (x *WritePB) GetClientId2() uint64

func (*WritePB) GetExternalHybridTime added in v2.11.2

func (x *WritePB) GetExternalHybridTime() uint64

func (*WritePB) GetMinRunningRequestId added in v2.11.2

func (x *WritePB) GetMinRunningRequestId() int64

func (*WritePB) GetRequestId added in v2.11.2

func (x *WritePB) GetRequestId() int64

func (*WritePB) GetUnusedTabletId added in v2.11.2

func (x *WritePB) GetUnusedTabletId() []byte

func (*WritePB) GetWriteBatch added in v2.11.2

func (x *WritePB) GetWriteBatch() *KeyValueWriteBatchPB

func (*WritePB) ProtoMessage added in v2.11.2

func (*WritePB) ProtoMessage()

func (*WritePB) ProtoReflect added in v2.11.2

func (x *WritePB) ProtoReflect() protoreflect.Message

func (*WritePB) Reset added in v2.11.2

func (x *WritePB) Reset()

func (*WritePB) String added in v2.11.2

func (x *WritePB) String() string

type WriteRequestPB

type WriteRequestPB struct {
	TabletId []byte `protobuf:"bytes,1,req,name=tablet_id,json=tabletId" json:"tablet_id,omitempty"`
	// When replicating RocksDB write operations through Raft for single-shard transactions,
	// we put a write batch here.
	WriteBatch *KeyValueWriteBatchPB `protobuf:"bytes,7,opt,name=write_batch,json=writeBatch" json:"write_batch,omitempty"`
	// A batch of redis operations.
	RedisWriteBatch []*RedisWriteRequestPB `protobuf:"bytes,8,rep,name=redis_write_batch,json=redisWriteBatch" json:"redis_write_batch,omitempty"`
	// A batch of QL operations.
	QlWriteBatch []*QLWriteRequestPB `protobuf:"bytes,10,rep,name=ql_write_batch,json=qlWriteBatch" json:"ql_write_batch,omitempty"`
	// A batch of Pgsql operations.
	PgsqlWriteBatch []*PgsqlWriteRequestPB `protobuf:"bytes,13,rep,name=pgsql_write_batch,json=pgsqlWriteBatch" json:"pgsql_write_batch,omitempty"`
	// A hybrid_time obtained by the client from a previous request.
	// TODO crypto sign this and propagate the signature along with
	// the hybrid_time.
	PropagatedHybridTime *uint64           `protobuf:"fixed64,5,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	IncludeTrace         *bool             `protobuf:"varint,6,opt,name=include_trace,json=includeTrace,def=0" json:"include_trace,omitempty"`
	ReadTime             *ReadHybridTimePB `protobuf:"bytes,12,opt,name=read_time,json=readTime" json:"read_time,omitempty"`
	// Use 2 int64 to represent UUID.
	ClientId1           *uint64  `protobuf:"fixed64,14,opt,name=client_id1,json=clientId1" json:"client_id1,omitempty"`
	ClientId2           *uint64  `protobuf:"fixed64,15,opt,name=client_id2,json=clientId2" json:"client_id2,omitempty"`
	RequestId           *int64   `protobuf:"varint,16,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
	MinRunningRequestId *int64   `protobuf:"varint,17,opt,name=min_running_request_id,json=minRunningRequestId" json:"min_running_request_id,omitempty"`
	RejectionScore      *float64 `protobuf:"fixed64,18,opt,name=rejection_score,json=rejectionScore" json:"rejection_score,omitempty"`
	ExternalHybridTime  *uint64  `protobuf:"fixed64,19,opt,name=external_hybrid_time,json=externalHybridTime" json:"external_hybrid_time,omitempty"`
	BatchIdx            *uint64  `protobuf:"varint,20,opt,name=batch_idx,json=batchIdx" json:"batch_idx,omitempty"`
	// contains filtered or unexported fields
}

A batched set of insert/mutate requests.

func (*WriteRequestPB) Descriptor deprecated

func (*WriteRequestPB) Descriptor() ([]byte, []int)

Deprecated: Use WriteRequestPB.ProtoReflect.Descriptor instead.

func (*WriteRequestPB) GetBatchIdx

func (x *WriteRequestPB) GetBatchIdx() uint64

func (*WriteRequestPB) GetClientId1

func (x *WriteRequestPB) GetClientId1() uint64

func (*WriteRequestPB) GetClientId2

func (x *WriteRequestPB) GetClientId2() uint64

func (*WriteRequestPB) GetExternalHybridTime

func (x *WriteRequestPB) GetExternalHybridTime() uint64

func (*WriteRequestPB) GetIncludeTrace

func (x *WriteRequestPB) GetIncludeTrace() bool

func (*WriteRequestPB) GetMinRunningRequestId

func (x *WriteRequestPB) GetMinRunningRequestId() int64

func (*WriteRequestPB) GetPgsqlWriteBatch

func (x *WriteRequestPB) GetPgsqlWriteBatch() []*PgsqlWriteRequestPB

func (*WriteRequestPB) GetPropagatedHybridTime

func (x *WriteRequestPB) GetPropagatedHybridTime() uint64

func (*WriteRequestPB) GetQlWriteBatch

func (x *WriteRequestPB) GetQlWriteBatch() []*QLWriteRequestPB

func (*WriteRequestPB) GetReadTime

func (x *WriteRequestPB) GetReadTime() *ReadHybridTimePB

func (*WriteRequestPB) GetRedisWriteBatch

func (x *WriteRequestPB) GetRedisWriteBatch() []*RedisWriteRequestPB

func (*WriteRequestPB) GetRejectionScore

func (x *WriteRequestPB) GetRejectionScore() float64

func (*WriteRequestPB) GetRequestId

func (x *WriteRequestPB) GetRequestId() int64

func (*WriteRequestPB) GetTabletId

func (x *WriteRequestPB) GetTabletId() []byte

func (*WriteRequestPB) GetWriteBatch

func (x *WriteRequestPB) GetWriteBatch() *KeyValueWriteBatchPB

func (*WriteRequestPB) ProtoMessage

func (*WriteRequestPB) ProtoMessage()

func (*WriteRequestPB) ProtoReflect

func (x *WriteRequestPB) ProtoReflect() protoreflect.Message

func (*WriteRequestPB) Reset

func (x *WriteRequestPB) Reset()

func (*WriteRequestPB) String

func (x *WriteRequestPB) String() string

type WriteResponsePB

type WriteResponsePB struct {

	// If the entire WriteResponsePB request failed, the error status that
	// caused the failure. This type of error is triggered for
	// cases such as the tablet not being on this server, or the
	// schema not matching. If any error specific to a given row
	// occurs, this error will be recorded in per_row_errors below,
	// even if all rows failed.
	Error        *TabletServerErrorPB             `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
	PerRowErrors []*WriteResponsePB_PerRowErrorPB `protobuf:"bytes,2,rep,name=per_row_errors,json=perRowErrors" json:"per_row_errors,omitempty"`
	// A batch of redis responses.
	RedisResponseBatch []*RedisResponsePB `protobuf:"bytes,8,rep,name=redis_response_batch,json=redisResponseBatch" json:"redis_response_batch,omitempty"`
	// A batch of QL responses.
	QlResponseBatch []*QLResponsePB `protobuf:"bytes,9,rep,name=ql_response_batch,json=qlResponseBatch" json:"ql_response_batch,omitempty"`
	// A batch of QL responses.
	PgsqlResponseBatch []*PgsqlResponsePB `protobuf:"bytes,12,rep,name=pgsql_response_batch,json=pgsqlResponseBatch" json:"pgsql_response_batch,omitempty"`
	// The hybrid_time chosen by the server for this write.
	// TODO KUDU-611 propagate hybrid_times with server signature.
	PropagatedHybridTime *uint64 `protobuf:"fixed64,3,opt,name=propagated_hybrid_time,json=propagatedHybridTime" json:"propagated_hybrid_time,omitempty"`
	TraceBuffer          *string `protobuf:"bytes,10,opt,name=trace_buffer,json=traceBuffer" json:"trace_buffer,omitempty"`
	// Used to report restart whether this operation requires read restart.
	RestartReadTime *ReadHybridTimePB `protobuf:"bytes,11,opt,name=restart_read_time,json=restartReadTime" json:"restart_read_time,omitempty"`
	// Used to report used read time when transaction asked for it.
	UsedReadTime *ReadHybridTimePB `protobuf:"bytes,13,opt,name=used_read_time,json=usedReadTime" json:"used_read_time,omitempty"`
	LocalLimitHt *uint64           `protobuf:"fixed64,14,opt,name=local_limit_ht,json=localLimitHt" json:"local_limit_ht,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteResponsePB) Descriptor deprecated

func (*WriteResponsePB) Descriptor() ([]byte, []int)

Deprecated: Use WriteResponsePB.ProtoReflect.Descriptor instead.

func (*WriteResponsePB) GetError

func (x *WriteResponsePB) GetError() *TabletServerErrorPB

func (*WriteResponsePB) GetLocalLimitHt

func (x *WriteResponsePB) GetLocalLimitHt() uint64

func (*WriteResponsePB) GetPerRowErrors

func (x *WriteResponsePB) GetPerRowErrors() []*WriteResponsePB_PerRowErrorPB

func (*WriteResponsePB) GetPgsqlResponseBatch

func (x *WriteResponsePB) GetPgsqlResponseBatch() []*PgsqlResponsePB

func (*WriteResponsePB) GetPropagatedHybridTime

func (x *WriteResponsePB) GetPropagatedHybridTime() uint64

func (*WriteResponsePB) GetQlResponseBatch

func (x *WriteResponsePB) GetQlResponseBatch() []*QLResponsePB

func (*WriteResponsePB) GetRedisResponseBatch

func (x *WriteResponsePB) GetRedisResponseBatch() []*RedisResponsePB

func (*WriteResponsePB) GetRestartReadTime

func (x *WriteResponsePB) GetRestartReadTime() *ReadHybridTimePB

func (*WriteResponsePB) GetTraceBuffer

func (x *WriteResponsePB) GetTraceBuffer() string

func (*WriteResponsePB) GetUsedReadTime

func (x *WriteResponsePB) GetUsedReadTime() *ReadHybridTimePB

func (*WriteResponsePB) ProtoMessage

func (*WriteResponsePB) ProtoMessage()

func (*WriteResponsePB) ProtoReflect

func (x *WriteResponsePB) ProtoReflect() protoreflect.Message

func (*WriteResponsePB) Reset

func (x *WriteResponsePB) Reset()

func (*WriteResponsePB) String

func (x *WriteResponsePB) String() string

type WriteResponsePB_PerRowErrorPB

type WriteResponsePB_PerRowErrorPB struct {

	// The index of the row in the incoming batch.
	RowIndex *int32 `protobuf:"varint,1,req,name=row_index,json=rowIndex" json:"row_index,omitempty"`
	// The error that occurred.
	Error *AppStatusPB `protobuf:"bytes,2,req,name=error" json:"error,omitempty"`
	// contains filtered or unexported fields
}

If errors occurred with particular row operations, then the errors for those operations will be passed back in 'per_row_errors'.

func (*WriteResponsePB_PerRowErrorPB) Descriptor deprecated

func (*WriteResponsePB_PerRowErrorPB) Descriptor() ([]byte, []int)

Deprecated: Use WriteResponsePB_PerRowErrorPB.ProtoReflect.Descriptor instead.

func (*WriteResponsePB_PerRowErrorPB) GetError

func (*WriteResponsePB_PerRowErrorPB) GetRowIndex

func (x *WriteResponsePB_PerRowErrorPB) GetRowIndex() int32

func (*WriteResponsePB_PerRowErrorPB) ProtoMessage

func (*WriteResponsePB_PerRowErrorPB) ProtoMessage()

func (*WriteResponsePB_PerRowErrorPB) ProtoReflect

func (*WriteResponsePB_PerRowErrorPB) Reset

func (x *WriteResponsePB_PerRowErrorPB) Reset()

func (*WriteResponsePB_PerRowErrorPB) String

type YBConsistencyLevel

type YBConsistencyLevel int32
const (
	// This consistency level provides Linearizability guarantees and is the default for our system.
	YBConsistencyLevel_STRONG YBConsistencyLevel = 1
	// Consistent-prefix consistency means that we always see consistent snapshot of the database in
	// a well-defined order. If operations A, B and C take place, we will either see A, AB, or ABC.
	// Note that reads might still go back in time since we might see ABC on one replica and AB on
	// another.
	YBConsistencyLevel_CONSISTENT_PREFIX YBConsistencyLevel = 2
	// For cross-shard transactions only: user-enforced consistency level means it is the user's
	// responsibility to enforce consistency across shards or tables/indexes.
	YBConsistencyLevel_USER_ENFORCED YBConsistencyLevel = 3
)

func (YBConsistencyLevel) Descriptor

func (YBConsistencyLevel) Enum

func (YBConsistencyLevel) EnumDescriptor deprecated

func (YBConsistencyLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use YBConsistencyLevel.Descriptor instead.

func (YBConsistencyLevel) Number

func (YBConsistencyLevel) String

func (x YBConsistencyLevel) String() string

func (YBConsistencyLevel) Type

func (*YBConsistencyLevel) UnmarshalJSON deprecated

func (x *YBConsistencyLevel) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type YQLDatabase

type YQLDatabase int32

Client type.

const (
	YQLDatabase_YQL_DATABASE_UNKNOWN YQLDatabase = 1
	YQLDatabase_YQL_DATABASE_CQL     YQLDatabase = 2
	YQLDatabase_YQL_DATABASE_PGSQL   YQLDatabase = 3 // Pgsql database
	YQLDatabase_YQL_DATABASE_REDIS   YQLDatabase = 4
)

func (YQLDatabase) Descriptor

func (YQLDatabase) Enum

func (x YQLDatabase) Enum() *YQLDatabase

func (YQLDatabase) EnumDescriptor deprecated

func (YQLDatabase) EnumDescriptor() ([]byte, []int)

Deprecated: Use YQLDatabase.Descriptor instead.

func (YQLDatabase) Number

func (x YQLDatabase) Number() protoreflect.EnumNumber

func (YQLDatabase) String

func (x YQLDatabase) String() string

func (YQLDatabase) Type

func (*YQLDatabase) UnmarshalJSON deprecated

func (x *YQLDatabase) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Source Files

Directories

Path Synopsis
yql

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL