Class ForwardingRuleInfo.Builder (1.19.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.cloud.networkmanagement.v1beta1.ForwardingRuleInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ForwardingRuleInfo build()
Returns
TypeDescription
ForwardingRuleInfo

buildPartial()

public ForwardingRuleInfo buildPartial()
Returns
TypeDescription
ForwardingRuleInfo

clear()

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

clearDisplayName()

public ForwardingRuleInfo.Builder clearDisplayName()

Name of a Compute Engine forwarding rule.

string display_name = 1;

Returns
TypeDescription
ForwardingRuleInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ForwardingRuleInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ForwardingRuleInfo.Builder

This builder for chaining.

clearNetworkUri()

public ForwardingRuleInfo.Builder clearNetworkUri()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
TypeDescription
ForwardingRuleInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTarget()

public ForwardingRuleInfo.Builder clearTarget()

Target type of the forwarding rule.

string target = 5;

Returns
TypeDescription
ForwardingRuleInfo.Builder

This builder for chaining.

clearUri()

public ForwardingRuleInfo.Builder clearUri()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
TypeDescription
ForwardingRuleInfo.Builder

This builder for chaining.

clearVip()

public ForwardingRuleInfo.Builder clearVip()

VIP of the forwarding rule.

string vip = 4;

Returns
TypeDescription
ForwardingRuleInfo.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ForwardingRuleInfo getDefaultInstanceForType()
Returns
TypeDescription
ForwardingRuleInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Name of a Compute Engine forwarding rule.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine forwarding rule.

string display_name = 1;

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

The matchedPortRange.

getMatchedPortRangeBytes()

public ByteString getMatchedPortRangeBytes()

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

string matched_port_range = 6;

Returns
TypeDescription
ByteString

The bytes for matchedPortRange.

getMatchedProtocol()

public String getMatchedProtocol()

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Returns
TypeDescription
String

The matchedProtocol.

getMatchedProtocolBytes()

public ByteString getMatchedProtocolBytes()

Protocol defined in the forwarding rule that matches the test.

string matched_protocol = 3;

Returns
TypeDescription
ByteString

The bytes for matchedProtocol.

getNetworkUri()

public String getNetworkUri()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

Network URI. Only valid for Internal Load Balancer.

string network_uri = 7;

Returns
TypeDescription
ByteString

The bytes for networkUri.

getTarget()

public String getTarget()

Target type of the forwarding rule.

string target = 5;

Returns
TypeDescription
String

The target.

getTargetBytes()

public ByteString getTargetBytes()

Target type of the forwarding rule.

string target = 5;

Returns
TypeDescription
ByteString

The bytes for target.

getUri()

public String getUri()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Compute Engine forwarding rule.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

getVip()

public String getVip()

VIP of the forwarding rule.

string vip = 4;

Returns
TypeDescription
String

The vip.

getVipBytes()

public ByteString getVipBytes()

VIP of the forwarding rule.

string vip = 4;

Returns
TypeDescription
ByteString

The bytes for vip.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ForwardingRuleInfo other)

public ForwardingRuleInfo.Builder mergeFrom(ForwardingRuleInfo other)
Parameter
NameDescription
otherForwardingRuleInfo
Returns
TypeDescription
ForwardingRuleInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ForwardingRuleInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name