Class LogConfigCounterOptions (1.53.0)

public final class LogConfigCounterOptions extends GeneratedMessageV3 implements LogConfigCounterOptionsOrBuilder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigCounterOptions

Static Fields

CUSTOM_FIELDS_FIELD_NUMBER

public static final int CUSTOM_FIELDS_FIELD_NUMBER
Field Value
Type Description
int

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

METRIC_FIELD_NUMBER

public static final int METRIC_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LogConfigCounterOptions getDefaultInstance()
Returns
Type Description
LogConfigCounterOptions

getDescriptor()

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

newBuilder()

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

newBuilder(LogConfigCounterOptions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomFields(int index)

public LogConfigCounterOptionsCustomField getCustomFields(int index)

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;

Parameter
Name Description
index int
Returns
Type Description
LogConfigCounterOptionsCustomField

getCustomFieldsCount()

public int getCustomFieldsCount()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;

Returns
Type Description
int

getCustomFieldsList()

public List<LogConfigCounterOptionsCustomField> getCustomFieldsList()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;

Returns
Type Description
List<LogConfigCounterOptionsCustomField>

getCustomFieldsOrBuilder(int index)

public LogConfigCounterOptionsCustomFieldOrBuilder getCustomFieldsOrBuilder(int index)

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;

Parameter
Name Description
index int
Returns
Type Description
LogConfigCounterOptionsCustomFieldOrBuilder

getCustomFieldsOrBuilderList()

public List<? extends LogConfigCounterOptionsCustomFieldOrBuilder> getCustomFieldsOrBuilderList()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfigCounterOptionsCustomField custom_fields = 249651015;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.LogConfigCounterOptionsCustomFieldOrBuilder>

getDefaultInstanceForType()

public LogConfigCounterOptions getDefaultInstanceForType()
Returns
Type Description
LogConfigCounterOptions

getField()

public String getField()

This is deprecated and has no effect. Do not use.

optional string field = 97427706;

Returns
Type Description
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

This is deprecated and has no effect. Do not use.

optional string field = 97427706;

Returns
Type Description
ByteString

The bytes for field.

getMetric()

public String getMetric()

This is deprecated and has no effect. Do not use.

optional string metric = 533067184;

Returns
Type Description
String

The metric.

getMetricBytes()

public ByteString getMetricBytes()

This is deprecated and has no effect. Do not use.

optional string metric = 533067184;

Returns
Type Description
ByteString

The bytes for metric.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasField()

public boolean hasField()

This is deprecated and has no effect. Do not use.

optional string field = 97427706;

Returns
Type Description
boolean

Whether the field field is set.

hasMetric()

public boolean hasMetric()

This is deprecated and has no effect. Do not use.

optional string metric = 533067184;

Returns
Type Description
boolean

Whether the metric 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 LogConfigCounterOptions.Builder newBuilderForType()
Returns
Type Description
LogConfigCounterOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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