Class LogConfigCounterOptions (1.14.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
TypeDescription
int

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
TypeDescription
int

METRIC_FIELD_NUMBER

public static final int METRIC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LogConfigCounterOptions getDefaultInstance()
Returns
TypeDescription
LogConfigCounterOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LogConfigCounterOptions.Builder newBuilder()
Returns
TypeDescription
LogConfigCounterOptions.Builder

newBuilder(LogConfigCounterOptions prototype)

public static LogConfigCounterOptions.Builder newBuilder(LogConfigCounterOptions prototype)
Parameter
NameDescription
prototypeLogConfigCounterOptions
Returns
TypeDescription
LogConfigCounterOptions.Builder

parseDelimitedFrom(InputStream input)

public static LogConfigCounterOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfigCounterOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LogConfigCounterOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LogConfigCounterOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LogConfigCounterOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LogConfigCounterOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LogConfigCounterOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfigCounterOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LogConfigCounterOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogConfigCounterOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LogConfigCounterOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LogConfigCounterOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfigCounterOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LogConfigCounterOptions> parser()
Returns
TypeDescription
Parser<LogConfigCounterOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.LogConfigCounterOptionsCustomFieldOrBuilder>

getDefaultInstanceForType()

public LogConfigCounterOptions getDefaultInstanceForType()
Returns
TypeDescription
LogConfigCounterOptions

getField()

public String getField()

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

optional string field = 97427706;

Returns
TypeDescription
String

The field.

getFieldBytes()

public ByteString getFieldBytes()

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

optional string field = 97427706;

Returns
TypeDescription
ByteString

The bytes for field.

getMetric()

public String getMetric()

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

optional string metric = 533067184;

Returns
TypeDescription
String

The metric.

getMetricBytes()

public ByteString getMetricBytes()

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

optional string metric = 533067184;

Returns
TypeDescription
ByteString

The bytes for metric.

getParserForType()

public Parser<LogConfigCounterOptions> getParserForType()
Returns
TypeDescription
Parser<LogConfigCounterOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasField()

public boolean hasField()

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

optional string field = 97427706;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the metric field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LogConfigCounterOptions.Builder newBuilderForType()
Returns
TypeDescription
LogConfigCounterOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LogConfigCounterOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LogConfigCounterOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LogConfigCounterOptions.Builder toBuilder()
Returns
TypeDescription
LogConfigCounterOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException