Class PacketMirroringForwardingRuleInfo.Builder (1.93.0)

public static final class PacketMirroringForwardingRuleInfo.Builder extends GeneratedMessage.Builder<PacketMirroringForwardingRuleInfo.Builder> implements PacketMirroringForwardingRuleInfoOrBuilder

Protobuf type google.cloud.compute.v1.PacketMirroringForwardingRuleInfo

Static Methods

getDescriptor()

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

Methods

build()

public PacketMirroringForwardingRuleInfo build()
Returns
Type Description
PacketMirroringForwardingRuleInfo

buildPartial()

public PacketMirroringForwardingRuleInfo buildPartial()
Returns
Type Description
PacketMirroringForwardingRuleInfo

clear()

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

clearCanonicalUrl()

public PacketMirroringForwardingRuleInfo.Builder clearCanonicalUrl()

Output only. [Output Only] Unique identifier for the forwarding rule; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

clearUrl()

public PacketMirroringForwardingRuleInfo.Builder clearUrl()

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Returns
Type Description
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

getCanonicalUrl()

public String getCanonicalUrl()

Output only. [Output Only] Unique identifier for the forwarding rule; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

Output only. [Output Only] Unique identifier for the forwarding rule; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringForwardingRuleInfo getDefaultInstanceForType()
Returns
Type Description
PacketMirroringForwardingRuleInfo

getDescriptorForType()

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

getUrl()

public String getUrl()

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Returns
Type Description
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

Output only. [Output Only] Unique identifier for the forwarding rule; defined by the server.

optional string canonical_url = 512294820;

Returns
Type Description
boolean

Whether the canonicalUrl field is set.

hasUrl()

public boolean hasUrl()

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Returns
Type Description
boolean

Whether the url field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PacketMirroringForwardingRuleInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCanonicalUrl(String value)

public PacketMirroringForwardingRuleInfo.Builder setCanonicalUrl(String value)

Output only. [Output Only] Unique identifier for the forwarding rule; defined by the server.

optional string canonical_url = 512294820;

Parameter
Name Description
value String

The canonicalUrl to set.

Returns
Type Description
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

setCanonicalUrlBytes(ByteString value)

public PacketMirroringForwardingRuleInfo.Builder setCanonicalUrlBytes(ByteString value)

Output only. [Output Only] Unique identifier for the forwarding rule; defined by the server.

optional string canonical_url = 512294820;

Parameter
Name Description
value ByteString

The bytes for canonicalUrl to set.

Returns
Type Description
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

setUrl(String value)

public PacketMirroringForwardingRuleInfo.Builder setUrl(String value)

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public PacketMirroringForwardingRuleInfo.Builder setUrlBytes(ByteString value)

Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.

optional string url = 116079;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.