Class LogConfigCounterOptionsCustomField.Builder (1.63.0)

public static final class LogConfigCounterOptionsCustomField.Builder extends GeneratedMessageV3.Builder<LogConfigCounterOptionsCustomField.Builder> implements LogConfigCounterOptionsCustomFieldOrBuilder

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

Protobuf type google.cloud.compute.v1.LogConfigCounterOptionsCustomField

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LogConfigCounterOptionsCustomField build()
Returns
Type Description
LogConfigCounterOptionsCustomField

buildPartial()

public LogConfigCounterOptionsCustomField buildPartial()
Returns
Type Description
LogConfigCounterOptionsCustomField

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public LogConfigCounterOptionsCustomField.Builder clearName()

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

optional string name = 3373707;

Returns
Type Description
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public LogConfigCounterOptionsCustomField.Builder clearValue()

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

optional string value = 111972721;

Returns
Type Description
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.

clone()

public LogConfigCounterOptionsCustomField.Builder clone()
Returns
Type Description
LogConfigCounterOptionsCustomField.Builder
Overrides

getDefaultInstanceForType()

public LogConfigCounterOptionsCustomField getDefaultInstanceForType()
Returns
Type Description
LogConfigCounterOptionsCustomField

getDescriptorForType()

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

getName()

public String getName()

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

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getValue()

public String getValue()

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

optional string value = 111972721;

Returns
Type Description
String

The value.

getValueBytes()

public ByteString getValueBytes()

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

optional string value = 111972721;

Returns
Type Description
ByteString

The bytes for value.

hasName()

public boolean hasName()

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

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasValue()

public boolean hasValue()

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

optional string value = 111972721;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogConfigCounterOptionsCustomField other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public LogConfigCounterOptionsCustomField.Builder setName(String value)

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

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LogConfigCounterOptionsCustomField.Builder setNameBytes(ByteString value)

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

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(String value)

public LogConfigCounterOptionsCustomField.Builder setValue(String value)

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

optional string value = 111972721;

Parameter
Name Description
value String

The value to set.

Returns
Type Description
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.

setValueBytes(ByteString value)

public LogConfigCounterOptionsCustomField.Builder setValueBytes(ByteString value)

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

optional string value = 111972721;

Parameter
Name Description
value ByteString

The bytes for value to set.

Returns
Type Description
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.