Class LogConfig.Builder (1.21.0)

public static final class LogConfig.Builder extends GeneratedMessageV3.Builder<LogConfig.Builder> implements LogConfigOrBuilder

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

Protobuf type google.cloud.compute.v1.LogConfig

Implements

LogConfigOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LogConfig.Builder
Overrides

build()

public LogConfig build()
Returns
TypeDescription
LogConfig

buildPartial()

public LogConfig buildPartial()
Returns
TypeDescription
LogConfig

clear()

public LogConfig.Builder clear()
Returns
TypeDescription
LogConfig.Builder
Overrides

clearCloudAudit()

public LogConfig.Builder clearCloudAudit()

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

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

Returns
TypeDescription
LogConfig.Builder

clearCounter()

public LogConfig.Builder clearCounter()

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

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

Returns
TypeDescription
LogConfig.Builder

clearDataAccess()

public LogConfig.Builder clearDataAccess()

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

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

Returns
TypeDescription
LogConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public LogConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LogConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LogConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LogConfig.Builder
Overrides

clone()

public LogConfig.Builder clone()
Returns
TypeDescription
LogConfig.Builder
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.

getCloudAuditBuilder()

public LogConfigCloudAuditOptions.Builder getCloudAuditBuilder()

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

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

Returns
TypeDescription
LogConfigCloudAuditOptions.Builder

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.

getCounterBuilder()

public LogConfigCounterOptions.Builder getCounterBuilder()

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

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

Returns
TypeDescription
LogConfigCounterOptions.Builder

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.

getDataAccessBuilder()

public LogConfigDataAccessOptions.Builder getDataAccessBuilder()

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

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

Returns
TypeDescription
LogConfigDataAccessOptions.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCloudAudit(LogConfigCloudAuditOptions value)

public LogConfig.Builder mergeCloudAudit(LogConfigCloudAuditOptions value)

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

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

Parameter
NameDescription
valueLogConfigCloudAuditOptions
Returns
TypeDescription
LogConfig.Builder

mergeCounter(LogConfigCounterOptions value)

public LogConfig.Builder mergeCounter(LogConfigCounterOptions value)

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

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

Parameter
NameDescription
valueLogConfigCounterOptions
Returns
TypeDescription
LogConfig.Builder

mergeDataAccess(LogConfigDataAccessOptions value)

public LogConfig.Builder mergeDataAccess(LogConfigDataAccessOptions value)

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

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

Parameter
NameDescription
valueLogConfigDataAccessOptions
Returns
TypeDescription
LogConfig.Builder

mergeFrom(LogConfig other)

public LogConfig.Builder mergeFrom(LogConfig other)
Parameter
NameDescription
otherLogConfig
Returns
TypeDescription
LogConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LogConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LogConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogConfig.Builder
Overrides

setCloudAudit(LogConfigCloudAuditOptions value)

public LogConfig.Builder setCloudAudit(LogConfigCloudAuditOptions value)

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

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

Parameter
NameDescription
valueLogConfigCloudAuditOptions
Returns
TypeDescription
LogConfig.Builder

setCloudAudit(LogConfigCloudAuditOptions.Builder builderForValue)

public LogConfig.Builder setCloudAudit(LogConfigCloudAuditOptions.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueLogConfigCloudAuditOptions.Builder
Returns
TypeDescription
LogConfig.Builder

setCounter(LogConfigCounterOptions value)

public LogConfig.Builder setCounter(LogConfigCounterOptions value)

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

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

Parameter
NameDescription
valueLogConfigCounterOptions
Returns
TypeDescription
LogConfig.Builder

setCounter(LogConfigCounterOptions.Builder builderForValue)

public LogConfig.Builder setCounter(LogConfigCounterOptions.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueLogConfigCounterOptions.Builder
Returns
TypeDescription
LogConfig.Builder

setDataAccess(LogConfigDataAccessOptions value)

public LogConfig.Builder setDataAccess(LogConfigDataAccessOptions value)

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

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

Parameter
NameDescription
valueLogConfigDataAccessOptions
Returns
TypeDescription
LogConfig.Builder

setDataAccess(LogConfigDataAccessOptions.Builder builderForValue)

public LogConfig.Builder setDataAccess(LogConfigDataAccessOptions.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueLogConfigDataAccessOptions.Builder
Returns
TypeDescription
LogConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LogConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LogConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LogConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LogConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LogConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogConfig.Builder
Overrides