Class LogConfigCounterOptions.Builder (1.57.0)

public static final class LogConfigCounterOptions.Builder extends GeneratedMessageV3.Builder<LogConfigCounterOptions.Builder> implements LogConfigCounterOptionsOrBuilder

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

Protobuf type google.cloud.compute.v1.LogConfigCounterOptions

Static Methods

getDescriptor()

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

Methods

addAllCustomFields(Iterable<? extends LogConfigCounterOptionsCustomField> values)

public LogConfigCounterOptions.Builder addAllCustomFields(Iterable<? extends LogConfigCounterOptionsCustomField> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.LogConfigCounterOptionsCustomField>
Returns
Type Description
LogConfigCounterOptions.Builder

addCustomFields(LogConfigCounterOptionsCustomField value)

public LogConfigCounterOptions.Builder addCustomFields(LogConfigCounterOptionsCustomField value)

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

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

Parameter
Name Description
value LogConfigCounterOptionsCustomField
Returns
Type Description
LogConfigCounterOptions.Builder

addCustomFields(LogConfigCounterOptionsCustomField.Builder builderForValue)

public LogConfigCounterOptions.Builder addCustomFields(LogConfigCounterOptionsCustomField.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue LogConfigCounterOptionsCustomField.Builder
Returns
Type Description
LogConfigCounterOptions.Builder

addCustomFields(int index, LogConfigCounterOptionsCustomField value)

public LogConfigCounterOptions.Builder addCustomFields(int index, LogConfigCounterOptionsCustomField value)

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

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

Parameters
Name Description
index int
value LogConfigCounterOptionsCustomField
Returns
Type Description
LogConfigCounterOptions.Builder

addCustomFields(int index, LogConfigCounterOptionsCustomField.Builder builderForValue)

public LogConfigCounterOptions.Builder addCustomFields(int index, LogConfigCounterOptionsCustomField.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue LogConfigCounterOptionsCustomField.Builder
Returns
Type Description
LogConfigCounterOptions.Builder

addCustomFieldsBuilder()

public LogConfigCounterOptionsCustomField.Builder addCustomFieldsBuilder()

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

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

Returns
Type Description
LogConfigCounterOptionsCustomField.Builder

addCustomFieldsBuilder(int index)

public LogConfigCounterOptionsCustomField.Builder addCustomFieldsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogConfigCounterOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

build()

public LogConfigCounterOptions build()
Returns
Type Description
LogConfigCounterOptions

buildPartial()

public LogConfigCounterOptions buildPartial()
Returns
Type Description
LogConfigCounterOptions

clear()

public LogConfigCounterOptions.Builder clear()
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

clearCustomFields()

public LogConfigCounterOptions.Builder clearCustomFields()

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

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

Returns
Type Description
LogConfigCounterOptions.Builder

clearField()

public LogConfigCounterOptions.Builder clearField()

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

optional string field = 97427706;

Returns
Type Description
LogConfigCounterOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LogConfigCounterOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

clearMetric()

public LogConfigCounterOptions.Builder clearMetric()

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

optional string metric = 533067184;

Returns
Type Description
LogConfigCounterOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LogConfigCounterOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

clone()

public LogConfigCounterOptions.Builder clone()
Returns
Type Description
LogConfigCounterOptions.Builder
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

getCustomFieldsBuilder(int index)

public LogConfigCounterOptionsCustomField.Builder getCustomFieldsBuilder(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.Builder

getCustomFieldsBuilderList()

public List<LogConfigCounterOptionsCustomField.Builder> getCustomFieldsBuilderList()

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

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

Returns
Type Description
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogConfigCounterOptions other)

public LogConfigCounterOptions.Builder mergeFrom(LogConfigCounterOptions other)
Parameter
Name Description
other LogConfigCounterOptions
Returns
Type Description
LogConfigCounterOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogConfigCounterOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LogConfigCounterOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogConfigCounterOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

removeCustomFields(int index)

public LogConfigCounterOptions.Builder removeCustomFields(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
LogConfigCounterOptions.Builder

setCustomFields(int index, LogConfigCounterOptionsCustomField value)

public LogConfigCounterOptions.Builder setCustomFields(int index, LogConfigCounterOptionsCustomField value)

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

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

Parameters
Name Description
index int
value LogConfigCounterOptionsCustomField
Returns
Type Description
LogConfigCounterOptions.Builder

setCustomFields(int index, LogConfigCounterOptionsCustomField.Builder builderForValue)

public LogConfigCounterOptions.Builder setCustomFields(int index, LogConfigCounterOptionsCustomField.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue LogConfigCounterOptionsCustomField.Builder
Returns
Type Description
LogConfigCounterOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LogConfigCounterOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

setField(String value)

public LogConfigCounterOptions.Builder setField(String value)

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

optional string field = 97427706;

Parameter
Name Description
value String

The field to set.

Returns
Type Description
LogConfigCounterOptions.Builder

This builder for chaining.

setFieldBytes(ByteString value)

public LogConfigCounterOptions.Builder setFieldBytes(ByteString value)

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

optional string field = 97427706;

Parameter
Name Description
value ByteString

The bytes for field to set.

Returns
Type Description
LogConfigCounterOptions.Builder

This builder for chaining.

setMetric(String value)

public LogConfigCounterOptions.Builder setMetric(String value)

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

optional string metric = 533067184;

Parameter
Name Description
value String

The metric to set.

Returns
Type Description
LogConfigCounterOptions.Builder

This builder for chaining.

setMetricBytes(ByteString value)

public LogConfigCounterOptions.Builder setMetricBytes(ByteString value)

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

optional string metric = 533067184;

Parameter
Name Description
value ByteString

The bytes for metric to set.

Returns
Type Description
LogConfigCounterOptions.Builder

This builder for chaining.

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

public LogConfigCounterOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LogConfigCounterOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LogConfigCounterOptions.Builder
Overrides