Class LogConfigCounterOptions.Builder (1.50.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.LogConfigCounterOptionsCustomField>
Returns
TypeDescription
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
NameDescription
valueLogConfigCounterOptionsCustomField
Returns
TypeDescription
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
NameDescription
builderForValueLogConfigCounterOptionsCustomField.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLogConfigCounterOptionsCustomField
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogConfigCounterOptionsCustomField.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LogConfigCounterOptionsCustomField.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LogConfigCounterOptions build()
Returns
TypeDescription
LogConfigCounterOptions

buildPartial()

public LogConfigCounterOptions buildPartial()
Returns
TypeDescription
LogConfigCounterOptions

clear()

public LogConfigCounterOptions.Builder clear()
Returns
TypeDescription
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
TypeDescription
LogConfigCounterOptions.Builder

clearField()

public LogConfigCounterOptions.Builder clearField()

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

optional string field = 97427706;

Returns
TypeDescription
LogConfigCounterOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMetric()

public LogConfigCounterOptions.Builder clearMetric()

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

optional string metric = 533067184;

Returns
TypeDescription
LogConfigCounterOptions.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LogConfigCounterOptions other)

public LogConfigCounterOptions.Builder mergeFrom(LogConfigCounterOptions other)
Parameter
NameDescription
otherLogConfigCounterOptions
Returns
TypeDescription
LogConfigCounterOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogConfigCounterOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueLogConfigCounterOptionsCustomField
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogConfigCounterOptionsCustomField.Builder
Returns
TypeDescription
LogConfigCounterOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LogConfigCounterOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The field to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for field to set.

Returns
TypeDescription
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
NameDescription
valueString

The metric to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for metric to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LogConfigCounterOptions.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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