Class ForwardingRuleInfo.Builder (0.16.0)

public static final class ForwardingRuleInfo.Builder extends GeneratedMessageV3.Builder<ForwardingRuleInfo.Builder> implements ForwardingRuleInfoOrBuilder

For display only. Metadata associated with a Compute Engine forwarding rule.

Protobuf type google.events.cloud.networkmanagement.v1.ForwardingRuleInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ForwardingRuleInfo build()
Returns
Type Description
ForwardingRuleInfo

buildPartial()

public ForwardingRuleInfo buildPartial()
Returns
Type Description
ForwardingRuleInfo

clear()

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

clearDisplayName()

public ForwardingRuleInfo.Builder clearDisplayName()

Name of a Compute Engine forwarding rule.

string display_name = 1;

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMatchedPortRange()

public ForwardingRuleInfo.Builder clearMatchedPortRange()

Port range defined in the forwarding rule that matches the test.

string matched_port_range = 6;

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

clearMatchedProtocol()

public ForwardingRuleInfo.Builder clearMatchedProtocol()

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

clearNetworkUri()

public ForwardingRuleInfo.Builder clearNetworkUri()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTarget()

public ForwardingRuleInfo.Builder clearTarget()

Target type of the forwarding rule.

string target = 5;

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

clearUri()

public ForwardingRuleInfo.Builder clearUri()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

clearVip()

public ForwardingRuleInfo.Builder clearVip()

VIP of the forwarding rule.

string vip = 4;

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ForwardingRuleInfo getDefaultInstanceForType()
Returns
Type Description
ForwardingRuleInfo

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Name of a Compute Engine forwarding rule.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine forwarding rule.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getMatchedPortRange()

public String getMatchedPortRange()

Port range defined in the forwarding rule that matches the test.

string matched_port_range = 6;

Returns
Type Description
String

The matchedPortRange.

getMatchedPortRangeBytes()

public ByteString getMatchedPortRangeBytes()

Port range defined in the forwarding rule that matches the test.

string matched_port_range = 6;

Returns
Type Description
ByteString

The bytes for matchedPortRange.

getMatchedProtocol()

public String getMatchedProtocol()

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Returns
Type Description
String

The matchedProtocol.

getMatchedProtocolBytes()

public ByteString getMatchedProtocolBytes()

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Returns
Type Description
ByteString

The bytes for matchedProtocol.

getNetworkUri()

public String getNetworkUri()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
Type Description
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
Type Description
ByteString

The bytes for networkUri.

getTarget()

public String getTarget()

Target type of the forwarding rule.

string target = 5;

Returns
Type Description
String

The target.

getTargetBytes()

public ByteString getTargetBytes()

Target type of the forwarding rule.

string target = 5;

Returns
Type Description
ByteString

The bytes for target.

getUri()

public String getUri()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

getVip()

public String getVip()

VIP of the forwarding rule.

string vip = 4;

Returns
Type Description
String

The vip.

getVipBytes()

public ByteString getVipBytes()

VIP of the forwarding rule.

string vip = 4;

Returns
Type Description
ByteString

The bytes for vip.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ForwardingRuleInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public ForwardingRuleInfo.Builder setDisplayName(String value)

Name of a Compute Engine forwarding rule.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ForwardingRuleInfo.Builder setDisplayNameBytes(ByteString value)

Name of a Compute Engine forwarding rule.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMatchedPortRange(String value)

public ForwardingRuleInfo.Builder setMatchedPortRange(String value)

Port range defined in the forwarding rule that matches the test.

string matched_port_range = 6;

Parameter
Name Description
value String

The matchedPortRange to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setMatchedPortRangeBytes(ByteString value)

public ForwardingRuleInfo.Builder setMatchedPortRangeBytes(ByteString value)

Port range defined in the forwarding rule that matches the test.

string matched_port_range = 6;

Parameter
Name Description
value ByteString

The bytes for matchedPortRange to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setMatchedProtocol(String value)

public ForwardingRuleInfo.Builder setMatchedProtocol(String value)

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Parameter
Name Description
value String

The matchedProtocol to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setMatchedProtocolBytes(ByteString value)

public ForwardingRuleInfo.Builder setMatchedProtocolBytes(ByteString value)

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Parameter
Name Description
value ByteString

The bytes for matchedProtocol to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setNetworkUri(String value)

public ForwardingRuleInfo.Builder setNetworkUri(String value)

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Parameter
Name Description
value String

The networkUri to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setNetworkUriBytes(ByteString value)

public ForwardingRuleInfo.Builder setNetworkUriBytes(ByteString value)

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Parameter
Name Description
value ByteString

The bytes for networkUri to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

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

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

setTarget(String value)

public ForwardingRuleInfo.Builder setTarget(String value)

Target type of the forwarding rule.

string target = 5;

Parameter
Name Description
value String

The target to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setTargetBytes(ByteString value)

public ForwardingRuleInfo.Builder setTargetBytes(ByteString value)

Target type of the forwarding rule.

string target = 5;

Parameter
Name Description
value ByteString

The bytes for target to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public ForwardingRuleInfo.Builder setUri(String value)

URI of a Compute Engine forwarding rule.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public ForwardingRuleInfo.Builder setUriBytes(ByteString value)

URI of a Compute Engine forwarding rule.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setVip(String value)

public ForwardingRuleInfo.Builder setVip(String value)

VIP of the forwarding rule.

string vip = 4;

Parameter
Name Description
value String

The vip to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.

setVipBytes(ByteString value)

public ForwardingRuleInfo.Builder setVipBytes(ByteString value)

VIP of the forwarding rule.

string vip = 4;

Parameter
Name Description
value ByteString

The bytes for vip to set.

Returns
Type Description
ForwardingRuleInfo.Builder

This builder for chaining.