Class LogConfig (1.45.0)

public final class LogConfig extends GeneratedMessageV3 implements LogConfigOrBuilder

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

Protobuf type google.cloud.compute.v1.LogConfig

Implements

LogConfigOrBuilder

Static Fields

CLOUD_AUDIT_FIELD_NUMBER

public static final int CLOUD_AUDIT_FIELD_NUMBER
Field Value
TypeDescription
int

COUNTER_FIELD_NUMBER

public static final int COUNTER_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_ACCESS_FIELD_NUMBER

public static final int DATA_ACCESS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LogConfig getDefaultInstance()
Returns
TypeDescription
LogConfig

getDescriptor()

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

newBuilder()

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

newBuilder(LogConfig prototype)

public static LogConfig.Builder newBuilder(LogConfig prototype)
Parameter
NameDescription
prototypeLogConfig
Returns
TypeDescription
LogConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCloudAudit()

public LogConfigCloudAuditOptions getCloudAudit()

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

optional .google.cloud.compute.v1.LogConfigCloudAuditOptions cloud_audit = 412852561;

Returns
TypeDescription
LogConfigCloudAuditOptions

The cloudAudit.

getCloudAuditOrBuilder()

public LogConfigCloudAuditOptionsOrBuilder getCloudAuditOrBuilder()

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

optional .google.cloud.compute.v1.LogConfigCloudAuditOptions cloud_audit = 412852561;

Returns
TypeDescription
LogConfigCloudAuditOptionsOrBuilder

getCounter()

public LogConfigCounterOptions getCounter()

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

optional .google.cloud.compute.v1.LogConfigCounterOptions counter = 420959740;

Returns
TypeDescription
LogConfigCounterOptions

The counter.

getCounterOrBuilder()

public LogConfigCounterOptionsOrBuilder getCounterOrBuilder()

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

optional .google.cloud.compute.v1.LogConfigCounterOptions counter = 420959740;

Returns
TypeDescription
LogConfigCounterOptionsOrBuilder

getDataAccess()

public LogConfigDataAccessOptions getDataAccess()

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

optional .google.cloud.compute.v1.LogConfigDataAccessOptions data_access = 286633881;

Returns
TypeDescription
LogConfigDataAccessOptions

The dataAccess.

getDataAccessOrBuilder()

public LogConfigDataAccessOptionsOrBuilder getDataAccessOrBuilder()

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

optional .google.cloud.compute.v1.LogConfigDataAccessOptions data_access = 286633881;

Returns
TypeDescription
LogConfigDataAccessOptionsOrBuilder

getDefaultInstanceForType()

public LogConfig getDefaultInstanceForType()
Returns
TypeDescription
LogConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCloudAudit()

public boolean hasCloudAudit()

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

optional .google.cloud.compute.v1.LogConfigCloudAuditOptions cloud_audit = 412852561;

Returns
TypeDescription
boolean

Whether the cloudAudit field is set.

hasCounter()

public boolean hasCounter()

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

optional .google.cloud.compute.v1.LogConfigCounterOptions counter = 420959740;

Returns
TypeDescription
boolean

Whether the counter field is set.

hasDataAccess()

public boolean hasDataAccess()

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

optional .google.cloud.compute.v1.LogConfigDataAccessOptions data_access = 286633881;

Returns
TypeDescription
boolean

Whether the dataAccess 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 LogConfig.Builder newBuilderForType()
Returns
TypeDescription
LogConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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