Class ForwardingRuleReference.Builder (1.43.0)

public static final class ForwardingRuleReference.Builder extends GeneratedMessageV3.Builder<ForwardingRuleReference.Builder> implements ForwardingRuleReferenceOrBuilder

Protobuf type google.cloud.compute.v1.ForwardingRuleReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ForwardingRuleReference build()
Returns
TypeDescription
ForwardingRuleReference

buildPartial()

public ForwardingRuleReference buildPartial()
Returns
TypeDescription
ForwardingRuleReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearForwardingRule()

public ForwardingRuleReference.Builder clearForwardingRule()

optional string forwarding_rule = 269964030;

Returns
TypeDescription
ForwardingRuleReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ForwardingRuleReference getDefaultInstanceForType()
Returns
TypeDescription
ForwardingRuleReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForwardingRule()

public String getForwardingRule()

optional string forwarding_rule = 269964030;

Returns
TypeDescription
String

The forwardingRule.

getForwardingRuleBytes()

public ByteString getForwardingRuleBytes()

optional string forwarding_rule = 269964030;

Returns
TypeDescription
ByteString

The bytes for forwardingRule.

hasForwardingRule()

public boolean hasForwardingRule()

optional string forwarding_rule = 269964030;

Returns
TypeDescription
boolean

Whether the forwardingRule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ForwardingRuleReference other)

public ForwardingRuleReference.Builder mergeFrom(ForwardingRuleReference other)
Parameter
NameDescription
otherForwardingRuleReference
Returns
TypeDescription
ForwardingRuleReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setForwardingRule(String value)

public ForwardingRuleReference.Builder setForwardingRule(String value)

optional string forwarding_rule = 269964030;

Parameter
NameDescription
valueString

The forwardingRule to set.

Returns
TypeDescription
ForwardingRuleReference.Builder

This builder for chaining.

setForwardingRuleBytes(ByteString value)

public ForwardingRuleReference.Builder setForwardingRuleBytes(ByteString value)

optional string forwarding_rule = 269964030;

Parameter
NameDescription
valueByteString

The bytes for forwardingRule to set.

Returns
TypeDescription
ForwardingRuleReference.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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