public final class FeatureUsage extends GeneratedMessageV3 implements FeatureUsageOrBuilderUsage metrics for specific features.
Protobuf type google.cloud.bigquery.jdbc.telemetry.v1.FeatureUsage
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GeneratedMessage.ExtendableMessage<MessageType> > GeneratedMessageV3 > FeatureUsageImplements
FeatureUsageOrBuilderStatic Fields
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CUSTOM_FEATURE_NAME_FIELD_NUMBER
public static final int CUSTOM_FEATURE_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DRIVER_FEATURE_FIELD_NUMBER
public static final int DRIVER_FEATURE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static FeatureUsage getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static FeatureUsage.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
FeatureUsage.Builder |
|
newBuilder(FeatureUsage prototype)
public static FeatureUsage.Builder newBuilder(FeatureUsage prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
FeatureUsage |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage.Builder |
|
parseDelimitedFrom(InputStream input)
public static FeatureUsage parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureUsage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static FeatureUsage parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FeatureUsage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static FeatureUsage parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FeatureUsage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static FeatureUsage parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureUsage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static FeatureUsage parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static FeatureUsage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static FeatureUsage parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FeatureUsage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<FeatureUsage> parser()| Returns | |
|---|---|
| Type | Description |
Parser<FeatureUsage> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCount()
public long getCount()int64 count = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getCustomFeatureName()
public String getCustomFeatureName()string custom_feature_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The customFeatureName. |
getCustomFeatureNameBytes()
public ByteString getCustomFeatureNameBytes()string custom_feature_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customFeatureName. |
getDefaultInstanceForType()
public FeatureUsage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FeatureUsage |
|
getDriverFeature()
public DriverFeature getDriverFeature().google.cloud.bigquery.jdbc.telemetry.v1.DriverFeature driver_feature = 1;
| Returns | |
|---|---|
| Type | Description |
DriverFeature |
The driverFeature. |
getDriverFeatureValue()
public int getDriverFeatureValue().google.cloud.bigquery.jdbc.telemetry.v1.DriverFeature driver_feature = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for driverFeature. |
getParserForType()
public Parser<FeatureUsage> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<FeatureUsage> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public FeatureUsage.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
FeatureUsage.Builder |
|
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FeatureUsage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
FeatureUsage.Builder |
|
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)| Parameter | |
|---|---|
| Name | Description |
unused |
UnusedPrivateParameter |
| Returns | |
|---|---|
| Type | Description |
Object |
|
toBuilder()
public FeatureUsage.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
FeatureUsage.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|