Class TelemetryPayload (1.10.0)

public final class TelemetryPayload extends GeneratedMessageV3 implements TelemetryPayloadOrBuilder

Aggregated client-side telemetry payload sent to Clearcut analytics backend.

Protobuf type google.cloud.bigquery.jdbc.telemetry.v1.TelemetryPayload

Static Fields

CONNECTION_ATTEMPTS_FIELD_NUMBER

public static final int CONNECTION_ATTEMPTS_FIELD_NUMBER
Field Value
Type Description
int

DRIVER_ENVIRONMENT_FIELD_NUMBER

public static final int DRIVER_ENVIRONMENT_FIELD_NUMBER
Field Value
Type Description
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

EVENT_TIME_FIELD_NUMBER

public static final int EVENT_TIME_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_USAGES_FIELD_NUMBER

public static final int FEATURE_USAGES_FIELD_NUMBER
Field Value
Type Description
int

STATEMENT_EXECUTIONS_FIELD_NUMBER

public static final int STATEMENT_EXECUTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TelemetryPayload getDefaultInstance()
Returns
Type Description
TelemetryPayload

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TelemetryPayload.Builder newBuilder()
Returns
Type Description
TelemetryPayload.Builder

newBuilder(TelemetryPayload prototype)

public static TelemetryPayload.Builder newBuilder(TelemetryPayload prototype)
Parameter
Name Description
prototype TelemetryPayload
Returns
Type Description
TelemetryPayload.Builder

parseDelimitedFrom(InputStream input)

public static TelemetryPayload parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TelemetryPayload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TelemetryPayload parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TelemetryPayload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TelemetryPayload parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TelemetryPayload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TelemetryPayload parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TelemetryPayload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TelemetryPayload parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TelemetryPayload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TelemetryPayload parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TelemetryPayload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TelemetryPayload
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TelemetryPayload> parser()
Returns
Type Description
Parser<TelemetryPayload>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConnectionAttempts(int index)

public ConnectionAttempt getConnectionAttempts(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttempt connection_attempts = 3;

Parameter
Name Description
index int
Returns
Type Description
ConnectionAttempt

getConnectionAttemptsCount()

public int getConnectionAttemptsCount()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttempt connection_attempts = 3;

Returns
Type Description
int

getConnectionAttemptsList()

public List<ConnectionAttempt> getConnectionAttemptsList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttempt connection_attempts = 3;

Returns
Type Description
List<ConnectionAttempt>

getConnectionAttemptsOrBuilder(int index)

public ConnectionAttemptOrBuilder getConnectionAttemptsOrBuilder(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttempt connection_attempts = 3;

Parameter
Name Description
index int
Returns
Type Description
ConnectionAttemptOrBuilder

getConnectionAttemptsOrBuilderList()

public List<? extends ConnectionAttemptOrBuilder> getConnectionAttemptsOrBuilderList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttempt connection_attempts = 3;

Returns
Type Description
List<? extends com.google.cloud.bigquery.jdbc.telemetry.v1.ConnectionAttemptOrBuilder>

getDefaultInstanceForType()

public TelemetryPayload getDefaultInstanceForType()
Returns
Type Description
TelemetryPayload

getDriverEnvironment()

public DriverEnvironment getDriverEnvironment()

.google.cloud.bigquery.jdbc.telemetry.v1.DriverEnvironment driver_environment = 1;

Returns
Type Description
DriverEnvironment

The driverEnvironment.

getDriverEnvironmentOrBuilder()

public DriverEnvironmentOrBuilder getDriverEnvironmentOrBuilder()

.google.cloud.bigquery.jdbc.telemetry.v1.DriverEnvironment driver_environment = 1;

Returns
Type Description
DriverEnvironmentOrBuilder

getErrors(int index)

public ErrorMetric getErrors(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ErrorMetric errors = 5;

Parameter
Name Description
index int
Returns
Type Description
ErrorMetric

getErrorsCount()

public int getErrorsCount()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ErrorMetric errors = 5;

Returns
Type Description
int

getErrorsList()

public List<ErrorMetric> getErrorsList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ErrorMetric errors = 5;

Returns
Type Description
List<ErrorMetric>

getErrorsOrBuilder(int index)

public ErrorMetricOrBuilder getErrorsOrBuilder(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ErrorMetric errors = 5;

Parameter
Name Description
index int
Returns
Type Description
ErrorMetricOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorMetricOrBuilder> getErrorsOrBuilderList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.ErrorMetric errors = 5;

Returns
Type Description
List<? extends com.google.cloud.bigquery.jdbc.telemetry.v1.ErrorMetricOrBuilder>

getEventTime()

public Timestamp getEventTime()

.google.protobuf.Timestamp event_time = 2;

Returns
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public TimestampOrBuilder getEventTimeOrBuilder()

.google.protobuf.Timestamp event_time = 2;

Returns
Type Description
TimestampOrBuilder

getFeatureUsages(int index)

public FeatureUsage getFeatureUsages(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.FeatureUsage feature_usages = 6;

Parameter
Name Description
index int
Returns
Type Description
FeatureUsage

getFeatureUsagesCount()

public int getFeatureUsagesCount()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.FeatureUsage feature_usages = 6;

Returns
Type Description
int

getFeatureUsagesList()

public List<FeatureUsage> getFeatureUsagesList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.FeatureUsage feature_usages = 6;

Returns
Type Description
List<FeatureUsage>

getFeatureUsagesOrBuilder(int index)

public FeatureUsageOrBuilder getFeatureUsagesOrBuilder(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.FeatureUsage feature_usages = 6;

Parameter
Name Description
index int
Returns
Type Description
FeatureUsageOrBuilder

getFeatureUsagesOrBuilderList()

public List<? extends FeatureUsageOrBuilder> getFeatureUsagesOrBuilderList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.FeatureUsage feature_usages = 6;

Returns
Type Description
List<? extends com.google.cloud.bigquery.jdbc.telemetry.v1.FeatureUsageOrBuilder>

getParserForType()

public Parser<TelemetryPayload> getParserForType()
Returns
Type Description
Parser<TelemetryPayload>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatementExecutions(int index)

public StatementExecution getStatementExecutions(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.StatementExecution statement_executions = 4;

Parameter
Name Description
index int
Returns
Type Description
StatementExecution

getStatementExecutionsCount()

public int getStatementExecutionsCount()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.StatementExecution statement_executions = 4;

Returns
Type Description
int

getStatementExecutionsList()

public List<StatementExecution> getStatementExecutionsList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.StatementExecution statement_executions = 4;

Returns
Type Description
List<StatementExecution>

getStatementExecutionsOrBuilder(int index)

public StatementExecutionOrBuilder getStatementExecutionsOrBuilder(int index)

repeated .google.cloud.bigquery.jdbc.telemetry.v1.StatementExecution statement_executions = 4;

Parameter
Name Description
index int
Returns
Type Description
StatementExecutionOrBuilder

getStatementExecutionsOrBuilderList()

public List<? extends StatementExecutionOrBuilder> getStatementExecutionsOrBuilderList()

repeated .google.cloud.bigquery.jdbc.telemetry.v1.StatementExecution statement_executions = 4;

Returns
Type Description
List<? extends com.google.cloud.bigquery.jdbc.telemetry.v1.StatementExecutionOrBuilder>

hasDriverEnvironment()

public boolean hasDriverEnvironment()

.google.cloud.bigquery.jdbc.telemetry.v1.DriverEnvironment driver_environment = 1;

Returns
Type Description
boolean

Whether the driverEnvironment field is set.

hasEventTime()

public boolean hasEventTime()

.google.protobuf.Timestamp event_time = 2;

Returns
Type Description
boolean

Whether the eventTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TelemetryPayload.Builder newBuilderForType()
Returns
Type Description
TelemetryPayload.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TelemetryPayload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TelemetryPayload.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TelemetryPayload.Builder toBuilder()
Returns
Type Description
TelemetryPayload.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException