Class LogConfigCounterOptionsCustomField.Builder (1.27.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LogConfigCounterOptionsCustomField build()
Returns
TypeDescription
LogConfigCounterOptionsCustomField

buildPartial()

public LogConfigCounterOptionsCustomField buildPartial()
Returns
TypeDescription
LogConfigCounterOptionsCustomField

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public LogConfigCounterOptionsCustomField.Builder clearName()

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

optional string name = 3373707;

Returns
TypeDescription
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public LogConfigCounterOptionsCustomField.Builder clearValue()

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

optional string value = 111972721;

Returns
TypeDescription
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.

clone()

public LogConfigCounterOptionsCustomField.Builder clone()
Returns
TypeDescription
LogConfigCounterOptionsCustomField.Builder
Overrides

getDefaultInstanceForType()

public LogConfigCounterOptionsCustomField getDefaultInstanceForType()
Returns
TypeDescription
LogConfigCounterOptionsCustomField

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getValue()

public String getValue()

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

optional string value = 111972721;

Returns
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

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

optional string value = 111972721;

Returns
TypeDescription
ByteString

The bytes for value.

hasName()

public boolean hasName()

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

optional string name = 3373707;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LogConfigCounterOptionsCustomField other)

public LogConfigCounterOptionsCustomField.Builder mergeFrom(LogConfigCounterOptionsCustomField other)
Parameter
NameDescription
otherLogConfigCounterOptionsCustomField
Returns
TypeDescription
LogConfigCounterOptionsCustomField.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final LogConfigCounterOptionsCustomField.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The value to set.

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

The bytes for value to set.

Returns
TypeDescription
LogConfigCounterOptionsCustomField.Builder

This builder for chaining.